Get Memory Mapping Parameters

Last modified by Microchip on 2026/08/17 12:35

Why Memory Map Information Is Required

  • Memory mapping parameters can be obtained from the Linux® memory management subsystem
  • A Linux memory mapping descriptor serves as a master dictionary for an entire address space, tracking everything from a process's virtual memory areas to its active page tables and memory usage. The information tracked includes:
    • Linux kernel memory map page size: default is 4 KB
    • The start physical address of kernel page structures
    • The maximum number of mapped pages
    • The size of the page structure
    • The offset of  page_type in the page structure
    • The offset of private in the page structure
  • Memory map information tells at91bootstrap or the PC memmap tool which DRAM pages are valid and should be included in the snapshot

How to Obtain Memory Mapping Information