From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web12.706.1605057525851615258 for ; Tue, 10 Nov 2020 17:18:46 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 11 Nov 2020 09:18:38 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: "'Rebecca Cran'" , Cc: "'Leif Lindholm'" , "'Ard Biesheuvel'" , "'Michael D Kinney'" , "'Zhiguang Liu'" References: <20201111001748.20217-1-rebecca@nuviainc.com> <20201111001748.20217-3-rebecca@nuviainc.com> In-Reply-To: <20201111001748.20217-3-rebecca@nuviainc.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUEFUQ0ggdjMgMi8zXSBNZGVQa2c6IFVwZGF0ZSBJbmR1c3RyeVN0YW5kYXJkL1NtQmlvcy5oIHdpdGggcHJvY2Vzc29yIHN0YXR1cyBkYXRh?= Date: Wed, 11 Nov 2020 09:18:38 +0800 Message-ID: <011201d6b7c8$95b1d490$c1157db0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQL2u6whzZKf1E7FmkoGlmz3gidylwIUAHeIp3F41rA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn This change follows SmBios spec. It is ok to me. Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: Rebecca Cran > =B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA11=D4=C211=C8=D5 8:18 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Rebecca Cran ; Leif Lindholm > ; Ard Biesheuvel ; Michael = D > Kinney ; Liming Gao > ; Zhiguang Liu > =D6=F7=CC=E2: [PATCH v3 2/3] MdePkg: Update IndustryStandard/SmBios.h = with > processor status data >=20 > Add a bitfield that describes the structure of the byte in the Status > field of the SMBIOS Type 4 Processor Information table. >=20 > Signed-off-by: Rebecca Cran > --- > MdePkg/Include/IndustryStandard/SmBios.h | 13 +++++++++++++ > 1 file changed, 13 insertions(+) >=20 > diff --git a/MdePkg/Include/IndustryStandard/SmBios.h > b/MdePkg/Include/IndustryStandard/SmBios.h > index 1ee01645679a..bb4a3a8dc0d3 100644 > --- a/MdePkg/Include/IndustryStandard/SmBios.h > +++ b/MdePkg/Include/IndustryStandard/SmBios.h > @@ -875,6 +875,19 @@ typedef struct { > UINT16 ProcessorReserved2 :6; > } PROCESSOR_CHARACTERISTIC_FLAGS; >=20 > +/// > +/// Processor Information - Status > +/// > +typedef union { > + struct { > + UINT8 CpuStatus :3; // Indicates the status of the = processor. > + UINT8 Reserved1 :3; // Reserved for future use. Should be = set > to zero. > + UINT8 SocketPopulated :1; // Indicates if the processor socket is > populated or not. > + UINT8 Reserved2 :1; // Reserved for future use. Should be = set > to zero. > + } Bits; > + UINT8 Data; > +} PROCESSOR_STATUS_DATA; > + > typedef struct { > PROCESSOR_SIGNATURE Signature; > PROCESSOR_FEATURE_FLAGS FeatureFlags; > -- > 2.26.2