TianoCore EDK2 master
Loading...
Searching...
No Matches
QueryTable.h File Reference

Go to the source code of this file.

Data Structures

struct  TABLE_ITEM
 

Macros

#define QUERY_TABLE_UNFOUND   0xFF
 
#define PRINT_INFO_OPTION(Value, Option)
 

Typedefs

typedef struct TABLE_ITEM TABLE_ITEM
 

Functions

UINT8 QueryTable (IN TABLE_ITEM *Table, IN UINTN Number, IN UINT8 Key, IN OUT CHAR16 *Info, IN UINTN InfoLen)
 
VOID DisplayStructureTypeInfo (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplaySystemWakeupType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplayBaseBoardFeatureFlags (IN UINT8 FeatureFlags, IN UINT8 Option)
 
VOID DisplayBaseBoardBoardType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplaySystemEnclosureType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplaySystemEnclosureStatus (IN UINT8 Status, IN UINT8 Option)
 
VOID DisplaySESecurityStatus (IN UINT8 Status, IN UINT8 Option)
 
VOID DisplayProcessorType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplayProcessorUpgrade (IN UINT8 Upgrade, IN UINT8 Option)
 
VOID DisplayProcessorCharacteristics (IN UINT16 Type, IN UINT8 Option)
 
VOID DisplayMcErrorDetectMethod (IN UINT8 Method, IN UINT8 Option)
 
VOID DisplayMcErrorCorrectCapability (IN UINT8 Capability, IN UINT8 Option)
 
VOID DisplayMcInterleaveSupport (IN UINT8 Support, IN UINT8 Option)
 
VOID DisplayMcMemorySpeeds (IN UINT16 Speed, IN UINT8 Option)
 
VOID DisplayMemoryModuleVoltage (IN UINT8 Voltage, IN UINT8 Option)
 
VOID DisplayMmMemoryType (IN UINT16 Type, IN UINT8 Option)
 
VOID DisplayMmErrorStatus (IN UINT8 Status, IN UINT8 Option)
 
VOID DisplayCacheSRAMType (IN UINT16 Type, IN UINT8 Option)
 
VOID DisplayCacheErrCorrectingType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplayCacheSystemCacheType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplayCacheAssociativity (IN UINT8 Associativity, IN UINT8 Option)
 
VOID DisplayPortConnectorType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplayPortType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplaySystemSlotType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplaySystemSlotDataBusWidth (IN UINT8 Width, IN UINT8 Option)
 
VOID DisplaySystemSlotCurrentUsage (IN UINT8 Usage, IN UINT8 Option)
 
VOID DisplaySystemSlotLength (IN UINT8 Length, IN UINT8 Option)
 
VOID DisplaySlotCharacteristics1 (IN UINT8 Chara1, IN UINT8 Option)
 
VOID DisplaySlotCharacteristics2 (IN UINT8 Chara2, IN UINT8 Option)
 
VOID DisplaySystemSlotInformation (IN UINT8 Width, IN UINT8 Option)
 
VOID DisplaySystemSlotPhysicalWidth (IN UINT8 Width, IN UINT8 Option)
 
VOID DisplaySystemSlotHeight (IN UINT8 Length, IN UINT8 Option)
 
VOID DisplayOnboardDeviceTypes (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplaySELTypes (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplaySELVarDataFormatType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplayPostResultsBitmapDw1 (IN UINT32 Key, IN UINT8 Option)
 
VOID DisplayPostResultsBitmapDw2 (IN UINT32 Key, IN UINT8 Option)
 
VOID DisplaySELSysManagementTypes (IN UINT32 SMType, IN UINT8 Option)
 
VOID DisplayPMALocation (IN UINT8 Location, IN UINT8 Option)
 
VOID DisplayPMAUse (IN UINT8 Use, IN UINT8 Option)
 
VOID DisplayPMAErrorCorrectionTypes (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplayMemoryDeviceFormFactor (IN UINT8 FormFactor, IN UINT8 Option)
 
VOID DisplayMemoryDeviceType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplayMemoryDeviceTypeDetail (IN UINT16 Para, IN UINT8 Option)
 
VOID DisplayMemoryDeviceMemoryTechnology (IN UINT8 Para, IN UINT8 Option)
 
VOID DisplayMemoryDeviceMemoryOperatingModeCapability (IN UINT16 Para, IN UINT8 Option)
 
VOID DisplayMemoryErrorType (IN UINT8 ErrorType, IN UINT8 Option)
 
VOID DisplayMemoryErrorGranularity (IN UINT8 Granularity, IN UINT8 Option)
 
VOID DisplayMemoryErrorOperation (IN UINT8 Operation, IN UINT8 Option)
 
VOID DisplayPointingDeviceType (IN UINT8 Type, IN UINT8 Option)
 
VOID DisplayPointingDeviceInterface (IN UINT8 Interface, IN UINT8 Option)
 
VOID DisplayPBDeviceChemistry (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayVPLocation (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayVPStatus (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayCoolingDeviceStatus (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayCoolingDeviceType (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayTemperatureProbeStatus (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayTemperatureProbeLoc (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayECPStatus (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayECPLoc (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayMDType (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayMDAddressType (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayMemoryChannelType (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayIPMIDIBMCInterfaceType (IN UINT8 Key, IN UINT8 Option)
 
VOID DisplayMCHostInterfaceType (IN UINT8 Key, IN UINT8 Option)
 

Detailed Description

Build a table, each item is (key, info) pair. and give a interface of query a string out of a table.

Copyright (c) 2005 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file QueryTable.h.

Macro Definition Documentation

◆ PRINT_INFO_OPTION

#define PRINT_INFO_OPTION (   Value,
  Option 
)
Value:
do { \
if (Option == SHOW_NONE) { \
return ; \
} \
if (Option < SHOW_DETAIL) { \
Print (L"0x%x\n", Value); \
return ; \
} \
} while (0);

Definition at line 25 of file QueryTable.h.

◆ QUERY_TABLE_UNFOUND

#define QUERY_TABLE_UNFOUND   0xFF

Definition at line 15 of file QueryTable.h.

Function Documentation

◆ DisplayBaseBoardBoardType()

VOID DisplayBaseBoardBoardType ( IN UINT8  Type,
IN UINT8  Option 
)

Display Base Board (Type 2) Board Type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4129 of file QueryTable.c.

◆ DisplayBaseBoardFeatureFlags()

VOID DisplayBaseBoardFeatureFlags ( IN UINT8  FeatureFlags,
IN UINT8  Option 
)

Display Base Board (Type 2) Feature Flags.

Parameters
[in]FeatureFlagsThe key of the structure.
[in]OptionThe optional information.

Definition at line 4112 of file QueryTable.c.

◆ DisplayCacheAssociativity()

VOID DisplayCacheAssociativity ( IN UINT8  Associativity,
IN UINT8  Option 
)

Display Cache Information (Type 7) Associativity.

Parameters
[in]AssociativityThe key of the structure.
[in]OptionThe optional information.

Definition at line 4425 of file QueryTable.c.

◆ DisplayCacheErrCorrectingType()

VOID DisplayCacheErrCorrectingType ( IN UINT8  Type,
IN UINT8  Option 
)

Display Cache Information (Type 7) correcting Type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4391 of file QueryTable.c.

◆ DisplayCacheSRAMType()

VOID DisplayCacheSRAMType ( IN UINT16  Type,
IN UINT8  Option 
)

Display Cache Information (Type 7) SRAM Type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4374 of file QueryTable.c.

◆ DisplayCacheSystemCacheType()

VOID DisplayCacheSystemCacheType ( IN UINT8  Type,
IN UINT8  Option 
)

Display Cache Information (Type 7) Type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4408 of file QueryTable.c.

◆ DisplayCoolingDeviceStatus()

VOID DisplayCoolingDeviceStatus ( IN UINT8  Key,
IN UINT8  Option 
)

Display Cooling (Type 27) status information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5029 of file QueryTable.c.

◆ DisplayCoolingDeviceType()

VOID DisplayCoolingDeviceType ( IN UINT8  Key,
IN UINT8  Option 
)

Display Cooling (Type 27) type information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5049 of file QueryTable.c.

◆ DisplayECPLoc()

VOID DisplayECPLoc ( IN UINT8  Key,
IN UINT8  Option 
)

Display Electrical Current Probe (Type 29) location information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Display Type 29 information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5129 of file QueryTable.c.

◆ DisplayECPStatus()

VOID DisplayECPStatus ( IN UINT8  Key,
IN UINT8  Option 
)

Display Electrical Current Probe (Type 29) status information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5109 of file QueryTable.c.

◆ DisplayIPMIDIBMCInterfaceType()

VOID DisplayIPMIDIBMCInterfaceType ( IN UINT8  Key,
IN UINT8  Option 
)

Display IPMI Device Information (Type 38) information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5200 of file QueryTable.c.

◆ DisplayMcErrorCorrectCapability()

VOID DisplayMcErrorCorrectCapability ( IN UINT8  Capability,
IN UINT8  Option 
)

Display Memory Controller Information (Type 5) Capability.

Parameters
[in]CapabilityThe key of the structure.
[in]OptionThe optional information.

Definition at line 4272 of file QueryTable.c.

◆ DisplayMcErrorDetectMethod()

VOID DisplayMcErrorDetectMethod ( IN UINT8  Method,
IN UINT8  Option 
)

Display Memory Controller Information (Type 5) method.

Parameters
[in]MethodThe key of the structure.
[in]OptionThe optional information.

Definition at line 4255 of file QueryTable.c.

◆ DisplayMCHostInterfaceType()

VOID DisplayMCHostInterfaceType ( IN UINT8  Key,
IN UINT8  Option 
)

Display Management Controller Host Interface (Type 42) information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5217 of file QueryTable.c.

◆ DisplayMcInterleaveSupport()

VOID DisplayMcInterleaveSupport ( IN UINT8  Support,
IN UINT8  Option 
)

Display Memory Controller Information (Type 5) Support.

Parameters
[in]SupportThe key of the structure.
[in]OptionThe optional information.

Definition at line 4289 of file QueryTable.c.

◆ DisplayMcMemorySpeeds()

VOID DisplayMcMemorySpeeds ( IN UINT16  Speed,
IN UINT8  Option 
)

Display Memory Controller Information (Type 5) speeds.

Parameters
[in]SpeedThe key of the structure.
[in]OptionThe optional information.

Definition at line 4306 of file QueryTable.c.

◆ DisplayMDAddressType()

VOID DisplayMDAddressType ( IN UINT8  Key,
IN UINT8  Option 
)

Display Management Device (Type 34) Address Type.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5166 of file QueryTable.c.

◆ DisplayMDType()

VOID DisplayMDType ( IN UINT8  Key,
IN UINT8  Option 
)

Display Management Device (Type 34) Type.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5149 of file QueryTable.c.

◆ DisplayMemoryChannelType()

VOID DisplayMemoryChannelType ( IN UINT8  Key,
IN UINT8  Option 
)

Display Memory Channel (Type 37) information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5183 of file QueryTable.c.

◆ DisplayMemoryDeviceFormFactor()

VOID DisplayMemoryDeviceFormFactor ( IN UINT8  FormFactor,
IN UINT8  Option 
)

Display Memory Device (Type 17) form factor.

Parameters
[in]FormFactorThe key of the structure.
[in]OptionThe optional information.

Definition at line 4802 of file QueryTable.c.

◆ DisplayMemoryDeviceMemoryOperatingModeCapability()

VOID DisplayMemoryDeviceMemoryOperatingModeCapability ( IN UINT16  Para,
IN UINT8  Option 
)

Display Memory Device (Type 17) memory operating mode capability.

Parameters
[in]ParaThe key of the structure.
[in]OptionThe optional information.

Definition at line 4870 of file QueryTable.c.

◆ DisplayMemoryDeviceMemoryTechnology()

VOID DisplayMemoryDeviceMemoryTechnology ( IN UINT8  Para,
IN UINT8  Option 
)

Display Memory Device (Type 17) memory technology.

Parameters
[in]ParaThe key of the structure.
[in]OptionThe optional information.

Definition at line 4853 of file QueryTable.c.

◆ DisplayMemoryDeviceType()

VOID DisplayMemoryDeviceType ( IN UINT8  Type,
IN UINT8  Option 
)

Display Memory Device (Type 17) type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4819 of file QueryTable.c.

◆ DisplayMemoryDeviceTypeDetail()

VOID DisplayMemoryDeviceTypeDetail ( IN UINT16  Para,
IN UINT8  Option 
)

Display Memory Device (Type 17) details.

Parameters
[in]ParaThe key of the structure.
[in]OptionThe optional information.

Definition at line 4836 of file QueryTable.c.

◆ DisplayMemoryErrorGranularity()

VOID DisplayMemoryErrorGranularity ( IN UINT8  Granularity,
IN UINT8  Option 
)

Display 32-bit Memory Error Information (Type 18) error granularity.

Parameters
[in]GranularityThe key of the structure.
[in]OptionThe optional information.

Definition at line 4904 of file QueryTable.c.

◆ DisplayMemoryErrorOperation()

VOID DisplayMemoryErrorOperation ( IN UINT8  Operation,
IN UINT8  Option 
)

Display 32-bit Memory Error Information (Type 18) error information.

Parameters
[in]OperationThe key of the structure.
[in]OptionThe optional information.

Definition at line 4921 of file QueryTable.c.

◆ DisplayMemoryErrorType()

VOID DisplayMemoryErrorType ( IN UINT8  ErrorType,
IN UINT8  Option 
)

Display 32-bit Memory Error Information (Type 18) type.

Parameters
[in]ErrorTypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4887 of file QueryTable.c.

◆ DisplayMemoryModuleVoltage()

VOID DisplayMemoryModuleVoltage ( IN UINT8  Voltage,
IN UINT8  Option 
)

Display Memory Controller Information (Type 5) voltage.

Parameters
[in]VoltageThe key of the structure.
[in]OptionThe optional information.

Definition at line 4323 of file QueryTable.c.

◆ DisplayMmErrorStatus()

VOID DisplayMmErrorStatus ( IN UINT8  Status,
IN UINT8  Option 
)

Display Memory Module Information (Type 6) status.

Parameters
[in]StatusThe key of the structure.
[in]OptionThe optional information.

Definition at line 4357 of file QueryTable.c.

◆ DisplayMmMemoryType()

VOID DisplayMmMemoryType ( IN UINT16  Type,
IN UINT8  Option 
)

Display Memory Module Information (Type 6) type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4340 of file QueryTable.c.

◆ DisplayOnboardDeviceTypes()

VOID DisplayOnboardDeviceTypes ( IN UINT8  Type,
IN UINT8  Option 
)

Display On Board Devices Information (Type 10) types.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4629 of file QueryTable.c.

◆ DisplayPBDeviceChemistry()

VOID DisplayPBDeviceChemistry ( IN UINT8  Key,
IN UINT8  Option 
)

Display Portable Battery (Type 22) information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 4972 of file QueryTable.c.

◆ DisplayPMAErrorCorrectionTypes()

VOID DisplayPMAErrorCorrectionTypes ( IN UINT8  Type,
IN UINT8  Option 
)

Display Physical Memory Array (Type 16) Types.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4785 of file QueryTable.c.

◆ DisplayPMALocation()

VOID DisplayPMALocation ( IN UINT8  Location,
IN UINT8  Option 
)

Display Physical Memory Array (Type 16) Location.

Parameters
[in]LocationThe key of the structure.
[in]OptionThe optional information.

Definition at line 4751 of file QueryTable.c.

◆ DisplayPMAUse()

VOID DisplayPMAUse ( IN UINT8  Use,
IN UINT8  Option 
)

Display Physical Memory Array (Type 16) Use.

Parameters
[in]UseThe key of the structure.
[in]OptionThe optional information.

Definition at line 4768 of file QueryTable.c.

◆ DisplayPointingDeviceInterface()

VOID DisplayPointingDeviceInterface ( IN UINT8  Interface,
IN UINT8  Option 
)

Display Built-in Pointing Device (Type 21) information.

Parameters
[in]InterfaceThe key of the structure.
[in]OptionThe optional information.

Definition at line 4955 of file QueryTable.c.

◆ DisplayPointingDeviceType()

VOID DisplayPointingDeviceType ( IN UINT8  Type,
IN UINT8  Option 
)

Display Built-in Pointing Device (Type 21) type information.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4938 of file QueryTable.c.

◆ DisplayPortConnectorType()

VOID DisplayPortConnectorType ( IN UINT8  Type,
IN UINT8  Option 
)

Display Port Connector Information (Type 8) type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4442 of file QueryTable.c.

◆ DisplayPortType()

VOID DisplayPortType ( IN UINT8  Type,
IN UINT8  Option 
)

Display Port Connector Information (Type 8) port type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4459 of file QueryTable.c.

◆ DisplayPostResultsBitmapDw1()

VOID DisplayPostResultsBitmapDw1 ( IN UINT32  Key,
IN UINT8  Option 
)

Display System Event Log (Type 15) dw1.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 4680 of file QueryTable.c.

◆ DisplayPostResultsBitmapDw2()

VOID DisplayPostResultsBitmapDw2 ( IN UINT32  Key,
IN UINT8  Option 
)

Display System Event Log (Type 15) dw2.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 4697 of file QueryTable.c.

◆ DisplayProcessorCharacteristics()

VOID DisplayProcessorCharacteristics ( IN UINT16  Type,
IN UINT8  Option 
)

Display Processor Information (Type 4) Characteristics.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4238 of file QueryTable.c.

◆ DisplayProcessorType()

VOID DisplayProcessorType ( IN UINT8  Type,
IN UINT8  Option 
)

Display Processor Information (Type 4) Type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4204 of file QueryTable.c.

◆ DisplayProcessorUpgrade()

VOID DisplayProcessorUpgrade ( IN UINT8  Upgrade,
IN UINT8  Option 
)

Display Processor Information (Type 4) Upgrade.

Parameters
[in]UpgradeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4221 of file QueryTable.c.

◆ DisplaySELSysManagementTypes()

VOID DisplaySELSysManagementTypes ( IN UINT32  SMType,
IN UINT8  Option 
)

Display System Event Log (Type 15) type.

Parameters
[in]SMTypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4714 of file QueryTable.c.

◆ DisplaySELTypes()

VOID DisplaySELTypes ( IN UINT8  Type,
IN UINT8  Option 
)

Display System Event Log (Type 15) types.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4646 of file QueryTable.c.

◆ DisplaySELVarDataFormatType()

VOID DisplaySELVarDataFormatType ( IN UINT8  Type,
IN UINT8  Option 
)

Display System Event Log (Type 15) format type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4663 of file QueryTable.c.

◆ DisplaySESecurityStatus()

VOID DisplaySESecurityStatus ( IN UINT8  Status,
IN UINT8  Option 
)

Display System Enclosure (Type 3) Security Status.

Parameters
[in]StatusThe key of the structure.
[in]OptionThe optional information.

Definition at line 4187 of file QueryTable.c.

◆ DisplaySlotCharacteristics1()

VOID DisplaySlotCharacteristics1 ( IN UINT8  Chara1,
IN UINT8  Option 
)

Display System Slots (Type 9) characteristics.

Parameters
[in]Chara1The key of the structure.
[in]OptionThe optional information.

Definition at line 4544 of file QueryTable.c.

◆ DisplaySlotCharacteristics2()

VOID DisplaySlotCharacteristics2 ( IN UINT8  Chara2,
IN UINT8  Option 
)

Display System Slots (Type 9) characteristics.

Parameters
[in]Chara2The key of the structure.
[in]OptionThe optional information.

Definition at line 4561 of file QueryTable.c.

◆ DisplayStructureTypeInfo()

VOID DisplayStructureTypeInfo ( IN UINT8  Key,
IN UINT8  Option 
)

Display the structure type information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5285 of file QueryTable.c.

◆ DisplaySystemEnclosureStatus()

VOID DisplaySystemEnclosureStatus ( IN UINT8  Status,
IN UINT8  Option 
)

Display System Enclosure (Type 3) Enclosure Status.

Parameters
[in]StatusThe key of the structure.
[in]OptionThe optional information.

Definition at line 4170 of file QueryTable.c.

◆ DisplaySystemEnclosureType()

VOID DisplaySystemEnclosureType ( IN UINT8  Type,
IN UINT8  Option 
)

Display System Enclosure (Type 3) Enclosure Type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4146 of file QueryTable.c.

◆ DisplaySystemSlotCurrentUsage()

VOID DisplaySystemSlotCurrentUsage ( IN UINT8  Usage,
IN UINT8  Option 
)

Display System Slots (Type 9) usage information.

Parameters
[in]UsageThe key of the structure.
[in]OptionThe optional information.

Definition at line 4510 of file QueryTable.c.

◆ DisplaySystemSlotDataBusWidth()

VOID DisplaySystemSlotDataBusWidth ( IN UINT8  Width,
IN UINT8  Option 
)

Display System Slots (Type 9) data bus width.

Parameters
[in]WidthThe key of the structure.
[in]OptionThe optional information.

Definition at line 4493 of file QueryTable.c.

◆ DisplaySystemSlotHeight()

VOID DisplaySystemSlotHeight ( IN UINT8  Length,
IN UINT8  Option 
)

Display System Slots (Type 9) slot height.

Parameters
[in]LengthThe key of the structure.
[in]OptionThe optional information.

Definition at line 4612 of file QueryTable.c.

◆ DisplaySystemSlotInformation()

VOID DisplaySystemSlotInformation ( IN UINT8  Width,
IN UINT8  Option 
)

Display System Slots (Type 9) Information.

Parameters
[in]WidthThe key of the structure.
[in]OptionThe optional information.

Definition at line 4578 of file QueryTable.c.

◆ DisplaySystemSlotLength()

VOID DisplaySystemSlotLength ( IN UINT8  Length,
IN UINT8  Option 
)

Display System Slots (Type 9) slot length.

Parameters
[in]LengthThe key of the structure.
[in]OptionThe optional information.

Definition at line 4527 of file QueryTable.c.

◆ DisplaySystemSlotPhysicalWidth()

VOID DisplaySystemSlotPhysicalWidth ( IN UINT8  Width,
IN UINT8  Option 
)

Display System Slots (Type 9) Physical Width.

Parameters
[in]WidthThe key of the structure.
[in]OptionThe optional information.

Definition at line 4595 of file QueryTable.c.

◆ DisplaySystemSlotType()

VOID DisplaySystemSlotType ( IN UINT8  Type,
IN UINT8  Option 
)

Display System Slots (Type 9) slot type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4476 of file QueryTable.c.

◆ DisplaySystemWakeupType()

VOID DisplaySystemWakeupType ( IN UINT8  Type,
IN UINT8  Option 
)

Display System Information (Type 1) Type.

Parameters
[in]TypeThe key of the structure.
[in]OptionThe optional information.

Definition at line 4095 of file QueryTable.c.

◆ DisplayTemperatureProbeLoc()

VOID DisplayTemperatureProbeLoc ( IN UINT8  Key,
IN UINT8  Option 
)

Display Temperature Probe (Type 28) location information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5089 of file QueryTable.c.

◆ DisplayTemperatureProbeStatus()

VOID DisplayTemperatureProbeStatus ( IN UINT8  Key,
IN UINT8  Option 
)

Display Temperature Probe (Type 28) status information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5069 of file QueryTable.c.

◆ DisplayVPLocation()

VOID DisplayVPLocation ( IN UINT8  Key,
IN UINT8  Option 
)

Display Voltage Probe (Type 26) location information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 4989 of file QueryTable.c.

◆ DisplayVPStatus()

VOID DisplayVPStatus ( IN UINT8  Key,
IN UINT8  Option 
)

Display Voltage Probe (Type 26) status ype information.

Parameters
[in]KeyThe key of the structure.
[in]OptionThe optional information.

Definition at line 5009 of file QueryTable.c.

◆ QueryTable()

UINT8 QueryTable ( IN TABLE_ITEM Table,
IN UINTN  Number,
IN UINT8  Key,
IN OUT CHAR16 *  Info,
IN UINTN  InfoLen 
)

Given a table and a Key, return the responding info.

Notes: Table[Index].Key is change from UINT8 to UINT16, in order to deal with "0xaa - 0xbb".

For example: DisplaySELVariableDataFormatTypes(UINT8 Type, UINT8 Option) has a item: "0x07-0x7F, Unused" Now define Key = 0x7F07, that is to say: High = 0x7F, Low = 0x07. Then all the Key Value between Low and High gets the same string L"Unused".

Parameters
[in]TableThe begin address of table.
[in]NumberThe number of table items.
[in]KeyThe query Key.
[in,out]InfoInput as empty buffer; output as data buffer.
[in]InfoLenThe max number of characters for Info.
Returns
the found Key and Info is valid.
Return values
QUERY_TABLE_UNFOUNDand Info should be NULL.

Definition at line 3956 of file QueryTable.c.