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>
This commit is contained in:
Rebecca Cran 2020-10-28 01:29:31 +08:00 committed by mergify[bot]
parent 3cb6315933
commit 8cadcaa13d
1 changed files with 11 additions and 11 deletions

View File

@ -862,17 +862,17 @@ typedef struct {
} PROCESSOR_FEATURE_FLAGS; } PROCESSOR_FEATURE_FLAGS;
typedef struct { typedef struct {
UINT32 ProcessorReserved1 :1; UINT16 ProcessorReserved1 :1;
UINT32 ProcessorUnknown :1; UINT16 ProcessorUnknown :1;
UINT32 Processor64BitCapble :1; UINT16 Processor64BitCapble :1;
UINT32 ProcessorMultiCore :1; UINT16 ProcessorMultiCore :1;
UINT32 ProcessorHardwareThread :1; UINT16 ProcessorHardwareThread :1;
UINT32 ProcessorExecuteProtection :1; UINT16 ProcessorExecuteProtection :1;
UINT32 ProcessorEnhancedVirtulization :1; UINT16 ProcessorEnhancedVirtulization :1;
UINT32 ProcessorPowerPerformanceCtrl :1; UINT16 ProcessorPowerPerformanceCtrl :1;
UINT32 Processor128bitCapble :1; UINT16 Processor128bitCapble :1;
UINT32 ProcessorArm64SocId :1; UINT16 ProcessorArm64SocId :1;
UINT32 ProcessorReserved2 :6; UINT16 ProcessorReserved2 :6;
} PROCESSOR_CHARACTERISTIC_FLAGS; } PROCESSOR_CHARACTERISTIC_FLAGS;
typedef struct { typedef struct {