Rev 3343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3742 | ||
---|---|---|---|
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); |
|
- | 98 | } |
|
- | 99 | ||
- | 100 | void vesa_redraw(void) |
|
- | 101 | { |
|
- | 102 | fb_redraw(); |
|
90 | } |
103 | } |
91 | 104 | ||
92 | #endif |
105 | #endif |
93 | 106 | ||
94 | /** @} |
107 | /** @} |