Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 41426040daab53efc31265560050be6fdd96e879
      
https://github.com/tianocore/edk2/commit/41426040daab53efc31265560050be6fdd96e879
  Author: Dmitry Antipov <[email protected]>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M BaseTools/Source/C/Include/Common/UefiMultiPhase.h

  Log Message:
  -----------
  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 <[email protected]>


  Commit: c82ca2bb4441b92bea768d710f10a4e260e32e07
      
https://github.com/tianocore/edk2/commit/c82ca2bb4441b92bea768d710f10a4e260e32e07
  Author: Dmitry Antipov <[email protected]>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M MdePkg/Include/Uefi/UefiMultiPhase.h

  Log Message:
  -----------
  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 <[email protected]>


  Commit: ffc09b51cb7cc47bc80730d6c9e14563140dd052
      
https://github.com/tianocore/edk2/commit/ffc09b51cb7cc47bc80730d6c9e14563140dd052
  Author: Dmitry Antipov <[email protected]>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M MdeModulePkg/Core/Dxe/Mem/Imem.h

  Log Message:
  -----------
  MdeModulePkg: Remove EFI_MEMORY_* Defines

Now that all of the EFI_MEMORY_* defines live in the
EFI_MEMORY_TYPE enum, remove the old defines.

Signed-off-by: Oliver Smith-Denny <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/b1bce5e56498...ffc09b51cb7c

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to