public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/4] Update CpuDxe MMU Logic to Improve Consistency
@ 2023-06-29 16:17 Taylor Beebe
  2023-06-29 16:17 ` [PATCH 1/4] ArmPkg: Apply Uncrustify to Non-Compliant Files Taylor Beebe
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Taylor Beebe @ 2023-06-29 16:17 UTC (permalink / raw)
  To: devel; +Cc: Taylor Beebe, Leif Lindholm, Ard Biesheuvel

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@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-03 14:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29 16:17 [PATCH 0/4] Update CpuDxe MMU Logic to Improve Consistency Taylor Beebe
2023-06-29 16:17 ` [PATCH 1/4] ArmPkg: Apply Uncrustify to Non-Compliant Files Taylor Beebe
2023-06-29 16:17 ` [PATCH 2/4] ArmPkg: Update GetMemoryRegion() to Handle No mapping Taylor Beebe
2023-06-29 16:17 ` [PATCH 3/4] ArmPkg: Fix Unsafe ASSERTs in MMU Logic Taylor Beebe
2023-06-29 16:17 ` [PATCH 4/4] ArmPkg: Add Function Headers to " Taylor Beebe
2023-07-03 14:17 ` [PATCH 0/4] Update CpuDxe MMU Logic to Improve Consistency Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox