Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3684 → Rev 3675

/branches/tracing/kernel/arch/sparc64/src/drivers/scr.c
78,7 → 78,6
}
uintptr_t fb_addr;
unsigned int fb_offset = 0;
uint32_t fb_width = 0;
uint32_t fb_height = 0;
uint32_t fb_depth = 0;
168,12 → 167,10
return;
}
 
fb_offset = 4 * 0x2000;
 
switch (fb_depth) {
case 8:
fb_scanline = fb_linebytes * (fb_depth >> 3);
visual = VISUAL_INDIRECT_8;
visual = VISUAL_SB1500_PALETTE;
break;
case 16:
fb_scanline = fb_linebytes * (fb_depth >> 3);
228,7 → 225,7
 
fb_properties_t props = {
.addr = fb_addr,
.offset = fb_offset,
.offset = 0,
.x = fb_width,
.y = fb_height,
.scan = fb_scanline,