From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web08.19932.1650538521052336080 for ; Thu, 21 Apr 2022 03:55:22 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=O5Y1obgP; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: bo-changx.ke@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650538521; x=1682074521; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NCbceQmSsF/lVuBibOOU4Huzjb+plSl6v3HkbCV+KuM=; b=O5Y1obgP7aH4CP0s5sgF/tRp9fjJTDAUQLHgsvXzL/j18BReiVODEweu jdPwdoI6Sv09Cp5a/8fHzuDwDYfoL1j/ok5K00RXFfEdv0+K0bzOJlj86 MtbqvnbTZWYQMSXEfAhIbyUu6Lr1I2xAnA+fyzdSCqc1ozR93F4n3OKbI BbKruALgdac0wZtB0LWKRNvY2f/KAMI2imRWipF7aIu5W8mzo/8/hi8dH Jui2Z0gjFMClZS9F33Ugo+lxfOjzgJwJM/CYH2UiijEWaRSjTsRj+uUA/ GG4vmjG2ju30MQmJ9jBOdQ2wvkbV4X0GZGrPovZnQclSIw4uuhjq5mizP w==; X-IronPort-AV: E=McAfee;i="6400,9594,10323"; a="244244414" X-IronPort-AV: E=Sophos;i="5.90,278,1643702400"; d="scan'208";a="244244414" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 03:55:20 -0700 X-IronPort-AV: E=Sophos;i="5.90,278,1643702400"; d="scan'208";a="727933645" Received: from bkex-mobl.gar.corp.intel.com ([10.215.244.157]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 03:55:17 -0700 From: "Bo Chang Ke" To: devel@edk2.groups.io Cc: Liming Gao , Michael D Kinney , Zhiguang Liu , Zhichao Gao , Dandan Bi , Star Zeng Subject: [PATCH v3] MdePkg: Update smbiosview type 9 with SMBIOS 3.5 fields Date: Thu, 21 Apr 2022 18:54:45 +0800 Message-Id: <2ec4669384abe903f49da4046b391ed2e22e2238.1650515579.git.bo-changx.ke@intel.com> X-Mailer: git-send-email 2.32.0.windows.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3896 update smbiosview type 9 related fileds. 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(-) 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 = 0x01, - SlotTypeUnknown = 0x02, - SlotTypeIsa = 0x03, - SlotTypeMca = 0x04, - SlotTypeEisa = 0x05, - SlotTypePci = 0x06, - SlotTypePcmcia = 0x07, - SlotTypeVlVesa = 0x08, - SlotTypeProprietary = 0x09, - SlotTypeProcessorCardSlot = 0x0A, - SlotTypeProprietaryMemoryCardSlot = 0x0B, - SlotTypeIORiserCardSlot = 0x0C, - SlotTypeNuBus = 0x0D, - SlotTypePci66MhzCapable = 0x0E, - SlotTypeAgp = 0x0F, - SlotTypeApg2X = 0x10, - SlotTypeAgp4X = 0x11, - SlotTypePciX = 0x12, - SlotTypeAgp8X = 0x13, - SlotTypeM2Socket1_DP = 0x14, - SlotTypeM2Socket1_SD = 0x15, - SlotTypeM2Socket2 = 0x16, - SlotTypeM2Socket3 = 0x17, - SlotTypeMxmTypeI = 0x18, - SlotTypeMxmTypeII = 0x19, - SlotTypeMxmTypeIIIStandard = 0x1A, - SlotTypeMxmTypeIIIHe = 0x1B, - SlotTypeMxmTypeIV = 0x1C, - SlotTypeMxm30TypeA = 0x1D, - SlotTypeMxm30TypeB = 0x1E, - SlotTypePciExpressGen2Sff_8639 = 0x1F, - SlotTypePciExpressGen3Sff_8639 = 0x20, - SlotTypePciExpressMini52pinWithBSKO = 0x21, ///< PCI Express Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs. - SlotTypePciExpressMini52pinWithoutBSKO = 0x22, ///< PCI Express Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs. - SlotTypePciExpressMini76pin = 0x23, ///< PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card. - SlotTypeCXLFlexbus10 = 0x30, - SlotTypePC98C20 = 0xA0, - SlotTypePC98C24 = 0xA1, - SlotTypePC98E = 0xA2, - SlotTypePC98LocalBus = 0xA3, - SlotTypePC98Card = 0xA4, - SlotTypePciExpress = 0xA5, - SlotTypePciExpressX1 = 0xA6, - SlotTypePciExpressX2 = 0xA7, - SlotTypePciExpressX4 = 0xA8, - SlotTypePciExpressX8 = 0xA9, - SlotTypePciExpressX16 = 0xAA, - SlotTypePciExpressGen2 = 0xAB, - SlotTypePciExpressGen2X1 = 0xAC, - SlotTypePciExpressGen2X2 = 0xAD, - SlotTypePciExpressGen2X4 = 0xAE, - SlotTypePciExpressGen2X8 = 0xAF, - SlotTypePciExpressGen2X16 = 0xB0, - SlotTypePciExpressGen3 = 0xB1, - SlotTypePciExpressGen3X1 = 0xB2, - SlotTypePciExpressGen3X2 = 0xB3, - SlotTypePciExpressGen3X4 = 0xB4, - SlotTypePciExpressGen3X8 = 0xB5, - SlotTypePciExpressGen3X16 = 0xB6, - SlotTypePciExpressGen4 = 0xB8, - SlotTypePciExpressGen4X1 = 0xB9, - SlotTypePciExpressGen4X2 = 0xBA, - SlotTypePciExpressGen4X4 = 0xBB, - SlotTypePciExpressGen4X8 = 0xBC, - SlotTypePciExpressGen4X16 = 0xBD + SlotTypeOther = 0x01, + SlotTypeUnknown = 0x02, + SlotTypeIsa = 0x03, + SlotTypeMca = 0x04, + SlotTypeEisa = 0x05, + SlotTypePci = 0x06, + SlotTypePcmcia = 0x07, + SlotTypeVlVesa = 0x08, + SlotTypeProprietary = 0x09, + SlotTypeProcessorCardSlot = 0x0A, + SlotTypeProprietaryMemoryCardSlot = 0x0B, + SlotTypeIORiserCardSlot = 0x0C, + SlotTypeNuBus = 0x0D, + SlotTypePci66MhzCapable = 0x0E, + SlotTypeAgp = 0x0F, + SlotTypeApg2X = 0x10, + SlotTypeAgp4X = 0x11, + SlotTypePciX = 0x12, + SlotTypeAgp8X = 0x13, + SlotTypeM2Socket1_DP = 0x14, + SlotTypeM2Socket1_SD = 0x15, + SlotTypeM2Socket2 = 0x16, + SlotTypeM2Socket3 = 0x17, + SlotTypeMxmTypeI = 0x18, + SlotTypeMxmTypeII = 0x19, + SlotTypeMxmTypeIIIStandard = 0x1A, + SlotTypeMxmTypeIIIHe = 0x1B, + SlotTypeMxmTypeIV = 0x1C, + SlotTypeMxm30TypeA = 0x1D, + SlotTypeMxm30TypeB = 0x1E, + SlotTypePciExpressGen2Sff_8639 = 0x1F, + SlotTypePciExpressGen3Sff_8639 = 0x20, + SlotTypePciExpressMini52pinWithBSKO = 0x21, ///< PCI Express Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs. + SlotTypePciExpressMini52pinWithoutBSKO = 0x22, ///< PCI Express Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs. + SlotTypePciExpressMini76pin = 0x23, ///< PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card. + SlotTypePCIExpressGen4SFF_8639 = 0x24, ///< U.2 + SlotTypePCIExpressGen5SFF_8639 = 0x25, ///< U.2 + SlotTypeOCPNIC30SmallFormFactor = 0x26, ///< SFF + SlotTypeOCPNIC30LargeFormFactor = 0x27, ///< LFF + SlotTypeOCPNICPriorto30 = 0x28, + SlotTypeCXLFlexbus10 = 0x30, + SlotTypePC98C20 = 0xA0, + SlotTypePC98C24 = 0xA1, + SlotTypePC98E = 0xA2, + SlotTypePC98LocalBus = 0xA3, + SlotTypePC98Card = 0xA4, + SlotTypePciExpress = 0xA5, + SlotTypePciExpressX1 = 0xA6, + SlotTypePciExpressX2 = 0xA7, + SlotTypePciExpressX4 = 0xA8, + SlotTypePciExpressX8 = 0xA9, + SlotTypePciExpressX16 = 0xAA, + SlotTypePciExpressGen2 = 0xAB, + SlotTypePciExpressGen2X1 = 0xAC, + SlotTypePciExpressGen2X2 = 0xAD, + SlotTypePciExpressGen2X4 = 0xAE, + SlotTypePciExpressGen2X8 = 0xAF, + SlotTypePciExpressGen2X16 = 0xB0, + SlotTypePciExpressGen3 = 0xB1, + SlotTypePciExpressGen3X1 = 0xB2, + SlotTypePciExpressGen3X2 = 0xB3, + SlotTypePciExpressGen3X4 = 0xB4, + SlotTypePciExpressGen3X8 = 0xB5, + SlotTypePciExpressGen3X16 = 0xB6, + SlotTypePciExpressGen4 = 0xB8, + SlotTypePciExpressGen4X1 = 0xB9, + SlotTypePciExpressGen4X2 = 0xBA, + SlotTypePciExpressGen4X4 = 0xBB, + SlotTypePciExpressGen4X8 = 0xBC, + SlotTypePciExpressGen4X16 = 0xBD, + SlotTypePCIExpressGen5 = 0xBE, + SlotTypePCIExpressGen5X1 = 0xBF, + SlotTypePCIExpressGen5X2 = 0xC0, + SlotTypePCIExpressGen5X4 = 0xC1, + SlotTypePCIExpressGen5X8 = 0xC2, + SlotTypePCIExpressGen5X16 = 0xC3, + SlotTypePCIExpressGen6andBeyond = 0xC4, + SlotTypeEnterpriseandDatacenter1UE1FormFactorSlot = 0xC5, + SlotTypeEnterpriseandDatacenter3E3FormFactorSlot = 0xC6 } MISC_SLOT_TYPE; /// @@ -1358,6 +1372,39 @@ typedef enum { SlotDataBusWidth32X = 0x0E ///< Or X32 } MISC_SLOT_DATA_BUS_WIDTH; +/// +/// System Slots - Slot Physical Width. +/// +typedef enum { + SlotPhysicalWidthOther = 0x01, + SlotPhysicalWidthUnknown = 0x02, + SlotPhysicalWidth8Bit = 0x03, + SlotPhysicalWidth16Bit = 0x04, + SlotPhysicalWidth32Bit = 0x05, + SlotPhysicalWidth64Bit = 0x06, + SlotPhysicalWidth128Bit = 0x07, + SlotPhysicalWidth1X = 0x08, ///< Or X1 + SlotPhysicalWidth2X = 0x09, ///< Or X2 + SlotPhysicalWidth4X = 0x0A, ///< Or X4 + SlotPhysicalWidth8X = 0x0B, ///< Or X8 + SlotPhysicalWidth12X = 0x0C, ///< Or X12 + SlotPhysicalWidth16X = 0x0D, ///< Or X16 + SlotPhysicalWidth32X = 0x0E ///< Or X32 +} MISC_SLOT_PHYSICAL_WIDTH; + +/// +/// System Slots - Slot Information. +/// +typedef enum { + Others = 0x00, + Gen1 = 0x01, + Gen2 = 0x01, + Gen3 = 0x03, + Gen4 = 0x04, + Gen5 = 0x05, + Gen6 = 0x06 +} MISC_SLOT_INFORMATION; + /// /// System Slots - Current Usage. /// -- 2.32.0.windows.1