summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Include
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@arm.com>2020-03-31 19:24:57 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-04-02 12:35:52 +0000
commit49188b2aa481e76190883e73147af72128c878db (patch)
tree8f66f3470429b165df24fdac118707ab4cfadc8f /ArmPkg/Include
parentf45e254f2e2b1e25f10b21a2bbb6d833ae45b5c5 (diff)
downloadedk2-49188b2aa481e76190883e73147af72128c878db.tar.gz
edk2-49188b2aa481e76190883e73147af72128c878db.tar.bz2
edk2-49188b2aa481e76190883e73147af72128c878db.zip
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>
Diffstat (limited to 'ArmPkg/Include')
-rw-r--r--ArmPkg/Include/Chipset/AArch64.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/ArmPkg/Include/Chipset/AArch64.h b/ArmPkg/Include/Chipset/AArch64.h
index e3d877207b..0ade5cce91 100644
--- a/ArmPkg/Include/Chipset/AArch64.h
+++ b/ArmPkg/Include/Chipset/AArch64.h
@@ -219,11 +219,6 @@ ArmReadCurrentEL (
VOID
);
-UINT64
-PageAttributeToGcdAttribute (
- IN UINT64 PageAttributes
- );
-
UINTN
ArmWriteCptr (
IN UINT64 Cptr