]> git.proxmox.com Git - mirror_edk2.git/commit - ArmVirtPkg/ArmVirtQemu.dsc
ArmVirtPkg/ArmVirtQemu: enable initial ID map at early boot
authorArd Biesheuvel <ardb@kernel.org>
Sat, 2 Jul 2022 17:27:37 +0000 (19:27 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 26 Oct 2022 17:28:39 +0000 (17:28 +0000)
commit07be1d34d95460a238fcd0f6693efb747c28b329
tree42d9abc856f7bb20e0fbb895098bedd1c3fd3882
parenta26050f74dfe865fb4e7bd39d412250d6eabb8e8
ArmVirtPkg/ArmVirtQemu: enable initial ID map at early boot

Now that we have all the pieces in place, switch the AArch64 version of
ArmVirtQemu to a mode where the first thing it does out of reset is
enable a preliminary ID map that covers the NOR flash and sufficient
DRAM to create the UEFI page tables as usual.

The advantage of this is that no manipulation of memory occurs any
longer before the MMU is enabled, which removes the need for explicit
coherency management, which is cumbersome and bad for performance.

It also means we no longer need to build all components that may execute
with the MMU off (including BASE libraries) with strict alignment.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
ArmVirtPkg/ArmVirtQemu.dsc
ArmVirtPkg/ArmVirtQemu.fdf