audk/ArmPkg/Library/ArmMmuLib/Arm
Ard Biesheuvel 4f4a2c3b07 ArmPkg/ArmMmuLib: Drop buggy secure memory type check
Jake reports that the IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE() macro is
no longer accurate since commit 852227a9d5 ("ArmPkg/Mmu: Remove
handling of NONSECURE memory regions").

Fortunately, it only affects the NS bit in level 1 short descriptors,
which is ignored when executing in non-secure mode. And given that
running UEFI in the secure world is not a use case we aim to support,
let's just drop this logic altogether.

Reported-by: Jake Garver <jake@nvidia.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
2023-09-12 10:20:27 +00:00
..
ArmMmuLibConvert.c ArmPkg/ArmMmuLib ARM: Isolate the access flag from AP mask 2023-03-16 21:14:49 +00:00
ArmMmuLibCore.c ArmPkg/ArmMmuLib: Drop buggy secure memory type check 2023-09-12 10:20:27 +00:00
ArmMmuLibUpdate.c ArmPkg: Drop individual memory permission helpers 2023-06-27 16:40:07 +00:00
ArmMmuLibV7Support.S ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00