]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/SmBios.h
MdePkg: Update smbiosview type 9 with SMBIOS 3.5 fields
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / SmBios.h
index 2b1567b0528b1e907b95387fab0f67083cf20ad0..c7a4971f14e8c6cf9876809d07d579adead56502 100644 (file)
@@ -1271,71 +1271,85 @@ typedef struct {
 /// System Slots - Slot Type\r
 ///\r
 typedef enum {\r
-  SlotTypeOther                          = 0x01,\r
-  SlotTypeUnknown                        = 0x02,\r
-  SlotTypeIsa                            = 0x03,\r
-  SlotTypeMca                            = 0x04,\r
-  SlotTypeEisa                           = 0x05,\r
-  SlotTypePci                            = 0x06,\r
-  SlotTypePcmcia                         = 0x07,\r
-  SlotTypeVlVesa                         = 0x08,\r
-  SlotTypeProprietary                    = 0x09,\r
-  SlotTypeProcessorCardSlot              = 0x0A,\r
-  SlotTypeProprietaryMemoryCardSlot      = 0x0B,\r
-  SlotTypeIORiserCardSlot                = 0x0C,\r
-  SlotTypeNuBus                          = 0x0D,\r
-  SlotTypePci66MhzCapable                = 0x0E,\r
-  SlotTypeAgp                            = 0x0F,\r
-  SlotTypeApg2X                          = 0x10,\r
-  SlotTypeAgp4X                          = 0x11,\r
-  SlotTypePciX                           = 0x12,\r
-  SlotTypeAgp8X                          = 0x13,\r
-  SlotTypeM2Socket1_DP                   = 0x14,\r
-  SlotTypeM2Socket1_SD                   = 0x15,\r
-  SlotTypeM2Socket2                      = 0x16,\r
-  SlotTypeM2Socket3                      = 0x17,\r
-  SlotTypeMxmTypeI                       = 0x18,\r
-  SlotTypeMxmTypeII                      = 0x19,\r
-  SlotTypeMxmTypeIIIStandard             = 0x1A,\r
-  SlotTypeMxmTypeIIIHe                   = 0x1B,\r
-  SlotTypeMxmTypeIV                      = 0x1C,\r
-  SlotTypeMxm30TypeA                     = 0x1D,\r
-  SlotTypeMxm30TypeB                     = 0x1E,\r
-  SlotTypePciExpressGen2Sff_8639         = 0x1F,\r
-  SlotTypePciExpressGen3Sff_8639         = 0x20,\r
-  SlotTypePciExpressMini52pinWithBSKO    = 0x21,    ///< PCI Express Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs.\r
-  SlotTypePciExpressMini52pinWithoutBSKO = 0x22,    ///< PCI Express Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs.\r
-  SlotTypePciExpressMini76pin            = 0x23,    ///< PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card.\r
-  SlotTypeCXLFlexbus10                   = 0x30,\r
-  SlotTypePC98C20                        = 0xA0,\r
-  SlotTypePC98C24                        = 0xA1,\r
-  SlotTypePC98E                          = 0xA2,\r
-  SlotTypePC98LocalBus                   = 0xA3,\r
-  SlotTypePC98Card                       = 0xA4,\r
-  SlotTypePciExpress                     = 0xA5,\r
-  SlotTypePciExpressX1                   = 0xA6,\r
-  SlotTypePciExpressX2                   = 0xA7,\r
-  SlotTypePciExpressX4                   = 0xA8,\r
-  SlotTypePciExpressX8                   = 0xA9,\r
-  SlotTypePciExpressX16                  = 0xAA,\r
-  SlotTypePciExpressGen2                 = 0xAB,\r
-  SlotTypePciExpressGen2X1               = 0xAC,\r
-  SlotTypePciExpressGen2X2               = 0xAD,\r
-  SlotTypePciExpressGen2X4               = 0xAE,\r
-  SlotTypePciExpressGen2X8               = 0xAF,\r
-  SlotTypePciExpressGen2X16              = 0xB0,\r
-  SlotTypePciExpressGen3                 = 0xB1,\r
-  SlotTypePciExpressGen3X1               = 0xB2,\r
-  SlotTypePciExpressGen3X2               = 0xB3,\r
-  SlotTypePciExpressGen3X4               = 0xB4,\r
-  SlotTypePciExpressGen3X8               = 0xB5,\r
-  SlotTypePciExpressGen3X16              = 0xB6,\r
-  SlotTypePciExpressGen4                 = 0xB8,\r
-  SlotTypePciExpressGen4X1               = 0xB9,\r
-  SlotTypePciExpressGen4X2               = 0xBA,\r
-  SlotTypePciExpressGen4X4               = 0xBB,\r
-  SlotTypePciExpressGen4X8               = 0xBC,\r
-  SlotTypePciExpressGen4X16              = 0xBD\r
+  SlotTypeOther                                     = 0x01,\r
+  SlotTypeUnknown                                   = 0x02,\r
+  SlotTypeIsa                                       = 0x03,\r
+  SlotTypeMca                                       = 0x04,\r
+  SlotTypeEisa                                      = 0x05,\r
+  SlotTypePci                                       = 0x06,\r
+  SlotTypePcmcia                                    = 0x07,\r
+  SlotTypeVlVesa                                    = 0x08,\r
+  SlotTypeProprietary                               = 0x09,\r
+  SlotTypeProcessorCardSlot                         = 0x0A,\r
+  SlotTypeProprietaryMemoryCardSlot                 = 0x0B,\r
+  SlotTypeIORiserCardSlot                           = 0x0C,\r
+  SlotTypeNuBus                                     = 0x0D,\r
+  SlotTypePci66MhzCapable                           = 0x0E,\r
+  SlotTypeAgp                                       = 0x0F,\r
+  SlotTypeApg2X                                     = 0x10,\r
+  SlotTypeAgp4X                                     = 0x11,\r
+  SlotTypePciX                                      = 0x12,\r
+  SlotTypeAgp8X                                     = 0x13,\r
+  SlotTypeM2Socket1_DP                              = 0x14,\r
+  SlotTypeM2Socket1_SD                              = 0x15,\r
+  SlotTypeM2Socket2                                 = 0x16,\r
+  SlotTypeM2Socket3                                 = 0x17,\r
+  SlotTypeMxmTypeI                                  = 0x18,\r
+  SlotTypeMxmTypeII                                 = 0x19,\r
+  SlotTypeMxmTypeIIIStandard                        = 0x1A,\r
+  SlotTypeMxmTypeIIIHe                              = 0x1B,\r
+  SlotTypeMxmTypeIV                                 = 0x1C,\r
+  SlotTypeMxm30TypeA                                = 0x1D,\r
+  SlotTypeMxm30TypeB                                = 0x1E,\r
+  SlotTypePciExpressGen2Sff_8639                    = 0x1F,\r
+  SlotTypePciExpressGen3Sff_8639                    = 0x20,\r
+  SlotTypePciExpressMini52pinWithBSKO               = 0x21,    ///< PCI Express Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs.\r
+  SlotTypePciExpressMini52pinWithoutBSKO            = 0x22,    ///< PCI Express Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs.\r
+  SlotTypePciExpressMini76pin                       = 0x23,    ///< PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card.\r
+  SlotTypePCIExpressGen4SFF_8639                    = 0x24,    ///< U.2\r
+  SlotTypePCIExpressGen5SFF_8639                    = 0x25,    ///< U.2\r
+  SlotTypeOCPNIC30SmallFormFactor                   = 0x26,    ///< SFF\r
+  SlotTypeOCPNIC30LargeFormFactor                   = 0x27,    ///< LFF\r
+  SlotTypeOCPNICPriorto30                           = 0x28,\r
+  SlotTypeCXLFlexbus10                              = 0x30,\r
+  SlotTypePC98C20                                   = 0xA0,\r
+  SlotTypePC98C24                                   = 0xA1,\r
+  SlotTypePC98E                                     = 0xA2,\r
+  SlotTypePC98LocalBus                              = 0xA3,\r
+  SlotTypePC98Card                                  = 0xA4,\r
+  SlotTypePciExpress                                = 0xA5,\r
+  SlotTypePciExpressX1                              = 0xA6,\r
+  SlotTypePciExpressX2                              = 0xA7,\r
+  SlotTypePciExpressX4                              = 0xA8,\r
+  SlotTypePciExpressX8                              = 0xA9,\r
+  SlotTypePciExpressX16                             = 0xAA,\r
+  SlotTypePciExpressGen2                            = 0xAB,\r
+  SlotTypePciExpressGen2X1                          = 0xAC,\r
+  SlotTypePciExpressGen2X2                          = 0xAD,\r
+  SlotTypePciExpressGen2X4                          = 0xAE,\r
+  SlotTypePciExpressGen2X8                          = 0xAF,\r
+  SlotTypePciExpressGen2X16                         = 0xB0,\r
+  SlotTypePciExpressGen3                            = 0xB1,\r
+  SlotTypePciExpressGen3X1                          = 0xB2,\r
+  SlotTypePciExpressGen3X2                          = 0xB3,\r
+  SlotTypePciExpressGen3X4                          = 0xB4,\r
+  SlotTypePciExpressGen3X8                          = 0xB5,\r
+  SlotTypePciExpressGen3X16                         = 0xB6,\r
+  SlotTypePciExpressGen4                            = 0xB8,\r
+  SlotTypePciExpressGen4X1                          = 0xB9,\r
+  SlotTypePciExpressGen4X2                          = 0xBA,\r
+  SlotTypePciExpressGen4X4                          = 0xBB,\r
+  SlotTypePciExpressGen4X8                          = 0xBC,\r
+  SlotTypePciExpressGen4X16                         = 0xBD,\r
+  SlotTypePCIExpressGen5                            = 0xBE,\r
+  SlotTypePCIExpressGen5X1                          = 0xBF,\r
+  SlotTypePCIExpressGen5X2                          = 0xC0,\r
+  SlotTypePCIExpressGen5X4                          = 0xC1,\r
+  SlotTypePCIExpressGen5X8                          = 0xC2,\r
+  SlotTypePCIExpressGen5X16                         = 0xC3,\r
+  SlotTypePCIExpressGen6andBeyond                   = 0xC4,\r
+  SlotTypeEnterpriseandDatacenter1UE1FormFactorSlot = 0xC5,\r
+  SlotTypeEnterpriseandDatacenter3E3FormFactorSlot  = 0xC6\r
 } MISC_SLOT_TYPE;\r
 \r
 ///\r
@@ -1358,6 +1372,39 @@ typedef enum {
   SlotDataBusWidth32X     = 0x0E     ///< Or X32\r
 } MISC_SLOT_DATA_BUS_WIDTH;\r
 \r
+///\r
+/// System Slots - Slot Physical Width.\r
+///\r
+typedef enum {\r
+  SlotPhysicalWidthOther   = 0x01,\r
+  SlotPhysicalWidthUnknown = 0x02,\r
+  SlotPhysicalWidth8Bit    = 0x03,\r
+  SlotPhysicalWidth16Bit   = 0x04,\r
+  SlotPhysicalWidth32Bit   = 0x05,\r
+  SlotPhysicalWidth64Bit   = 0x06,\r
+  SlotPhysicalWidth128Bit  = 0x07,\r
+  SlotPhysicalWidth1X      = 0x08,    ///< Or X1\r
+  SlotPhysicalWidth2X      = 0x09,    ///< Or X2\r
+  SlotPhysicalWidth4X      = 0x0A,    ///< Or X4\r
+  SlotPhysicalWidth8X      = 0x0B,    ///< Or X8\r
+  SlotPhysicalWidth12X     = 0x0C,    ///< Or X12\r
+  SlotPhysicalWidth16X     = 0x0D,    ///< Or X16\r
+  SlotPhysicalWidth32X     = 0x0E     ///< Or X32\r
+} MISC_SLOT_PHYSICAL_WIDTH;\r
+\r
+///\r
+/// System Slots - Slot Information.\r
+///\r
+typedef enum {\r
+  Others = 0x00,\r
+  Gen1   = 0x01,\r
+  Gen2   = 0x01,\r
+  Gen3   = 0x03,\r
+  Gen4   = 0x04,\r
+  Gen5   = 0x05,\r
+  Gen6   = 0x06\r
+} MISC_SLOT_INFORMATION;\r
+\r
 ///\r
 /// System Slots - Current Usage.\r
 ///\r