[edk2-devel] [PATCH 0/4] Update CpuDxe MMU Logic to Improve Consistency
Taylor Beebe
t at taylorbeebe.com
Thu Jun 29 16:17:54 UTC 2023
This patch series:
1. Updates applies uncrustify to noncompliant files
2. Updates GetMemoryRegion() to handle the case where
BaseAddress is an unmapped page, and update some other
return values to be more consistent.
3. Adds some branching paths to what were previously only
ASSERT statements to avoid dereferencing NULL and producing
non-deterministic behavior when ASSERTs are disabled.
4. Adds function headers to the MMU logic documenting the
behavior, parameters, and potetial return values.
Taylor Beebe (4):
ArmPkg: Apply Uncrustify to Non-Compliant Files
ArmPkg: Update GetMemoryRegion() to Handle No mapping
ArmPkg: Fix Unsafe ASSERTs in MMU Logic
ArmPkg: Add Function Headers to MMU Logic
Cc: Leif Lindholm <quic_llindhol at quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c | 143 ++++++++++++--
ArmPkg/Drivers/CpuDxe/Arm/Mmu.c | 187 ++++++++++++++----
.../MmCommunicationPei/MmCommunicationPei.c | 6 +-
ArmPkg/Include/IndustryStandard/ArmStdSmc.h | 8 +-
4 files changed, 281 insertions(+), 63 deletions(-)
--
2.41.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#106517): https://edk2.groups.io/g/devel/message/106517
Mute This Topic: https://groups.io/mt/99854259/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list