diff options
author | Rebecca Cran <rebecca@nuviainc.com> | 2020-10-28 01:29:31 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-10-30 01:39:30 +0000 |
commit | 8cadcaa13d882816052ad4dec77faddd44a1c108 (patch) | |
tree | 3a7d4a6e677162a848a3fabee7a45b35888c7ef9 /MdePkg/Include | |
parent | 3cb6315933b8809ddeba65cc719f27216a83fda6 (diff) | |
download | edk2-8cadcaa13d882816052ad4dec77faddd44a1c108.tar.gz edk2-8cadcaa13d882816052ad4dec77faddd44a1c108.tar.bz2 edk2-8cadcaa13d882816052ad4dec77faddd44a1c108.zip |
MdePkg: Fix SmBios.h PROCESSOR_CHARACTERISTIC_FLAGS to be UINT16
The ProcessorCharacteristics is a UINT16 field, so the
PROCESSOR_CHARACTERISTIC_FLAGS bitfield should be UINT16 too.
Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/IndustryStandard/SmBios.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index c495c48f3b..1ee0164567 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -862,17 +862,17 @@ typedef struct { } PROCESSOR_FEATURE_FLAGS;
typedef struct {
- UINT32 ProcessorReserved1 :1;
- UINT32 ProcessorUnknown :1;
- UINT32 Processor64BitCapble :1;
- UINT32 ProcessorMultiCore :1;
- UINT32 ProcessorHardwareThread :1;
- UINT32 ProcessorExecuteProtection :1;
- UINT32 ProcessorEnhancedVirtulization :1;
- UINT32 ProcessorPowerPerformanceCtrl :1;
- UINT32 Processor128bitCapble :1;
- UINT32 ProcessorArm64SocId :1;
- UINT32 ProcessorReserved2 :6;
+ UINT16 ProcessorReserved1 :1;
+ UINT16 ProcessorUnknown :1;
+ UINT16 Processor64BitCapble :1;
+ UINT16 ProcessorMultiCore :1;
+ UINT16 ProcessorHardwareThread :1;
+ UINT16 ProcessorExecuteProtection :1;
+ UINT16 ProcessorEnhancedVirtulization :1;
+ UINT16 ProcessorPowerPerformanceCtrl :1;
+ UINT16 Processor128bitCapble :1;
+ UINT16 ProcessorArm64SocId :1;
+ UINT16 ProcessorReserved2 :6;
} PROCESSOR_CHARACTERISTIC_FLAGS;
typedef struct {
|