Changeset 3debedec in mainline for arch/ppc32/include/mm/page.h


Ignore:
Timestamp:
2006-02-16T20:26:14Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba52899
Parents:
2a46e10
Message:

Made powerpc to get on PearPC to the version print when compiled with -O1:

  • create proper memory zones
  • switch to real mode on boot

TODO

  • kernel relocation during boot
  • autodetection of framebuffer settings (PCI?) - now includes hardcoded settings for PearPc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/include/mm/page.h

    r2a46e10 r3debedec  
    3737#define PAGE_SIZE       FRAME_SIZE
    3838
    39 #define KA2PA(x)        (((__address) (x)) - 0x80000000)
    40 #define PA2KA(x)        (((__address) (x)) + 0x80000000)
     39#define KA2PA(x)        ((__address)(x))
     40#define PA2KA(x)        ((__address)(x))
    4141
    4242#define PTL0_ENTRIES_ARCH               0
Note: See TracChangeset for help on using the changeset viewer.