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