]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmMmuLib: get rid of GetRootTranslationTableInfo()
authorArd Biesheuvel <ard.biesheuvel@arm.com>
Tue, 31 Mar 2020 17:25:06 +0000 (19:25 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 2 Apr 2020 12:35:52 +0000 (12:35 +0000)
commit991c5d89ba245f623c61fe5568d29cb3c7f6bb11
tree69a237f5d00cc237cc7cf5289953f09238ce8285
parentdb0f8c2f849e9bc0c965db0d1befb19050224d66
ArmPkg/ArmMmuLib: get rid of GetRootTranslationTableInfo()

Only a single call to GetRootTranslationTableInfo() remains, which
only provides the root table level. So let's create a new static
helper function that returns just this value, and use it instead.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c