Rev 2089 | Rev 3707 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2089 | Rev 3672 | ||
|---|---|---|---|
| Line 84... | Line 84... | ||
| 84 | break; |
84 | break; |
| 85 | default: |
85 | default: |
| 86 | panic("Unsupported bits per pixel"); |
86 | panic("Unsupported bits per pixel"); |
| 87 | } |
87 | } |
| 88 | 88 | ||
| 89 | fb_init(vesa_ph_addr, vesa_width, vesa_height, vesa_scanline, visual); |
89 | fb_properties_t vesa_props = { |
| - | 90 | .addr = vesa_ph_addr, |
|
| - | 91 | .offset = 0, |
|
| - | 92 | .x = vesa_width, |
|
| - | 93 | .y = vesa_height, |
|
| - | 94 | .scan = vesa_scanline, |
|
| - | 95 | .visual = visual, |
|
| - | 96 | }; |
|
| - | 97 | fb_init(&vesa_props); |
|
| 90 | } |
98 | } |
| 91 | 99 | ||
| 92 | #endif |
100 | #endif |
| 93 | 101 | ||
| 94 | /** @} |
102 | /** @} |