diff options
author | Leif Lindholm <quic_llindhol@quicinc.com> | 2023-08-30 11:44:22 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-08-30 21:10:54 +0000 |
commit | c5753c3e38f3fde23eec9641cb3c433f443ff99e (patch) | |
tree | fad457bab59f7c67a0a47d1cef9fc50a2712996e /MdePkg/Include | |
parent | 0c4d0b6c8a05a6a62c0dca042f8e15e579e6f4af (diff) | |
download | edk2-c5753c3e38f3fde23eec9641cb3c433f443ff99e.tar.gz edk2-c5753c3e38f3fde23eec9641cb3c433f443ff99e.tar.bz2 edk2-c5753c3e38f3fde23eec9641cb3c433f443ff99e.zip |
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>
Diffstat (limited to 'MdePkg/Include')
0 files changed, 0 insertions, 0 deletions