Changeset a2c4445 in mainline for arch/ppc32/src/console.c


Ignore:
Timestamp:
2006-03-25T22:48:51Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc27ae48
Parents:
c715e9b
Message:

framebuffer code cleanup, support for non-standard scanline sizes
ppc32: get framebuffer parameters from boot loader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/src/console.c

    rc715e9b ra2c4445  
    2727 */
    2828
     29#include <arch/boot/boot.h>
    2930#include <arch/console.h>
    3031#include <console/chardev.h>
     
    3637void ppc32_console_init(void)
    3738{
    38         /* TODO: PCI detection etc. etc. - this is fine in PearPC for now */
    39         fb_init(0xf0000000, 800, 600, 4);
     39        /* TODO: Framebuffer mapping */
     40        fb_init(0xf0000000, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline);
    4041}
Note: See TracChangeset for help on using the changeset viewer.