Changeset b9b14a83 in mainline


Ignore:
Timestamp:
2006-04-02T15:03:32Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
252127e
Parents:
5b04fc7
Message:

align ppc32 framebuffer on 128K boundary

Location:
arch/ppc32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/include/boot/boot.h

    r5b04fc7 rb9b14a83  
    5353
    5454typedef struct {
    55         unsigned int addr;
     55        __address addr;
    5656        unsigned int width;
    5757        unsigned int height;
  • arch/ppc32/src/console.c

    r5b04fc7 rb9b14a83  
    3838{
    3939        /* 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);
    4141}
Note: See TracChangeset for help on using the changeset viewer.