]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: rename misleading local #define in CpuDxe
authorLeif Lindholm <leif@nuviainc.com>
Fri, 3 Apr 2020 11:30:46 +0000 (12:30 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 6 Apr 2020 12:02:08 +0000 (12:02 +0000)
commitee026ea78b0e32a9ffbaf0040afe91de8ae2179c
tree976df12d581f8971676365d70efc5ef2c15bf21e
parentef5dcba975ee3b4c29b19ad0b23d371a2cd9d60a
ArmPkg: rename misleading local #define in CpuDxe

The local #define TT_ATTR_INDX_INVALID is used as a local error code
in the AArch64 implementation, but is misleadingly named to match the
definitions in ArmPkg/Include/Chipset/AArch64Mmu.h.

Rename it INVALID_ENTRY to reduce confusion and improve readability.

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