Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/src/mm.c

    r4872160 rfcc6224  
    6767static void init_boot_pt(void)
    6868{
    69         pfn_t split_page = 0x800;
    70        
     69/* BeagleBoard-xM (MD37x) memory starts at 2GB border,
     70 * thus mapping only lower 2GB is not not enough.
     71 * Map entire AS 1:1 instead and hope it works. */
     72#ifdef MACHINE_beagleboardxm
     73        const pfn_t split_page = PTL0_ENTRIES;
     74#else
     75        const pfn_t split_page = 0x800;
     76#endif
    7177        /* Create 1:1 virtual-physical mapping (in lower 2 GB). */
    7278        pfn_t page;
Note: See TracChangeset for help on using the changeset viewer.