]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/CpuDxe: move PageAttributeToGcdAttribute() out of ArmMmuLib
authorArd Biesheuvel <ard.biesheuvel@arm.com>
Tue, 31 Mar 2020 17:24:57 +0000 (19:24 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 2 Apr 2020 12:35:52 +0000 (12:35 +0000)
commit49188b2aa481e76190883e73147af72128c878db
tree8f66f3470429b165df24fdac118707ab4cfadc8f
parentf45e254f2e2b1e25f10b21a2bbb6d833ae45b5c5
ArmPkg/CpuDxe: move PageAttributeToGcdAttribute() out of ArmMmuLib

The routine PageAttributeToGcdAttribute() is exported by ArmMmuLib
but only ever used in the implementation of CpuDxe. So let's move
the function there and make it STATIC.

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