]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/PrePeiCore: permit entry with the MMU enabled
authorArd Biesheuvel <ardb@kernel.org>
Fri, 1 Jul 2022 18:24:26 +0000 (20:24 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 24 Oct 2022 14:30:33 +0000 (14:30 +0000)
commitfb493ac84ebc6860e1690770fb88183effadebfb
tree24b1b8ae1e97d7a15b13b989cd0d08f72c898cf7
parentb28acb22e019c4a86b9a20f601985219559c91b0
ArmPlatformPkg/PrePeiCore: permit entry with the MMU enabled

Some platforms may set up a preliminary ID map in flash and enter EFI
with the MMU and caches enabled, as this removes a lot of the complexity
around cache coherency. Let's take this into account, and avoid touching
the MMU controls or perform cache invalidation when the MMU is enabled
at entry.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
ArmPlatformPkg/PrePeiCore/PrePeiCore.c