Changeset 0fd9b35 in mainline for kernel/arch/ia64/src/mm/frame.c


Ignore:
Timestamp:
2011-12-30T18:30:47Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41deb2a
Parents:
aaa6af2
Message:

Limit kernel identity on ia64 to low memory and make sure to use
the kernel address space for kernel non-identity page table
lookups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/mm/frame.c

    raaa6af2 r0fd9b35  
    5151#define MINCONF 1
    5252
     53uintptr_t end_of_identity = -1ULL;
     54
    5355static void frame_common_arch_init(bool low)
    5456{
     
    102104        frame_mark_unavailable(ADDR2PFN(KERNEL_RESERVED_AREA_BASE),
    103105            SIZE2FRAMES(KERNEL_RESERVED_AREA_SIZE));
     106
     107        /* PA2KA will work only on low-memory. */
     108        end_of_identity = PA2KA(config.physmem_end - FRAME_SIZE) + PAGE_SIZE;
    104109}
    105110
Note: See TracChangeset for help on using the changeset viewer.