tests: x86: pagetables: use new Kconfigs
Don't use old SRAM macros for mapped virtual memory bounds. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
a29b31d800
commit
e51226b827
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@
|
|||
#include <x86_mmu.h>
|
||||
#include <linker/linker-defs.h>
|
||||
|
||||
#define VM_BASE ((uint8_t *)CONFIG_SRAM_BASE_ADDRESS)
|
||||
#define VM_LIMIT (VM_BASE + KB((size_t)CONFIG_SRAM_SIZE))
|
||||
#define VM_BASE ((uint8_t *)CONFIG_KERNEL_VM_BASE)
|
||||
#define VM_LIMIT (VM_BASE + CONFIG_KERNEL_RAM_SIZE)
|
||||
|
||||
#ifdef CONFIG_X86_64
|
||||
#define PT_LEVEL 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue