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:
parent
4c0d044863
commit
33930352f3
1 changed files with 7 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue