]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
ArmPkg/ArmMmuLib AARCH64: avoid EL0 accessible mappings
[mirror_edk2.git] / ArmPkg / Drivers / CpuDxe / AArch64 / Mmu.c
index 8997b7f61f8bca11c2fc393f7dc99edb8fb8fa8d..8bb33046e707a52e3a1da8aa06b27afd9b5685aa 100644 (file)
@@ -305,7 +305,7 @@ EfiAttributeToArmAttribute (
 \r
   // Determine protection attributes\r
   if ((EfiAttributes & EFI_MEMORY_RO) != 0) {\r
-    ArmAttributes |= TT_AP_RO_RO;\r
+    ArmAttributes |= TT_AP_NO_RO;\r
   }\r
 \r
   // Process eXecute Never attribute\r