From 8cadcaa13d882816052ad4dec77faddd44a1c108 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Wed, 28 Oct 2020 01:29:31 +0800 Subject: 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 Reviewed-by: Liming Gao Reviewed-by: Zhichao Gao --- MdePkg/Include/IndustryStandard/SmBios.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'MdePkg') 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 { -- cgit v1.2.3