Changeset 20eb5e4d in mainline for kernel/arch/sparc64/src/drivers/scr.c
- Timestamp:
- 2008-12-07T00:41:59Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5d9430d7
- Parents:
- 2b1f860
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/scr.c
r2b1f860 r20eb5e4d 79 79 80 80 uintptr_t fb_addr; 81 unsigned int fb_offset = 0; 81 82 uint32_t fb_width = 0; 82 83 uint32_t fb_height = 0; … … 168 169 } 169 170 171 fb_offset = 4 * 0x2000; 172 170 173 switch (fb_depth) { 171 174 case 8: 172 175 fb_scanline = fb_linebytes * (fb_depth >> 3); 173 visual = VISUAL_ SB1500_PALETTE;176 visual = VISUAL_INDIRECT_8; 174 177 break; 175 178 case 16: … … 226 229 fb_properties_t props = { 227 230 .addr = fb_addr, 228 .offset = 0,231 .offset = fb_offset, 229 232 .x = fb_width, 230 233 .y = fb_height,
Note:
See TracChangeset
for help on using the changeset viewer.