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.3270.1650590765282215330 for ; Thu, 21 Apr 2022 18:26:06 -0700 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 ([101.224.116.119]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 22 Apr 2022 09:25:58 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 101.224.116.119 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: "'Ke, Bo-ChangX'" , Cc: "'Kinney, Michael D'" , "'Liu, Zhiguang'" , "'Gao, Zhichao'" , "'Bi, Dandan'" , "'Zeng, Star'" References: <16E7E40A8A36DFC1.23693@groups.io> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYzXSBNZGVQa2c6IFVwZGF0ZSBzbWJpb3N2aWV3IHR5cGUgOSB3aXRoIFNNQklPUyAzLjUgZmllbGRz?= Date: Fri, 22 Apr 2022 09:26:02 +0800 Message-ID: <00c101d855e7$ede34310$c9a9c930$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGz4ls4HslikeoFGrRr1qSLNzi/7gHJu8+iAscak6etH4RKkA== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Change: https://github.com/tianocore/edk2/pull/2797 is used to merge these two patches.=20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: Ke, Bo-ChangX > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA4=D4=C221=C8=D5 19:06 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; Ke, Bo-ChangX > =B3=AD=CB=CD: Gao, Liming ; Kinney, Michael D > ; Liu, Zhiguang ; Gao= , > Zhichao ; Bi, Dandan ; Zeng, > Star > =D6=F7=CC=E2: RE: [edk2-devel] [PATCH v3] MdePkg: Update smbiosview type = 9 with > SMBIOS 3.5 fields >=20 > Hi Liming, Mike, >=20 > Fix coding style issue, >=20 > And create a PR here: https://github.com/tianocore/edk2/pull/2811 >=20 > The CI checks have passed. >=20 > Can you help push this PR? >=20 > Thank you very much. >=20 > Best Regards. >=20 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Bo Chang > Ke > Sent: Thursday, April 21, 2022 6:55 PM > To: devel@edk2.groups.io > Cc: Gao, Liming ; Kinney, Michael D > ; Liu, Zhiguang ; Gao= , > Zhichao ; Bi, Dandan ; Zeng, > Star > Subject: [edk2-devel] [PATCH v3] MdePkg: Update smbiosview type 9 with > SMBIOS 3.5 fields >=20 > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3896 >=20 > update smbiosview type 9 related fileds. >=20 > Signed-off-by: Bo Chang Ke > Cc: Liming Gao > Cc: Michael D Kinney > Cc: Zhiguang Liu > Cc: Zhichao Gao > Cc: Dandan Bi > Cc: Star Zeng > --- > MdePkg/Include/IndustryStandard/SmBios.h | 177 ++++++++++++++--------- > 1 file changed, 112 insertions(+), 65 deletions(-) >=20 > diff --git a/MdePkg/Include/IndustryStandard/SmBios.h > b/MdePkg/Include/IndustryStandard/SmBios.h > index 2b1567b052..20d62680a5 100644 > --- a/MdePkg/Include/IndustryStandard/SmBios.h > +++ b/MdePkg/Include/IndustryStandard/SmBios.h > @@ -1271,71 +1271,85 @@ typedef struct { /// System Slots - Slot Type > /// typedef enum { > - SlotTypeOther =3D 0x01, > - SlotTypeUnknown =3D 0x02, > - SlotTypeIsa =3D 0x03, > - SlotTypeMca =3D 0x04, > - SlotTypeEisa =3D 0x05, > - SlotTypePci =3D 0x06, > - SlotTypePcmcia =3D 0x07, > - SlotTypeVlVesa =3D 0x08, > - SlotTypeProprietary =3D 0x09, > - SlotTypeProcessorCardSlot =3D 0x0A, > - SlotTypeProprietaryMemoryCardSlot =3D 0x0B, > - SlotTypeIORiserCardSlot =3D 0x0C, > - SlotTypeNuBus =3D 0x0D, > - SlotTypePci66MhzCapable =3D 0x0E, > - SlotTypeAgp =3D 0x0F, > - SlotTypeApg2X =3D 0x10, > - SlotTypeAgp4X =3D 0x11, > - SlotTypePciX =3D 0x12, > - SlotTypeAgp8X =3D 0x13, > - SlotTypeM2Socket1_DP =3D 0x14, > - SlotTypeM2Socket1_SD =3D 0x15, > - SlotTypeM2Socket2 =3D 0x16, > - SlotTypeM2Socket3 =3D 0x17, > - SlotTypeMxmTypeI =3D 0x18, > - SlotTypeMxmTypeII =3D 0x19, > - SlotTypeMxmTypeIIIStandard =3D 0x1A, > - SlotTypeMxmTypeIIIHe =3D 0x1B, > - SlotTypeMxmTypeIV =3D 0x1C, > - SlotTypeMxm30TypeA =3D 0x1D, > - SlotTypeMxm30TypeB =3D 0x1E, > - SlotTypePciExpressGen2Sff_8639 =3D 0x1F, > - SlotTypePciExpressGen3Sff_8639 =3D 0x20, > - SlotTypePciExpressMini52pinWithBSKO =3D 0x21, ///< PCI Express > Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs. > - SlotTypePciExpressMini52pinWithoutBSKO =3D 0x22, ///< PCI Express > Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs. > - SlotTypePciExpressMini76pin =3D 0x23, ///< PCI Express > Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card. > - SlotTypeCXLFlexbus10 =3D 0x30, > - SlotTypePC98C20 =3D 0xA0, > - SlotTypePC98C24 =3D 0xA1, > - SlotTypePC98E =3D 0xA2, > - SlotTypePC98LocalBus =3D 0xA3, > - SlotTypePC98Card =3D 0xA4, > - SlotTypePciExpress =3D 0xA5, > - SlotTypePciExpressX1 =3D 0xA6, > - SlotTypePciExpressX2 =3D 0xA7, > - SlotTypePciExpressX4 =3D 0xA8, > - SlotTypePciExpressX8 =3D 0xA9, > - SlotTypePciExpressX16 =3D 0xAA, > - SlotTypePciExpressGen2 =3D 0xAB, > - SlotTypePciExpressGen2X1 =3D 0xAC, > - SlotTypePciExpressGen2X2 =3D 0xAD, > - SlotTypePciExpressGen2X4 =3D 0xAE, > - SlotTypePciExpressGen2X8 =3D 0xAF, > - SlotTypePciExpressGen2X16 =3D 0xB0, > - SlotTypePciExpressGen3 =3D 0xB1, > - SlotTypePciExpressGen3X1 =3D 0xB2, > - SlotTypePciExpressGen3X2 =3D 0xB3, > - SlotTypePciExpressGen3X4 =3D 0xB4, > - SlotTypePciExpressGen3X8 =3D 0xB5, > - SlotTypePciExpressGen3X16 =3D 0xB6, > - SlotTypePciExpressGen4 =3D 0xB8, > - SlotTypePciExpressGen4X1 =3D 0xB9, > - SlotTypePciExpressGen4X2 =3D 0xBA, > - SlotTypePciExpressGen4X4 =3D 0xBB, > - SlotTypePciExpressGen4X8 =3D 0xBC, > - SlotTypePciExpressGen4X16 =3D 0xBD > + SlotTypeOther =3D 0x01, > + SlotTypeUnknown =3D 0x02, > + SlotTypeIsa =3D 0x03, > + SlotTypeMca =3D 0x04, > + SlotTypeEisa =3D 0x05, > + SlotTypePci =3D 0x06, > + SlotTypePcmcia =3D 0x07, > + SlotTypeVlVesa =3D 0x08, > + SlotTypeProprietary =3D 0x09, > + SlotTypeProcessorCardSlot =3D 0x0A, > + SlotTypeProprietaryMemoryCardSlot =3D 0x0B, > + SlotTypeIORiserCardSlot =3D 0x0C, > + SlotTypeNuBus =3D 0x0D, > + SlotTypePci66MhzCapable =3D 0x0E, > + SlotTypeAgp =3D 0x0F, > + SlotTypeApg2X =3D 0x10, > + SlotTypeAgp4X =3D 0x11, > + SlotTypePciX =3D 0x12, > + SlotTypeAgp8X =3D 0x13, > + SlotTypeM2Socket1_DP =3D 0x14, > + SlotTypeM2Socket1_SD =3D 0x15, > + SlotTypeM2Socket2 =3D 0x16, > + SlotTypeM2Socket3 =3D 0x17, > + SlotTypeMxmTypeI =3D 0x18, > + SlotTypeMxmTypeII =3D 0x19, > + SlotTypeMxmTypeIIIStandard =3D 0x1A, > + SlotTypeMxmTypeIIIHe =3D 0x1B, > + SlotTypeMxmTypeIV =3D 0x1C, > + SlotTypeMxm30TypeA =3D 0x1D, > + SlotTypeMxm30TypeB =3D 0x1E, > + SlotTypePciExpressGen2Sff_8639 =3D 0x1F, > + SlotTypePciExpressGen3Sff_8639 =3D 0x20, > + SlotTypePciExpressMini52pinWithBSKO =3D 0x21, > ///< PCI Express Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs. > + SlotTypePciExpressMini52pinWithoutBSKO =3D 0x22, ///< > PCI Express Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs. > + SlotTypePciExpressMini76pin =3D 0x23, ///< > PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card. > + SlotTypePCIExpressGen4SFF_8639 =3D 0x24, > ///< U.2 > + SlotTypePCIExpressGen5SFF_8639 =3D 0x25, > ///< U.2 > + SlotTypeOCPNIC30SmallFormFactor =3D 0x26, > ///< SFF > + SlotTypeOCPNIC30LargeFormFactor =3D 0x27, > ///< LFF > + SlotTypeOCPNICPriorto30 =3D 0x28, > + SlotTypeCXLFlexbus10 =3D 0x30, > + SlotTypePC98C20 =3D 0xA0, > + SlotTypePC98C24 =3D 0xA1, > + SlotTypePC98E =3D 0xA2, > + SlotTypePC98LocalBus =3D 0xA3, > + SlotTypePC98Card =3D 0xA4, > + SlotTypePciExpress =3D 0xA5, > + SlotTypePciExpressX1 =3D 0xA6, > + SlotTypePciExpressX2 =3D 0xA7, > + SlotTypePciExpressX4 =3D 0xA8, > + SlotTypePciExpressX8 =3D 0xA9, > + SlotTypePciExpressX16 =3D 0xAA, > + SlotTypePciExpressGen2 =3D 0xAB, > + SlotTypePciExpressGen2X1 =3D 0xAC, > + SlotTypePciExpressGen2X2 =3D 0xAD, > + SlotTypePciExpressGen2X4 =3D 0xAE, > + SlotTypePciExpressGen2X8 =3D 0xAF, > + SlotTypePciExpressGen2X16 =3D 0xB0, > + SlotTypePciExpressGen3 =3D 0xB1, > + SlotTypePciExpressGen3X1 =3D 0xB2, > + SlotTypePciExpressGen3X2 =3D 0xB3, > + SlotTypePciExpressGen3X4 =3D 0xB4, > + SlotTypePciExpressGen3X8 =3D 0xB5, > + SlotTypePciExpressGen3X16 =3D 0xB6, > + SlotTypePciExpressGen4 =3D 0xB8, > + SlotTypePciExpressGen4X1 =3D 0xB9, > + SlotTypePciExpressGen4X2 =3D 0xBA, > + SlotTypePciExpressGen4X4 =3D 0xBB, > + SlotTypePciExpressGen4X8 =3D 0xBC, > + SlotTypePciExpressGen4X16 =3D 0xBD, > + SlotTypePCIExpressGen5 =3D 0xBE, > + SlotTypePCIExpressGen5X1 =3D 0xBF, > + SlotTypePCIExpressGen5X2 =3D 0xC0, > + SlotTypePCIExpressGen5X4 =3D 0xC1, > + SlotTypePCIExpressGen5X8 =3D 0xC2, > + SlotTypePCIExpressGen5X16 =3D 0xC3, > + SlotTypePCIExpressGen6andBeyond =3D 0xC4, > + SlotTypeEnterpriseandDatacenter1UE1FormFactorSlot =3D 0xC5, > + SlotTypeEnterpriseandDatacenter3E3FormFactorSlot =3D 0xC6 > } MISC_SLOT_TYPE; >=20 > /// > @@ -1358,6 +1372,39 @@ typedef enum { > SlotDataBusWidth32X =3D 0x0E ///< Or X32 > } MISC_SLOT_DATA_BUS_WIDTH; >=20 > +/// > +/// System Slots - Slot Physical Width. > +/// > +typedef enum { > + SlotPhysicalWidthOther =3D 0x01, > + SlotPhysicalWidthUnknown =3D 0x02, > + SlotPhysicalWidth8Bit =3D 0x03, > + SlotPhysicalWidth16Bit =3D 0x04, > + SlotPhysicalWidth32Bit =3D 0x05, > + SlotPhysicalWidth64Bit =3D 0x06, > + SlotPhysicalWidth128Bit =3D 0x07, > + SlotPhysicalWidth1X =3D 0x08, ///< Or X1 > + SlotPhysicalWidth2X =3D 0x09, ///< Or X2 > + SlotPhysicalWidth4X =3D 0x0A, ///< Or X4 > + SlotPhysicalWidth8X =3D 0x0B, ///< Or X8 > + SlotPhysicalWidth12X =3D 0x0C, ///< Or X12 > + SlotPhysicalWidth16X =3D 0x0D, ///< Or X16 > + SlotPhysicalWidth32X =3D 0x0E ///< Or X32 > +} MISC_SLOT_PHYSICAL_WIDTH; > + > +/// > +/// System Slots - Slot Information. > +/// > +typedef enum { > + Others =3D 0x00, > + Gen1 =3D 0x01, > + Gen2 =3D 0x01, > + Gen3 =3D 0x03, > + Gen4 =3D 0x04, > + Gen5 =3D 0x05, > + Gen6 =3D 0x06 > +} MISC_SLOT_INFORMATION; > + > /// > /// System Slots - Current Usage. > /// > -- > 2.32.0.windows.1 >=20 >=20 >=20 >=20 >=20