Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset fc965aa in mainline


Ignore:
Timestamp:
2012-03-11T04:03:52Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
f1aa1db
Parents:
ae36ba0
Message:

kernel mm: BeagleBoard-xM physical memory starts on 2GB boundary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/mm/page.h

    rae36ba0 rfc965aa  
    4545#define PAGE_SIZE       FRAME_SIZE
    4646
     47#ifdef MACHINE_beagleboardxm
     48#ifndef __ASM__
     49#       define KA2PA(x) ((uintptr_t) (x))
     50#       define PA2KA(x) ((uintptr_t) (x))
     51#else
     52#       define KA2PA(x) (x)
     53#       define PA2KA(x) (x)
     54#endif
     55#else
    4756#ifndef __ASM__
    4857#       define KA2PA(x) (((uintptr_t) (x)) - 0x80000000)
     
    5160#       define KA2PA(x) ((x) - 0x80000000)
    5261#       define PA2KA(x) ((x) + 0x80000000)
     62#endif
    5363#endif
    5464
Note: See TracChangeset for help on using the changeset viewer.