audk/MdePkg/Include/Uefi
Dmitry Antipov c82ca2bb44 MdePkg: Move MEMORY_TYPE_* Defines to EFI_MEMORY_TYPE Enum
Per TCBZ2372, clang on Linux emits a warning if an enum-typed variable
is compared with a constant outside of the range of the enum. Such
comparisons are performed in multiple locations in DXE core on
variables of type EFI_MEMORY_TYPE. This patch moves the OEM and OS
reserved types into the EFI_MEMORY_TYPE enum itself to resolve this
issue and improve readability. This commit does this for the MdePkg
copy of this enum.

Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
2024-07-26 03:08:20 +00:00
..
UefiAcpiDataTable.h
UefiBaseType.h
UefiGpt.h
UefiInternalFormRepresentation.h
UefiMultiPhase.h MdePkg: Move MEMORY_TYPE_* Defines to EFI_MEMORY_TYPE Enum 2024-07-26 03:08:20 +00:00
UefiPxe.h
UefiSpec.h