Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: c5753c3e38f3fde23eec9641cb3c433f443ff99e
      
https://github.com/tianocore/edk2/commit/c5753c3e38f3fde23eec9641cb3c433f443ff99e
  Author: Leif Lindholm <[email protected]>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type00/MiscBiosVendorFunction.c

  Log Message:
  -----------
  ArmPkg/SmbiosMiscDxe: use UINT64 for BiosPhysicalSize

The top two bits of the Extended BIOS ROM Size field indicates the unit
used for the remaining 14 bits. If the size is greater than 16GB, the
unit is gigabytes.
The test for this uses the local BiosPhysicalSize variable, which is a
UINTN, meaning that when building for ARM/CLANGDWARF we have a
tautological constant comparison, which the toolchain flags now we've
stopped disabling that warning.
So switch the BiosPhysicalSize variable to UINT64.

Signed-off-by: Leif Lindholm <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Rebecca Cran <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>




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

Reply via email to