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:
Andrew Boie 2020-11-05 10:36:20 -08:00 committed by Anas Nashif
commit e51226b827

View file

@ -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