]>
Commit | Line | Data |
---|---|---|
5d73d92f | 1 | /** @file\r |
2 | Build a table, each item is (key, info) pair.\r | |
3 | and give a interface of query a string out of a table.\r | |
4 | \r | |
7475ac51 | 5 | Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>\r |
56ba3746 | 6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
5d73d92f | 7 | \r |
8 | **/\r | |
9 | \r | |
a1d4bfcc | 10 | #ifndef _SMBIOS_QUERY_TABLE_H_\r |
11 | #define _SMBIOS_QUERY_TABLE_H_\r | |
5d73d92f | 12 | \r |
13 | #define QUERY_TABLE_UNFOUND 0xFF\r | |
14 | \r | |
15 | typedef struct TABLE_ITEM {\r | |
16 | UINT16 Key;\r | |
17 | CHAR16 *Info;\r | |
18 | } TABLE_ITEM;\r | |
19 | \r | |
20 | //\r | |
21 | // Print info by option\r | |
22 | //\r | |
23 | #define PRINT_INFO_OPTION(Value, Option) \\r | |
24 | do { \\r | |
25 | if (Option == SHOW_NONE) { \\r | |
26 | return ; \\r | |
27 | } \\r | |
28 | if (Option < SHOW_DETAIL) { \\r | |
29 | Print (L"0x%x\n", Value); \\r | |
30 | return ; \\r | |
31 | } \\r | |
32 | } while (0);\r | |
33 | \r | |
33c031ee | 34 | /**\r |
35 | Given a table and a Key, return the responding info.\r | |
36 | \r | |
37 | Notes:\r | |
38 | Table[Index].Key is change from UINT8 to UINT16,\r | |
39 | in order to deal with "0xaa - 0xbb".\r | |
40 | \r | |
41 | For example:\r | |
42 | DisplaySELVariableDataFormatTypes(UINT8 Type, UINT8 Option)\r | |
43 | has a item:\r | |
44 | "0x07-0x7F, Unused"\r | |
45 | Now define Key = 0x7F07, that is to say: High = 0x7F, Low = 0x07.\r | |
46 | Then all the Key Value between Low and High gets the same string\r | |
47 | L"Unused".\r | |
48 | \r | |
4ff7e37b ED |
49 | @param[in] Table The begin address of table.\r |
50 | @param[in] Number The number of table items.\r | |
51 | @param[in] Key The query Key.\r | |
52 | @param[in, out] Info Input as empty buffer; output as data buffer.\r | |
53 | @param[in] InfoLen The max number of characters for Info.\r | |
33c031ee | 54 | \r |
55 | @return the found Key and Info is valid.\r | |
56 | @retval QUERY_TABLE_UNFOUND and Info should be NULL.\r | |
57 | **/\r | |
5d73d92f | 58 | UINT8\r |
59 | QueryTable (\r | |
60 | IN TABLE_ITEM *Table,\r | |
61 | IN UINTN Number,\r | |
62 | IN UINT8 Key,\r | |
33c031ee | 63 | IN OUT CHAR16 *Info,\r |
64 | IN UINTN InfoLen\r | |
5d73d92f | 65 | );\r |
66 | \r | |
a1d4bfcc | 67 | /**\r |
68 | Display the structure type information.\r | |
5d73d92f | 69 | \r |
a1d4bfcc | 70 | @param[in] Key The key of the structure.\r |
71 | @param[in] Option The optional information.\r | |
72 | **/\r | |
5d73d92f | 73 | VOID\r |
74 | DisplayStructureTypeInfo (\r | |
a1d4bfcc | 75 | IN UINT8 Key,\r |
76 | IN UINT8 Option\r | |
5d73d92f | 77 | );\r |
78 | \r | |
a1d4bfcc | 79 | /**\r |
80 | Display System Information (Type 1) Type.\r | |
81 | \r | |
82 | @param[in] Type The key of the structure.\r | |
83 | @param[in] Option The optional information.\r | |
84 | **/\r | |
5d73d92f | 85 | VOID\r |
86 | DisplaySystemWakeupType (\r | |
a1d4bfcc | 87 | IN UINT8 Type,\r |
88 | IN UINT8 Option\r | |
5d73d92f | 89 | );\r |
90 | \r | |
187cb3dd SZ |
91 | /**\r |
92 | Display Base Board (Type 2) Feature Flags.\r | |
93 | \r | |
94 | @param[in] FeatureFlags The key of the structure.\r | |
95 | @param[in] Option The optional information.\r | |
96 | **/\r | |
97 | VOID\r | |
98 | DisplayBaseBoardFeatureFlags (\r | |
99 | IN UINT8 FeatureFlags,\r | |
100 | IN UINT8 Option\r | |
101 | );\r | |
102 | \r | |
103 | /**\r | |
104 | Display Base Board (Type 2) Board Type.\r | |
105 | \r | |
106 | @param[in] Type The key of the structure.\r | |
107 | @param[in] Option The optional information.\r | |
108 | **/\r | |
109 | VOID\r | |
110 | DisplayBaseBoardBoardType(\r | |
111 | IN UINT8 Type,\r | |
112 | IN UINT8 Option\r | |
113 | );\r | |
114 | \r | |
a1d4bfcc | 115 | /**\r |
116 | Display System Enclosure (Type 3) Enclosure Type.\r | |
117 | \r | |
118 | @param[in] Type The key of the structure.\r | |
119 | @param[in] Option The optional information.\r | |
120 | **/\r | |
5d73d92f | 121 | VOID\r |
122 | DisplaySystemEnclosureType (\r | |
a1d4bfcc | 123 | IN UINT8 Type,\r |
124 | IN UINT8 Option\r | |
5d73d92f | 125 | );\r |
a1d4bfcc | 126 | \r |
127 | /**\r | |
128 | Display System Enclosure (Type 3) Enclosure Status.\r | |
129 | \r | |
130 | @param[in] Status The key of the structure.\r | |
131 | @param[in] Option The optional information.\r | |
132 | **/\r | |
5d73d92f | 133 | VOID\r |
134 | DisplaySystemEnclosureStatus (\r | |
a1d4bfcc | 135 | IN UINT8 Status,\r |
136 | IN UINT8 Option\r | |
5d73d92f | 137 | );\r |
a1d4bfcc | 138 | \r |
139 | /**\r | |
140 | Display System Enclosure (Type 3) Security Status.\r | |
141 | \r | |
142 | @param[in] Status The key of the structure.\r | |
143 | @param[in] Option The optional information.\r | |
144 | **/\r | |
5d73d92f | 145 | VOID\r |
146 | DisplaySESecurityStatus (\r | |
a1d4bfcc | 147 | IN UINT8 Status,\r |
148 | IN UINT8 Option\r | |
149 | )\r | |
150 | ;\r | |
5d73d92f | 151 | \r |
a1d4bfcc | 152 | /**\r |
153 | Display Processor Information (Type 4) Type.\r | |
154 | \r | |
155 | @param[in] Type The key of the structure.\r | |
156 | @param[in] Option The optional information.\r | |
157 | **/\r | |
5d73d92f | 158 | VOID\r |
159 | DisplayProcessorType (\r | |
a1d4bfcc | 160 | IN UINT8 Type,\r |
161 | IN UINT8 Option\r | |
5d73d92f | 162 | );\r |
a1d4bfcc | 163 | \r |
164 | /**\r | |
165 | Display Processor Information (Type 4) Upgrade.\r | |
166 | \r | |
167 | @param[in] Upgrade The key of the structure.\r | |
168 | @param[in] Option The optional information.\r | |
169 | **/\r | |
5d73d92f | 170 | VOID\r |
171 | DisplayProcessorUpgrade (\r | |
a1d4bfcc | 172 | IN UINT8 Upgrade,\r |
173 | IN UINT8 Option\r | |
5d73d92f | 174 | );\r |
175 | \r | |
187cb3dd SZ |
176 | /**\r |
177 | Display Processor Information (Type 4) Characteristics.\r | |
178 | \r | |
179 | @param[in] Type The key of the structure.\r | |
180 | @param[in] Option The optional information.\r | |
181 | **/\r | |
182 | VOID\r | |
183 | DisplayProcessorCharacteristics (\r | |
184 | IN UINT16 Type,\r | |
185 | IN UINT8 Option\r | |
186 | );\r | |
187 | \r | |
a1d4bfcc | 188 | /**\r |
189 | Display Memory Controller Information (Type 5) method.\r | |
190 | \r | |
191 | @param[in] Method The key of the structure.\r | |
192 | @param[in] Option The optional information.\r | |
193 | **/\r | |
5d73d92f | 194 | VOID\r |
195 | DisplayMcErrorDetectMethod (\r | |
a1d4bfcc | 196 | IN UINT8 Method,\r |
197 | IN UINT8 Option\r | |
5d73d92f | 198 | );\r |
a1d4bfcc | 199 | \r |
200 | /**\r | |
201 | Display Memory Controller Information (Type 5) Capability.\r | |
202 | \r | |
203 | @param[in] Capability The key of the structure.\r | |
204 | @param[in] Option The optional information.\r | |
205 | **/\r | |
5d73d92f | 206 | VOID\r |
207 | DisplayMcErrorCorrectCapability (\r | |
a1d4bfcc | 208 | IN UINT8 Capability,\r |
209 | IN UINT8 Option\r | |
5d73d92f | 210 | );\r |
a1d4bfcc | 211 | \r |
212 | /**\r | |
213 | Display Memory Controller Information (Type 5) Support.\r | |
214 | \r | |
215 | @param[in] Support The key of the structure.\r | |
216 | @param[in] Option The optional information.\r | |
217 | **/\r | |
5d73d92f | 218 | VOID\r |
219 | DisplayMcInterleaveSupport (\r | |
a1d4bfcc | 220 | IN UINT8 Support,\r |
221 | IN UINT8 Option\r | |
5d73d92f | 222 | );\r |
a1d4bfcc | 223 | \r |
224 | /**\r | |
225 | Display Memory Controller Information (Type 5) speeds.\r | |
226 | \r | |
227 | @param[in] Speed The key of the structure.\r | |
228 | @param[in] Option The optional information.\r | |
229 | **/\r | |
5d73d92f | 230 | VOID\r |
231 | DisplayMcMemorySpeeds (\r | |
a1d4bfcc | 232 | IN UINT16 Speed,\r |
233 | IN UINT8 Option\r | |
5d73d92f | 234 | );\r |
a1d4bfcc | 235 | \r |
236 | /**\r | |
237 | Display Memory Controller Information (Type 5) voltage.\r | |
238 | \r | |
239 | @param[in] Voltage The key of the structure.\r | |
240 | @param[in] Option The optional information.\r | |
241 | **/\r | |
5d73d92f | 242 | VOID\r |
243 | DisplayMemoryModuleVoltage (\r | |
a1d4bfcc | 244 | IN UINT8 Voltage,\r |
245 | IN UINT8 Option\r | |
5d73d92f | 246 | );\r |
247 | \r | |
a1d4bfcc | 248 | /**\r |
249 | Display Memory Module Information (Type 6) type.\r | |
250 | \r | |
251 | @param[in] Type The key of the structure.\r | |
252 | @param[in] Option The optional information.\r | |
253 | **/\r | |
5d73d92f | 254 | VOID\r |
255 | DisplayMmMemoryType (\r | |
a1d4bfcc | 256 | IN UINT16 Type,\r |
257 | IN UINT8 Option\r | |
5d73d92f | 258 | );\r |
a1d4bfcc | 259 | \r |
260 | /**\r | |
261 | Display Memory Module Information (Type 6) status.\r | |
262 | \r | |
263 | @param[in] Status The key of the structure.\r | |
264 | @param[in] Option The optional information.\r | |
265 | **/\r | |
5d73d92f | 266 | VOID\r |
267 | DisplayMmErrorStatus (\r | |
a1d4bfcc | 268 | IN UINT8 Status,\r |
269 | IN UINT8 Option\r | |
5d73d92f | 270 | );\r |
271 | \r | |
a1d4bfcc | 272 | /**\r |
273 | Display Cache Information (Type 7) SRAM Type.\r | |
274 | \r | |
275 | @param[in] Type The key of the structure.\r | |
276 | @param[in] Option The optional information.\r | |
277 | **/\r | |
5d73d92f | 278 | VOID\r |
279 | DisplayCacheSRAMType (\r | |
a1d4bfcc | 280 | IN UINT16 Type,\r |
281 | IN UINT8 Option\r | |
5d73d92f | 282 | );\r |
a1d4bfcc | 283 | \r |
284 | /**\r | |
285 | Display Cache Information (Type 7) correcting Type.\r | |
286 | \r | |
287 | @param[in] Type The key of the structure.\r | |
288 | @param[in] Option The optional information.\r | |
289 | **/\r | |
5d73d92f | 290 | VOID\r |
291 | DisplayCacheErrCorrectingType (\r | |
a1d4bfcc | 292 | IN UINT8 Type,\r |
293 | IN UINT8 Option\r | |
5d73d92f | 294 | );\r |
a1d4bfcc | 295 | \r |
296 | /**\r | |
297 | Display Cache Information (Type 7) Type.\r | |
298 | \r | |
299 | @param[in] Type The key of the structure.\r | |
300 | @param[in] Option The optional information.\r | |
301 | **/\r | |
5d73d92f | 302 | VOID\r |
303 | DisplayCacheSystemCacheType (\r | |
a1d4bfcc | 304 | IN UINT8 Type,\r |
305 | IN UINT8 Option\r | |
5d73d92f | 306 | );\r |
a1d4bfcc | 307 | \r |
308 | /**\r | |
309 | Display Cache Information (Type 7) Associativity.\r | |
310 | \r | |
311 | @param[in] Associativity The key of the structure.\r | |
312 | @param[in] Option The optional information.\r | |
313 | **/\r | |
5d73d92f | 314 | VOID\r |
315 | DisplayCacheAssociativity (\r | |
a1d4bfcc | 316 | IN UINT8 Associativity,\r |
317 | IN UINT8 Option\r | |
5d73d92f | 318 | );\r |
319 | \r | |
a1d4bfcc | 320 | /**\r |
321 | Display Port Connector Information (Type 8) type.\r | |
322 | \r | |
323 | @param[in] Type The key of the structure.\r | |
324 | @param[in] Option The optional information.\r | |
325 | **/\r | |
5d73d92f | 326 | VOID\r |
327 | DisplayPortConnectorType (\r | |
a1d4bfcc | 328 | IN UINT8 Type,\r |
329 | IN UINT8 Option\r | |
5d73d92f | 330 | );\r |
a1d4bfcc | 331 | \r |
332 | /**\r | |
333 | Display Port Connector Information (Type 8) port type.\r | |
334 | \r | |
335 | @param[in] Type The key of the structure.\r | |
336 | @param[in] Option The optional information.\r | |
337 | **/\r | |
5d73d92f | 338 | VOID\r |
339 | DisplayPortType (\r | |
a1d4bfcc | 340 | IN UINT8 Type,\r |
341 | IN UINT8 Option\r | |
5d73d92f | 342 | );\r |
343 | \r | |
a1d4bfcc | 344 | /**\r |
345 | Display System Slots (Type 9) slot type.\r | |
346 | \r | |
347 | @param[in] Type The key of the structure.\r | |
348 | @param[in] Option The optional information.\r | |
349 | **/\r | |
5d73d92f | 350 | VOID\r |
351 | DisplaySystemSlotType (\r | |
a1d4bfcc | 352 | IN UINT8 Type,\r |
353 | IN UINT8 Option\r | |
5d73d92f | 354 | );\r |
a1d4bfcc | 355 | \r |
356 | /**\r | |
357 | Display System Slots (Type 9) data bus width.\r | |
358 | \r | |
359 | @param[in] Width The key of the structure.\r | |
360 | @param[in] Option The optional information.\r | |
361 | **/\r | |
5d73d92f | 362 | VOID\r |
363 | DisplaySystemSlotDataBusWidth (\r | |
a1d4bfcc | 364 | IN UINT8 Width,\r |
365 | IN UINT8 Option\r | |
5d73d92f | 366 | );\r |
a1d4bfcc | 367 | \r |
368 | /**\r | |
369 | Display System Slots (Type 9) usage information.\r | |
370 | \r | |
371 | @param[in] Usage The key of the structure.\r | |
372 | @param[in] Option The optional information.\r | |
373 | **/\r | |
5d73d92f | 374 | VOID\r |
375 | DisplaySystemSlotCurrentUsage (\r | |
a1d4bfcc | 376 | IN UINT8 Usage,\r |
377 | IN UINT8 Option\r | |
5d73d92f | 378 | );\r |
a1d4bfcc | 379 | \r |
380 | /**\r | |
381 | Display System Slots (Type 9) slot length.\r | |
382 | \r | |
383 | @param[in] Length The key of the structure.\r | |
384 | @param[in] Option The optional information.\r | |
385 | **/\r | |
5d73d92f | 386 | VOID\r |
387 | DisplaySystemSlotLength (\r | |
a1d4bfcc | 388 | IN UINT8 Length,\r |
389 | IN UINT8 Option\r | |
5d73d92f | 390 | );\r |
a1d4bfcc | 391 | \r |
392 | /**\r | |
393 | Display System Slots (Type 9) characteristics.\r | |
394 | \r | |
395 | @param[in] Chara1 The key of the structure.\r | |
396 | @param[in] Option The optional information.\r | |
397 | **/\r | |
5d73d92f | 398 | VOID\r |
399 | DisplaySlotCharacteristics1 (\r | |
a1d4bfcc | 400 | IN UINT8 Chara1,\r |
401 | IN UINT8 Option\r | |
5d73d92f | 402 | );\r |
a1d4bfcc | 403 | \r |
404 | /**\r | |
405 | Display System Slots (Type 9) characteristics.\r | |
406 | \r | |
407 | @param[in] Chara2 The key of the structure.\r | |
408 | @param[in] Option The optional information.\r | |
409 | **/\r | |
5d73d92f | 410 | VOID\r |
411 | DisplaySlotCharacteristics2 (\r | |
a1d4bfcc | 412 | IN UINT8 Chara2,\r |
413 | IN UINT8 Option\r | |
5d73d92f | 414 | );\r |
415 | \r | |
a1d4bfcc | 416 | /**\r |
417 | Display On Board Devices Information (Type 10) types.\r | |
418 | \r | |
419 | @param[in] Type The key of the structure.\r | |
420 | @param[in] Option The optional information.\r | |
421 | **/\r | |
5d73d92f | 422 | VOID\r |
423 | DisplayOnboardDeviceTypes (\r | |
a1d4bfcc | 424 | IN UINT8 Type,\r |
425 | IN UINT8 Option\r | |
5d73d92f | 426 | );\r |
427 | \r | |
a1d4bfcc | 428 | /**\r |
429 | Display System Event Log (Type 15) types.\r | |
430 | \r | |
431 | @param[in] Type The key of the structure.\r | |
432 | @param[in] Option The optional information.\r | |
433 | **/\r | |
5d73d92f | 434 | VOID\r |
435 | DisplaySELTypes (\r | |
a1d4bfcc | 436 | IN UINT8 Type,\r |
437 | IN UINT8 Option\r | |
5d73d92f | 438 | );\r |
a1d4bfcc | 439 | \r |
440 | /**\r | |
441 | Display System Event Log (Type 15) format type.\r | |
442 | \r | |
443 | @param[in] Type The key of the structure.\r | |
444 | @param[in] Option The optional information.\r | |
445 | **/\r | |
5d73d92f | 446 | VOID\r |
447 | DisplaySELVarDataFormatType (\r | |
a1d4bfcc | 448 | IN UINT8 Type,\r |
449 | IN UINT8 Option\r | |
5d73d92f | 450 | );\r |
a1d4bfcc | 451 | \r |
452 | /**\r | |
453 | Display System Event Log (Type 15) dw1.\r | |
454 | \r | |
455 | @param[in] Key The key of the structure.\r | |
456 | @param[in] Option The optional information.\r | |
457 | **/\r | |
5d73d92f | 458 | VOID\r |
459 | DisplayPostResultsBitmapDw1 (\r | |
a1d4bfcc | 460 | IN UINT32 Key,\r |
461 | IN UINT8 Option\r | |
5d73d92f | 462 | );\r |
a1d4bfcc | 463 | \r |
464 | /**\r | |
465 | Display System Event Log (Type 15) dw2.\r | |
466 | \r | |
467 | @param[in] Key The key of the structure.\r | |
468 | @param[in] Option The optional information.\r | |
469 | **/\r | |
5d73d92f | 470 | VOID\r |
471 | DisplayPostResultsBitmapDw2 (\r | |
a1d4bfcc | 472 | IN UINT32 Key,\r |
473 | IN UINT8 Option\r | |
5d73d92f | 474 | );\r |
a1d4bfcc | 475 | \r |
476 | /**\r | |
477 | Display System Event Log (Type 15) type.\r | |
478 | \r | |
479 | @param[in] SMType The key of the structure.\r | |
480 | @param[in] Option The optional information.\r | |
481 | **/\r | |
5d73d92f | 482 | VOID\r |
483 | DisplaySELSysManagementTypes (\r | |
a1d4bfcc | 484 | IN UINT32 SMType,\r |
485 | IN UINT8 Option\r | |
5d73d92f | 486 | );\r |
487 | \r | |
a1d4bfcc | 488 | /**\r |
489 | Display Physical Memory Array (Type 16) Location.\r | |
490 | \r | |
491 | @param[in] Location The key of the structure.\r | |
492 | @param[in] Option The optional information.\r | |
493 | **/\r | |
5d73d92f | 494 | VOID\r |
495 | DisplayPMALocation (\r | |
a1d4bfcc | 496 | IN UINT8 Location,\r |
497 | IN UINT8 Option\r | |
5d73d92f | 498 | );\r |
a1d4bfcc | 499 | \r |
500 | /**\r | |
501 | Display Physical Memory Array (Type 16) Use.\r | |
502 | \r | |
503 | @param[in] Use The key of the structure.\r | |
504 | @param[in] Option The optional information.\r | |
505 | **/\r | |
5d73d92f | 506 | VOID\r |
507 | DisplayPMAUse (\r | |
a1d4bfcc | 508 | IN UINT8 Use,\r |
509 | IN UINT8 Option\r | |
5d73d92f | 510 | );\r |
a1d4bfcc | 511 | \r |
512 | /**\r | |
513 | Display Physical Memory Array (Type 16) Types.\r | |
514 | \r | |
515 | @param[in] Type The key of the structure.\r | |
516 | @param[in] Option The optional information.\r | |
517 | **/\r | |
5d73d92f | 518 | VOID\r |
519 | DisplayPMAErrorCorrectionTypes (\r | |
a1d4bfcc | 520 | IN UINT8 Type,\r |
521 | IN UINT8 Option\r | |
5d73d92f | 522 | );\r |
523 | \r | |
a1d4bfcc | 524 | /**\r |
525 | Display Memory Device (Type 17) form factor.\r | |
526 | \r | |
527 | @param[in] FormFactor The key of the structure.\r | |
528 | @param[in] Option The optional information.\r | |
529 | **/\r | |
5d73d92f | 530 | VOID\r |
531 | DisplayMemoryDeviceFormFactor (\r | |
a1d4bfcc | 532 | IN UINT8 FormFactor,\r |
533 | IN UINT8 Option\r | |
5d73d92f | 534 | );\r |
a1d4bfcc | 535 | \r |
536 | /**\r | |
537 | Display Memory Device (Type 17) type.\r | |
538 | \r | |
539 | @param[in] Type The key of the structure.\r | |
540 | @param[in] Option The optional information.\r | |
541 | **/\r | |
5d73d92f | 542 | VOID\r |
543 | DisplayMemoryDeviceType (\r | |
a1d4bfcc | 544 | IN UINT8 Type,\r |
545 | IN UINT8 Option\r | |
5d73d92f | 546 | );\r |
a1d4bfcc | 547 | \r |
548 | /**\r | |
549 | Display Memory Device (Type 17) details.\r | |
550 | \r | |
551 | @param[in] Para The key of the structure.\r | |
552 | @param[in] Option The optional information.\r | |
553 | **/\r | |
5d73d92f | 554 | VOID\r |
555 | DisplayMemoryDeviceTypeDetail (\r | |
a1d4bfcc | 556 | IN UINT16 Para,\r |
557 | IN UINT8 Option\r | |
5d73d92f | 558 | );\r |
559 | \r | |
7475ac51 DB |
560 | /**\r |
561 | Display Memory Device (Type 17) memory technology.\r | |
562 | \r | |
563 | @param[in] Para The key of the structure.\r | |
564 | @param[in] Option The optional information.\r | |
565 | **/\r | |
566 | VOID\r | |
567 | DisplayMemoryDeviceMemoryTechnology (\r | |
568 | IN UINT8 Para,\r | |
569 | IN UINT8 Option\r | |
570 | );\r | |
571 | \r | |
572 | /**\r | |
573 | Display Memory Device (Type 17) memory operating mode capability.\r | |
574 | \r | |
575 | @param[in] Para The key of the structure.\r | |
576 | @param[in] Option The optional information.\r | |
577 | **/\r | |
578 | VOID\r | |
579 | DisplayMemoryDeviceMemoryOperatingModeCapability (\r | |
580 | IN UINT16 Para,\r | |
581 | IN UINT8 Option\r | |
582 | );\r | |
583 | \r | |
a1d4bfcc | 584 | /**\r |
585 | Display 32-bit Memory Error Information (Type 18) type.\r | |
586 | \r | |
587 | @param[in] ErrorType The key of the structure.\r | |
588 | @param[in] Option The optional information.\r | |
589 | **/\r | |
5d73d92f | 590 | VOID\r |
591 | DisplayMemoryErrorType (\r | |
a1d4bfcc | 592 | IN UINT8 ErrorType,\r |
593 | IN UINT8 Option\r | |
5d73d92f | 594 | );\r |
a1d4bfcc | 595 | \r |
596 | /**\r | |
597 | Display 32-bit Memory Error Information (Type 18) error granularity.\r | |
598 | \r | |
599 | @param[in] Granularity The key of the structure.\r | |
600 | @param[in] Option The optional information.\r | |
601 | **/\r | |
5d73d92f | 602 | VOID\r |
603 | DisplayMemoryErrorGranularity (\r | |
a1d4bfcc | 604 | IN UINT8 Granularity,\r |
605 | IN UINT8 Option\r | |
5d73d92f | 606 | );\r |
a1d4bfcc | 607 | \r |
608 | /**\r | |
609 | Display 32-bit Memory Error Information (Type 18) error information.\r | |
610 | \r | |
611 | @param[in] Operation The key of the structure.\r | |
612 | @param[in] Option The optional information.\r | |
613 | **/\r | |
5d73d92f | 614 | VOID\r |
615 | DisplayMemoryErrorOperation (\r | |
a1d4bfcc | 616 | IN UINT8 Operation,\r |
617 | IN UINT8 Option\r | |
5d73d92f | 618 | );\r |
619 | \r | |
a1d4bfcc | 620 | /**\r |
621 | Display Built-in Pointing Device (Type 21) type information.\r | |
622 | \r | |
623 | @param[in] Type The key of the structure.\r | |
624 | @param[in] Option The optional information.\r | |
625 | **/\r | |
5d73d92f | 626 | VOID\r |
627 | DisplayPointingDeviceType (\r | |
a1d4bfcc | 628 | IN UINT8 Type,\r |
629 | IN UINT8 Option\r | |
5d73d92f | 630 | );\r |
a1d4bfcc | 631 | \r |
632 | /**\r | |
633 | Display Built-in Pointing Device (Type 21) information.\r | |
634 | \r | |
635 | @param[in] Interface The key of the structure.\r | |
636 | @param[in] Option The optional information.\r | |
637 | **/\r | |
5d73d92f | 638 | VOID\r |
639 | DisplayPointingDeviceInterface (\r | |
a1d4bfcc | 640 | IN UINT8 Interface,\r |
641 | IN UINT8 Option\r | |
5d73d92f | 642 | );\r |
643 | \r | |
a1d4bfcc | 644 | /**\r |
645 | Display Portable Battery (Type 22) information.\r | |
646 | \r | |
647 | @param[in] Key The key of the structure.\r | |
648 | @param[in] Option The optional information.\r | |
649 | **/\r | |
5d73d92f | 650 | VOID\r |
651 | DisplayPBDeviceChemistry (\r | |
a1d4bfcc | 652 | IN UINT8 Key,\r |
653 | IN UINT8 Option\r | |
5d73d92f | 654 | );\r |
655 | \r | |
a1d4bfcc | 656 | /**\r |
657 | Display Voltage Probe (Type 26) location information.\r | |
658 | \r | |
659 | @param[in] Key The key of the structure.\r | |
660 | @param[in] Option The optional information.\r | |
661 | **/\r | |
5d73d92f | 662 | VOID\r |
663 | DisplayVPLocation (\r | |
a1d4bfcc | 664 | IN UINT8 Key,\r |
665 | IN UINT8 Option\r | |
5d73d92f | 666 | );\r |
a1d4bfcc | 667 | \r |
668 | /**\r | |
669 | Display Voltage Probe (Type 26) status ype information.\r | |
670 | \r | |
671 | @param[in] Key The key of the structure.\r | |
672 | @param[in] Option The optional information.\r | |
673 | **/\r | |
5d73d92f | 674 | VOID\r |
675 | DisplayVPStatus (\r | |
a1d4bfcc | 676 | IN UINT8 Key,\r |
677 | IN UINT8 Option\r | |
5d73d92f | 678 | );\r |
679 | \r | |
a1d4bfcc | 680 | /**\r |
681 | Display Cooling (Type 27) status information.\r | |
682 | \r | |
683 | @param[in] Key The key of the structure.\r | |
684 | @param[in] Option The optional information.\r | |
685 | **/\r | |
5d73d92f | 686 | VOID\r |
687 | DisplayCoolingDeviceStatus (\r | |
a1d4bfcc | 688 | IN UINT8 Key,\r |
689 | IN UINT8 Option\r | |
5d73d92f | 690 | );\r |
a1d4bfcc | 691 | \r |
692 | /**\r | |
693 | Display Cooling (Type 27) type information.\r | |
694 | \r | |
695 | @param[in] Key The key of the structure.\r | |
696 | @param[in] Option The optional information.\r | |
697 | **/\r | |
5d73d92f | 698 | VOID\r |
699 | DisplayCoolingDeviceType (\r | |
a1d4bfcc | 700 | IN UINT8 Key,\r |
701 | IN UINT8 Option\r | |
5d73d92f | 702 | );\r |
703 | \r | |
a1d4bfcc | 704 | /**\r |
705 | Display Temperature Probe (Type 28) status information.\r | |
706 | \r | |
707 | @param[in] Key The key of the structure.\r | |
708 | @param[in] Option The optional information.\r | |
709 | **/\r | |
5d73d92f | 710 | VOID\r |
711 | DisplayTemperatureProbeStatus (\r | |
a1d4bfcc | 712 | IN UINT8 Key,\r |
713 | IN UINT8 Option\r | |
5d73d92f | 714 | );\r |
a1d4bfcc | 715 | \r |
716 | /**\r | |
717 | Display Temperature Probe (Type 28) location information.\r | |
718 | \r | |
719 | @param[in] Key The key of the structure.\r | |
720 | @param[in] Option The optional information.\r | |
721 | **/\r | |
5d73d92f | 722 | VOID\r |
723 | DisplayTemperatureProbeLoc (\r | |
a1d4bfcc | 724 | IN UINT8 Key,\r |
725 | IN UINT8 Option\r | |
5d73d92f | 726 | );\r |
727 | \r | |
a1d4bfcc | 728 | /**\r |
729 | Display Electrical Current Probe (Type 29) status information.\r | |
730 | \r | |
731 | @param[in] Key The key of the structure.\r | |
732 | @param[in] Option The optional information.\r | |
733 | **/\r | |
5d73d92f | 734 | VOID\r |
735 | DisplayECPStatus (\r | |
a1d4bfcc | 736 | IN UINT8 Key,\r |
737 | IN UINT8 Option\r | |
5d73d92f | 738 | );\r |
a1d4bfcc | 739 | \r |
740 | /**\r | |
741 | Display Electrical Current Probe (Type 29) location information.\r | |
742 | \r | |
743 | @param[in] Key The key of the structure.\r | |
744 | @param[in] Option The optional information.\r | |
745 | **/\r | |
5d73d92f | 746 | VOID\r |
747 | DisplayECPLoc (\r | |
a1d4bfcc | 748 | IN UINT8 Key,\r |
749 | IN UINT8 Option\r | |
5d73d92f | 750 | );\r |
751 | \r | |
a1d4bfcc | 752 | /**\r |
187cb3dd | 753 | Display Management Device (Type 34) Type.\r |
a1d4bfcc | 754 | \r |
755 | @param[in] Key The key of the structure.\r | |
756 | @param[in] Option The optional information.\r | |
757 | **/\r | |
5d73d92f | 758 | VOID\r |
759 | DisplayMDType (\r | |
a1d4bfcc | 760 | IN UINT8 Key,\r |
761 | IN UINT8 Option\r | |
5d73d92f | 762 | );\r |
763 | \r | |
187cb3dd SZ |
764 | /**\r |
765 | Display Management Device (Type 34) Address Type.\r | |
766 | \r | |
767 | @param[in] Key The key of the structure.\r | |
768 | @param[in] Option The optional information.\r | |
769 | **/\r | |
770 | VOID\r | |
771 | DisplayMDAddressType (\r | |
772 | IN UINT8 Key,\r | |
773 | IN UINT8 Option\r | |
774 | );\r | |
775 | \r | |
a1d4bfcc | 776 | /**\r |
777 | Display Memory Channel (Type 37) information.\r | |
778 | \r | |
779 | @param[in] Key The key of the structure.\r | |
780 | @param[in] Option The optional information.\r | |
781 | **/\r | |
5d73d92f | 782 | VOID\r |
783 | DisplayMemoryChannelType (\r | |
a1d4bfcc | 784 | IN UINT8 Key,\r |
785 | IN UINT8 Option\r | |
5d73d92f | 786 | );\r |
787 | \r | |
a1d4bfcc | 788 | /**\r |
789 | Display IPMI Device Information (Type 38) information.\r | |
790 | \r | |
791 | @param[in] Key The key of the structure.\r | |
792 | @param[in] Option The optional information.\r | |
793 | **/\r | |
5d73d92f | 794 | VOID\r |
795 | DisplayIPMIDIBMCInterfaceType (\r | |
a1d4bfcc | 796 | IN UINT8 Key,\r |
797 | IN UINT8 Option\r | |
5d73d92f | 798 | );\r |
799 | \r | |
5734d486 SZ |
800 | /**\r |
801 | Display Management Controller Host Interface (Type 42) information.\r | |
802 | \r | |
803 | @param[in] Key The key of the structure.\r | |
804 | @param[in] Option The optional information.\r | |
805 | **/\r | |
806 | VOID\r | |
807 | DisplayMCHostInterfaceType (\r | |
808 | IN UINT8 Key,\r | |
809 | IN UINT8 Option\r | |
810 | );\r | |
811 | \r | |
5d73d92f | 812 | #endif\r |