summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/BaseResetSystemLibNull
diff options
context:
space:
mode:
authorDmitry Antipov <dmanti@microsoft.com>2024-07-18 16:32:08 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-26 03:08:20 +0000
commit41426040daab53efc31265560050be6fdd96e879 (patch)
tree853d33c3841c0a9f49e78a190d408e828d5b5ff4 /MdeModulePkg/Library/BaseResetSystemLibNull
parentb1bce5e5649840159d54eb8bffa4fa3d4fae8ee6 (diff)
downloadedk2-41426040daab53efc31265560050be6fdd96e879.tar.gz
edk2-41426040daab53efc31265560050be6fdd96e879.tar.bz2
edk2-41426040daab53efc31265560050be6fdd96e879.zip
BaseTools: 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 BaseTools copy of this enum. Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/BaseResetSystemLibNull')
0 files changed, 0 insertions, 0 deletions