diff options
author | Sami Mujawar <sami.mujawar@arm.com> | 2019-07-09 15:04:45 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-03-29 16:53:35 +0000 |
commit | aa9aff2d4e1aa93ceadd881dc1749f8ae7061b3f (patch) | |
tree | b145eb7d3551e365815560451db90d4789cce90f /BaseTools/Source/Python/CommonDataClass/Exceptions.py | |
parent | 878478116ab65646cddc4e590f2440f8aefca19c (diff) | |
download | edk2-aa9aff2d4e1aa93ceadd881dc1749f8ae7061b3f.tar.gz edk2-aa9aff2d4e1aa93ceadd881dc1749f8ae7061b3f.tar.bz2 edk2-aa9aff2d4e1aa93ceadd881dc1749f8ae7061b3f.zip |
DynamicTablesPkg: Fix Boot arch flag width
The ArmBootArch field of the FADT table is 16-bit wide. The
VS2017 compiler reports 'warning C4244: '=': conversion from
'UINT32' to 'UINT16', possible loss of data' when assigning the
CM_ARM_BOOT_ARCH_INFO.BootArchFlags value as the width of this
field in CM_ARM_BOOT_ARCH_INFO is 32-bit wide.
To fix this warning, update the CM_ARM_BOOT_ARCH_INFO struct
to make the BootArchFlags field 16-bit wide. This also makes
it compatible with the ACPI FADT specification.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/Exceptions.py')
0 files changed, 0 insertions, 0 deletions