kernel: x86: MMU: Macros & Linker scripts for Boot time table creation

Macro is used to create a structure to specify the boot time
page table configuration. Needed by the gen_mmu.py script to generate
the actual page tables.

Linker script is needed for the following:
     1. To place the MMU page tables at 4KByte boundary.
     2. To keep the configuration structure created by
        the Macro(mentioned above).

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
Adithya Baglody 2017-05-22 11:19:52 +05:30 committed by Anas Nashif
commit 9bbf5335b9
4 changed files with 54 additions and 1 deletions

View file

@ -39,6 +39,7 @@ MEMORY
*/
IDT_LIST : ORIGIN = 2K, LENGTH = 2K
MMU_LIST : ORIGIN = 4k, LENGTH = 1K
}
#include <arch/x86/linker.ld>