Rev 3674 | Rev 4343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3674 | Rev 4342 | ||
|---|---|---|---|
| Line 90... | Line 90... | ||
| 90 | .addr = machine_get_fb_address(), |
90 | .addr = machine_get_fb_address(), |
| 91 | .offset = 0, |
91 | .offset = 0, |
| 92 | .x = 640, |
92 | .x = 640, |
| 93 | .y = 480, |
93 | .y = 480, |
| 94 | .scan = 1920, |
94 | .scan = 1920, |
| 95 | .visual = VISUAL_RGB_8_8_8, |
95 | .visual = VISUAL_BGR_8_8_8, |
| 96 | }; |
96 | }; |
| 97 | fb_init(&prop); |
97 | fb_init(&prop); |
| 98 | #endif |
98 | #endif |
| 99 | } |
99 | } |
| 100 | 100 | ||
| Line 162... | Line 162... | ||
| 162 | 162 | ||
| 163 | /** Reboot. */ |
163 | /** Reboot. */ |
| 164 | void arch_reboot() |
164 | void arch_reboot() |
| 165 | { |
165 | { |
| 166 | /* not implemented */ |
166 | /* not implemented */ |
| 167 | for (;;) |
167 | while (1); |
| - | 168 | } |
|
| - | 169 | ||
| - | 170 | /** Construct function pointer |
|
| - | 171 | * |
|
| - | 172 | * @param fptr function pointer structure |
|
| - | 173 | * @param addr function address |
|
| - | 174 | * @param caller calling function address |
|
| - | 175 | * |
|
| - | 176 | * @return address of the function pointer |
|
| - | 177 | * |
|
| 168 | ; |
178 | */ |
| - | 179 | void *arch_construct_function(fncptr_t *fptr, void *addr, void *caller) |
|
| - | 180 | { |
|
| - | 181 | return addr; |
|
| 169 | } |
182 | } |
| 170 | 183 | ||
| 171 | /** @} |
184 | /** @} |
| 172 | */ |
185 | */ |