0x23,\r
L"PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card"\r
},\r
+ {\r
+ 0x24,\r
+ L"PCI Express Gen 4 SFF-8639 (U.2)"\r
+ },\r
+ {\r
+ 0x25,\r
+ L"PCI Express Gen 5 SFF-8639 (U.2)"\r
+ },\r
+ {\r
+ 0x26,\r
+ L"OCP NIC 3.0 Small Form Factor (SFF)"\r
+ },\r
+ {\r
+ 0x27,\r
+ L"OCP NIC 3.0 Large Form Factor (LFF)"\r
+ },\r
+ {\r
+ 0x28,\r
+ L"OCP NIC Prior to 3.0"\r
+ },\r
{\r
SlotTypeCXLFlexbus10,\r
L"CXL Flexbus 1.0"\r
{\r
SlotTypePciExpressGen4X16,\r
L"PCI Express Gen 4 X16"\r
+ },\r
+ {\r
+ SlotTypePCIExpressGen5,\r
+ L"PCI Express Gen 5"\r
+ },\r
+ {\r
+ SlotTypePCIExpressGen5X1,\r
+ L"PCI Express Gen 5 x1"\r
+ },\r
+ {\r
+ SlotTypePCIExpressGen5X2,\r
+ L"PCI Express Gen 5 x2"\r
+ },\r
+ {\r
+ SlotTypePCIExpressGen5X4,\r
+ L"PCI Express Gen 5 x4"\r
+ },\r
+ {\r
+ SlotTypePCIExpressGen5X8,\r
+ L"PCI Express Gen 5 x8"\r
+ },\r
+ {\r
+ SlotTypePCIExpressGen5X16,\r
+ L"PCI Express Gen 5 x16"\r
+ },\r
+ {\r
+ SlotTypePCIExpressGen6andBeyond,\r
+ L"PCI Express Gen 6 and Beyond"\r
+ },\r
+ {\r
+ SlotTypeEnterpriseandDatacenter1UE1FormFactorSlot,\r
+ L"Enterprise and Datacenter 1U E1 Form Factor Slot"\r
+ },\r
+ {\r
+ SlotTypeEnterpriseandDatacenter3E3FormFactorSlot,\r
+ L"Enterprise and Datacenter 3'E3 Form Factor Slot"\r
}\r
};\r
\r
}\r
};\r
\r
+TABLE_ITEM SystemSlotPhysicalWidthTable[] = {\r
+ {\r
+ 0x01,\r
+ L" Other"\r
+ },\r
+ {\r
+ 0x02,\r
+ L" Unknown"\r
+ },\r
+ {\r
+ 0x03,\r
+ L" 8 bit"\r
+ },\r
+ {\r
+ 0x04,\r
+ L" 16 bit"\r
+ },\r
+ {\r
+ 0x05,\r
+ L" 32 bit"\r
+ },\r
+ {\r
+ 0x06,\r
+ L" 64 bit"\r
+ },\r
+ {\r
+ 0x07,\r
+ L" 128 bit"\r
+ },\r
+ {\r
+ 0x08,\r
+ L" 1x or x1"\r
+ },\r
+ {\r
+ 0x09,\r
+ L" 2x or x2"\r
+ },\r
+ {\r
+ 0x0A,\r
+ L" 4x or x4"\r
+ },\r
+ {\r
+ 0x0B,\r
+ L" 8x or x8"\r
+ },\r
+ {\r
+ 0x0C,\r
+ L" 12x or x12"\r
+ },\r
+ {\r
+ 0x0D,\r
+ L" 16x or x16"\r
+ },\r
+ {\r
+ 0x0E,\r
+ L" 32x or x32"\r
+ }\r
+};\r
+\r
+TABLE_ITEM SystemSlotInformationTable[] = {\r
+ {\r
+ 0x00,\r
+ L" Others"\r
+ },\r
+ {\r
+ 0x01,\r
+ L" Gen 1"\r
+ },\r
+ {\r
+ 0x02,\r
+ L" Gen 2"\r
+ },\r
+ {\r
+ 0x03,\r
+ L" Gen 3"\r
+ },\r
+ {\r
+ 0x04,\r
+ L" Gen 4"\r
+ },\r
+ {\r
+ 0x05,\r
+ L" Gen 5"\r
+ },\r
+ {\r
+ 0x06,\r
+ L" Gen 6"\r
+ }\r
+};\r
+\r
TABLE_ITEM SystemSlotCurrentUsageTable[] = {\r
{\r
0x01,\r
},\r
};\r
\r
+TABLE_ITEM SystemSlotHeightTable[] = {\r
+ {\r
+ 0x00,\r
+ L" Not applicable"\r
+ },\r
+ {\r
+ 0x01,\r
+ L" Other"\r
+ },\r
+ {\r
+ 0x02,\r
+ L" Unkown"\r
+ },\r
+ {\r
+ 0x03,\r
+ L" Full height"\r
+ },\r
+ {\r
+ 0x04,\r
+ L" Low-Profile"\r
+ },\r
+};\r
+\r
TABLE_ITEM SlotCharacteristics1Table[] = {\r
{\r
0,\r
{\r
3,\r
L" PCIe slot supports bifurcation"\r
+ },\r
+ {\r
+ 4,\r
+ L" Slot supports async/surprise removal"\r
+ },\r
+ {\r
+ 5,\r
+ L" Flexbus slot, CXL 1.0 capable"\r
+ },\r
+ {\r
+ 6,\r
+ L" Flexbus slot, CXL 2.0 capable"\r
+ },\r
+ {\r
+ 7,\r
+ L" Reserved"\r
}\r
};\r
\r
PRINT_BITS_INFO (SlotCharacteristics2Table, Chara2);\r
}\r
\r
+/**\r
+ Display System Slots (Type 9) Information.\r
+\r
+ @param[in] Width The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
+VOID\r
+DisplaySystemSlotInformation (\r
+ IN UINT8 Width,\r
+ IN UINT8 Option\r
+ )\r
+{\r
+ ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_INFORMATION), gShellDebug1HiiHandle);\r
+ PRINT_INFO_OPTION (Width, Option);\r
+ PRINT_TABLE_ITEM (SystemSlotInformationTable, Width);\r
+}\r
+\r
+/**\r
+ Display System Slots (Type 9) Physical Width.\r
+\r
+ @param[in] Width The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
+VOID\r
+DisplaySystemSlotPhysicalWidth (\r
+ IN UINT8 Width,\r
+ IN UINT8 Option\r
+ )\r
+{\r
+ ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_PHYSICAL_WIDTH), gShellDebug1HiiHandle);\r
+ PRINT_INFO_OPTION (Width, Option);\r
+ PRINT_TABLE_ITEM (SystemSlotPhysicalWidthTable, Width);\r
+}\r
+\r
+/**\r
+ Display System Slots (Type 9) slot height.\r
+\r
+ @param[in] Length The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
+VOID\r
+DisplaySystemSlotHeight (\r
+ IN UINT8 Length,\r
+ IN UINT8 Option\r
+ )\r
+{\r
+ ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_HEIGHT), gShellDebug1HiiHandle);\r
+ PRINT_INFO_OPTION (Length, Option);\r
+ PRINT_TABLE_ITEM (SystemSlotHeightTable, Length);\r
+}\r
+\r
/**\r
Display On Board Devices Information (Type 10) types.\r
\r