diff options
author | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-03-31 19:25:11 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-04-02 12:35:52 +0000 |
commit | f73c9adfc68c7ff189b17cb2531a071d4b30cd75 (patch) | |
tree | e7eaeeaf480876a28b695c9a6e673ab9cfbbfc27 | |
parent | 991c5d89ba245f623c61fe5568d29cb3c7f6bb11 (diff) | |
download | edk2-f73c9adfc68c7ff189b17cb2531a071d4b30cd75.tar.gz edk2-f73c9adfc68c7ff189b17cb2531a071d4b30cd75.tar.bz2 edk2-f73c9adfc68c7ff189b17cb2531a071d4b30cd75.zip |
ArmPkg/ArmMmuLib: drop unused TT_ATTR_INDX_INVALID CPP macro
TT_ATTR_INDX_INVALID is #define'd but never used so drop it. Note
that this leaves a CPP macro of the same name in CpuDxe, but there,
it is actually being used, and although the name suggests that this
value is somehow defined by the architecture, this is really not the
case and it only has meaning within the scope of CpuDxe's implementation.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
-rw-r--r-- | ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c index a82596d290..222ff81795 100644 --- a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c +++ b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c @@ -19,9 +19,6 @@ #include <Library/BaseLib.h>
#include <Library/DebugLib.h>
-// We use this index definition to define an invalid block entry
-#define TT_ATTR_INDX_INVALID ((UINT32)~0)
-
STATIC
UINT64
ArmMemoryAttributeToPageAttribute (
|