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 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#56524): https://edk2.groups.io/g/devel/message/56524 Mute This Topic: https://groups.io/mt/72606846/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-