x86: intel64: enable MMU region list

Same snippet as in our 32-bit linker file. Creates
an iterable section with all the MMU_BOOT_REGION() info.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-10-18 13:55:55 -07:00 committed by Andrew Boie
commit 33930352f3

View file

@ -80,6 +80,13 @@ SECTIONS
#include <custom-rodata.ld>
#endif /* CONFIG_CUSTOM_RODATA_LD */
#ifdef CONFIG_X86_MMU
. = ALIGN(8);
_mmu_region_list_start = .;
KEEP(*("._mmu_region.static.*"))
_mmu_region_list_end = .;
#endif /* CONFIG_X86_MMU */
} GROUP_LINK_IN(ROMABLE_REGION)
#include <linker/cplusplus-rom.ld>