]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Fix SmBios.h PROCESSOR_CHARACTERISTIC_FLAGS to be UINT16
authorRebecca Cran <rebecca@nuviainc.com>
Tue, 27 Oct 2020 17:29:31 +0000 (01:29 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 30 Oct 2020 01:39:30 +0000 (01:39 +0000)
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>
MdePkg/Include/IndustryStandard/SmBios.h

index c495c48f3b47e7d9d3d8f2b658375f5263dfa36b..1ee01645679ab6341a452f45886b3399802ace8a 100644 (file)
@@ -862,17 +862,17 @@ typedef struct {
 } PROCESSOR_FEATURE_FLAGS;\r
 \r
 typedef struct {\r
-  UINT32  ProcessorReserved1             :1;\r
-  UINT32  ProcessorUnknown               :1;\r
-  UINT32  Processor64BitCapble           :1;\r
-  UINT32  ProcessorMultiCore             :1;\r
-  UINT32  ProcessorHardwareThread        :1;\r
-  UINT32  ProcessorExecuteProtection     :1;\r
-  UINT32  ProcessorEnhancedVirtulization :1;\r
-  UINT32  ProcessorPowerPerformanceCtrl  :1;\r
-  UINT32  Processor128bitCapble          :1;\r
-  UINT32  ProcessorArm64SocId            :1;\r
-  UINT32  ProcessorReserved2             :6;\r
+  UINT16  ProcessorReserved1             :1;\r
+  UINT16  ProcessorUnknown               :1;\r
+  UINT16  Processor64BitCapble           :1;\r
+  UINT16  ProcessorMultiCore             :1;\r
+  UINT16  ProcessorHardwareThread        :1;\r
+  UINT16  ProcessorExecuteProtection     :1;\r
+  UINT16  ProcessorEnhancedVirtulization :1;\r
+  UINT16  ProcessorPowerPerformanceCtrl  :1;\r
+  UINT16  Processor128bitCapble          :1;\r
+  UINT16  ProcessorArm64SocId            :1;\r
+  UINT16  ProcessorReserved2             :6;\r
 } PROCESSOR_CHARACTERISTIC_FLAGS;\r
 \r
 typedef struct {\r