Attention is currently required from: Martin Roth. Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49228 )
Change subject: mb/emulation/qemu: Copy page tables to DRAM in assembly ......................................................................
Patch Set 1:
(1 comment)
File src/mainboard/emulation/qemu-i440fx/Kconfig:
https://review.coreboot.org/c/coreboot/+/49228/comment/084e0cd7_6b4e5244 PS1, Line 35: ARCH_X86_64_PGTBL_LOC
Once you can migrate it to cbmem, could use the CAR symbols exposed with CONFIG_PAGING_IN_CACHE_AS_R […]
Only if page tables are generated in assembly, as the linked address isn't known at compile time. This would also need at least 24KiB of space in CAR. You could however use two page tables, one in ROM for bringing up C bootblock and then generate new page tables in C with whatever layout you want.