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.web08.4272.1607403016255846482 for ; Mon, 07 Dec 2020 20:50:17 -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 ; Tue, 08 Dec 2020 12:50:08 +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: "'Michael D Kinney'" , "'Zhiguang Liu'" , "'Leif Lindholm'" , "'Ard Biesheuvel'" , "'Sami Mujawar'" References: <20201207175427.28712-1-rebecca@nuviainc.com> <20201207175427.28712-3-rebecca@nuviainc.com> In-Reply-To: <20201207175427.28712-3-rebecca@nuviainc.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUEFUQ0ggdjQgMDIvMTBdIE1kZVBrZzogVXBkYXRlIEluZHVzdHJ5U3RhbmRhcmQvU21CaW9zLmggd2l0aCBwcm9jZXNzb3Igc3RhdHVzIGRhdGE=?= Date: Tue, 8 Dec 2020 12:50:09 +0800 Message-ID: <007d01d6cd1d$9b16d9c0$d1448d40$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGwEgD1jh6iyhcraZ4Vk2R167PwQgGhrI0Hqi0JpHA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn 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=EA12=D4=C28=C8=D5 1:54 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Rebecca Cran ; Michael D Kinney > ; Liming Gao ; > Zhiguang Liu ; Leif Lindholm = ; > Ard Biesheuvel ; Sami Mujawar > > =D6=F7=CC=E2: [PATCH v4 02/10] 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 > Reviewed-by: Leif Lindholm > Acked-by: Sami Mujawar > --- > 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 3bc8732eef99..cc023b73692a 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. Must be = set > to zero. > + UINT8 SocketPopulated :1; ///< Indicates if the processor socket = is > populated or not. > + UINT8 Reserved2 :1; ///< Reserved for future use. Must be = set > to zero. > + } Bits; > + UINT8 Data; > +} PROCESSOR_STATUS_DATA; > + > typedef struct { > PROCESSOR_SIGNATURE Signature; > PROCESSOR_FEATURE_FLAGS FeatureFlags; > -- > 2.26.2