\r
**/\r
\r
-#ifndef _SMBIOS_QUERY_TABLE_H\r
-#define _SMBIOS_QUERY_TABLE_H\r
+#ifndef _SMBIOS_QUERY_TABLE_H_\r
+#define _SMBIOS_QUERY_TABLE_H_\r
\r
#define QUERY_TABLE_UNFOUND 0xFF\r
\r
IN UINTN InfoLen\r
);\r
\r
-VOID\r
-PrintBitsInfo (\r
- IN TABLE_ITEM *Table,\r
- IN UINTN Number,\r
- IN UINT32 Bits\r
- );\r
+/**\r
+ Display the structure type information.\r
\r
-//\r
-// Display the element detail information\r
-//\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayStructureTypeInfo (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// System Information (Type 1)\r
-//\r
+/**\r
+ Display System Information (Type 1) Type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySystemWakeupType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// System Enclosure (Type 3)\r
-//\r
+/**\r
+ Display System Enclosure (Type 3) Enclosure Type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySystemEnclosureType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Enclosure (Type 3) Enclosure Status.\r
+\r
+ @param[in] Status The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySystemEnclosureStatus (\r
- UINT8 Status,\r
- UINT8 Option\r
+ IN UINT8 Status,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Enclosure (Type 3) Security Status.\r
+\r
+ @param[in] Status The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySESecurityStatus (\r
- UINT8 Status,\r
- UINT8 Option\r
- );\r
+ IN UINT8 Status,\r
+ IN UINT8 Option\r
+ )\r
+;\r
\r
-//\r
-// Processor Information (Type 4)\r
-//\r
+/**\r
+ Display Processor Information (Type 4) Type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayProcessorType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Processor Information (Type 4) Upgrade.\r
+\r
+ @param[in] Upgrade The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayProcessorUpgrade (\r
- UINT8 Upgrade,\r
- UINT8 Option\r
+ IN UINT8 Upgrade,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Memory Controller Information (Type 5)\r
-//\r
+/**\r
+ Display Memory Controller Information (Type 5) method.\r
+\r
+ @param[in] Method The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMcErrorDetectMethod (\r
- UINT8 Method,\r
- UINT8 Option\r
+ IN UINT8 Method,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Memory Controller Information (Type 5) Capability.\r
+\r
+ @param[in] Capability The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMcErrorCorrectCapability (\r
- UINT8 Capability,\r
- UINT8 Option\r
+ IN UINT8 Capability,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Memory Controller Information (Type 5) Support.\r
+\r
+ @param[in] Support The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMcInterleaveSupport (\r
- UINT8 Support,\r
- UINT8 Option\r
+ IN UINT8 Support,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Memory Controller Information (Type 5) speeds.\r
+\r
+ @param[in] Speed The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMcMemorySpeeds (\r
- UINT16 Speed,\r
- UINT8 Option\r
+ IN UINT16 Speed,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Memory Controller Information (Type 5) voltage.\r
+\r
+ @param[in] Voltage The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMemoryModuleVoltage (\r
- UINT8 Voltage,\r
- UINT8 Option\r
+ IN UINT8 Voltage,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Memory Module Information (Type 6)\r
-//\r
+/**\r
+ Display Memory Module Information (Type 6) type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMmMemoryType (\r
- UINT16 Type,\r
- UINT8 Option\r
+ IN UINT16 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Memory Module Information (Type 6) status.\r
+\r
+ @param[in] Status The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMmErrorStatus (\r
- UINT8 Status,\r
- UINT8 Option\r
+ IN UINT8 Status,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Cache Information (Type 7)\r
-//\r
+/**\r
+ Display Cache Information (Type 7) SRAM Type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayCacheSRAMType (\r
- UINT16 Type,\r
- UINT8 Option\r
+ IN UINT16 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Cache Information (Type 7) correcting Type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayCacheErrCorrectingType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Cache Information (Type 7) Type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayCacheSystemCacheType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Cache Information (Type 7) Associativity.\r
+\r
+ @param[in] Associativity The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayCacheAssociativity (\r
- UINT8 Associativity,\r
- UINT8 Option\r
+ IN UINT8 Associativity,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Port Connector Information (Type 8)\r
-//\r
+/**\r
+ Display Port Connector Information (Type 8) type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPortConnectorType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Port Connector Information (Type 8) port type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPortType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// System Slots (Type 9)\r
-//\r
+/**\r
+ Display System Slots (Type 9) slot type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySystemSlotType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Slots (Type 9) data bus width.\r
+\r
+ @param[in] Width The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySystemSlotDataBusWidth (\r
- UINT8 Width,\r
- UINT8 Option\r
+ IN UINT8 Width,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Slots (Type 9) usage information.\r
+\r
+ @param[in] Usage The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySystemSlotCurrentUsage (\r
- UINT8 Usage,\r
- UINT8 Option\r
+ IN UINT8 Usage,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Slots (Type 9) slot length.\r
+\r
+ @param[in] Length The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySystemSlotLength (\r
- UINT8 Length,\r
- UINT8 Option\r
+ IN UINT8 Length,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Slots (Type 9) characteristics.\r
+\r
+ @param[in] Chara1 The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySlotCharacteristics1 (\r
- UINT8 Chara1,\r
- UINT8 Option\r
+ IN UINT8 Chara1,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Slots (Type 9) characteristics.\r
+\r
+ @param[in] Chara2 The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySlotCharacteristics2 (\r
- UINT8 Chara2,\r
- UINT8 Option\r
+ IN UINT8 Chara2,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// On Board Devices Information (Type 10)\r
-//\r
+/**\r
+ Display On Board Devices Information (Type 10) types.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayOnboardDeviceTypes (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// System Event Log (Type 15)\r
-//\r
+/**\r
+ Display System Event Log (Type 15) types.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySELTypes (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Event Log (Type 15) format type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySELVarDataFormatType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Event Log (Type 15) dw1.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPostResultsBitmapDw1 (\r
- UINT32 Key,\r
- UINT8 Option\r
+ IN UINT32 Key,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Event Log (Type 15) dw2.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPostResultsBitmapDw2 (\r
- UINT32 Key,\r
- UINT8 Option\r
+ IN UINT32 Key,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display System Event Log (Type 15) type.\r
+\r
+ @param[in] SMType The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplaySELSysManagementTypes (\r
- UINT32 SMType,\r
- UINT8 Option\r
+ IN UINT32 SMType,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Physical Memory Array (Type 16)\r
-//\r
+/**\r
+ Display Physical Memory Array (Type 16) Location.\r
+\r
+ @param[in] Location The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPMALocation (\r
- UINT8 Location,\r
- UINT8 Option\r
+ IN UINT8 Location,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Physical Memory Array (Type 16) Use.\r
+\r
+ @param[in] Use The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPMAUse (\r
- UINT8 Use,\r
- UINT8 Option\r
+ IN UINT8 Use,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Physical Memory Array (Type 16) Types.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPMAErrorCorrectionTypes (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Memory Device (Type 17)\r
-//\r
+/**\r
+ Display Memory Device (Type 17) form factor.\r
+\r
+ @param[in] FormFactor The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMemoryDeviceFormFactor (\r
- UINT8 FormFactor,\r
- UINT8 Option\r
+ IN UINT8 FormFactor,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Memory Device (Type 17) type.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMemoryDeviceType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Memory Device (Type 17) details.\r
+\r
+ @param[in] Para The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMemoryDeviceTypeDetail (\r
- UINT16 Parameter,\r
- UINT8 Option\r
+ IN UINT16 Para,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// 32-bit Memory Error Information (Type 18)\r
-//\r
+/**\r
+ Display 32-bit Memory Error Information (Type 18) type.\r
+\r
+ @param[in] ErrorType The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMemoryErrorType (\r
- UINT8 ErrorType,\r
- UINT8 Option\r
+ IN UINT8 ErrorType,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display 32-bit Memory Error Information (Type 18) error granularity.\r
+\r
+ @param[in] Granularity The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMemoryErrorGranularity (\r
- UINT8 Granularity,\r
- UINT8 Option\r
+ IN UINT8 Granularity,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display 32-bit Memory Error Information (Type 18) error information.\r
+\r
+ @param[in] Operation The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMemoryErrorOperation (\r
- UINT8 Operation,\r
- UINT8 Option\r
+ IN UINT8 Operation,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Memory Array Mapped Address (Type 19)\r
-// Memory Device Mapped Address (Type 20)\r
-//\r
-// Built-in Pointing Device (Type 21)\r
-//\r
+/**\r
+ Display Built-in Pointing Device (Type 21) type information.\r
+\r
+ @param[in] Type The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPointingDeviceType (\r
- UINT8 Type,\r
- UINT8 Option\r
+ IN UINT8 Type,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Built-in Pointing Device (Type 21) information.\r
+\r
+ @param[in] Interface The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPointingDeviceInterface (\r
- UINT8 Interface,\r
- UINT8 Option\r
+ IN UINT8 Interface,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Portable Battery (Type 22)\r
-//\r
+/**\r
+ Display Portable Battery (Type 22) information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayPBDeviceChemistry (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Voltage Probe (Type 26)\r
-//\r
+/**\r
+ Display Voltage Probe (Type 26) location information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayVPLocation (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Voltage Probe (Type 26) status ype information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayVPStatus (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Voltage Probe (Type 27)\r
-//\r
+/**\r
+ Display Cooling (Type 27) status information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayCoolingDeviceStatus (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Cooling (Type 27) type information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayCoolingDeviceType (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Temperature Probe (Type 28)\r
-//\r
+/**\r
+ Display Temperature Probe (Type 28) status information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayTemperatureProbeStatus (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Temperature Probe (Type 28) location information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayTemperatureProbeLoc (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Electrical Current Probe (Type 29)\r
-//\r
+/**\r
+ Display Electrical Current Probe (Type 29) status information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayECPStatus (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
+\r
+/**\r
+ Display Electrical Current Probe (Type 29) location information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayECPLoc (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Management Device (Type 34)\r
-//\r
+/**\r
+ Display Management Device (Type 34) information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMDType (\r
- UINT8 Key,\r
- UINT8 Option\r
- );\r
-VOID\r
-DisplayMDAddressType (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// Memory Channel (Type 37)\r
-//\r
+/**\r
+ Display Memory Channel (Type 37) information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayMemoryChannelType (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
\r
-//\r
-// IPMI Device Information (Type 38)\r
-//\r
+/**\r
+ Display IPMI Device Information (Type 38) information.\r
+\r
+ @param[in] Key The key of the structure.\r
+ @param[in] Option The optional information.\r
+**/\r
VOID\r
DisplayIPMIDIBMCInterfaceType (\r
- UINT8 Key,\r
- UINT8 Option\r
+ IN UINT8 Key,\r
+ IN UINT8 Option\r
);\r
\r
#endif\r