public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/5] ArmPkg: cosmetic cleanups for ArmMmuLib
@ 2020-03-28 10:43 Ard Biesheuvel
  2020-03-28 10:43 ` [PATCH 1/5] ArmPkg/CpuDxe: use private copy of GetRootTranslationTableInfo() Ard Biesheuvel
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Ard Biesheuvel @ 2020-03-28 10:43 UTC (permalink / raw)
  To: devel; +Cc: leif, Ard Biesheuvel

Now that the rewritten ArmMmuLib for AARCH64 seems to be functioning as
desired, we can apply some more polish and get rid of a couple of warts
that were left over from the original version.

Patches #1 and #2 move some code out of ArmMmuLib and into CpuDxe which
only exists for the benefit of the latter.

Patches #3 and #4 get rid of a couple of awkward helper functions that
can be replaced by simply arithmetic expressions.

Patch #5 drops a #define that is no longer used.

Ard Biesheuvel (5):
  ArmPkg/CpuDxe: use private copy of GetRootTranslationTableInfo()
  ArmPkg/CpuDxe: move PageAttributeToGcdAttribute() out of ArmMmuLib
  ArmPkg/ArmMmuLib: drop pointless LookupAddresstoRootTable() routine
  ArmPkg/ArmMmuLib: get rid of GetRootTranslationTableInfo()
  ArmPkg/ArmMmuLib: drop unused TT_ATTR_INDX_INVALID CPP symbol

 ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c           |  61 +++++++++
 ArmPkg/Drivers/CpuDxe/CpuDxe.h                |   7 --
 ArmPkg/Include/Chipset/AArch64.h              |   5 -
 .../Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 117 +++---------------
 4 files changed, 81 insertions(+), 109 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2020-04-02 12:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-28 10:43 [PATCH 0/5] ArmPkg: cosmetic cleanups for ArmMmuLib Ard Biesheuvel
2020-03-28 10:43 ` [PATCH 1/5] ArmPkg/CpuDxe: use private copy of GetRootTranslationTableInfo() Ard Biesheuvel
2020-04-02 10:16   ` Leif Lindholm
2020-04-02 10:20     ` [edk2-devel] " Ard Biesheuvel
2020-04-02 10:28       ` Leif Lindholm
2020-04-02 10:29         ` Ard Biesheuvel
2020-04-02 11:03           ` Leif Lindholm
2020-04-02 12:44             ` Ard Biesheuvel
2020-03-28 10:43 ` [PATCH 2/5] ArmPkg/CpuDxe: move PageAttributeToGcdAttribute() out of ArmMmuLib Ard Biesheuvel
2020-03-28 10:43 ` [PATCH 3/5] ArmPkg/ArmMmuLib: drop pointless LookupAddresstoRootTable() routine Ard Biesheuvel
2020-03-28 10:43 ` [PATCH 4/5] ArmPkg/ArmMmuLib: get rid of GetRootTranslationTableInfo() Ard Biesheuvel
2020-03-28 10:43 ` [PATCH 5/5] ArmPkg/ArmMmuLib: drop unused TT_ATTR_INDX_INVALID CPP symbol Ard Biesheuvel
2020-04-02 10:23   ` Leif Lindholm
2020-04-02 10:29     ` [edk2-devel] " Ard Biesheuvel
2020-04-02 10:57       ` Leif Lindholm
2020-04-02 11:05         ` Ard Biesheuvel

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