audk/ArmPkg/Universal/Smbios/SmbiosMiscDxe
Leif Lindholm c5753c3e38 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 <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
2023-08-30 21:10:54 +00:00
..
Type00 ArmPkg/SmbiosMiscDxe: use UINT64 for BiosPhysicalSize 2023-08-30 21:10:54 +00:00
Type01 ArmPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Type02 ArmPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Type03 ArmPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Type13 ArmPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Type32 ArmPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
SmbiosMisc.h ArmPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmbiosMiscDataTable.c ArmPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmbiosMiscDxe.inf ArmPkg: Add Universal/Smbios/SmbiosMiscDxe 2021-02-08 19:35:23 +00:00
SmbiosMiscDxeStrings.uni ArmPkg: Add Universal/Smbios/SmbiosMiscDxe 2021-02-08 19:35:23 +00:00
SmbiosMiscEntryPoint.c ArmPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00