Subversion Repositories HelenOS-historic

Rev

Rev 1135 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1135 Rev 1145
Line 35... Line 35...
35
 
35
 
36
/** Initialize console to use frame buffer. */
36
/** Initialize console to use frame buffer. */
37
void ppc32_console_init(void)
37
void ppc32_console_init(void)
38
{
38
{
39
    /* TODO: Framebuffer mapping */
39
    /* TODO: Framebuffer mapping */
40
    fb_init(0xf0000000, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline);
40
    fb_init(0xf0000000 + (bootinfo.screen.addr & ((__address) ~0 >> 15)), bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline);
41
}
41
}