]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg/ArmVirtQemu: enlarge initial flash mapping
authorArd Biesheuvel <ardb@kernel.org>
Tue, 24 Jan 2023 12:49:51 +0000 (13:49 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 26 Jan 2023 18:54:58 +0000 (18:54 +0000)
commit619f077252226be45eb8c357f43c93ed88101228
tree8e5fa9e02c5b3c739a4c1e0b74b838f22d235a9e
parent6c8a08bd8a6803c18a54267379e8f5d78c831796
ArmVirtPkg/ArmVirtQemu: enlarge initial flash mapping

The initial ID map used by ArmVirtQemu only covers 2 MiB of NOR flash,
while the NOOPT build can be up to 3 MiB in size, resulting in a crash
if the unmapped 1 MiB is accessed before the real page tables are up.

So increate the initial flash mapping to 4 MiB.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
ArmVirtPkg/Library/ArmPlatformLibQemu/IdMap.S