On Sat, Mar 28, 2020 at 11:43:21 +0100, Ard Biesheuvel wrote: > TT_ATTR_INDX_INVALID is #define'd but never used so drop it. > > Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org> > --- > ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c > b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c > index a82596d290f1..222ff817956f 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) > -
Since this is separately defined also in ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c (£"$%^£"$?!?!?) could this patch be tweaked to instead "consolidate" the definitions to a central location, like ArmPkg/Include/Chipset/AArch64Mmu.h where all of the other TT_ATTR_INDX_ definitions live? / Leif > STATIC > UINT64 > ArmMemoryAttributeToPageAttribute ( > -- > 2.17.1 > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#56894): https://edk2.groups.io/g/devel/message/56894 Mute This Topic: https://groups.io/mt/72606851/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-