1 | /** @file
|
---|
2 | Build a table, each item is (Key, Info) pair.
|
---|
3 | And give a interface of query a string out of a table.
|
---|
4 |
|
---|
5 | Copyright (c) 2005 - 2024, Intel Corporation. All rights reserved.<BR>
|
---|
6 | (C) Copyright 2016-2019 Hewlett Packard Enterprise Development LP<BR>
|
---|
7 | Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
---|
8 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
9 |
|
---|
10 | **/
|
---|
11 |
|
---|
12 | #include "UefiShellDebug1CommandsLib.h"
|
---|
13 | #include "QueryTable.h"
|
---|
14 | #include "PrintInfo.h"
|
---|
15 |
|
---|
16 | TABLE_ITEM SystemWakeupTypeTable[] = {
|
---|
17 | {
|
---|
18 | 0x0,
|
---|
19 | L" Reserved"
|
---|
20 | },
|
---|
21 | {
|
---|
22 | 0x1,
|
---|
23 | L" Other"
|
---|
24 | },
|
---|
25 | {
|
---|
26 | 0x2,
|
---|
27 | L" Unknown"
|
---|
28 | },
|
---|
29 | {
|
---|
30 | 0x3,
|
---|
31 | L" APM Timer"
|
---|
32 | },
|
---|
33 | {
|
---|
34 | 0x4,
|
---|
35 | L" Modem Ring"
|
---|
36 | },
|
---|
37 | {
|
---|
38 | 0x5,
|
---|
39 | L" LAN Remote"
|
---|
40 | },
|
---|
41 | {
|
---|
42 | 0x6,
|
---|
43 | L" Power Switch"
|
---|
44 | },
|
---|
45 | {
|
---|
46 | 0x7,
|
---|
47 | L" AC Power Restored"
|
---|
48 | }
|
---|
49 | };
|
---|
50 |
|
---|
51 | TABLE_ITEM BaseBoardFeatureFlagsTable[] = {
|
---|
52 | {
|
---|
53 | 0,
|
---|
54 | L" Hosting board"
|
---|
55 | },
|
---|
56 | {
|
---|
57 | 1,
|
---|
58 | L" Requires at least one daughter board or auxiliary card"
|
---|
59 | },
|
---|
60 | {
|
---|
61 | 2,
|
---|
62 | L" Removable"
|
---|
63 | },
|
---|
64 | {
|
---|
65 | 3,
|
---|
66 | L" Replaceable"
|
---|
67 | },
|
---|
68 | {
|
---|
69 | 4,
|
---|
70 | L" Hot swappable"
|
---|
71 | }
|
---|
72 | };
|
---|
73 |
|
---|
74 | TABLE_ITEM BaseBoardBoardTypeTable[] = {
|
---|
75 | {
|
---|
76 | 0x01,
|
---|
77 | L" Unknown"
|
---|
78 | },
|
---|
79 | {
|
---|
80 | 0x02,
|
---|
81 | L" Other"
|
---|
82 | },
|
---|
83 | {
|
---|
84 | 0x03,
|
---|
85 | L" Server Blade"
|
---|
86 | },
|
---|
87 | {
|
---|
88 | 0x04,
|
---|
89 | L" Connectivity Switch"
|
---|
90 | },
|
---|
91 | {
|
---|
92 | 0x05,
|
---|
93 | L" System Management Module"
|
---|
94 | },
|
---|
95 | {
|
---|
96 | 0x06,
|
---|
97 | L" Processor Module"
|
---|
98 | },
|
---|
99 | {
|
---|
100 | 0x07,
|
---|
101 | L" I/O Module"
|
---|
102 | },
|
---|
103 | {
|
---|
104 | 0x08,
|
---|
105 | L" Memory Module"
|
---|
106 | },
|
---|
107 | {
|
---|
108 | 0x09,
|
---|
109 | L" Daughter board"
|
---|
110 | },
|
---|
111 | {
|
---|
112 | 0x0A,
|
---|
113 | L" Motherboard"
|
---|
114 | },
|
---|
115 | {
|
---|
116 | 0x0B,
|
---|
117 | L" Processor/Memory Module"
|
---|
118 | },
|
---|
119 | {
|
---|
120 | 0x0C,
|
---|
121 | L" Processor/IO Module"
|
---|
122 | },
|
---|
123 | {
|
---|
124 | 0x0D,
|
---|
125 | L" Interconnect Board"
|
---|
126 | }
|
---|
127 | };
|
---|
128 |
|
---|
129 | TABLE_ITEM SystemEnclosureTypeTable[] = {
|
---|
130 | {
|
---|
131 | 0x01,
|
---|
132 | L" Other"
|
---|
133 | },
|
---|
134 | {
|
---|
135 | 0x02,
|
---|
136 | L" Unknown"
|
---|
137 | },
|
---|
138 | {
|
---|
139 | 0x03,
|
---|
140 | L" Desktop"
|
---|
141 | },
|
---|
142 | {
|
---|
143 | 0x04,
|
---|
144 | L" Low Profile Desktop"
|
---|
145 | },
|
---|
146 | {
|
---|
147 | 0x05,
|
---|
148 | L" Pizza Box"
|
---|
149 | },
|
---|
150 | {
|
---|
151 | 0x06,
|
---|
152 | L" Mini Tower"
|
---|
153 | },
|
---|
154 | {
|
---|
155 | 0x07,
|
---|
156 | L" Tower"
|
---|
157 | },
|
---|
158 | {
|
---|
159 | 0x08,
|
---|
160 | L" Portable"
|
---|
161 | },
|
---|
162 | {
|
---|
163 | 0x09,
|
---|
164 | L" Laptop"
|
---|
165 | },
|
---|
166 | {
|
---|
167 | 0x0A,
|
---|
168 | L" Notebook"
|
---|
169 | },
|
---|
170 | {
|
---|
171 | 0x0B,
|
---|
172 | L" Hand Held"
|
---|
173 | },
|
---|
174 | {
|
---|
175 | 0x0C,
|
---|
176 | L" Docking Station"
|
---|
177 | },
|
---|
178 | {
|
---|
179 | 0x0D,
|
---|
180 | L" All in One"
|
---|
181 | },
|
---|
182 | {
|
---|
183 | 0x0E,
|
---|
184 | L" Sub Notebook"
|
---|
185 | },
|
---|
186 | {
|
---|
187 | 0x0F,
|
---|
188 | L" Space-saving"
|
---|
189 | },
|
---|
190 | {
|
---|
191 | 0x10,
|
---|
192 | L" Lunch Box"
|
---|
193 | },
|
---|
194 | {
|
---|
195 | 0x11,
|
---|
196 | L" Main Server Chassis"
|
---|
197 | },
|
---|
198 | {
|
---|
199 | 0x12,
|
---|
200 | L" Expansion Chassis"
|
---|
201 | },
|
---|
202 | {
|
---|
203 | 0x13,
|
---|
204 | L" SubChassis"
|
---|
205 | },
|
---|
206 | {
|
---|
207 | 0x14,
|
---|
208 | L" Bus Expansion Chassis"
|
---|
209 | },
|
---|
210 | {
|
---|
211 | 0x15,
|
---|
212 | L" Peripheral Chassis"
|
---|
213 | },
|
---|
214 | {
|
---|
215 | 0x16,
|
---|
216 | L" RAID Chassis"
|
---|
217 | },
|
---|
218 | {
|
---|
219 | 0x17,
|
---|
220 | L" Rack Mount Chassis"
|
---|
221 | },
|
---|
222 | {
|
---|
223 | 0x18,
|
---|
224 | L" Sealed-case PC"
|
---|
225 | },
|
---|
226 | {
|
---|
227 | 0x19,
|
---|
228 | L" Multi-system Chassis"
|
---|
229 | },
|
---|
230 | {
|
---|
231 | 0x1A,
|
---|
232 | L" CompactPCI"
|
---|
233 | },
|
---|
234 | {
|
---|
235 | 0x1B,
|
---|
236 | L" AdvancedTCA"
|
---|
237 | },
|
---|
238 | {
|
---|
239 | 0x1C,
|
---|
240 | L" Blade"
|
---|
241 | },
|
---|
242 | {
|
---|
243 | 0x1D,
|
---|
244 | L" Blade Enclosure"
|
---|
245 | },
|
---|
246 | {
|
---|
247 | 0x1E,
|
---|
248 | L" Tablet"
|
---|
249 | },
|
---|
250 | {
|
---|
251 | 0x1F,
|
---|
252 | L" Convertible"
|
---|
253 | },
|
---|
254 | {
|
---|
255 | 0x20,
|
---|
256 | L" Detachable"
|
---|
257 | },
|
---|
258 | {
|
---|
259 | 0x21,
|
---|
260 | L" IoT Gateway"
|
---|
261 | },
|
---|
262 | {
|
---|
263 | 0x22,
|
---|
264 | L" Embedded PC"
|
---|
265 | },
|
---|
266 | {
|
---|
267 | 0x23,
|
---|
268 | L" Mini PC"
|
---|
269 | },
|
---|
270 | {
|
---|
271 | 0x24,
|
---|
272 | L" Stick PC"
|
---|
273 | },
|
---|
274 | };
|
---|
275 |
|
---|
276 | TABLE_ITEM SystemEnclosureStatusTable[] = {
|
---|
277 | {
|
---|
278 | 0x1,
|
---|
279 | L" Other"
|
---|
280 | },
|
---|
281 | {
|
---|
282 | 0x2,
|
---|
283 | L" Unknown"
|
---|
284 | },
|
---|
285 | {
|
---|
286 | 0x3,
|
---|
287 | L" Safe"
|
---|
288 | },
|
---|
289 | {
|
---|
290 | 0x4,
|
---|
291 | L" Warning"
|
---|
292 | },
|
---|
293 | {
|
---|
294 | 0x5,
|
---|
295 | L" Critical"
|
---|
296 | },
|
---|
297 | {
|
---|
298 | 0x6,
|
---|
299 | L" Non-recoverable"
|
---|
300 | }
|
---|
301 | };
|
---|
302 |
|
---|
303 | TABLE_ITEM SESecurityStatusTable[] = {
|
---|
304 | {
|
---|
305 | 0x1,
|
---|
306 | L" Other"
|
---|
307 | },
|
---|
308 | {
|
---|
309 | 0x2,
|
---|
310 | L" Unknown"
|
---|
311 | },
|
---|
312 | {
|
---|
313 | 0x3,
|
---|
314 | L" None"
|
---|
315 | },
|
---|
316 | {
|
---|
317 | 0x4,
|
---|
318 | L" External interface locked out"
|
---|
319 | },
|
---|
320 | {
|
---|
321 | 0x5,
|
---|
322 | L" External interface enabled"
|
---|
323 | }
|
---|
324 | };
|
---|
325 |
|
---|
326 | TABLE_ITEM ProcessorTypeTable[] = {
|
---|
327 | {
|
---|
328 | 0x1,
|
---|
329 | L" Other"
|
---|
330 | },
|
---|
331 | {
|
---|
332 | 0x2,
|
---|
333 | L" Unknown"
|
---|
334 | },
|
---|
335 | {
|
---|
336 | 0x3,
|
---|
337 | L" Central Processor"
|
---|
338 | },
|
---|
339 | {
|
---|
340 | 0x4,
|
---|
341 | L" Math Processor"
|
---|
342 | },
|
---|
343 | {
|
---|
344 | 0x5,
|
---|
345 | L" DSP Processor"
|
---|
346 | },
|
---|
347 | {
|
---|
348 | 0x6,
|
---|
349 | L" Video Processor "
|
---|
350 | },
|
---|
351 | };
|
---|
352 |
|
---|
353 | TABLE_ITEM ProcessorUpgradeTable[] = {
|
---|
354 | {
|
---|
355 | 0x01,
|
---|
356 | L"Other"
|
---|
357 | },
|
---|
358 | {
|
---|
359 | 0x02,
|
---|
360 | L"Unknown"
|
---|
361 | },
|
---|
362 | {
|
---|
363 | 0x03,
|
---|
364 | L"Daughter Board"
|
---|
365 | },
|
---|
366 | {
|
---|
367 | 0x04,
|
---|
368 | L"ZIF Socket"
|
---|
369 | },
|
---|
370 | {
|
---|
371 | 0x05,
|
---|
372 | L"Replaceable Piggy Back"
|
---|
373 | },
|
---|
374 | {
|
---|
375 | 0x06,
|
---|
376 | L"None"
|
---|
377 | },
|
---|
378 | {
|
---|
379 | 0x07,
|
---|
380 | L"LIF Socket"
|
---|
381 | },
|
---|
382 | {
|
---|
383 | 0x08,
|
---|
384 | L"Slot 1"
|
---|
385 | },
|
---|
386 | {
|
---|
387 | 0x09,
|
---|
388 | L"Slot 2"
|
---|
389 | },
|
---|
390 | {
|
---|
391 | 0x0A,
|
---|
392 | L"370-pin socket"
|
---|
393 | },
|
---|
394 | {
|
---|
395 | 0x0B,
|
---|
396 | L"Slot A"
|
---|
397 | },
|
---|
398 | {
|
---|
399 | 0x0C,
|
---|
400 | L"Slot M"
|
---|
401 | },
|
---|
402 | {
|
---|
403 | 0x0D,
|
---|
404 | L"Socket 423"
|
---|
405 | },
|
---|
406 | {
|
---|
407 | 0x0E,
|
---|
408 | L"Socket A"
|
---|
409 | },
|
---|
410 | {
|
---|
411 | 0x0F,
|
---|
412 | L"Socket 478"
|
---|
413 | },
|
---|
414 | {
|
---|
415 | 0x10,
|
---|
416 | L"Socket 754"
|
---|
417 | },
|
---|
418 | {
|
---|
419 | 0x11,
|
---|
420 | L"Socket 940"
|
---|
421 | },
|
---|
422 | {
|
---|
423 | 0x12,
|
---|
424 | L"Socket 939"
|
---|
425 | },
|
---|
426 | {
|
---|
427 | 0x13,
|
---|
428 | L"Socket mPGA604"
|
---|
429 | },
|
---|
430 | {
|
---|
431 | 0x14,
|
---|
432 | L"Socket LGA771"
|
---|
433 | },
|
---|
434 | {
|
---|
435 | 0x15,
|
---|
436 | L"Socket LGA775"
|
---|
437 | },
|
---|
438 | {
|
---|
439 | 0x16,
|
---|
440 | L"Socket S1"
|
---|
441 | },
|
---|
442 | {
|
---|
443 | 0x17,
|
---|
444 | L"Socket AM2"
|
---|
445 | },
|
---|
446 | {
|
---|
447 | 0x18,
|
---|
448 | L"Socket F"
|
---|
449 | },
|
---|
450 | {
|
---|
451 | 0x19,
|
---|
452 | L"Socket LGA1366"
|
---|
453 | },
|
---|
454 | {
|
---|
455 | 0x1A,
|
---|
456 | L"Socket G34"
|
---|
457 | },
|
---|
458 | {
|
---|
459 | 0x1B,
|
---|
460 | L"Socket AM3"
|
---|
461 | },
|
---|
462 | {
|
---|
463 | 0x1C,
|
---|
464 | L"Socket C32"
|
---|
465 | },
|
---|
466 | {
|
---|
467 | 0x1D,
|
---|
468 | L"Socket LGA1156"
|
---|
469 | },
|
---|
470 | {
|
---|
471 | 0x1E,
|
---|
472 | L"Socket LGA1567"
|
---|
473 | },
|
---|
474 | {
|
---|
475 | 0x1F,
|
---|
476 | L"Socket PGA988A"
|
---|
477 | },
|
---|
478 | {
|
---|
479 | 0x20,
|
---|
480 | L"Socket BGA1288"
|
---|
481 | },
|
---|
482 | {
|
---|
483 | 0x21,
|
---|
484 | L"Socket rPGA988B"
|
---|
485 | },
|
---|
486 | {
|
---|
487 | 0x22,
|
---|
488 | L"Socket BGA1023"
|
---|
489 | },
|
---|
490 | {
|
---|
491 | 0x23,
|
---|
492 | L"Socket BGA1224"
|
---|
493 | },
|
---|
494 | {
|
---|
495 | 0x24,
|
---|
496 | L"Socket LGA1155"
|
---|
497 | },
|
---|
498 | {
|
---|
499 | 0x25,
|
---|
500 | L"Socket LGA1356"
|
---|
501 | },
|
---|
502 | {
|
---|
503 | 0x26,
|
---|
504 | L"Socket LGA2011"
|
---|
505 | },
|
---|
506 | {
|
---|
507 | 0x27,
|
---|
508 | L"Socket FS1"
|
---|
509 | },
|
---|
510 | {
|
---|
511 | 0x28,
|
---|
512 | L"Socket FS2"
|
---|
513 | },
|
---|
514 | {
|
---|
515 | 0x29,
|
---|
516 | L"Socket FM1"
|
---|
517 | },
|
---|
518 | {
|
---|
519 | 0x2A,
|
---|
520 | L"Socket FM2"
|
---|
521 | },
|
---|
522 | {
|
---|
523 | 0x2B,
|
---|
524 | L"Socket LGA2011-3"
|
---|
525 | },
|
---|
526 | {
|
---|
527 | 0x2C,
|
---|
528 | L"Socket LGA1356-3"
|
---|
529 | },
|
---|
530 | {
|
---|
531 | 0x2D,
|
---|
532 | L"Socket LGA1150"
|
---|
533 | },
|
---|
534 | {
|
---|
535 | 0x2E,
|
---|
536 | L"Socket BGA1168"
|
---|
537 | },
|
---|
538 | {
|
---|
539 | 0x2F,
|
---|
540 | L"Socket BGA1234"
|
---|
541 | },
|
---|
542 | {
|
---|
543 | 0x30,
|
---|
544 | L"Socket BGA1364"
|
---|
545 | },
|
---|
546 | {
|
---|
547 | 0x31,
|
---|
548 | L"Socket AM4"
|
---|
549 | },
|
---|
550 | {
|
---|
551 | 0x32,
|
---|
552 | L"Socket LGA1151"
|
---|
553 | },
|
---|
554 | {
|
---|
555 | 0x33,
|
---|
556 | L"Socket BGA1356"
|
---|
557 | },
|
---|
558 | {
|
---|
559 | 0x34,
|
---|
560 | L"Socket BGA1440"
|
---|
561 | },
|
---|
562 | {
|
---|
563 | 0x35,
|
---|
564 | L"Socket BGA1515"
|
---|
565 | },
|
---|
566 | {
|
---|
567 | 0x36,
|
---|
568 | L"Socket LGA3647-1"
|
---|
569 | },
|
---|
570 | {
|
---|
571 | 0x37,
|
---|
572 | L"Socket SP3"
|
---|
573 | },
|
---|
574 | {
|
---|
575 | 0x38,
|
---|
576 | L"Socket SP3r2"
|
---|
577 | },
|
---|
578 | {
|
---|
579 | 0x39,
|
---|
580 | L"Socket LGA2066"
|
---|
581 | },
|
---|
582 | {
|
---|
583 | 0x3A,
|
---|
584 | L"Socket BGA1392"
|
---|
585 | },
|
---|
586 | {
|
---|
587 | 0x3B,
|
---|
588 | L"Socket BGA1510"
|
---|
589 | },
|
---|
590 | {
|
---|
591 | 0x3C,
|
---|
592 | L"Socket BGA1528"
|
---|
593 | },
|
---|
594 | {
|
---|
595 | 0x3D,
|
---|
596 | L"Socket LGA4189"
|
---|
597 | },
|
---|
598 | {
|
---|
599 | 0x3E,
|
---|
600 | L"Socket LGA1200"
|
---|
601 | },
|
---|
602 | {
|
---|
603 | 0x3F,
|
---|
604 | L"Socket LGA4677"
|
---|
605 | },
|
---|
606 | {
|
---|
607 | 0x40,
|
---|
608 | L"Socket LGA1700"
|
---|
609 | },
|
---|
610 | {
|
---|
611 | 0x41,
|
---|
612 | L"Socket BGA1744"
|
---|
613 | },
|
---|
614 | {
|
---|
615 | 0x42,
|
---|
616 | L"Socket BGA1781"
|
---|
617 | },
|
---|
618 | {
|
---|
619 | 0x43,
|
---|
620 | L"Socket BGA1211"
|
---|
621 | },
|
---|
622 | {
|
---|
623 | 0x44,
|
---|
624 | L"Socket BGA2422"
|
---|
625 | },
|
---|
626 | {
|
---|
627 | 0x45,
|
---|
628 | L"Socket LGA1211"
|
---|
629 | },
|
---|
630 | {
|
---|
631 | 0x46,
|
---|
632 | L"Socket LGA2422"
|
---|
633 | },
|
---|
634 | {
|
---|
635 | 0x47,
|
---|
636 | L"Socket LGA5773"
|
---|
637 | },
|
---|
638 | {
|
---|
639 | 0x48,
|
---|
640 | L"Socket BGA5773"
|
---|
641 | },
|
---|
642 | {
|
---|
643 | 0x49,
|
---|
644 | L"Socket AM5"
|
---|
645 | },
|
---|
646 | {
|
---|
647 | 0x4A,
|
---|
648 | L"Socket SP5"
|
---|
649 | },
|
---|
650 | {
|
---|
651 | 0x4B,
|
---|
652 | L"Socket SP6"
|
---|
653 | },
|
---|
654 | {
|
---|
655 | 0x4C,
|
---|
656 | L"Socket BGA883"
|
---|
657 | },
|
---|
658 | {
|
---|
659 | 0x4D,
|
---|
660 | L"Socket BGA1190"
|
---|
661 | },
|
---|
662 | {
|
---|
663 | 0x4E,
|
---|
664 | L"Socket BGA4129"
|
---|
665 | },
|
---|
666 | {
|
---|
667 | 0x4F,
|
---|
668 | L"Socket LGA4710"
|
---|
669 | },
|
---|
670 | {
|
---|
671 | 0x50,
|
---|
672 | L"Socket LGA7529"
|
---|
673 | },
|
---|
674 | {
|
---|
675 | 0x51,
|
---|
676 | L"Socket BGA1964"
|
---|
677 | },
|
---|
678 | {
|
---|
679 | 0x52,
|
---|
680 | L"Socket BGA1792"
|
---|
681 | },
|
---|
682 | {
|
---|
683 | 0x53,
|
---|
684 | L"Socket BGA2049"
|
---|
685 | },
|
---|
686 | {
|
---|
687 | 0x54,
|
---|
688 | L"Socket BGA2551"
|
---|
689 | },
|
---|
690 | {
|
---|
691 | 0x55,
|
---|
692 | L"Socket LGA1851"
|
---|
693 | },
|
---|
694 | {
|
---|
695 | 0x56,
|
---|
696 | L"Socket BGA2114"
|
---|
697 | },
|
---|
698 | {
|
---|
699 | 0x57,
|
---|
700 | L"Socket BGA2833"
|
---|
701 | }
|
---|
702 | };
|
---|
703 |
|
---|
704 | TABLE_ITEM ProcessorCharacteristicsTable[] = {
|
---|
705 | {
|
---|
706 | 1,
|
---|
707 | L" Unknown"
|
---|
708 | },
|
---|
709 | {
|
---|
710 | 2,
|
---|
711 | L" 64-bit Capable"
|
---|
712 | },
|
---|
713 | {
|
---|
714 | 3,
|
---|
715 | L" Multi-Core"
|
---|
716 | },
|
---|
717 | {
|
---|
718 | 4,
|
---|
719 | L" Hardware Thread"
|
---|
720 | },
|
---|
721 | {
|
---|
722 | 5,
|
---|
723 | L" Execute Protection"
|
---|
724 | },
|
---|
725 | {
|
---|
726 | 6,
|
---|
727 | L" Enhanced Virtualization"
|
---|
728 | },
|
---|
729 | {
|
---|
730 | 7,
|
---|
731 | L" Power/Performance Control"
|
---|
732 | },
|
---|
733 | {
|
---|
734 | 8,
|
---|
735 | L" 128-bit Capable"
|
---|
736 | },
|
---|
737 | {
|
---|
738 | 9,
|
---|
739 | L" ARM64 SoC ID"
|
---|
740 | }
|
---|
741 | };
|
---|
742 |
|
---|
743 | TABLE_ITEM McErrorDetectMethodTable[] = {
|
---|
744 | {
|
---|
745 | 0x01,
|
---|
746 | L"Other"
|
---|
747 | },
|
---|
748 | {
|
---|
749 | 0x02,
|
---|
750 | L"Unknown"
|
---|
751 | },
|
---|
752 | {
|
---|
753 | 0x03,
|
---|
754 | L"None"
|
---|
755 | },
|
---|
756 | {
|
---|
757 | 0x04,
|
---|
758 | L"8-bit Parity"
|
---|
759 | },
|
---|
760 | {
|
---|
761 | 0x05,
|
---|
762 | L"32-bit ECC"
|
---|
763 | },
|
---|
764 | {
|
---|
765 | 0x06,
|
---|
766 | L"64-bit ECC"
|
---|
767 | },
|
---|
768 | {
|
---|
769 | 0x07,
|
---|
770 | L"128-bit ECC"
|
---|
771 | },
|
---|
772 | {
|
---|
773 | 0x08,
|
---|
774 | L"CRC"
|
---|
775 | },
|
---|
776 | };
|
---|
777 |
|
---|
778 | TABLE_ITEM McErrorCorrectCapabilityTable[] = {
|
---|
779 | {
|
---|
780 | 0,
|
---|
781 | L"Other"
|
---|
782 | },
|
---|
783 | {
|
---|
784 | 1,
|
---|
785 | L"Unknown"
|
---|
786 | },
|
---|
787 | {
|
---|
788 | 2,
|
---|
789 | L"None"
|
---|
790 | },
|
---|
791 | {
|
---|
792 | 3,
|
---|
793 | L"Single Bit Error Correcting"
|
---|
794 | },
|
---|
795 | {
|
---|
796 | 4,
|
---|
797 | L"Double Bit Error Correcting"
|
---|
798 | },
|
---|
799 | {
|
---|
800 | 5,
|
---|
801 | L"Error Scrubbing"
|
---|
802 | },
|
---|
803 | };
|
---|
804 |
|
---|
805 | TABLE_ITEM McInterleaveSupportTable[] = {
|
---|
806 | {
|
---|
807 | 0x01,
|
---|
808 | L"Other"
|
---|
809 | },
|
---|
810 | {
|
---|
811 | 0x02,
|
---|
812 | L"Unknown"
|
---|
813 | },
|
---|
814 | {
|
---|
815 | 0x03,
|
---|
816 | L"One Way Interleave"
|
---|
817 | },
|
---|
818 | {
|
---|
819 | 0x04,
|
---|
820 | L"Two Way Interleave"
|
---|
821 | },
|
---|
822 | {
|
---|
823 | 0x05,
|
---|
824 | L"Four Way Interleave"
|
---|
825 | },
|
---|
826 | {
|
---|
827 | 0x06,
|
---|
828 | L"Eight Way Interleave"
|
---|
829 | },
|
---|
830 | {
|
---|
831 | 0x07,
|
---|
832 | L"Sixteen Way Interleave"
|
---|
833 | }
|
---|
834 | };
|
---|
835 |
|
---|
836 | TABLE_ITEM McMemorySpeedsTable[] = {
|
---|
837 | {
|
---|
838 | 0,
|
---|
839 | L" Other"
|
---|
840 | },
|
---|
841 | {
|
---|
842 | 1,
|
---|
843 | L" Unknown"
|
---|
844 | },
|
---|
845 | {
|
---|
846 | 2,
|
---|
847 | L" 70ns"
|
---|
848 | },
|
---|
849 | {
|
---|
850 | 3,
|
---|
851 | L" 60ns"
|
---|
852 | },
|
---|
853 | {
|
---|
854 | 4,
|
---|
855 | L" 50ns"
|
---|
856 | },
|
---|
857 | };
|
---|
858 |
|
---|
859 | TABLE_ITEM MemoryModuleVoltageTable[] = {
|
---|
860 | {
|
---|
861 | 0,
|
---|
862 | L" 5V"
|
---|
863 | },
|
---|
864 | {
|
---|
865 | 1,
|
---|
866 | L" 3.3V"
|
---|
867 | },
|
---|
868 | {
|
---|
869 | 2,
|
---|
870 | L" 2.9V"
|
---|
871 | },
|
---|
872 | };
|
---|
873 |
|
---|
874 | TABLE_ITEM MmMemoryTypeTable[] = {
|
---|
875 | {
|
---|
876 | 0,
|
---|
877 | L" Other"
|
---|
878 | },
|
---|
879 | {
|
---|
880 | 1,
|
---|
881 | L" Unknown"
|
---|
882 | },
|
---|
883 | {
|
---|
884 | 2,
|
---|
885 | L" Standard"
|
---|
886 | },
|
---|
887 | {
|
---|
888 | 3,
|
---|
889 | L" Fast Page Mode"
|
---|
890 | },
|
---|
891 | {
|
---|
892 | 4,
|
---|
893 | L" EDO"
|
---|
894 | },
|
---|
895 | {
|
---|
896 | 5,
|
---|
897 | L" Parity"
|
---|
898 | },
|
---|
899 | {
|
---|
900 | 6,
|
---|
901 | L" ECC "
|
---|
902 | },
|
---|
903 | {
|
---|
904 | 7,
|
---|
905 | L" SIMM"
|
---|
906 | },
|
---|
907 | {
|
---|
908 | 8,
|
---|
909 | L" DIMM"
|
---|
910 | },
|
---|
911 | {
|
---|
912 | 9,
|
---|
913 | L" Burst EDO"
|
---|
914 | },
|
---|
915 | {
|
---|
916 | 10,
|
---|
917 | L" SDRAM"
|
---|
918 | }
|
---|
919 | };
|
---|
920 |
|
---|
921 | TABLE_ITEM MmErrorStatusTable[] = {
|
---|
922 | {
|
---|
923 | 0,
|
---|
924 | L" Uncorrectable errors received"
|
---|
925 | },
|
---|
926 | {
|
---|
927 | 1,
|
---|
928 | L" Correctable errors received"
|
---|
929 | },
|
---|
930 | {
|
---|
931 | 2,
|
---|
932 | L" Error Status obtained from the event log"
|
---|
933 | }
|
---|
934 | };
|
---|
935 |
|
---|
936 | TABLE_ITEM CacheSRAMTypeTable[] = {
|
---|
937 | {
|
---|
938 | 0,
|
---|
939 | L" Other"
|
---|
940 | },
|
---|
941 | {
|
---|
942 | 1,
|
---|
943 | L" Unknown"
|
---|
944 | },
|
---|
945 | {
|
---|
946 | 2,
|
---|
947 | L" Non-Burst"
|
---|
948 | },
|
---|
949 | {
|
---|
950 | 3,
|
---|
951 | L" Burst"
|
---|
952 | },
|
---|
953 | {
|
---|
954 | 4,
|
---|
955 | L" Pipeline Burst"
|
---|
956 | },
|
---|
957 | {
|
---|
958 | 5,
|
---|
959 | L" Synchronous"
|
---|
960 | },
|
---|
961 | {
|
---|
962 | 6,
|
---|
963 | L" Asynchronous"
|
---|
964 | },
|
---|
965 | };
|
---|
966 |
|
---|
967 | TABLE_ITEM CacheErrCorrectingTypeTable[] = {
|
---|
968 | {
|
---|
969 | 0x01,
|
---|
970 | L"Other"
|
---|
971 | },
|
---|
972 | {
|
---|
973 | 0x02,
|
---|
974 | L"Unknown"
|
---|
975 | },
|
---|
976 | {
|
---|
977 | 0x03,
|
---|
978 | L"None"
|
---|
979 | },
|
---|
980 | {
|
---|
981 | 0x04,
|
---|
982 | L"Parity"
|
---|
983 | },
|
---|
984 | {
|
---|
985 | 0x05,
|
---|
986 | L"Single-bit ECC"
|
---|
987 | },
|
---|
988 | {
|
---|
989 | 0x06,
|
---|
990 | L"Multi-bit ECC"
|
---|
991 | }
|
---|
992 | };
|
---|
993 |
|
---|
994 | TABLE_ITEM CacheSystemCacheTypeTable[] = {
|
---|
995 | {
|
---|
996 | 0x01,
|
---|
997 | L"Other"
|
---|
998 | },
|
---|
999 | {
|
---|
1000 | 0x02,
|
---|
1001 | L"Unknown"
|
---|
1002 | },
|
---|
1003 | {
|
---|
1004 | 0x03,
|
---|
1005 | L"Instruction"
|
---|
1006 | },
|
---|
1007 | {
|
---|
1008 | 0x04,
|
---|
1009 | L"Data"
|
---|
1010 | },
|
---|
1011 | {
|
---|
1012 | 0x05,
|
---|
1013 | L"Unified"
|
---|
1014 | }
|
---|
1015 | };
|
---|
1016 |
|
---|
1017 | TABLE_ITEM CacheAssociativityTable[] = {
|
---|
1018 | {
|
---|
1019 | 0x01,
|
---|
1020 | L"Other"
|
---|
1021 | },
|
---|
1022 | {
|
---|
1023 | 0x02,
|
---|
1024 | L"Unknown"
|
---|
1025 | },
|
---|
1026 | {
|
---|
1027 | 0x03,
|
---|
1028 | L"Direct Mapped"
|
---|
1029 | },
|
---|
1030 | {
|
---|
1031 | 0x04,
|
---|
1032 | L"2-way Set-Associative"
|
---|
1033 | },
|
---|
1034 | {
|
---|
1035 | 0x05,
|
---|
1036 | L"4-way Set-Associative"
|
---|
1037 | },
|
---|
1038 | {
|
---|
1039 | 0x06,
|
---|
1040 | L"Fully Associative"
|
---|
1041 | },
|
---|
1042 | {
|
---|
1043 | 0x07,
|
---|
1044 | L"8-way Set-Associative"
|
---|
1045 | },
|
---|
1046 | {
|
---|
1047 | 0x08,
|
---|
1048 | L"16-way Set-Associative"
|
---|
1049 | },
|
---|
1050 | {
|
---|
1051 | 0x09,
|
---|
1052 | L"12-way Set-Associative"
|
---|
1053 | },
|
---|
1054 | {
|
---|
1055 | 0x0A,
|
---|
1056 | L"24-way Set-Associative"
|
---|
1057 | },
|
---|
1058 | {
|
---|
1059 | 0x0B,
|
---|
1060 | L"32-way Set-Associative"
|
---|
1061 | },
|
---|
1062 | {
|
---|
1063 | 0x0C,
|
---|
1064 | L"48-way Set-Associative"
|
---|
1065 | },
|
---|
1066 | {
|
---|
1067 | 0x0D,
|
---|
1068 | L"64-way Set-Associative"
|
---|
1069 | },
|
---|
1070 | {
|
---|
1071 | 0x0E,
|
---|
1072 | L"20-way Set-Associative"
|
---|
1073 | }
|
---|
1074 | };
|
---|
1075 |
|
---|
1076 | TABLE_ITEM PortConnectorTypeTable[] = {
|
---|
1077 | {
|
---|
1078 | 0x00,
|
---|
1079 | L"None"
|
---|
1080 | },
|
---|
1081 | {
|
---|
1082 | 0x01,
|
---|
1083 | L"Centronics"
|
---|
1084 | },
|
---|
1085 | {
|
---|
1086 | 0x02,
|
---|
1087 | L"Mini Centronics"
|
---|
1088 | },
|
---|
1089 | {
|
---|
1090 | 0x03,
|
---|
1091 | L"Proprietary"
|
---|
1092 | },
|
---|
1093 | {
|
---|
1094 | 0x04,
|
---|
1095 | L"DB-25 pin male"
|
---|
1096 | },
|
---|
1097 | {
|
---|
1098 | 0x05,
|
---|
1099 | L"DB-25 pin female"
|
---|
1100 | },
|
---|
1101 | {
|
---|
1102 | 0x06,
|
---|
1103 | L"DB-15 pin male"
|
---|
1104 | },
|
---|
1105 | {
|
---|
1106 | 0x07,
|
---|
1107 | L"DB-15 pin female"
|
---|
1108 | },
|
---|
1109 | {
|
---|
1110 | 0x08,
|
---|
1111 | L"DB-9 pin male"
|
---|
1112 | },
|
---|
1113 | {
|
---|
1114 | 0x09,
|
---|
1115 | L"DB-9 pin female"
|
---|
1116 | },
|
---|
1117 | {
|
---|
1118 | 0x0A,
|
---|
1119 | L"RJ-11"
|
---|
1120 | },
|
---|
1121 | {
|
---|
1122 | 0x0B,
|
---|
1123 | L"RJ-45"
|
---|
1124 | },
|
---|
1125 | {
|
---|
1126 | 0x0C,
|
---|
1127 | L"50 Pin MiniSCSI"
|
---|
1128 | },
|
---|
1129 | {
|
---|
1130 | 0x0D,
|
---|
1131 | L"Mini-DIN"
|
---|
1132 | },
|
---|
1133 | {
|
---|
1134 | 0x0E,
|
---|
1135 | L"Micro-DIN"
|
---|
1136 | },
|
---|
1137 | {
|
---|
1138 | 0x0F,
|
---|
1139 | L"PS/2"
|
---|
1140 | },
|
---|
1141 | {
|
---|
1142 | 0x10,
|
---|
1143 | L"Infrared"
|
---|
1144 | },
|
---|
1145 | {
|
---|
1146 | 0x11,
|
---|
1147 | L"HP-HIL"
|
---|
1148 | },
|
---|
1149 | {
|
---|
1150 | 0x12,
|
---|
1151 | L"Access Bus (USB)"
|
---|
1152 | },
|
---|
1153 | {
|
---|
1154 | 0x13,
|
---|
1155 | L"SSA SCSI"
|
---|
1156 | },
|
---|
1157 | {
|
---|
1158 | 0x14,
|
---|
1159 | L"Circular DIN-8 male"
|
---|
1160 | },
|
---|
1161 | {
|
---|
1162 | 0x15,
|
---|
1163 | L"Circular DIN-8 female"
|
---|
1164 | },
|
---|
1165 | {
|
---|
1166 | 0x16,
|
---|
1167 | L"On Board IDE"
|
---|
1168 | },
|
---|
1169 | {
|
---|
1170 | 0x17,
|
---|
1171 | L"On Board Floppy"
|
---|
1172 | },
|
---|
1173 | {
|
---|
1174 | 0x18,
|
---|
1175 | L"9 Pin Dual Inline (pin 10 cut)"
|
---|
1176 | },
|
---|
1177 | {
|
---|
1178 | 0x19,
|
---|
1179 | L"25 Pin Dual Inline (pin 26 cut)"
|
---|
1180 | },
|
---|
1181 | {
|
---|
1182 | 0x1A,
|
---|
1183 | L"50 Pin Dual Inline"
|
---|
1184 | },
|
---|
1185 | {
|
---|
1186 | 0x1B,
|
---|
1187 | L"68 Pin Dual Inline"
|
---|
1188 | },
|
---|
1189 | {
|
---|
1190 | 0x1C,
|
---|
1191 | L"On Board Sound Input from CD-ROM"
|
---|
1192 | },
|
---|
1193 | {
|
---|
1194 | 0x1D,
|
---|
1195 | L"Mini-Centronics Type-14"
|
---|
1196 | },
|
---|
1197 | {
|
---|
1198 | 0x1E,
|
---|
1199 | L"Mini-Centronics Type-26"
|
---|
1200 | },
|
---|
1201 | {
|
---|
1202 | 0x1F,
|
---|
1203 | L"Mini-jack (headphones)"
|
---|
1204 | },
|
---|
1205 | {
|
---|
1206 | 0x20,
|
---|
1207 | L"BNC"
|
---|
1208 | },
|
---|
1209 | {
|
---|
1210 | 0x21,
|
---|
1211 | L"1394"
|
---|
1212 | },
|
---|
1213 | {
|
---|
1214 | 0x22,
|
---|
1215 | L"SAS/SATA Plug Receptacle"
|
---|
1216 | },
|
---|
1217 | {
|
---|
1218 | 0x23,
|
---|
1219 | L"USB Type-C Receptacle"
|
---|
1220 | },
|
---|
1221 | {
|
---|
1222 | 0xA0,
|
---|
1223 | L"PC-98"
|
---|
1224 | },
|
---|
1225 | {
|
---|
1226 | 0xA1,
|
---|
1227 | L"PC-98Hireso"
|
---|
1228 | },
|
---|
1229 | {
|
---|
1230 | 0xA2,
|
---|
1231 | L"PC-H98"
|
---|
1232 | },
|
---|
1233 | {
|
---|
1234 | 0xA3,
|
---|
1235 | L"PC-98Note"
|
---|
1236 | },
|
---|
1237 | {
|
---|
1238 | 0xA4,
|
---|
1239 | L"PC-98Full"
|
---|
1240 | },
|
---|
1241 | {
|
---|
1242 | 0xFF,
|
---|
1243 | L"Other"
|
---|
1244 | },
|
---|
1245 | };
|
---|
1246 |
|
---|
1247 | TABLE_ITEM PortTypeTable[] = {
|
---|
1248 | {
|
---|
1249 | 0x00,
|
---|
1250 | L"None"
|
---|
1251 | },
|
---|
1252 | {
|
---|
1253 | 0x01,
|
---|
1254 | L"Parallel Port XT/AT Compatible"
|
---|
1255 | },
|
---|
1256 | {
|
---|
1257 | 0x02,
|
---|
1258 | L"Parallel Port PS/2"
|
---|
1259 | },
|
---|
1260 | {
|
---|
1261 | 0x03,
|
---|
1262 | L"Parallel Port ECP"
|
---|
1263 | },
|
---|
1264 | {
|
---|
1265 | 0x04,
|
---|
1266 | L"Parallel Port EPP"
|
---|
1267 | },
|
---|
1268 | {
|
---|
1269 | 0x05,
|
---|
1270 | L"Parallel Port ECP/EPP"
|
---|
1271 | },
|
---|
1272 | {
|
---|
1273 | 0x06,
|
---|
1274 | L"Serial Port XT/AT Compatible"
|
---|
1275 | },
|
---|
1276 | {
|
---|
1277 | 0x07,
|
---|
1278 | L"Serial Port 16450 Compatible"
|
---|
1279 | },
|
---|
1280 | {
|
---|
1281 | 0x08,
|
---|
1282 | L"Serial Port 16550 Compatible"
|
---|
1283 | },
|
---|
1284 | {
|
---|
1285 | 0x09,
|
---|
1286 | L"Serial Port 16550A Compatible"
|
---|
1287 | },
|
---|
1288 | {
|
---|
1289 | 0x0A,
|
---|
1290 | L"SCSI Port"
|
---|
1291 | },
|
---|
1292 | {
|
---|
1293 | 0x0B,
|
---|
1294 | L"MIDI Port"
|
---|
1295 | },
|
---|
1296 | {
|
---|
1297 | 0x0C,
|
---|
1298 | L"Joy Stick Port"
|
---|
1299 | },
|
---|
1300 | {
|
---|
1301 | 0x0D,
|
---|
1302 | L"Keyboard Port"
|
---|
1303 | },
|
---|
1304 | {
|
---|
1305 | 0x0E,
|
---|
1306 | L"Mouse Port"
|
---|
1307 | },
|
---|
1308 | {
|
---|
1309 | 0x0F,
|
---|
1310 | L"SSA SCSI"
|
---|
1311 | },
|
---|
1312 | {
|
---|
1313 | 0x10,
|
---|
1314 | L"USB"
|
---|
1315 | },
|
---|
1316 | {
|
---|
1317 | 0x11,
|
---|
1318 | L"FireWire (IEEE P1394)"
|
---|
1319 | },
|
---|
1320 | {
|
---|
1321 | 0x12,
|
---|
1322 | L"PCMCIA Type II"
|
---|
1323 | },
|
---|
1324 | {
|
---|
1325 | 0x13,
|
---|
1326 | L"PCMCIA Type II"
|
---|
1327 | },
|
---|
1328 | {
|
---|
1329 | 0x14,
|
---|
1330 | L"PCMCIA Type III"
|
---|
1331 | },
|
---|
1332 | {
|
---|
1333 | 0x15,
|
---|
1334 | L"Cardbus"
|
---|
1335 | },
|
---|
1336 | {
|
---|
1337 | 0x16,
|
---|
1338 | L"Access Bus Port"
|
---|
1339 | },
|
---|
1340 | {
|
---|
1341 | 0x17,
|
---|
1342 | L"SCSI II"
|
---|
1343 | },
|
---|
1344 | {
|
---|
1345 | 0x18,
|
---|
1346 | L"SCSI Wide"
|
---|
1347 | },
|
---|
1348 | {
|
---|
1349 | 0x19,
|
---|
1350 | L"PC-98"
|
---|
1351 | },
|
---|
1352 | {
|
---|
1353 | 0x1A,
|
---|
1354 | L"PC-98-Hireso"
|
---|
1355 | },
|
---|
1356 | {
|
---|
1357 | 0x1B,
|
---|
1358 | L"PC-H98"
|
---|
1359 | },
|
---|
1360 | {
|
---|
1361 | 0x1C,
|
---|
1362 | L"Video Port"
|
---|
1363 | },
|
---|
1364 | {
|
---|
1365 | 0x1D,
|
---|
1366 | L"Audio Port"
|
---|
1367 | },
|
---|
1368 | {
|
---|
1369 | 0x1E,
|
---|
1370 | L"Modem Port"
|
---|
1371 | },
|
---|
1372 | {
|
---|
1373 | 0x1F,
|
---|
1374 | L"Network Port"
|
---|
1375 | },
|
---|
1376 | {
|
---|
1377 | 0x20,
|
---|
1378 | L"SATA Port"
|
---|
1379 | },
|
---|
1380 | {
|
---|
1381 | 0x21,
|
---|
1382 | L"SAS Port"
|
---|
1383 | },
|
---|
1384 | {
|
---|
1385 | 0x22,
|
---|
1386 | L"Multi-Function Display Port (MFDP)"
|
---|
1387 | },
|
---|
1388 | {
|
---|
1389 | 0x23,
|
---|
1390 | L"Thunderbolt"
|
---|
1391 | },
|
---|
1392 | {
|
---|
1393 | 0xA0,
|
---|
1394 | L"8251 Compatible"
|
---|
1395 | },
|
---|
1396 | {
|
---|
1397 | 0xA1,
|
---|
1398 | L"8251 FIFO Compatible"
|
---|
1399 | },
|
---|
1400 | {
|
---|
1401 | 0xFF,
|
---|
1402 | L"Other "
|
---|
1403 | },
|
---|
1404 | };
|
---|
1405 |
|
---|
1406 | TABLE_ITEM SystemSlotTypeTable[] = {
|
---|
1407 | {
|
---|
1408 | 0x01,
|
---|
1409 | L"Other"
|
---|
1410 | },
|
---|
1411 | {
|
---|
1412 | 0x02,
|
---|
1413 | L"Unknown"
|
---|
1414 | },
|
---|
1415 | {
|
---|
1416 | 0x03,
|
---|
1417 | L"ISA"
|
---|
1418 | },
|
---|
1419 | {
|
---|
1420 | 0x04,
|
---|
1421 | L"MCA"
|
---|
1422 | },
|
---|
1423 | {
|
---|
1424 | 0x05,
|
---|
1425 | L"EISA"
|
---|
1426 | },
|
---|
1427 | {
|
---|
1428 | 0x06,
|
---|
1429 | L"PCI"
|
---|
1430 | },
|
---|
1431 | {
|
---|
1432 | 0x07,
|
---|
1433 | L"PC Card (PCMCIA)"
|
---|
1434 | },
|
---|
1435 | {
|
---|
1436 | 0x08,
|
---|
1437 | L"VL-VESA"
|
---|
1438 | },
|
---|
1439 | {
|
---|
1440 | 0x09,
|
---|
1441 | L"Proprietary"
|
---|
1442 | },
|
---|
1443 | {
|
---|
1444 | 0x0A,
|
---|
1445 | L"Processor Card Slot"
|
---|
1446 | },
|
---|
1447 | {
|
---|
1448 | 0x0B,
|
---|
1449 | L"Proprietary Memory Card Slot"
|
---|
1450 | },
|
---|
1451 | {
|
---|
1452 | 0x0C,
|
---|
1453 | L"I/O Riser Card Slot"
|
---|
1454 | },
|
---|
1455 | {
|
---|
1456 | 0x0D,
|
---|
1457 | L"NuBus"
|
---|
1458 | },
|
---|
1459 | {
|
---|
1460 | 0x0E,
|
---|
1461 | L"PCI - 66MHz Capable"
|
---|
1462 | },
|
---|
1463 | {
|
---|
1464 | 0x0F,
|
---|
1465 | L"AGP"
|
---|
1466 | },
|
---|
1467 | {
|
---|
1468 | 0x10,
|
---|
1469 | L"AGP 2X"
|
---|
1470 | },
|
---|
1471 | {
|
---|
1472 | 0x11,
|
---|
1473 | L"AGP 4X"
|
---|
1474 | },
|
---|
1475 | {
|
---|
1476 | 0x12,
|
---|
1477 | L"PCI-X"
|
---|
1478 | },
|
---|
1479 | {
|
---|
1480 | 0x13,
|
---|
1481 | L"AGP 8X"
|
---|
1482 | },
|
---|
1483 | {
|
---|
1484 | 0x14,
|
---|
1485 | L"M.2 Socket 1-DP (Mechanical Key A)"
|
---|
1486 | },
|
---|
1487 | {
|
---|
1488 | 0x15,
|
---|
1489 | L"M.2 Socket 1-SD (Mechanical Key E)"
|
---|
1490 | },
|
---|
1491 | {
|
---|
1492 | 0x16,
|
---|
1493 | L"M.2 Socket 2 (Mechanical Key B)"
|
---|
1494 | },
|
---|
1495 | {
|
---|
1496 | 0x17,
|
---|
1497 | L"M.2 Socket 3 (Mechanical Key M)"
|
---|
1498 | },
|
---|
1499 | {
|
---|
1500 | 0x18,
|
---|
1501 | L"MXM Type I"
|
---|
1502 | },
|
---|
1503 | {
|
---|
1504 | 0x19,
|
---|
1505 | L"MXM Type II"
|
---|
1506 | },
|
---|
1507 | {
|
---|
1508 | 0x1A,
|
---|
1509 | L"MXM Type III (standard connector)"
|
---|
1510 | },
|
---|
1511 | {
|
---|
1512 | 0x1B,
|
---|
1513 | L"MXM Type III (HE connector)"
|
---|
1514 | },
|
---|
1515 | {
|
---|
1516 | 0x1C,
|
---|
1517 | L"MXM Type IV"
|
---|
1518 | },
|
---|
1519 | {
|
---|
1520 | 0x1D,
|
---|
1521 | L"MXM 3.0 Type A"
|
---|
1522 | },
|
---|
1523 | {
|
---|
1524 | 0x1E,
|
---|
1525 | L"MXM 3.0 Type B"
|
---|
1526 | },
|
---|
1527 | {
|
---|
1528 | 0x1F,
|
---|
1529 | L"PCI Express Gen 2 SFF-8639"
|
---|
1530 | },
|
---|
1531 | {
|
---|
1532 | 0x20,
|
---|
1533 | L"PCI Express Gen 3 SFF-8639"
|
---|
1534 | },
|
---|
1535 | {
|
---|
1536 | 0x21,
|
---|
1537 | L"PCI Express Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs"
|
---|
1538 | },
|
---|
1539 | {
|
---|
1540 | 0x22,
|
---|
1541 | L"PCI Express Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs"
|
---|
1542 | },
|
---|
1543 | {
|
---|
1544 | 0x23,
|
---|
1545 | L"PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card"
|
---|
1546 | },
|
---|
1547 | {
|
---|
1548 | 0x24,
|
---|
1549 | L"PCI Express Gen 4 SFF-8639 (U.2)"
|
---|
1550 | },
|
---|
1551 | {
|
---|
1552 | 0x25,
|
---|
1553 | L"PCI Express Gen 5 SFF-8639 (U.2)"
|
---|
1554 | },
|
---|
1555 | {
|
---|
1556 | 0x26,
|
---|
1557 | L"OCP NIC 3.0 Small Form Factor (SFF)"
|
---|
1558 | },
|
---|
1559 | {
|
---|
1560 | 0x27,
|
---|
1561 | L"OCP NIC 3.0 Large Form Factor (LFF)"
|
---|
1562 | },
|
---|
1563 | {
|
---|
1564 | 0x28,
|
---|
1565 | L"OCP NIC Prior to 3.0"
|
---|
1566 | },
|
---|
1567 | {
|
---|
1568 | SlotTypeCXLFlexbus10,
|
---|
1569 | L"CXL Flexbus 1.0"
|
---|
1570 | },
|
---|
1571 | {
|
---|
1572 | 0xA0,
|
---|
1573 | L"PC-98/C20 "
|
---|
1574 | },
|
---|
1575 | {
|
---|
1576 | 0xA1,
|
---|
1577 | L"PC-98/C24 "
|
---|
1578 | },
|
---|
1579 | {
|
---|
1580 | 0xA2,
|
---|
1581 | L"PC-98/E "
|
---|
1582 | },
|
---|
1583 | {
|
---|
1584 | 0xA3,
|
---|
1585 | L"PC-98/Local Bus "
|
---|
1586 | },
|
---|
1587 | {
|
---|
1588 | 0xA4,
|
---|
1589 | L"PC-98/Card "
|
---|
1590 | },
|
---|
1591 | {
|
---|
1592 | 0xA5,
|
---|
1593 | L"PCI Express "
|
---|
1594 | },
|
---|
1595 | {
|
---|
1596 | 0xA6,
|
---|
1597 | L"PCI Express X1"
|
---|
1598 | },
|
---|
1599 | {
|
---|
1600 | 0xA7,
|
---|
1601 | L"PCI Express X2"
|
---|
1602 | },
|
---|
1603 | {
|
---|
1604 | 0xA8,
|
---|
1605 | L"PCI Express X4"
|
---|
1606 | },
|
---|
1607 | {
|
---|
1608 | 0xA9,
|
---|
1609 | L"PCI Express X8"
|
---|
1610 | },
|
---|
1611 | {
|
---|
1612 | 0xAA,
|
---|
1613 | L"PCI Express X16"
|
---|
1614 | },
|
---|
1615 | {
|
---|
1616 | 0xAB,
|
---|
1617 | L"PCI Express Gen 2"
|
---|
1618 | },
|
---|
1619 | {
|
---|
1620 | 0xAC,
|
---|
1621 | L"PCI Express Gen 2 X1"
|
---|
1622 | },
|
---|
1623 | {
|
---|
1624 | 0xAD,
|
---|
1625 | L"PCI Express Gen 2 X2"
|
---|
1626 | },
|
---|
1627 | {
|
---|
1628 | 0xAE,
|
---|
1629 | L"PCI Express Gen 2 X4"
|
---|
1630 | },
|
---|
1631 | {
|
---|
1632 | 0xAF,
|
---|
1633 | L"PCI Express Gen 2 X8"
|
---|
1634 | },
|
---|
1635 | {
|
---|
1636 | 0xB0,
|
---|
1637 | L"PCI Express Gen 2 X16"
|
---|
1638 | },
|
---|
1639 | {
|
---|
1640 | 0xB1,
|
---|
1641 | L"PCI Express Gen 3"
|
---|
1642 | },
|
---|
1643 | {
|
---|
1644 | 0xB2,
|
---|
1645 | L"PCI Express Gen 3 X1"
|
---|
1646 | },
|
---|
1647 | {
|
---|
1648 | 0xB3,
|
---|
1649 | L"PCI Express Gen 3 X2"
|
---|
1650 | },
|
---|
1651 | {
|
---|
1652 | 0xB4,
|
---|
1653 | L"PCI Express Gen 3 X4"
|
---|
1654 | },
|
---|
1655 | {
|
---|
1656 | 0xB5,
|
---|
1657 | L"PCI Express Gen 3 X8"
|
---|
1658 | },
|
---|
1659 | {
|
---|
1660 | 0xB6,
|
---|
1661 | L"PCI Express Gen 3 X16"
|
---|
1662 | },
|
---|
1663 | {
|
---|
1664 | SlotTypePciExpressGen4,
|
---|
1665 | L"PCI Express Gen 4"
|
---|
1666 | },
|
---|
1667 | {
|
---|
1668 | SlotTypePciExpressGen4X1,
|
---|
1669 | L"PCI Express Gen 4 X1"
|
---|
1670 | },
|
---|
1671 | {
|
---|
1672 | SlotTypePciExpressGen4X2,
|
---|
1673 | L"PCI Express Gen 4 X2"
|
---|
1674 | },
|
---|
1675 | {
|
---|
1676 | SlotTypePciExpressGen4X4,
|
---|
1677 | L"PCI Express Gen 4 X4"
|
---|
1678 | },
|
---|
1679 | {
|
---|
1680 | SlotTypePciExpressGen4X8,
|
---|
1681 | L"PCI Express Gen 4 X8"
|
---|
1682 | },
|
---|
1683 | {
|
---|
1684 | SlotTypePciExpressGen4X16,
|
---|
1685 | L"PCI Express Gen 4 X16"
|
---|
1686 | },
|
---|
1687 | {
|
---|
1688 | SlotTypePCIExpressGen5,
|
---|
1689 | L"PCI Express Gen 5"
|
---|
1690 | },
|
---|
1691 | {
|
---|
1692 | SlotTypePCIExpressGen5X1,
|
---|
1693 | L"PCI Express Gen 5 x1"
|
---|
1694 | },
|
---|
1695 | {
|
---|
1696 | SlotTypePCIExpressGen5X2,
|
---|
1697 | L"PCI Express Gen 5 x2"
|
---|
1698 | },
|
---|
1699 | {
|
---|
1700 | SlotTypePCIExpressGen5X4,
|
---|
1701 | L"PCI Express Gen 5 x4"
|
---|
1702 | },
|
---|
1703 | {
|
---|
1704 | SlotTypePCIExpressGen5X8,
|
---|
1705 | L"PCI Express Gen 5 x8"
|
---|
1706 | },
|
---|
1707 | {
|
---|
1708 | SlotTypePCIExpressGen5X16,
|
---|
1709 | L"PCI Express Gen 5 x16"
|
---|
1710 | },
|
---|
1711 | {
|
---|
1712 | SlotTypePCIExpressGen6andBeyond,
|
---|
1713 | L"PCI Express Gen 6 and Beyond"
|
---|
1714 | },
|
---|
1715 | {
|
---|
1716 | SlotTypeEnterpriseandDatacenter1UE1FormFactorSlot,
|
---|
1717 | L"Enterprise and Datacenter 1U E1 Form Factor Slot"
|
---|
1718 | },
|
---|
1719 | {
|
---|
1720 | SlotTypeEnterpriseandDatacenter3E3FormFactorSlot,
|
---|
1721 | L"Enterprise and Datacenter 3'E3 Form Factor Slot"
|
---|
1722 | }
|
---|
1723 | };
|
---|
1724 |
|
---|
1725 | TABLE_ITEM SystemSlotDataBusWidthTable[] = {
|
---|
1726 | {
|
---|
1727 | 0x01,
|
---|
1728 | L" Other"
|
---|
1729 | },
|
---|
1730 | {
|
---|
1731 | 0x02,
|
---|
1732 | L" Unknown"
|
---|
1733 | },
|
---|
1734 | {
|
---|
1735 | 0x03,
|
---|
1736 | L" 8 bit"
|
---|
1737 | },
|
---|
1738 | {
|
---|
1739 | 0x04,
|
---|
1740 | L" 16 bit"
|
---|
1741 | },
|
---|
1742 | {
|
---|
1743 | 0x05,
|
---|
1744 | L" 32 bit"
|
---|
1745 | },
|
---|
1746 | {
|
---|
1747 | 0x06,
|
---|
1748 | L" 64 bit"
|
---|
1749 | },
|
---|
1750 | {
|
---|
1751 | 0x07,
|
---|
1752 | L" 128 bit"
|
---|
1753 | },
|
---|
1754 | {
|
---|
1755 | 0x08,
|
---|
1756 | L" 1x or x1"
|
---|
1757 | },
|
---|
1758 | {
|
---|
1759 | 0x09,
|
---|
1760 | L" 2x or x2"
|
---|
1761 | },
|
---|
1762 | {
|
---|
1763 | 0x0A,
|
---|
1764 | L" 4x or x4"
|
---|
1765 | },
|
---|
1766 | {
|
---|
1767 | 0x0B,
|
---|
1768 | L" 8x or x8"
|
---|
1769 | },
|
---|
1770 | {
|
---|
1771 | 0x0C,
|
---|
1772 | L" 12x or x12"
|
---|
1773 | },
|
---|
1774 | {
|
---|
1775 | 0x0D,
|
---|
1776 | L" 16x or x16"
|
---|
1777 | },
|
---|
1778 | {
|
---|
1779 | 0x0E,
|
---|
1780 | L" 32x or x32"
|
---|
1781 | }
|
---|
1782 | };
|
---|
1783 |
|
---|
1784 | TABLE_ITEM SystemSlotPhysicalWidthTable[] = {
|
---|
1785 | {
|
---|
1786 | 0x01,
|
---|
1787 | L" Other"
|
---|
1788 | },
|
---|
1789 | {
|
---|
1790 | 0x02,
|
---|
1791 | L" Unknown"
|
---|
1792 | },
|
---|
1793 | {
|
---|
1794 | 0x03,
|
---|
1795 | L" 8 bit"
|
---|
1796 | },
|
---|
1797 | {
|
---|
1798 | 0x04,
|
---|
1799 | L" 16 bit"
|
---|
1800 | },
|
---|
1801 | {
|
---|
1802 | 0x05,
|
---|
1803 | L" 32 bit"
|
---|
1804 | },
|
---|
1805 | {
|
---|
1806 | 0x06,
|
---|
1807 | L" 64 bit"
|
---|
1808 | },
|
---|
1809 | {
|
---|
1810 | 0x07,
|
---|
1811 | L" 128 bit"
|
---|
1812 | },
|
---|
1813 | {
|
---|
1814 | 0x08,
|
---|
1815 | L" 1x or x1"
|
---|
1816 | },
|
---|
1817 | {
|
---|
1818 | 0x09,
|
---|
1819 | L" 2x or x2"
|
---|
1820 | },
|
---|
1821 | {
|
---|
1822 | 0x0A,
|
---|
1823 | L" 4x or x4"
|
---|
1824 | },
|
---|
1825 | {
|
---|
1826 | 0x0B,
|
---|
1827 | L" 8x or x8"
|
---|
1828 | },
|
---|
1829 | {
|
---|
1830 | 0x0C,
|
---|
1831 | L" 12x or x12"
|
---|
1832 | },
|
---|
1833 | {
|
---|
1834 | 0x0D,
|
---|
1835 | L" 16x or x16"
|
---|
1836 | },
|
---|
1837 | {
|
---|
1838 | 0x0E,
|
---|
1839 | L" 32x or x32"
|
---|
1840 | }
|
---|
1841 | };
|
---|
1842 |
|
---|
1843 | TABLE_ITEM SystemSlotInformationTable[] = {
|
---|
1844 | {
|
---|
1845 | 0x00,
|
---|
1846 | L" Others"
|
---|
1847 | },
|
---|
1848 | {
|
---|
1849 | 0x01,
|
---|
1850 | L" Gen 1"
|
---|
1851 | },
|
---|
1852 | {
|
---|
1853 | 0x02,
|
---|
1854 | L" Gen 2"
|
---|
1855 | },
|
---|
1856 | {
|
---|
1857 | 0x03,
|
---|
1858 | L" Gen 3"
|
---|
1859 | },
|
---|
1860 | {
|
---|
1861 | 0x04,
|
---|
1862 | L" Gen 4"
|
---|
1863 | },
|
---|
1864 | {
|
---|
1865 | 0x05,
|
---|
1866 | L" Gen 5"
|
---|
1867 | },
|
---|
1868 | {
|
---|
1869 | 0x06,
|
---|
1870 | L" Gen 6"
|
---|
1871 | }
|
---|
1872 | };
|
---|
1873 |
|
---|
1874 | TABLE_ITEM SystemSlotCurrentUsageTable[] = {
|
---|
1875 | {
|
---|
1876 | 0x01,
|
---|
1877 | L" Other"
|
---|
1878 | },
|
---|
1879 | {
|
---|
1880 | 0x02,
|
---|
1881 | L" Unknown"
|
---|
1882 | },
|
---|
1883 | {
|
---|
1884 | 0x03,
|
---|
1885 | L" Available"
|
---|
1886 | },
|
---|
1887 | {
|
---|
1888 | 0x04,
|
---|
1889 | L" In use"
|
---|
1890 | },
|
---|
1891 | {
|
---|
1892 | 0x05,
|
---|
1893 | L" Unavailable"
|
---|
1894 | }
|
---|
1895 | };
|
---|
1896 |
|
---|
1897 | TABLE_ITEM SystemSlotLengthTable[] = {
|
---|
1898 | {
|
---|
1899 | 0x01,
|
---|
1900 | L" Other"
|
---|
1901 | },
|
---|
1902 | {
|
---|
1903 | 0x02,
|
---|
1904 | L" Unknown"
|
---|
1905 | },
|
---|
1906 | {
|
---|
1907 | 0x03,
|
---|
1908 | L" Short length"
|
---|
1909 | },
|
---|
1910 | {
|
---|
1911 | 0x04,
|
---|
1912 | L" Long Length"
|
---|
1913 | },
|
---|
1914 | };
|
---|
1915 |
|
---|
1916 | TABLE_ITEM SystemSlotHeightTable[] = {
|
---|
1917 | {
|
---|
1918 | 0x00,
|
---|
1919 | L" Not applicable"
|
---|
1920 | },
|
---|
1921 | {
|
---|
1922 | 0x01,
|
---|
1923 | L" Other"
|
---|
1924 | },
|
---|
1925 | {
|
---|
1926 | 0x02,
|
---|
1927 | L" Unknown"
|
---|
1928 | },
|
---|
1929 | {
|
---|
1930 | 0x03,
|
---|
1931 | L" Full height"
|
---|
1932 | },
|
---|
1933 | {
|
---|
1934 | 0x04,
|
---|
1935 | L" Low-Profile"
|
---|
1936 | },
|
---|
1937 | };
|
---|
1938 |
|
---|
1939 | TABLE_ITEM SlotCharacteristics1Table[] = {
|
---|
1940 | {
|
---|
1941 | 0,
|
---|
1942 | L" Characteristics Unknown"
|
---|
1943 | },
|
---|
1944 | {
|
---|
1945 | 1,
|
---|
1946 | L" Provides 5.0 Volts"
|
---|
1947 | },
|
---|
1948 | {
|
---|
1949 | 2,
|
---|
1950 | L" Provides 3.3 Volts"
|
---|
1951 | },
|
---|
1952 | {
|
---|
1953 | 3,
|
---|
1954 | L" Slot's opening is shared with another slot, e.g. PCI/EISA shared slot."
|
---|
1955 | },
|
---|
1956 |
|
---|
1957 | {
|
---|
1958 | 4,
|
---|
1959 | L" PC Card slot supports PC Card-16"
|
---|
1960 | },
|
---|
1961 | {
|
---|
1962 | 5,
|
---|
1963 | L" PC Card slot supports CardBus"
|
---|
1964 | },
|
---|
1965 | {
|
---|
1966 | 6,
|
---|
1967 | L" PC Card slot supports Zoom Video "
|
---|
1968 | },
|
---|
1969 | {
|
---|
1970 | 7,
|
---|
1971 | L" PC Card slot supports Modem Ring Resume "
|
---|
1972 | }
|
---|
1973 | };
|
---|
1974 |
|
---|
1975 | TABLE_ITEM SlotCharacteristics2Table[] = {
|
---|
1976 | {
|
---|
1977 | 0,
|
---|
1978 | L" PCI slot supports Power Management Enable (PME#) signal"
|
---|
1979 | },
|
---|
1980 | {
|
---|
1981 | 1,
|
---|
1982 | L" Slot supports hot-plug devices"
|
---|
1983 | },
|
---|
1984 | {
|
---|
1985 | 2,
|
---|
1986 | L" PCI slot supports SMBus signal"
|
---|
1987 | },
|
---|
1988 | {
|
---|
1989 | 3,
|
---|
1990 | L" PCIe slot supports bifurcation"
|
---|
1991 | },
|
---|
1992 | {
|
---|
1993 | 4,
|
---|
1994 | L" Slot supports async/surprise removal"
|
---|
1995 | },
|
---|
1996 | {
|
---|
1997 | 5,
|
---|
1998 | L" Flexbus slot, CXL 1.0 capable"
|
---|
1999 | },
|
---|
2000 | {
|
---|
2001 | 6,
|
---|
2002 | L" Flexbus slot, CXL 2.0 capable"
|
---|
2003 | },
|
---|
2004 | {
|
---|
2005 | 7,
|
---|
2006 | L" Reserved"
|
---|
2007 | }
|
---|
2008 | };
|
---|
2009 |
|
---|
2010 | TABLE_ITEM OnboardDeviceTypesTable[] = {
|
---|
2011 | {
|
---|
2012 | 0x01,
|
---|
2013 | L" Other"
|
---|
2014 | },
|
---|
2015 | {
|
---|
2016 | 0x02,
|
---|
2017 | L" Unknown"
|
---|
2018 | },
|
---|
2019 | {
|
---|
2020 | 0x03,
|
---|
2021 | L" Video"
|
---|
2022 | },
|
---|
2023 | {
|
---|
2024 | 0x04,
|
---|
2025 | L" SCSI Controller"
|
---|
2026 | },
|
---|
2027 | {
|
---|
2028 | 0x05,
|
---|
2029 | L" Ethernet"
|
---|
2030 | },
|
---|
2031 | {
|
---|
2032 | 0x06,
|
---|
2033 | L" Token Ring"
|
---|
2034 | },
|
---|
2035 | {
|
---|
2036 | 0x07,
|
---|
2037 | L" Sound"
|
---|
2038 | },
|
---|
2039 | {
|
---|
2040 | 0x08,
|
---|
2041 | L" Pata Controller"
|
---|
2042 | },
|
---|
2043 | {
|
---|
2044 | 0x09,
|
---|
2045 | L" Sata Controller"
|
---|
2046 | },
|
---|
2047 | {
|
---|
2048 | 0x0A,
|
---|
2049 | L" Sas Controller"
|
---|
2050 | },
|
---|
2051 | {
|
---|
2052 | 0x0B,
|
---|
2053 | L" Wireless LAN"
|
---|
2054 | },
|
---|
2055 | {
|
---|
2056 | 0x0C,
|
---|
2057 | L" Bluetooth"
|
---|
2058 | },
|
---|
2059 | {
|
---|
2060 | 0x0D,
|
---|
2061 | L" WWAN"
|
---|
2062 | },
|
---|
2063 | {
|
---|
2064 | 0x0E,
|
---|
2065 | L" embedded Multi-Media Controller"
|
---|
2066 | },
|
---|
2067 | {
|
---|
2068 | 0x0F,
|
---|
2069 | L" NVMe Controller"
|
---|
2070 | },
|
---|
2071 | {
|
---|
2072 | 0x10,
|
---|
2073 | L" UFS Controller"
|
---|
2074 | }
|
---|
2075 | };
|
---|
2076 |
|
---|
2077 | TABLE_ITEM SELTypesTable[] = {
|
---|
2078 | {
|
---|
2079 | 0x00,
|
---|
2080 | L" Reserved."
|
---|
2081 | },
|
---|
2082 | {
|
---|
2083 | 0x01,
|
---|
2084 | L" Single-bit ECC memory error"
|
---|
2085 | },
|
---|
2086 | {
|
---|
2087 | 0x02,
|
---|
2088 | L" Multi-bit ECC memory error"
|
---|
2089 | },
|
---|
2090 | {
|
---|
2091 | 0x03,
|
---|
2092 | L" Parity memory error"
|
---|
2093 | },
|
---|
2094 | {
|
---|
2095 | 0x04,
|
---|
2096 | L" Bus time-out"
|
---|
2097 | },
|
---|
2098 | {
|
---|
2099 | 0x05,
|
---|
2100 | L" I/O Channel Check"
|
---|
2101 | },
|
---|
2102 | {
|
---|
2103 | 0x06,
|
---|
2104 | L" Software NMI"
|
---|
2105 | },
|
---|
2106 | {
|
---|
2107 | 0x07,
|
---|
2108 | L" POST Memory Resize"
|
---|
2109 | },
|
---|
2110 | {
|
---|
2111 | 0x08,
|
---|
2112 | L" POST Error"
|
---|
2113 | },
|
---|
2114 | {
|
---|
2115 | 0x09,
|
---|
2116 | L" PCI Parity Error"
|
---|
2117 | },
|
---|
2118 | {
|
---|
2119 | 0x0A,
|
---|
2120 | L" PCI System Error"
|
---|
2121 | },
|
---|
2122 | {
|
---|
2123 | 0x0B,
|
---|
2124 | L" CPU Failure"
|
---|
2125 | },
|
---|
2126 | {
|
---|
2127 | 0x0C,
|
---|
2128 | L" EISA FailSafe Timer time-out"
|
---|
2129 | },
|
---|
2130 | {
|
---|
2131 | 0x0D,
|
---|
2132 | L" Correctable memory log disabled"
|
---|
2133 | },
|
---|
2134 | {
|
---|
2135 | 0x0E,
|
---|
2136 | L" Logging disabled for a specific Event Type"
|
---|
2137 | },
|
---|
2138 | {
|
---|
2139 | 0x0F,
|
---|
2140 | L" Reserved"
|
---|
2141 | },
|
---|
2142 | {
|
---|
2143 | 0x10,
|
---|
2144 | L" System Limit Exceeded"
|
---|
2145 | },
|
---|
2146 | {
|
---|
2147 | 0x11,
|
---|
2148 | L" Asynchronous hardware timer expired and issued a system reset"
|
---|
2149 | },
|
---|
2150 | {
|
---|
2151 | 0x12,
|
---|
2152 | L" System configuration information"
|
---|
2153 | },
|
---|
2154 | {
|
---|
2155 | 0x13,
|
---|
2156 | L" Hard-disk information"
|
---|
2157 | },
|
---|
2158 | {
|
---|
2159 | 0x14,
|
---|
2160 | L" System reconfigured"
|
---|
2161 | },
|
---|
2162 | {
|
---|
2163 | 0x15,
|
---|
2164 | L" Uncorrectable CPU-complex error"
|
---|
2165 | },
|
---|
2166 | {
|
---|
2167 | 0x16,
|
---|
2168 | L" Log Area Reset/Cleared"
|
---|
2169 | },
|
---|
2170 | {
|
---|
2171 | 0x17,
|
---|
2172 | L" System boot"
|
---|
2173 | },
|
---|
2174 | {
|
---|
2175 | 0x7F18,
|
---|
2176 | L" Unused by SMBIOS specification"
|
---|
2177 | },
|
---|
2178 | {
|
---|
2179 | 0xFE80,
|
---|
2180 | L" System and OEM specified"
|
---|
2181 | },
|
---|
2182 | {
|
---|
2183 | 0xFF,
|
---|
2184 | L" End-of-log"
|
---|
2185 | },
|
---|
2186 | };
|
---|
2187 |
|
---|
2188 | TABLE_ITEM SELVarDataFormatTypeTable[] = {
|
---|
2189 | {
|
---|
2190 | 0x00,
|
---|
2191 | L" None "
|
---|
2192 | },
|
---|
2193 | {
|
---|
2194 | 0x01,
|
---|
2195 | L" Handle "
|
---|
2196 | },
|
---|
2197 | {
|
---|
2198 | 0x02,
|
---|
2199 | L" Multiple-Event "
|
---|
2200 | },
|
---|
2201 | {
|
---|
2202 | 0x03,
|
---|
2203 | L" Multiple-Event Handle "
|
---|
2204 | },
|
---|
2205 | {
|
---|
2206 | 0x04,
|
---|
2207 | L" POST Results Bitmap "
|
---|
2208 | },
|
---|
2209 | //
|
---|
2210 | // Defined below
|
---|
2211 | //
|
---|
2212 | {
|
---|
2213 | 0x05,
|
---|
2214 | L" System Management Type"
|
---|
2215 | },
|
---|
2216 | //
|
---|
2217 | // Defined below
|
---|
2218 | //
|
---|
2219 | {
|
---|
2220 | 0x06,
|
---|
2221 | L" Multiple-Event System Management Type "
|
---|
2222 | },
|
---|
2223 | {
|
---|
2224 | 0x7F07,
|
---|
2225 | L" Unused "
|
---|
2226 | },
|
---|
2227 | {
|
---|
2228 | 0xFF80,
|
---|
2229 | L" OEM assigned "
|
---|
2230 | },
|
---|
2231 | };
|
---|
2232 |
|
---|
2233 | TABLE_ITEM PostResultsBitmapDw1Table[] = {
|
---|
2234 | {
|
---|
2235 | 0,
|
---|
2236 | L" Channel 2 Timer error "
|
---|
2237 | },
|
---|
2238 | {
|
---|
2239 | 1,
|
---|
2240 | L" Master PIC (8259 #1) error "
|
---|
2241 | },
|
---|
2242 | {
|
---|
2243 | 2,
|
---|
2244 | L" Slave PIC (8259 #2) error "
|
---|
2245 | },
|
---|
2246 | {
|
---|
2247 | 3,
|
---|
2248 | L" CMOS Battery Failure "
|
---|
2249 | },
|
---|
2250 | {
|
---|
2251 | 4,
|
---|
2252 | L" CMOS System Options Not Set "
|
---|
2253 | },
|
---|
2254 | {
|
---|
2255 | 5,
|
---|
2256 | L" CMOS Checksum Error "
|
---|
2257 | },
|
---|
2258 | {
|
---|
2259 | 6,
|
---|
2260 | L" CMOS Configuration Error "
|
---|
2261 | },
|
---|
2262 | {
|
---|
2263 | 7,
|
---|
2264 | L" Mouse and Keyboard Swapped "
|
---|
2265 | },
|
---|
2266 | {
|
---|
2267 | 8,
|
---|
2268 | L" Keyboard Locked "
|
---|
2269 | },
|
---|
2270 | {
|
---|
2271 | 9,
|
---|
2272 | L" Keyboard Not Functional "
|
---|
2273 | },
|
---|
2274 | {
|
---|
2275 | 10,
|
---|
2276 | L" Keyboard Controller Not Functional "
|
---|
2277 | },
|
---|
2278 | {
|
---|
2279 | 11,
|
---|
2280 | L" CMOS Memory Size Different "
|
---|
2281 | },
|
---|
2282 | {
|
---|
2283 | 12,
|
---|
2284 | L" Memory Decreased in Size "
|
---|
2285 | },
|
---|
2286 | {
|
---|
2287 | 13,
|
---|
2288 | L" Cache Memory Error "
|
---|
2289 | },
|
---|
2290 | {
|
---|
2291 | 14,
|
---|
2292 | L" Floppy Drive 0 Error "
|
---|
2293 | },
|
---|
2294 | {
|
---|
2295 | 15,
|
---|
2296 | L" Floppy Drive 1 Error "
|
---|
2297 | },
|
---|
2298 | {
|
---|
2299 | 16,
|
---|
2300 | L" Floppy Controller Failure "
|
---|
2301 | },
|
---|
2302 | {
|
---|
2303 | 17,
|
---|
2304 | L" Number of ATA Drives Reduced Error "
|
---|
2305 | },
|
---|
2306 | {
|
---|
2307 | 18,
|
---|
2308 | L" CMOS Time Not Set "
|
---|
2309 | },
|
---|
2310 | {
|
---|
2311 | 19,
|
---|
2312 | L" DDC Monitor Configuration Change "
|
---|
2313 | },
|
---|
2314 | {
|
---|
2315 | 20,
|
---|
2316 | L" Reserved, set to 0 "
|
---|
2317 | },
|
---|
2318 | {
|
---|
2319 | 21,
|
---|
2320 | L" Reserved, set to 0 "
|
---|
2321 | },
|
---|
2322 | {
|
---|
2323 | 22,
|
---|
2324 | L" Reserved, set to 0 "
|
---|
2325 | },
|
---|
2326 | {
|
---|
2327 | 23,
|
---|
2328 | L" Reserved, set to 0 "
|
---|
2329 | },
|
---|
2330 | {
|
---|
2331 | 24,
|
---|
2332 | L" Second DWORD has valid data "
|
---|
2333 | },
|
---|
2334 | {
|
---|
2335 | 25,
|
---|
2336 | L" Reserved, set to 0 "
|
---|
2337 | },
|
---|
2338 | {
|
---|
2339 | 26,
|
---|
2340 | L" Reserved, set to 0 "
|
---|
2341 | },
|
---|
2342 | {
|
---|
2343 | 27,
|
---|
2344 | L" Reserved, set to 0 "
|
---|
2345 | },
|
---|
2346 | {
|
---|
2347 | 28,
|
---|
2348 | L" Normally 0; available for OEM assignment "
|
---|
2349 | },
|
---|
2350 | {
|
---|
2351 | 29,
|
---|
2352 | L" Normally 0; available for OEM assignment "
|
---|
2353 | },
|
---|
2354 | {
|
---|
2355 | 30,
|
---|
2356 | L" Normally 0; available for OEM assignment "
|
---|
2357 | },
|
---|
2358 | {
|
---|
2359 | 31,
|
---|
2360 | L" Normally 0; available for OEM assignment "
|
---|
2361 | },
|
---|
2362 | };
|
---|
2363 |
|
---|
2364 | TABLE_ITEM PostResultsBitmapDw2Table[] = {
|
---|
2365 | {
|
---|
2366 | 0,
|
---|
2367 | L" Normally 0; available for OEM assignment "
|
---|
2368 | },
|
---|
2369 | {
|
---|
2370 | 1,
|
---|
2371 | L" Normally 0; available for OEM assignment "
|
---|
2372 | },
|
---|
2373 | {
|
---|
2374 | 2,
|
---|
2375 | L" Normally 0; available for OEM assignment "
|
---|
2376 | },
|
---|
2377 | {
|
---|
2378 | 3,
|
---|
2379 | L" Normally 0; available for OEM assignment "
|
---|
2380 | },
|
---|
2381 | {
|
---|
2382 | 4,
|
---|
2383 | L" Normally 0; available for OEM assignment "
|
---|
2384 | },
|
---|
2385 | {
|
---|
2386 | 5,
|
---|
2387 | L" Normally 0; available for OEM assignment "
|
---|
2388 | },
|
---|
2389 | {
|
---|
2390 | 6,
|
---|
2391 | L" Normally 0; available for OEM assignment "
|
---|
2392 | },
|
---|
2393 | {
|
---|
2394 | 7,
|
---|
2395 | L" PCI Memory Conflict "
|
---|
2396 | },
|
---|
2397 | {
|
---|
2398 | 8,
|
---|
2399 | L" PCI I/O Conflict "
|
---|
2400 | },
|
---|
2401 | {
|
---|
2402 | 9,
|
---|
2403 | L" PCI IRQ Conflict "
|
---|
2404 | },
|
---|
2405 | {
|
---|
2406 | 10,
|
---|
2407 | L" PNP Memory Conflict "
|
---|
2408 | },
|
---|
2409 | {
|
---|
2410 | 11,
|
---|
2411 | L" PNP 32 bit Memory Conflict "
|
---|
2412 | },
|
---|
2413 | {
|
---|
2414 | 12,
|
---|
2415 | L" PNP I/O Conflict "
|
---|
2416 | },
|
---|
2417 | {
|
---|
2418 | 13,
|
---|
2419 | L" PNP IRQ Conflict "
|
---|
2420 | },
|
---|
2421 | {
|
---|
2422 | 14,
|
---|
2423 | L" PNP DMA Conflict "
|
---|
2424 | },
|
---|
2425 | {
|
---|
2426 | 15,
|
---|
2427 | L" Bad PNP Serial ID Checksum "
|
---|
2428 | },
|
---|
2429 | {
|
---|
2430 | 16,
|
---|
2431 | L" Bad PNP Resource Data Checksum "
|
---|
2432 | },
|
---|
2433 | {
|
---|
2434 | 17,
|
---|
2435 | L" Static Resource Conflict "
|
---|
2436 | },
|
---|
2437 | {
|
---|
2438 | 18,
|
---|
2439 | L" NVRAM Checksum Error, NVRAM Cleared "
|
---|
2440 | },
|
---|
2441 | {
|
---|
2442 | 19,
|
---|
2443 | L" System Board Device Resource Conflict "
|
---|
2444 | },
|
---|
2445 | {
|
---|
2446 | 20,
|
---|
2447 | L" Primary Output Device Not Found "
|
---|
2448 | },
|
---|
2449 | {
|
---|
2450 | 21,
|
---|
2451 | L" Primary Input Device Not Found "
|
---|
2452 | },
|
---|
2453 | {
|
---|
2454 | 22,
|
---|
2455 | L" Primary Boot Device Not Found "
|
---|
2456 | },
|
---|
2457 | {
|
---|
2458 | 23,
|
---|
2459 | L" NVRAM Cleared By Jumper "
|
---|
2460 | },
|
---|
2461 | {
|
---|
2462 | 24,
|
---|
2463 | L" NVRAM Data Invalid, NVRAM Cleared "
|
---|
2464 | },
|
---|
2465 | {
|
---|
2466 | 25,
|
---|
2467 | L" FDC Resource Conflict "
|
---|
2468 | },
|
---|
2469 | {
|
---|
2470 | 26,
|
---|
2471 | L" Primary ATA Controller Resource Conflict "
|
---|
2472 | },
|
---|
2473 | {
|
---|
2474 | 27,
|
---|
2475 | L" Secondary ATA Controller Resource Conflict "
|
---|
2476 | },
|
---|
2477 | {
|
---|
2478 | 28,
|
---|
2479 | L" Parallel Port Resource Conflict "
|
---|
2480 | },
|
---|
2481 | {
|
---|
2482 | 29,
|
---|
2483 | L" Serial Port 1 Resource Conflict "
|
---|
2484 | },
|
---|
2485 | {
|
---|
2486 | 30,
|
---|
2487 | L" Serial Port 2 Resource Conflict "
|
---|
2488 | },
|
---|
2489 | {
|
---|
2490 | 31,
|
---|
2491 | L" Audio Resource Conflict "
|
---|
2492 | },
|
---|
2493 | };
|
---|
2494 |
|
---|
2495 | TABLE_ITEM SELSysManagementTypesTable[] = {
|
---|
2496 | {
|
---|
2497 | 0x01,
|
---|
2498 | L" +2.5V Out of range, #2 "
|
---|
2499 | },
|
---|
2500 | {
|
---|
2501 | 0x02,
|
---|
2502 | L" +3.3V Out of range "
|
---|
2503 | },
|
---|
2504 | {
|
---|
2505 | 0x03,
|
---|
2506 | L" +5V Out of range "
|
---|
2507 | },
|
---|
2508 | {
|
---|
2509 | 0x04,
|
---|
2510 | L" -5V Out of range "
|
---|
2511 | },
|
---|
2512 | {
|
---|
2513 | 0x05,
|
---|
2514 | L" +12V Out of range "
|
---|
2515 | },
|
---|
2516 | {
|
---|
2517 | 0x06,
|
---|
2518 | L" -12V Out of range "
|
---|
2519 | },
|
---|
2520 | {
|
---|
2521 | 0x0F07,
|
---|
2522 | L" Reserved for future out-of-range voltage levels "
|
---|
2523 | },
|
---|
2524 | {
|
---|
2525 | 0x10,
|
---|
2526 | L" System board temperature out of range "
|
---|
2527 | },
|
---|
2528 | {
|
---|
2529 | 0x11,
|
---|
2530 | L" Processor #1 temperature out of range "
|
---|
2531 | },
|
---|
2532 | {
|
---|
2533 | 0x12,
|
---|
2534 | L" Processor #2 temperature out of range "
|
---|
2535 | },
|
---|
2536 | {
|
---|
2537 | 0x13,
|
---|
2538 | L" Processor #3 temperature out of range "
|
---|
2539 | },
|
---|
2540 | {
|
---|
2541 | 0x14,
|
---|
2542 | L" Processor #4 temperature out of range "
|
---|
2543 | },
|
---|
2544 | {
|
---|
2545 | 0x1F15,
|
---|
2546 | L" Reserved for future out-of-range temperatures"
|
---|
2547 | },
|
---|
2548 | {
|
---|
2549 | 0x2720,
|
---|
2550 | L" Fan n (n = 0 to 7) Out of range "
|
---|
2551 | },
|
---|
2552 | {
|
---|
2553 | 0x2F28,
|
---|
2554 | L" Reserved for future assignment via this specification "
|
---|
2555 | },
|
---|
2556 | {
|
---|
2557 | 0x30,
|
---|
2558 | L" Chassis secure switch activated "
|
---|
2559 | },
|
---|
2560 | };
|
---|
2561 |
|
---|
2562 | TABLE_ITEM PMALocationTable[] = {
|
---|
2563 | {
|
---|
2564 | 0x01,
|
---|
2565 | L" Other"
|
---|
2566 | },
|
---|
2567 | {
|
---|
2568 | 0x02,
|
---|
2569 | L" Unknown"
|
---|
2570 | },
|
---|
2571 | {
|
---|
2572 | 0x03,
|
---|
2573 | L" System board or motherboard"
|
---|
2574 | },
|
---|
2575 | {
|
---|
2576 | 0x04,
|
---|
2577 | L" ISA add-on card"
|
---|
2578 | },
|
---|
2579 | {
|
---|
2580 | 0x05,
|
---|
2581 | L" EISA add-on card"
|
---|
2582 | },
|
---|
2583 | {
|
---|
2584 | 0x06,
|
---|
2585 | L" PCI add-on card"
|
---|
2586 | },
|
---|
2587 | {
|
---|
2588 | 0x07,
|
---|
2589 | L" MCA add-on card"
|
---|
2590 | },
|
---|
2591 | {
|
---|
2592 | 0x08,
|
---|
2593 | L" PCMCIA add-on card"
|
---|
2594 | },
|
---|
2595 | {
|
---|
2596 | 0x09,
|
---|
2597 | L" Proprietary add-on card"
|
---|
2598 | },
|
---|
2599 | {
|
---|
2600 | 0x0A,
|
---|
2601 | L" NuBus"
|
---|
2602 | },
|
---|
2603 | {
|
---|
2604 | 0xA0,
|
---|
2605 | L" PC-98/C20 add-on card"
|
---|
2606 | },
|
---|
2607 | {
|
---|
2608 | 0xA1,
|
---|
2609 | L" PC-98/C24 add-on card"
|
---|
2610 | },
|
---|
2611 | {
|
---|
2612 | 0xA2,
|
---|
2613 | L" PC-98/E add-on card"
|
---|
2614 | },
|
---|
2615 | {
|
---|
2616 | 0xA3,
|
---|
2617 | L" PC-98/Local bus add-on card"
|
---|
2618 | },
|
---|
2619 | {
|
---|
2620 | MemoryArrayLocationCXLAddonCard,
|
---|
2621 | L" CXL add-on card"
|
---|
2622 | }
|
---|
2623 | };
|
---|
2624 |
|
---|
2625 | TABLE_ITEM PMAUseTable[] = {
|
---|
2626 | {
|
---|
2627 | 0x01,
|
---|
2628 | L" Other"
|
---|
2629 | },
|
---|
2630 | {
|
---|
2631 | 0x02,
|
---|
2632 | L" Unknown"
|
---|
2633 | },
|
---|
2634 | {
|
---|
2635 | 0x03,
|
---|
2636 | L" System memory"
|
---|
2637 | },
|
---|
2638 | {
|
---|
2639 | 0x04,
|
---|
2640 | L" Video memory"
|
---|
2641 | },
|
---|
2642 | {
|
---|
2643 | 0x05,
|
---|
2644 | L" Flash memory"
|
---|
2645 | },
|
---|
2646 | {
|
---|
2647 | 0x06,
|
---|
2648 | L" Non-volatile RAM"
|
---|
2649 | },
|
---|
2650 | {
|
---|
2651 | 0x07,
|
---|
2652 | L" Cache memory"
|
---|
2653 | }
|
---|
2654 | };
|
---|
2655 |
|
---|
2656 | TABLE_ITEM PMAErrorCorrectionTypesTable[] = {
|
---|
2657 | {
|
---|
2658 | 0x01,
|
---|
2659 | L" Other"
|
---|
2660 | },
|
---|
2661 | {
|
---|
2662 | 0x02,
|
---|
2663 | L" Unknown"
|
---|
2664 | },
|
---|
2665 | {
|
---|
2666 | 0x03,
|
---|
2667 | L" None"
|
---|
2668 | },
|
---|
2669 | {
|
---|
2670 | 0x04,
|
---|
2671 | L" Parity"
|
---|
2672 | },
|
---|
2673 | {
|
---|
2674 | 0x05,
|
---|
2675 | L" Single-bit ECC"
|
---|
2676 | },
|
---|
2677 | {
|
---|
2678 | 0x06,
|
---|
2679 | L" Multi-bit ECC"
|
---|
2680 | },
|
---|
2681 | {
|
---|
2682 | 0x07,
|
---|
2683 | L" CRC"
|
---|
2684 | }
|
---|
2685 | };
|
---|
2686 |
|
---|
2687 | TABLE_ITEM MemoryDeviceFormFactorTable[] = {
|
---|
2688 | {
|
---|
2689 | 0x01,
|
---|
2690 | L" Other"
|
---|
2691 | },
|
---|
2692 | {
|
---|
2693 | 0x02,
|
---|
2694 | L" Unknown"
|
---|
2695 | },
|
---|
2696 | {
|
---|
2697 | 0x03,
|
---|
2698 | L" SIMM"
|
---|
2699 | },
|
---|
2700 | {
|
---|
2701 | 0x04,
|
---|
2702 | L" SIP"
|
---|
2703 | },
|
---|
2704 | {
|
---|
2705 | 0x05,
|
---|
2706 | L" Chip"
|
---|
2707 | },
|
---|
2708 | {
|
---|
2709 | 0x06,
|
---|
2710 | L" DIP"
|
---|
2711 | },
|
---|
2712 | {
|
---|
2713 | 0x07,
|
---|
2714 | L" ZIP"
|
---|
2715 | },
|
---|
2716 | {
|
---|
2717 | 0x08,
|
---|
2718 | L" Proprietary Card"
|
---|
2719 | },
|
---|
2720 | {
|
---|
2721 | 0x09,
|
---|
2722 | L" DIMM"
|
---|
2723 | },
|
---|
2724 | {
|
---|
2725 | 0x0A,
|
---|
2726 | L" TSOP"
|
---|
2727 | },
|
---|
2728 | {
|
---|
2729 | 0x0B,
|
---|
2730 | L" Row of chips"
|
---|
2731 | },
|
---|
2732 | {
|
---|
2733 | 0x0C,
|
---|
2734 | L" RIMM"
|
---|
2735 | },
|
---|
2736 | {
|
---|
2737 | 0x0D,
|
---|
2738 | L" SODIMM"
|
---|
2739 | },
|
---|
2740 | {
|
---|
2741 | 0x0E,
|
---|
2742 | L" SRIMM"
|
---|
2743 | },
|
---|
2744 | {
|
---|
2745 | 0x0F,
|
---|
2746 | L" FB-DIMM"
|
---|
2747 | },
|
---|
2748 | {
|
---|
2749 | MemoryFormFactorDie,
|
---|
2750 | L" Die"
|
---|
2751 | }
|
---|
2752 | };
|
---|
2753 |
|
---|
2754 | TABLE_ITEM MemoryDeviceTypeTable[] = {
|
---|
2755 | {
|
---|
2756 | 0x01,
|
---|
2757 | L" Other"
|
---|
2758 | },
|
---|
2759 | {
|
---|
2760 | 0x02,
|
---|
2761 | L" Unknown"
|
---|
2762 | },
|
---|
2763 | {
|
---|
2764 | 0x03,
|
---|
2765 | L" DRAM"
|
---|
2766 | },
|
---|
2767 | {
|
---|
2768 | 0x04,
|
---|
2769 | L" EDRAM"
|
---|
2770 | },
|
---|
2771 | {
|
---|
2772 | 0x05,
|
---|
2773 | L" VRAM"
|
---|
2774 | },
|
---|
2775 | {
|
---|
2776 | 0x06,
|
---|
2777 | L" SRAM"
|
---|
2778 | },
|
---|
2779 | {
|
---|
2780 | 0x07,
|
---|
2781 | L" RAM"
|
---|
2782 | },
|
---|
2783 | {
|
---|
2784 | 0x08,
|
---|
2785 | L" ROM"
|
---|
2786 | },
|
---|
2787 | {
|
---|
2788 | 0x09,
|
---|
2789 | L" FLASH"
|
---|
2790 | },
|
---|
2791 | {
|
---|
2792 | 0x0A,
|
---|
2793 | L" EEPROM"
|
---|
2794 | },
|
---|
2795 | {
|
---|
2796 | 0x0B,
|
---|
2797 | L" FEPROM"
|
---|
2798 | },
|
---|
2799 | {
|
---|
2800 | 0x0C,
|
---|
2801 | L" EPROM"
|
---|
2802 | },
|
---|
2803 | {
|
---|
2804 | 0x0D,
|
---|
2805 | L" CDRAM"
|
---|
2806 | },
|
---|
2807 | {
|
---|
2808 | 0x0E,
|
---|
2809 | L" 3DRAM"
|
---|
2810 | },
|
---|
2811 | {
|
---|
2812 | 0x0F,
|
---|
2813 | L" SDRAM"
|
---|
2814 | },
|
---|
2815 | {
|
---|
2816 | 0x10,
|
---|
2817 | L" SGRAM"
|
---|
2818 | },
|
---|
2819 | {
|
---|
2820 | 0x11,
|
---|
2821 | L" RDRAM"
|
---|
2822 | },
|
---|
2823 | {
|
---|
2824 | 0x12,
|
---|
2825 | L" DDR"
|
---|
2826 | },
|
---|
2827 | {
|
---|
2828 | 0x13,
|
---|
2829 | L" DDR2"
|
---|
2830 | },
|
---|
2831 | {
|
---|
2832 | 0x14,
|
---|
2833 | L" DDR2 FB-DIMM"
|
---|
2834 | },
|
---|
2835 | {
|
---|
2836 | 0x18,
|
---|
2837 | L" DDR3"
|
---|
2838 | },
|
---|
2839 | {
|
---|
2840 | 0x19,
|
---|
2841 | L" FBD2"
|
---|
2842 | },
|
---|
2843 | {
|
---|
2844 | 0x1A,
|
---|
2845 | L" DDR4"
|
---|
2846 | },
|
---|
2847 | {
|
---|
2848 | 0x1B,
|
---|
2849 | L" LPDDR"
|
---|
2850 | },
|
---|
2851 | {
|
---|
2852 | 0x1C,
|
---|
2853 | L" LPDDR2"
|
---|
2854 | },
|
---|
2855 | {
|
---|
2856 | 0x1D,
|
---|
2857 | L" LPDDR3"
|
---|
2858 | },
|
---|
2859 | {
|
---|
2860 | 0x1E,
|
---|
2861 | L" LPDDR4"
|
---|
2862 | },
|
---|
2863 | {
|
---|
2864 | 0x1F,
|
---|
2865 | L" Logical non-volatile device"
|
---|
2866 | },
|
---|
2867 | {
|
---|
2868 | MemoryTypeHBM,
|
---|
2869 | L" HBM (High Bandwidth Memory)"
|
---|
2870 | },
|
---|
2871 | {
|
---|
2872 | MemoryTypeHBM2,
|
---|
2873 | L" HBM2 (High Bandwidth Memory Generation 2)"
|
---|
2874 | },
|
---|
2875 | {
|
---|
2876 | MemoryTypeDdr5,
|
---|
2877 | L" DDR5"
|
---|
2878 | },
|
---|
2879 | {
|
---|
2880 | MemoryTypeLpddr5,
|
---|
2881 | L" LPDDR5"
|
---|
2882 | }
|
---|
2883 | };
|
---|
2884 |
|
---|
2885 | TABLE_ITEM MemoryDeviceTypeDetailTable[] = {
|
---|
2886 | {
|
---|
2887 | 1,
|
---|
2888 | L" Other"
|
---|
2889 | },
|
---|
2890 | {
|
---|
2891 | 2,
|
---|
2892 | L" Unknown"
|
---|
2893 | },
|
---|
2894 | {
|
---|
2895 | 3,
|
---|
2896 | L" Fast-paged"
|
---|
2897 | },
|
---|
2898 | {
|
---|
2899 | 4,
|
---|
2900 | L" Static column"
|
---|
2901 | },
|
---|
2902 | {
|
---|
2903 | 5,
|
---|
2904 | L" Pseudo-STATIC"
|
---|
2905 | },
|
---|
2906 | {
|
---|
2907 | 6,
|
---|
2908 | L" RAMBUS "
|
---|
2909 | },
|
---|
2910 | {
|
---|
2911 | 7,
|
---|
2912 | L" Synchronous"
|
---|
2913 | },
|
---|
2914 | {
|
---|
2915 | 8,
|
---|
2916 | L" CMOS"
|
---|
2917 | },
|
---|
2918 | {
|
---|
2919 | 9,
|
---|
2920 | L" EDO"
|
---|
2921 | },
|
---|
2922 | {
|
---|
2923 | 10,
|
---|
2924 | L" Window DRAM"
|
---|
2925 | },
|
---|
2926 | {
|
---|
2927 | 11,
|
---|
2928 | L" Cache DRAM"
|
---|
2929 | },
|
---|
2930 | {
|
---|
2931 | 12,
|
---|
2932 | L" Non-volatile"
|
---|
2933 | },
|
---|
2934 | {
|
---|
2935 | 13,
|
---|
2936 | L" Registered(Buffered)"
|
---|
2937 | },
|
---|
2938 | {
|
---|
2939 | 14,
|
---|
2940 | L" Unbuffered(Unregistered)"
|
---|
2941 | }
|
---|
2942 | };
|
---|
2943 |
|
---|
2944 | TABLE_ITEM MemoryDeviceMemoryTechnologyTable[] = {
|
---|
2945 | {
|
---|
2946 | 0x01,
|
---|
2947 | L" Other"
|
---|
2948 | },
|
---|
2949 | {
|
---|
2950 | 0x02,
|
---|
2951 | L" Unknown"
|
---|
2952 | },
|
---|
2953 | {
|
---|
2954 | 0x03,
|
---|
2955 | L" DRAM"
|
---|
2956 | },
|
---|
2957 | {
|
---|
2958 | 0x04,
|
---|
2959 | L" NVDIMM-N"
|
---|
2960 | },
|
---|
2961 | {
|
---|
2962 | 0x05,
|
---|
2963 | L" NVDIMM-F"
|
---|
2964 | },
|
---|
2965 | {
|
---|
2966 | 0x06,
|
---|
2967 | L" NVDIMM-P"
|
---|
2968 | },
|
---|
2969 | {
|
---|
2970 | MemoryTechnologyIntelOptanePersistentMemory,
|
---|
2971 | L" Intel Optane Persistent Memory"
|
---|
2972 | }
|
---|
2973 | };
|
---|
2974 |
|
---|
2975 | TABLE_ITEM MemoryDeviceMemoryOperatingModeCapabilityTable[] = {
|
---|
2976 | {
|
---|
2977 | 1,
|
---|
2978 | L" Other"
|
---|
2979 | },
|
---|
2980 | {
|
---|
2981 | 2,
|
---|
2982 | L" Unknown"
|
---|
2983 | },
|
---|
2984 | {
|
---|
2985 | 3,
|
---|
2986 | L" Volatile memory"
|
---|
2987 | },
|
---|
2988 | {
|
---|
2989 | 4,
|
---|
2990 | L" Byte-accessible persistent memory"
|
---|
2991 | },
|
---|
2992 | {
|
---|
2993 | 5,
|
---|
2994 | L" Block-accessible persistent memory"
|
---|
2995 | }
|
---|
2996 | };
|
---|
2997 |
|
---|
2998 | TABLE_ITEM MemoryErrorTypeTable[] = {
|
---|
2999 | {
|
---|
3000 | 0x01,
|
---|
3001 | L" Other"
|
---|
3002 | },
|
---|
3003 | {
|
---|
3004 | 0x02,
|
---|
3005 | L" Unknown"
|
---|
3006 | },
|
---|
3007 | {
|
---|
3008 | 0x03,
|
---|
3009 | L" OK"
|
---|
3010 | },
|
---|
3011 | {
|
---|
3012 | 0x04,
|
---|
3013 | L" Bad read"
|
---|
3014 | },
|
---|
3015 | {
|
---|
3016 | 0x05,
|
---|
3017 | L" Parity error"
|
---|
3018 | },
|
---|
3019 | {
|
---|
3020 | 0x06,
|
---|
3021 | L" Single-bit error"
|
---|
3022 | },
|
---|
3023 | {
|
---|
3024 | 0x07,
|
---|
3025 | L" Double-bit error"
|
---|
3026 | },
|
---|
3027 | {
|
---|
3028 | 0x08,
|
---|
3029 | L" Multi-bit error"
|
---|
3030 | },
|
---|
3031 | {
|
---|
3032 | 0x09,
|
---|
3033 | L" Nibble error"
|
---|
3034 | },
|
---|
3035 | {
|
---|
3036 | 0x0A,
|
---|
3037 | L" Checksum error"
|
---|
3038 | },
|
---|
3039 | {
|
---|
3040 | 0x0B,
|
---|
3041 | L" CRC error"
|
---|
3042 | },
|
---|
3043 | {
|
---|
3044 | 0x0C,
|
---|
3045 | L" Corrected single-bit error"
|
---|
3046 | },
|
---|
3047 | {
|
---|
3048 | 0x0D,
|
---|
3049 | L" Corrected error"
|
---|
3050 | },
|
---|
3051 | {
|
---|
3052 | 0x0E,
|
---|
3053 | L" Uncorrectable error"
|
---|
3054 | },
|
---|
3055 | };
|
---|
3056 |
|
---|
3057 | TABLE_ITEM MemoryErrorGranularityTable[] = {
|
---|
3058 | {
|
---|
3059 | 0x01,
|
---|
3060 | L" Other"
|
---|
3061 | },
|
---|
3062 | {
|
---|
3063 | 0x02,
|
---|
3064 | L" Unknown"
|
---|
3065 | },
|
---|
3066 | {
|
---|
3067 | 0x03,
|
---|
3068 | L" Device level"
|
---|
3069 | },
|
---|
3070 | {
|
---|
3071 | 0x04,
|
---|
3072 | L" Memory partition level"
|
---|
3073 | },
|
---|
3074 | };
|
---|
3075 |
|
---|
3076 | TABLE_ITEM MemoryErrorOperationTable[] = {
|
---|
3077 | {
|
---|
3078 | 0x01,
|
---|
3079 | L" Other"
|
---|
3080 | },
|
---|
3081 | {
|
---|
3082 | 0x02,
|
---|
3083 | L" Unknown"
|
---|
3084 | },
|
---|
3085 | {
|
---|
3086 | 0x03,
|
---|
3087 | L" Read"
|
---|
3088 | },
|
---|
3089 | {
|
---|
3090 | 0x04,
|
---|
3091 | L" Write"
|
---|
3092 | },
|
---|
3093 | {
|
---|
3094 | 0x05,
|
---|
3095 | L" Partial Write"
|
---|
3096 | },
|
---|
3097 | };
|
---|
3098 |
|
---|
3099 | TABLE_ITEM PointingDeviceTypeTable[] = {
|
---|
3100 | {
|
---|
3101 | 0x01,
|
---|
3102 | L" Other"
|
---|
3103 | },
|
---|
3104 | {
|
---|
3105 | 0x02,
|
---|
3106 | L" Unknown"
|
---|
3107 | },
|
---|
3108 | {
|
---|
3109 | 0x03,
|
---|
3110 | L" Mouse"
|
---|
3111 | },
|
---|
3112 | {
|
---|
3113 | 0x04,
|
---|
3114 | L" Track Ball"
|
---|
3115 | },
|
---|
3116 | {
|
---|
3117 | 0x05,
|
---|
3118 | L" Track Point"
|
---|
3119 | },
|
---|
3120 | {
|
---|
3121 | 0x06,
|
---|
3122 | L" Glide Point"
|
---|
3123 | },
|
---|
3124 | {
|
---|
3125 | 0x07,
|
---|
3126 | L" Touch Pad"
|
---|
3127 | },
|
---|
3128 | };
|
---|
3129 |
|
---|
3130 | TABLE_ITEM PointingDeviceInterfaceTable[] = {
|
---|
3131 | {
|
---|
3132 | 0x01,
|
---|
3133 | L" Other"
|
---|
3134 | },
|
---|
3135 | {
|
---|
3136 | 0x02,
|
---|
3137 | L" Unknown"
|
---|
3138 | },
|
---|
3139 | {
|
---|
3140 | 0x03,
|
---|
3141 | L" Serial"
|
---|
3142 | },
|
---|
3143 | {
|
---|
3144 | 0x04,
|
---|
3145 | L" PS/2"
|
---|
3146 | },
|
---|
3147 | {
|
---|
3148 | 0x05,
|
---|
3149 | L" Infrared"
|
---|
3150 | },
|
---|
3151 | {
|
---|
3152 | 0x06,
|
---|
3153 | L" HP-HIL"
|
---|
3154 | },
|
---|
3155 | {
|
---|
3156 | 0x07,
|
---|
3157 | L" Bus mouse"
|
---|
3158 | },
|
---|
3159 | {
|
---|
3160 | 0x08,
|
---|
3161 | L" ADB(Apple Desktop Bus"
|
---|
3162 | },
|
---|
3163 | {
|
---|
3164 | 0xA0,
|
---|
3165 | L" Bus mouse DB-9"
|
---|
3166 | },
|
---|
3167 | {
|
---|
3168 | 0xA1,
|
---|
3169 | L" Bus mouse mirco-DIN"
|
---|
3170 | },
|
---|
3171 | {
|
---|
3172 | 0xA2,
|
---|
3173 | L" USB"
|
---|
3174 | },
|
---|
3175 | };
|
---|
3176 |
|
---|
3177 | TABLE_ITEM PBDeviceChemistryTable[] = {
|
---|
3178 | {
|
---|
3179 | 0x01,
|
---|
3180 | L" Other "
|
---|
3181 | },
|
---|
3182 | {
|
---|
3183 | 0x02,
|
---|
3184 | L" Unknown "
|
---|
3185 | },
|
---|
3186 | {
|
---|
3187 | 0x03,
|
---|
3188 | L" Lead Acid "
|
---|
3189 | },
|
---|
3190 | {
|
---|
3191 | 0x04,
|
---|
3192 | L" Nickel Cadmium "
|
---|
3193 | },
|
---|
3194 | {
|
---|
3195 | 0x05,
|
---|
3196 | L" Nickel metal hydride "
|
---|
3197 | },
|
---|
3198 | {
|
---|
3199 | 0x06,
|
---|
3200 | L" Lithium-ion "
|
---|
3201 | },
|
---|
3202 | {
|
---|
3203 | 0x07,
|
---|
3204 | L" Zinc air "
|
---|
3205 | },
|
---|
3206 | {
|
---|
3207 | 0x08,
|
---|
3208 | L" Lithium Polymer "
|
---|
3209 | },
|
---|
3210 | };
|
---|
3211 |
|
---|
3212 | TABLE_ITEM VPLocationTable[] = {
|
---|
3213 | {
|
---|
3214 | 0x01,
|
---|
3215 | L" Other "
|
---|
3216 | },
|
---|
3217 | {
|
---|
3218 | 0x02,
|
---|
3219 | L" Unknown "
|
---|
3220 | },
|
---|
3221 | {
|
---|
3222 | 0x03,
|
---|
3223 | L" OK "
|
---|
3224 | },
|
---|
3225 | {
|
---|
3226 | 0x04,
|
---|
3227 | L" Non-critical "
|
---|
3228 | },
|
---|
3229 | {
|
---|
3230 | 0x05,
|
---|
3231 | L" Critical "
|
---|
3232 | },
|
---|
3233 | {
|
---|
3234 | 0x06,
|
---|
3235 | L" Non-recoverable "
|
---|
3236 | },
|
---|
3237 | };
|
---|
3238 |
|
---|
3239 | TABLE_ITEM VPStatusTable[] = {
|
---|
3240 | {
|
---|
3241 | 0x01,
|
---|
3242 | L" Other "
|
---|
3243 | },
|
---|
3244 | {
|
---|
3245 | 0x02,
|
---|
3246 | L" Unknown "
|
---|
3247 | },
|
---|
3248 | {
|
---|
3249 | 0x03,
|
---|
3250 | L" Processor "
|
---|
3251 | },
|
---|
3252 | {
|
---|
3253 | 0x04,
|
---|
3254 | L" Disk "
|
---|
3255 | },
|
---|
3256 | {
|
---|
3257 | 0x05,
|
---|
3258 | L" Peripheral Bay "
|
---|
3259 | },
|
---|
3260 | {
|
---|
3261 | 0x06,
|
---|
3262 | L" System Management Module "
|
---|
3263 | },
|
---|
3264 | {
|
---|
3265 | 0x07,
|
---|
3266 | L" Motherboard "
|
---|
3267 | },
|
---|
3268 | {
|
---|
3269 | 0x08,
|
---|
3270 | L" Memory Module "
|
---|
3271 | },
|
---|
3272 | {
|
---|
3273 | 0x09,
|
---|
3274 | L" Processor Module "
|
---|
3275 | },
|
---|
3276 | {
|
---|
3277 | 0x0A,
|
---|
3278 | L" Power Unit "
|
---|
3279 | },
|
---|
3280 | {
|
---|
3281 | 0x0B,
|
---|
3282 | L" Add-in Card "
|
---|
3283 | },
|
---|
3284 | };
|
---|
3285 |
|
---|
3286 | TABLE_ITEM CoolingDeviceStatusTable[] = {
|
---|
3287 | {
|
---|
3288 | 0x01,
|
---|
3289 | L" Other "
|
---|
3290 | },
|
---|
3291 | {
|
---|
3292 | 0x02,
|
---|
3293 | L" Unknown "
|
---|
3294 | },
|
---|
3295 | {
|
---|
3296 | 0x03,
|
---|
3297 | L" OK "
|
---|
3298 | },
|
---|
3299 | {
|
---|
3300 | 0x04,
|
---|
3301 | L" Non-critical "
|
---|
3302 | },
|
---|
3303 | {
|
---|
3304 | 0x05,
|
---|
3305 | L" Critical "
|
---|
3306 | },
|
---|
3307 | {
|
---|
3308 | 0x06,
|
---|
3309 | L" Non-recoverable "
|
---|
3310 | },
|
---|
3311 | };
|
---|
3312 |
|
---|
3313 | TABLE_ITEM CoolingDeviceTypeTable[] = {
|
---|
3314 | {
|
---|
3315 | 0x01,
|
---|
3316 | L" Other "
|
---|
3317 | },
|
---|
3318 | {
|
---|
3319 | 0x02,
|
---|
3320 | L" Unknown "
|
---|
3321 | },
|
---|
3322 | {
|
---|
3323 | 0x03,
|
---|
3324 | L" Fan "
|
---|
3325 | },
|
---|
3326 | {
|
---|
3327 | 0x04,
|
---|
3328 | L" Centrifugal Blower "
|
---|
3329 | },
|
---|
3330 | {
|
---|
3331 | 0x05,
|
---|
3332 | L" Chip Fan "
|
---|
3333 | },
|
---|
3334 | {
|
---|
3335 | 0x06,
|
---|
3336 | L" Cabinet Fan "
|
---|
3337 | },
|
---|
3338 | {
|
---|
3339 | 0x07,
|
---|
3340 | L" Power Supply Fan "
|
---|
3341 | },
|
---|
3342 | {
|
---|
3343 | 0x08,
|
---|
3344 | L" Heat Pipe "
|
---|
3345 | },
|
---|
3346 | {
|
---|
3347 | 0x09,
|
---|
3348 | L" Integrated Refrigeration "
|
---|
3349 | },
|
---|
3350 | {
|
---|
3351 | 0x10,
|
---|
3352 | L" Active Cooling "
|
---|
3353 | },
|
---|
3354 | {
|
---|
3355 | 0x11,
|
---|
3356 | L" Passive Cooling "
|
---|
3357 | },
|
---|
3358 | };
|
---|
3359 |
|
---|
3360 | TABLE_ITEM TemperatureProbeStatusTable[] = {
|
---|
3361 | {
|
---|
3362 | 0x01,
|
---|
3363 | L" Other "
|
---|
3364 | },
|
---|
3365 | {
|
---|
3366 | 0x02,
|
---|
3367 | L" Unknown "
|
---|
3368 | },
|
---|
3369 | {
|
---|
3370 | 0x03,
|
---|
3371 | L" OK "
|
---|
3372 | },
|
---|
3373 | {
|
---|
3374 | 0x04,
|
---|
3375 | L" Non-critical "
|
---|
3376 | },
|
---|
3377 | {
|
---|
3378 | 0x05,
|
---|
3379 | L" Critical "
|
---|
3380 | },
|
---|
3381 | {
|
---|
3382 | 0x06,
|
---|
3383 | L" Non-recoverable "
|
---|
3384 | },
|
---|
3385 | };
|
---|
3386 |
|
---|
3387 | TABLE_ITEM TemperatureProbeLocTable[] = {
|
---|
3388 | {
|
---|
3389 | 0x01,
|
---|
3390 | L" Other "
|
---|
3391 | },
|
---|
3392 | {
|
---|
3393 | 0x02,
|
---|
3394 | L" Unknown "
|
---|
3395 | },
|
---|
3396 | {
|
---|
3397 | 0x03,
|
---|
3398 | L" Processor "
|
---|
3399 | },
|
---|
3400 | {
|
---|
3401 | 0x04,
|
---|
3402 | L" Disk "
|
---|
3403 | },
|
---|
3404 | {
|
---|
3405 | 0x05,
|
---|
3406 | L" Peripheral Bay "
|
---|
3407 | },
|
---|
3408 | {
|
---|
3409 | 0x06,
|
---|
3410 | L" System Management Module "
|
---|
3411 | },
|
---|
3412 | {
|
---|
3413 | 0x07,
|
---|
3414 | L" Motherboard "
|
---|
3415 | },
|
---|
3416 | {
|
---|
3417 | 0x08,
|
---|
3418 | L" Memory Module "
|
---|
3419 | },
|
---|
3420 | {
|
---|
3421 | 0x09,
|
---|
3422 | L" Processor Module "
|
---|
3423 | },
|
---|
3424 | {
|
---|
3425 | 0x0A,
|
---|
3426 | L" Power Unit "
|
---|
3427 | },
|
---|
3428 | {
|
---|
3429 | 0x0B,
|
---|
3430 | L" Add-in Card "
|
---|
3431 | },
|
---|
3432 | };
|
---|
3433 |
|
---|
3434 | TABLE_ITEM ECPStatusTable[] = {
|
---|
3435 | {
|
---|
3436 | 0x01,
|
---|
3437 | L" Other "
|
---|
3438 | },
|
---|
3439 | {
|
---|
3440 | 0x02,
|
---|
3441 | L" Unknown "
|
---|
3442 | },
|
---|
3443 | {
|
---|
3444 | 0x03,
|
---|
3445 | L" OK "
|
---|
3446 | },
|
---|
3447 | {
|
---|
3448 | 0x04,
|
---|
3449 | L" Non-critical "
|
---|
3450 | },
|
---|
3451 | {
|
---|
3452 | 0x05,
|
---|
3453 | L" Critical "
|
---|
3454 | },
|
---|
3455 | {
|
---|
3456 | 0x06,
|
---|
3457 | L" Non-recoverable "
|
---|
3458 | },
|
---|
3459 | };
|
---|
3460 |
|
---|
3461 | TABLE_ITEM ECPLocTable[] = {
|
---|
3462 | {
|
---|
3463 | 0x01,
|
---|
3464 | L" Other "
|
---|
3465 | },
|
---|
3466 | {
|
---|
3467 | 0x02,
|
---|
3468 | L" Unknown "
|
---|
3469 | },
|
---|
3470 | {
|
---|
3471 | 0x03,
|
---|
3472 | L" Processor "
|
---|
3473 | },
|
---|
3474 | {
|
---|
3475 | 0x04,
|
---|
3476 | L" Disk "
|
---|
3477 | },
|
---|
3478 | {
|
---|
3479 | 0x05,
|
---|
3480 | L" Peripheral Bay "
|
---|
3481 | },
|
---|
3482 | {
|
---|
3483 | 0x06,
|
---|
3484 | L" System Management Module "
|
---|
3485 | },
|
---|
3486 | {
|
---|
3487 | 0x07,
|
---|
3488 | L" Motherboard "
|
---|
3489 | },
|
---|
3490 | {
|
---|
3491 | 0x08,
|
---|
3492 | L" Memory Module "
|
---|
3493 | },
|
---|
3494 | {
|
---|
3495 | 0x09,
|
---|
3496 | L" Processor Module "
|
---|
3497 | },
|
---|
3498 | {
|
---|
3499 | 0x0A,
|
---|
3500 | L" Power Unit "
|
---|
3501 | },
|
---|
3502 | {
|
---|
3503 | 0x0B,
|
---|
3504 | L" Add-in Card "
|
---|
3505 | },
|
---|
3506 | };
|
---|
3507 |
|
---|
3508 | TABLE_ITEM MDTypeTable[] = {
|
---|
3509 | {
|
---|
3510 | 0x01,
|
---|
3511 | L" Other "
|
---|
3512 | },
|
---|
3513 | {
|
---|
3514 | 0x02,
|
---|
3515 | L" Unknown "
|
---|
3516 | },
|
---|
3517 | {
|
---|
3518 | 0x03,
|
---|
3519 | L" National Semiconductor LM75 "
|
---|
3520 | },
|
---|
3521 | {
|
---|
3522 | 0x04,
|
---|
3523 | L" National Semiconductor LM78 "
|
---|
3524 | },
|
---|
3525 | {
|
---|
3526 | 0x05,
|
---|
3527 | L" National Semiconductor LM79 "
|
---|
3528 | },
|
---|
3529 | {
|
---|
3530 | 0x06,
|
---|
3531 | L" National Semiconductor LM80 "
|
---|
3532 | },
|
---|
3533 | {
|
---|
3534 | 0x07,
|
---|
3535 | L" National Semiconductor LM81 "
|
---|
3536 | },
|
---|
3537 | {
|
---|
3538 | 0x08,
|
---|
3539 | L" Analog Devices ADM9240 "
|
---|
3540 | },
|
---|
3541 | {
|
---|
3542 | 0x09,
|
---|
3543 | L" Dallas Semiconductor DS1780 "
|
---|
3544 | },
|
---|
3545 | {
|
---|
3546 | 0x0A,
|
---|
3547 | L" Maxim 1617 "
|
---|
3548 | },
|
---|
3549 | {
|
---|
3550 | 0x0B,
|
---|
3551 | L" Genesys GL518SM "
|
---|
3552 | },
|
---|
3553 | {
|
---|
3554 | 0x0C,
|
---|
3555 | L" Winbond W83781D "
|
---|
3556 | },
|
---|
3557 | {
|
---|
3558 | 0x0D,
|
---|
3559 | L" Holtek HT82H791 "
|
---|
3560 | },
|
---|
3561 | };
|
---|
3562 |
|
---|
3563 | TABLE_ITEM MDAddressTypeTable[] = {
|
---|
3564 | {
|
---|
3565 | 0x01,
|
---|
3566 | L" Other "
|
---|
3567 | },
|
---|
3568 | {
|
---|
3569 | 0x02,
|
---|
3570 | L" Unknown "
|
---|
3571 | },
|
---|
3572 | {
|
---|
3573 | 0x03,
|
---|
3574 | L" I/O Port "
|
---|
3575 | },
|
---|
3576 | {
|
---|
3577 | 0x04,
|
---|
3578 | L" Memory "
|
---|
3579 | },
|
---|
3580 | {
|
---|
3581 | 0x05,
|
---|
3582 | L" SM Bus "
|
---|
3583 | },
|
---|
3584 | };
|
---|
3585 |
|
---|
3586 | TABLE_ITEM MemoryChannelTypeTable[] = {
|
---|
3587 | {
|
---|
3588 | 0x01,
|
---|
3589 | L" Other "
|
---|
3590 | },
|
---|
3591 | {
|
---|
3592 | 0x02,
|
---|
3593 | L" Unknown "
|
---|
3594 | },
|
---|
3595 | {
|
---|
3596 | 0x03,
|
---|
3597 | L" RamBus "
|
---|
3598 | },
|
---|
3599 | {
|
---|
3600 | 0x04,
|
---|
3601 | L" SyncLink "
|
---|
3602 | },
|
---|
3603 | };
|
---|
3604 |
|
---|
3605 | TABLE_ITEM IPMIDIBMCInterfaceTypeTable[] = {
|
---|
3606 | {
|
---|
3607 | 0x00,
|
---|
3608 | L" Unknown "
|
---|
3609 | },
|
---|
3610 | {
|
---|
3611 | 0x01,
|
---|
3612 | L" KCS: Keyboard Controller Style "
|
---|
3613 | },
|
---|
3614 | {
|
---|
3615 | 0x02,
|
---|
3616 | L" SMIC: Server Management Interface Chip "
|
---|
3617 | },
|
---|
3618 | {
|
---|
3619 | 0x03,
|
---|
3620 | L" BT: Block Transfer "
|
---|
3621 | },
|
---|
3622 | {
|
---|
3623 | 0x04,
|
---|
3624 | L" SSIF: SMBus System Interface "
|
---|
3625 | },
|
---|
3626 | {
|
---|
3627 | 0xFF05,
|
---|
3628 | L" Reserved for future assignment by this specification "
|
---|
3629 | },
|
---|
3630 | };
|
---|
3631 |
|
---|
3632 | TABLE_ITEM MCHostInterfaceTypeTable[] = {
|
---|
3633 | {
|
---|
3634 | 0x3F00,
|
---|
3635 | L" MCTP Host Interface "
|
---|
3636 | },
|
---|
3637 | {
|
---|
3638 | 0x40,
|
---|
3639 | L" Network Host Interface "
|
---|
3640 | },
|
---|
3641 | {
|
---|
3642 | 0xF0,
|
---|
3643 | L" OEM defined "
|
---|
3644 | },
|
---|
3645 | };
|
---|
3646 |
|
---|
3647 | TABLE_ITEM ProcessorArchitectureTypesTable[] = {
|
---|
3648 | {
|
---|
3649 | 0,
|
---|
3650 | L" Reserved "
|
---|
3651 | },
|
---|
3652 | {
|
---|
3653 | 1,
|
---|
3654 | L" IA32 (x86) "
|
---|
3655 | },
|
---|
3656 | {
|
---|
3657 | 2,
|
---|
3658 | L" x64 (x86-64, intel64, AMD64, EM64T) "
|
---|
3659 | },
|
---|
3660 | {
|
---|
3661 | 3,
|
---|
3662 | L" Intel Itanium architecture "
|
---|
3663 | },
|
---|
3664 | {
|
---|
3665 | 4,
|
---|
3666 | L" 32-bit ARM (Aarch32) "
|
---|
3667 | },
|
---|
3668 | {
|
---|
3669 | 5,
|
---|
3670 | L" 64-bit ARM (Aarch64) "
|
---|
3671 | },
|
---|
3672 | {
|
---|
3673 | 6,
|
---|
3674 | L" 32-bit RISC-V (RV32) "
|
---|
3675 | },
|
---|
3676 | {
|
---|
3677 | 7,
|
---|
3678 | L" 64-bit RISC-V (RV64) "
|
---|
3679 | },
|
---|
3680 | {
|
---|
3681 | 8,
|
---|
3682 | L" 128-bit RISC-V (RV128) "
|
---|
3683 | },
|
---|
3684 | {
|
---|
3685 | 9,
|
---|
3686 | L" 32-bit LoongArch (LoongArch32) "
|
---|
3687 | },
|
---|
3688 | {
|
---|
3689 | 10,
|
---|
3690 | L" 64-bit LoongArch (LoongArch64) "
|
---|
3691 | }
|
---|
3692 | };
|
---|
3693 |
|
---|
3694 | TABLE_ITEM FirmwareInventoryCharTable[] = {
|
---|
3695 | {
|
---|
3696 | 0,
|
---|
3697 | L"Updatable"
|
---|
3698 | },
|
---|
3699 | {
|
---|
3700 | 1,
|
---|
3701 | L"Write-Protect"
|
---|
3702 | }
|
---|
3703 | };
|
---|
3704 |
|
---|
3705 | TABLE_ITEM FirmwareInventoryStateTable[] = {
|
---|
3706 | {
|
---|
3707 | 1,
|
---|
3708 | L" Other"
|
---|
3709 | },
|
---|
3710 | {
|
---|
3711 | 2,
|
---|
3712 | L" Unknown "
|
---|
3713 | },
|
---|
3714 | {
|
---|
3715 | 3,
|
---|
3716 | L" Disabled: This firmware component is disabled. "
|
---|
3717 | },
|
---|
3718 | {
|
---|
3719 | 4,
|
---|
3720 | L" Enabled: This firmware component is enabled. "
|
---|
3721 | },
|
---|
3722 | {
|
---|
3723 | 5,
|
---|
3724 | L" Absent: This firmware component is either not present or not detected "
|
---|
3725 | },
|
---|
3726 | {
|
---|
3727 | 6,
|
---|
3728 | L" StandbyOffline: This firmware is enabled but awaits an external action to activate it. "
|
---|
3729 | },
|
---|
3730 | {
|
---|
3731 | 7,
|
---|
3732 | L" StandbySpare: This firmware is part of a redundancy set and awaits a failover or other external action to activate it. "
|
---|
3733 | },
|
---|
3734 | {
|
---|
3735 | 8,
|
---|
3736 | L" UnavailableOffline: This firmware component is present but cannot be used. "
|
---|
3737 | },
|
---|
3738 | };
|
---|
3739 |
|
---|
3740 | TABLE_ITEM StructureTypeInfoTable[] = {
|
---|
3741 | {
|
---|
3742 | 0,
|
---|
3743 | L" BIOS Information"
|
---|
3744 | },
|
---|
3745 | {
|
---|
3746 | 1,
|
---|
3747 | L" System Information"
|
---|
3748 | },
|
---|
3749 | {
|
---|
3750 | 2,
|
---|
3751 | L" Base Board Information"
|
---|
3752 | },
|
---|
3753 | {
|
---|
3754 | 3,
|
---|
3755 | L" System Enclosure"
|
---|
3756 | },
|
---|
3757 | {
|
---|
3758 | 4,
|
---|
3759 | L" Processor Information"
|
---|
3760 | },
|
---|
3761 | {
|
---|
3762 | 5,
|
---|
3763 | L" Memory Controller Information "
|
---|
3764 | },
|
---|
3765 | {
|
---|
3766 | 6,
|
---|
3767 | L" Memory Module Information "
|
---|
3768 | },
|
---|
3769 | {
|
---|
3770 | 7,
|
---|
3771 | L" Cache Information "
|
---|
3772 | },
|
---|
3773 | {
|
---|
3774 | 8,
|
---|
3775 | L" Port Connector Information "
|
---|
3776 | },
|
---|
3777 | {
|
---|
3778 | 9,
|
---|
3779 | L" System Slots "
|
---|
3780 | },
|
---|
3781 | {
|
---|
3782 | 10,
|
---|
3783 | L" On Board Devices Information "
|
---|
3784 | },
|
---|
3785 | {
|
---|
3786 | 11,
|
---|
3787 | L" OEM Strings"
|
---|
3788 | },
|
---|
3789 | {
|
---|
3790 | 12,
|
---|
3791 | L" System Configuration Options "
|
---|
3792 | },
|
---|
3793 | {
|
---|
3794 | 13,
|
---|
3795 | L" BIOS Language Information "
|
---|
3796 | },
|
---|
3797 | {
|
---|
3798 | 14,
|
---|
3799 | L" Group Associations "
|
---|
3800 | },
|
---|
3801 | {
|
---|
3802 | 15,
|
---|
3803 | L" System Event Log "
|
---|
3804 | },
|
---|
3805 | {
|
---|
3806 | 16,
|
---|
3807 | L" Physical Memory Array "
|
---|
3808 | },
|
---|
3809 | {
|
---|
3810 | 17,
|
---|
3811 | L" Memory Device "
|
---|
3812 | },
|
---|
3813 | {
|
---|
3814 | 18,
|
---|
3815 | L" 32-bit Memory Error Information "
|
---|
3816 | },
|
---|
3817 | {
|
---|
3818 | 19,
|
---|
3819 | L" Memory Array Mapped Address "
|
---|
3820 | },
|
---|
3821 | {
|
---|
3822 | 20,
|
---|
3823 | L" Memory Device Mapped Address "
|
---|
3824 | },
|
---|
3825 | {
|
---|
3826 | 21,
|
---|
3827 | L" Built-in Pointing Device "
|
---|
3828 | },
|
---|
3829 | {
|
---|
3830 | 22,
|
---|
3831 | L" Portable Battery "
|
---|
3832 | },
|
---|
3833 | {
|
---|
3834 | 23,
|
---|
3835 | L" System Reset "
|
---|
3836 | },
|
---|
3837 | {
|
---|
3838 | 24,
|
---|
3839 | L" Hardware Security "
|
---|
3840 | },
|
---|
3841 | {
|
---|
3842 | 25,
|
---|
3843 | L" System Power Controls "
|
---|
3844 | },
|
---|
3845 | {
|
---|
3846 | 26,
|
---|
3847 | L" Voltage Probe "
|
---|
3848 | },
|
---|
3849 | {
|
---|
3850 | 27,
|
---|
3851 | L" Cooling Device "
|
---|
3852 | },
|
---|
3853 | {
|
---|
3854 | 28,
|
---|
3855 | L" Temperature Probe "
|
---|
3856 | },
|
---|
3857 | {
|
---|
3858 | 29,
|
---|
3859 | L" Electrical Current Probe "
|
---|
3860 | },
|
---|
3861 | {
|
---|
3862 | 30,
|
---|
3863 | L" Out-of-Band Remote Access "
|
---|
3864 | },
|
---|
3865 | {
|
---|
3866 | 31,
|
---|
3867 | L" Boot Integrity Services (BIS) Entry Point"
|
---|
3868 | },
|
---|
3869 | {
|
---|
3870 | 32,
|
---|
3871 | L" System Boot Information "
|
---|
3872 | },
|
---|
3873 | {
|
---|
3874 | 33,
|
---|
3875 | L" 64-bit Memory Error Information "
|
---|
3876 | },
|
---|
3877 | {
|
---|
3878 | 34,
|
---|
3879 | L" Management Device "
|
---|
3880 | },
|
---|
3881 | {
|
---|
3882 | 35,
|
---|
3883 | L" Management Device Component "
|
---|
3884 | },
|
---|
3885 | {
|
---|
3886 | 36,
|
---|
3887 | L" Management Device Threshold Data "
|
---|
3888 | },
|
---|
3889 | {
|
---|
3890 | 37,
|
---|
3891 | L" Memory Channel "
|
---|
3892 | },
|
---|
3893 | {
|
---|
3894 | 38,
|
---|
3895 | L" IPMI Device Information "
|
---|
3896 | },
|
---|
3897 | {
|
---|
3898 | 39,
|
---|
3899 | L" System Power Supply"
|
---|
3900 | },
|
---|
3901 | {
|
---|
3902 | 40,
|
---|
3903 | L" Additional Information"
|
---|
3904 | },
|
---|
3905 | {
|
---|
3906 | 41,
|
---|
3907 | L" Onboard Devices Extended Information"
|
---|
3908 | },
|
---|
3909 | {
|
---|
3910 | 42,
|
---|
3911 | L" Management Controller Host Interface"
|
---|
3912 | },
|
---|
3913 | {
|
---|
3914 | 43,
|
---|
3915 | L" TPM Device"
|
---|
3916 | },
|
---|
3917 | {
|
---|
3918 | 44,
|
---|
3919 | L" Processor Additional Information"
|
---|
3920 | },
|
---|
3921 | {
|
---|
3922 | 0x7E,
|
---|
3923 | L" Inactive"
|
---|
3924 | },
|
---|
3925 | {
|
---|
3926 | 0x7F,
|
---|
3927 | L" End-of-Table "
|
---|
3928 | },
|
---|
3929 | };
|
---|
3930 |
|
---|
3931 | /**
|
---|
3932 | Given a table and a Key, return the responding info.
|
---|
3933 |
|
---|
3934 | Notes:
|
---|
3935 | Table[Index].Key is change from UINT8 to UINT16,
|
---|
3936 | in order to deal with "0xaa - 0xbb".
|
---|
3937 |
|
---|
3938 | For example:
|
---|
3939 | DisplaySELVariableDataFormatTypes(UINT8 Type, UINT8 Option)
|
---|
3940 | has a item:
|
---|
3941 | "0x07-0x7F, Unused"
|
---|
3942 | Now define Key = 0x7F07, that is to say: High = 0x7F, Low = 0x07.
|
---|
3943 | Then all the Key Value between Low and High gets the same string
|
---|
3944 | L"Unused".
|
---|
3945 |
|
---|
3946 | @param[in] Table The begin address of table.
|
---|
3947 | @param[in] Number The number of table items.
|
---|
3948 | @param[in] Key The query Key.
|
---|
3949 | @param[in, out] Info Input as empty buffer; output as data buffer.
|
---|
3950 | @param[in] InfoLen The max number of characters for Info.
|
---|
3951 |
|
---|
3952 | @return the found Key and Info is valid.
|
---|
3953 | @retval QUERY_TABLE_UNFOUND and Info should be NULL.
|
---|
3954 | **/
|
---|
3955 | UINT8
|
---|
3956 | QueryTable (
|
---|
3957 | IN TABLE_ITEM *Table,
|
---|
3958 | IN UINTN Number,
|
---|
3959 | IN UINT8 Key,
|
---|
3960 | IN OUT CHAR16 *Info,
|
---|
3961 | IN UINTN InfoLen
|
---|
3962 | )
|
---|
3963 | {
|
---|
3964 | UINTN Index;
|
---|
3965 | //
|
---|
3966 | // High byte and Low byte of word
|
---|
3967 | //
|
---|
3968 | UINT8 High;
|
---|
3969 | UINT8 Low;
|
---|
3970 |
|
---|
3971 | for (Index = 0; Index < Number; Index++) {
|
---|
3972 | High = (UINT8)(Table[Index].Key >> 8);
|
---|
3973 | Low = (UINT8)(Table[Index].Key & 0x00FF);
|
---|
3974 |
|
---|
3975 | //
|
---|
3976 | // Check if Key is in the range
|
---|
3977 | // or if Key == Value in the table
|
---|
3978 | //
|
---|
3979 | if ( ((High > Low) && (Key >= Low) && (Key <= High))
|
---|
3980 | || (Table[Index].Key == Key))
|
---|
3981 | {
|
---|
3982 | StrnCpyS (Info, InfoLen, Table[Index].Info, InfoLen - 1);
|
---|
3983 | StrnCatS (Info, InfoLen, L"\n", InfoLen - 1 - StrLen (Info));
|
---|
3984 | return Key;
|
---|
3985 | }
|
---|
3986 | }
|
---|
3987 |
|
---|
3988 | StrCpyS (Info, InfoLen, L"Undefined Value\n");
|
---|
3989 | return QUERY_TABLE_UNFOUND;
|
---|
3990 | }
|
---|
3991 |
|
---|
3992 | /**
|
---|
3993 | Given a table of bit info and a Key, return the responding info to the Key.
|
---|
3994 |
|
---|
3995 | @param[in] Table Point to a table which maintains a map of 'bit' to 'message'.
|
---|
3996 | @param[in] Number Number of table items.
|
---|
3997 | @param[in] Bits The Key of query the bit map information.
|
---|
3998 | **/
|
---|
3999 | VOID
|
---|
4000 | PrintBitsInfo (
|
---|
4001 | IN TABLE_ITEM *Table,
|
---|
4002 | IN UINTN Number,
|
---|
4003 | IN UINT32 Bits
|
---|
4004 | )
|
---|
4005 | {
|
---|
4006 | //
|
---|
4007 | // Get certain bit of 'Value':
|
---|
4008 | //
|
---|
4009 | #define BIT(Value, bit) ((Value) & ((UINT32) 1) << (bit))
|
---|
4010 | //
|
---|
4011 | // Clear certain bit of 'Value':
|
---|
4012 | //
|
---|
4013 | #define CLR_BIT(Value, bit) ((Value) -= (BIT (Value, bit)))
|
---|
4014 |
|
---|
4015 | UINTN Index;
|
---|
4016 | UINT32 Value;
|
---|
4017 | BOOLEAN FirstInfo;
|
---|
4018 |
|
---|
4019 | FirstInfo = TRUE;
|
---|
4020 | Value = Bits;
|
---|
4021 | //
|
---|
4022 | // query the table and print information
|
---|
4023 | //
|
---|
4024 | for (Index = 0; Index < Number; Index++) {
|
---|
4025 | if (BIT (Value, Table[Index].Key) != 0) {
|
---|
4026 | if (!FirstInfo) {
|
---|
4027 | //
|
---|
4028 | // If it is not first info, print the separator first.
|
---|
4029 | //
|
---|
4030 | Print (L" | ");
|
---|
4031 | }
|
---|
4032 |
|
---|
4033 | Print (Table[Index].Info);
|
---|
4034 |
|
---|
4035 | FirstInfo = FALSE;
|
---|
4036 | //
|
---|
4037 | // clear the bit, for reserved bits test
|
---|
4038 | //
|
---|
4039 | CLR_BIT (Value, Table[Index].Key);
|
---|
4040 | }
|
---|
4041 | }
|
---|
4042 |
|
---|
4043 | //
|
---|
4044 | // There is no any info if FirstInfo is still TRUE.
|
---|
4045 | //
|
---|
4046 | if (FirstInfo) {
|
---|
4047 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_NO_INFO), gShellDebug1HiiHandle);
|
---|
4048 | }
|
---|
4049 |
|
---|
4050 | if (Value != 0) {
|
---|
4051 | ShellPrintHiiEx (
|
---|
4052 | -1,
|
---|
4053 | -1,
|
---|
4054 | NULL,
|
---|
4055 | STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_RSVD_BITS_SET),
|
---|
4056 | gShellDebug1HiiHandle,
|
---|
4057 | Value
|
---|
4058 | );
|
---|
4059 | }
|
---|
4060 |
|
---|
4061 | Print (L"\n");
|
---|
4062 | }
|
---|
4063 |
|
---|
4064 | //
|
---|
4065 | // //////////////////////////////////////////////////////////////////
|
---|
4066 | //
|
---|
4067 | // Following uses QueryTable functions to simplify the coding.
|
---|
4068 | // QueryTable(), PrintBitsInfo()
|
---|
4069 | //
|
---|
4070 | //
|
---|
4071 | #define PRINT_TABLE_ITEM(Table, Key) \
|
---|
4072 | do { \
|
---|
4073 | UINTN Num; \
|
---|
4074 | CHAR16 Info[66]; \
|
---|
4075 | Num = sizeof (Table) / sizeof (TABLE_ITEM); \
|
---|
4076 | ZeroMem (Info, sizeof (Info)); \
|
---|
4077 | QueryTable (Table, Num, Key, Info, sizeof(Info)/sizeof(Info[0])); \
|
---|
4078 | Print (Info); \
|
---|
4079 | } while (0);
|
---|
4080 |
|
---|
4081 | #define PRINT_BITS_INFO(Table, bits) \
|
---|
4082 | do { \
|
---|
4083 | UINTN Num; \
|
---|
4084 | Num = sizeof (Table) / sizeof (TABLE_ITEM); \
|
---|
4085 | PrintBitsInfo (Table, Num, (UINT32) bits); \
|
---|
4086 | } while (0);
|
---|
4087 |
|
---|
4088 | /**
|
---|
4089 | Display System Information (Type 1) Type.
|
---|
4090 |
|
---|
4091 | @param[in] Type The key of the structure.
|
---|
4092 | @param[in] Option The optional information.
|
---|
4093 | **/
|
---|
4094 | VOID
|
---|
4095 | DisplaySystemWakeupType (
|
---|
4096 | IN UINT8 Type,
|
---|
4097 | IN UINT8 Option
|
---|
4098 | )
|
---|
4099 | {
|
---|
4100 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_WAKEUP_TYPE), gShellDebug1HiiHandle);
|
---|
4101 | PRINT_INFO_OPTION (Type, Option);
|
---|
4102 | PRINT_TABLE_ITEM (SystemWakeupTypeTable, Type);
|
---|
4103 | }
|
---|
4104 |
|
---|
4105 | /**
|
---|
4106 | Display Base Board (Type 2) Feature Flags.
|
---|
4107 |
|
---|
4108 | @param[in] FeatureFlags The key of the structure.
|
---|
4109 | @param[in] Option The optional information.
|
---|
4110 | **/
|
---|
4111 | VOID
|
---|
4112 | DisplayBaseBoardFeatureFlags (
|
---|
4113 | IN UINT8 FeatureFlags,
|
---|
4114 | IN UINT8 Option
|
---|
4115 | )
|
---|
4116 | {
|
---|
4117 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_BASE_BOARD_FEATURE_FLAGS), gShellDebug1HiiHandle);
|
---|
4118 | PRINT_INFO_OPTION (FeatureFlags, Option);
|
---|
4119 | PRINT_BITS_INFO (BaseBoardFeatureFlagsTable, FeatureFlags);
|
---|
4120 | }
|
---|
4121 |
|
---|
4122 | /**
|
---|
4123 | Display Base Board (Type 2) Board Type.
|
---|
4124 |
|
---|
4125 | @param[in] Type The key of the structure.
|
---|
4126 | @param[in] Option The optional information.
|
---|
4127 | **/
|
---|
4128 | VOID
|
---|
4129 | DisplayBaseBoardBoardType (
|
---|
4130 | IN UINT8 Type,
|
---|
4131 | IN UINT8 Option
|
---|
4132 | )
|
---|
4133 | {
|
---|
4134 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_BASE_BOARD_BOARD_TYPE), gShellDebug1HiiHandle);
|
---|
4135 | PRINT_INFO_OPTION (Type, Option);
|
---|
4136 | PRINT_TABLE_ITEM (BaseBoardBoardTypeTable, Type);
|
---|
4137 | }
|
---|
4138 |
|
---|
4139 | /**
|
---|
4140 | Display System Enclosure (Type 3) Enclosure Type.
|
---|
4141 |
|
---|
4142 | @param[in] Type The key of the structure.
|
---|
4143 | @param[in] Option The optional information.
|
---|
4144 | **/
|
---|
4145 | VOID
|
---|
4146 | DisplaySystemEnclosureType (
|
---|
4147 | IN UINT8 Type,
|
---|
4148 | IN UINT8 Option
|
---|
4149 | )
|
---|
4150 | {
|
---|
4151 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_CHASSIS_TYPE), gShellDebug1HiiHandle);
|
---|
4152 | PRINT_INFO_OPTION (Type, Option);
|
---|
4153 | //
|
---|
4154 | // query table and print info
|
---|
4155 | //
|
---|
4156 | PRINT_TABLE_ITEM (SystemEnclosureTypeTable, Type);
|
---|
4157 |
|
---|
4158 | if (BIT (Type, 7) != 0) {
|
---|
4159 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_CHASSIS_LOCK_PRESENT), gShellDebug1HiiHandle);
|
---|
4160 | }
|
---|
4161 | }
|
---|
4162 |
|
---|
4163 | /**
|
---|
4164 | Display System Enclosure (Type 3) Enclosure Status.
|
---|
4165 |
|
---|
4166 | @param[in] Status The key of the structure.
|
---|
4167 | @param[in] Option The optional information.
|
---|
4168 | **/
|
---|
4169 | VOID
|
---|
4170 | DisplaySystemEnclosureStatus (
|
---|
4171 | IN UINT8 Status,
|
---|
4172 | IN UINT8 Option
|
---|
4173 | )
|
---|
4174 | {
|
---|
4175 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_CHASSIS_STATUS), gShellDebug1HiiHandle);
|
---|
4176 | PRINT_INFO_OPTION (Status, Option);
|
---|
4177 | PRINT_TABLE_ITEM (SystemEnclosureStatusTable, Status);
|
---|
4178 | }
|
---|
4179 |
|
---|
4180 | /**
|
---|
4181 | Display System Enclosure (Type 3) Security Status.
|
---|
4182 |
|
---|
4183 | @param[in] Status The key of the structure.
|
---|
4184 | @param[in] Option The optional information.
|
---|
4185 | **/
|
---|
4186 | VOID
|
---|
4187 | DisplaySESecurityStatus (
|
---|
4188 | IN UINT8 Status,
|
---|
4189 | IN UINT8 Option
|
---|
4190 | )
|
---|
4191 | {
|
---|
4192 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_CHASSIS_SECURITY), gShellDebug1HiiHandle);
|
---|
4193 | PRINT_INFO_OPTION (Status, Option);
|
---|
4194 | PRINT_TABLE_ITEM (SESecurityStatusTable, Status);
|
---|
4195 | }
|
---|
4196 |
|
---|
4197 | /**
|
---|
4198 | Display Processor Information (Type 4) Type.
|
---|
4199 |
|
---|
4200 | @param[in] Type The key of the structure.
|
---|
4201 | @param[in] Option The optional information.
|
---|
4202 | **/
|
---|
4203 | VOID
|
---|
4204 | DisplayProcessorType (
|
---|
4205 | IN UINT8 Type,
|
---|
4206 | IN UINT8 Option
|
---|
4207 | )
|
---|
4208 | {
|
---|
4209 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PROC_TYPE), gShellDebug1HiiHandle);
|
---|
4210 | PRINT_INFO_OPTION (Type, Option);
|
---|
4211 | PRINT_TABLE_ITEM (ProcessorTypeTable, Type);
|
---|
4212 | }
|
---|
4213 |
|
---|
4214 | /**
|
---|
4215 | Display Processor Information (Type 4) Upgrade.
|
---|
4216 |
|
---|
4217 | @param[in] Upgrade The key of the structure.
|
---|
4218 | @param[in] Option The optional information.
|
---|
4219 | **/
|
---|
4220 | VOID
|
---|
4221 | DisplayProcessorUpgrade (
|
---|
4222 | IN UINT8 Upgrade,
|
---|
4223 | IN UINT8 Option
|
---|
4224 | )
|
---|
4225 | {
|
---|
4226 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PROC_UPDATE), gShellDebug1HiiHandle);
|
---|
4227 | PRINT_INFO_OPTION (Upgrade, Option);
|
---|
4228 | PRINT_TABLE_ITEM (ProcessorUpgradeTable, Upgrade);
|
---|
4229 | }
|
---|
4230 |
|
---|
4231 | /**
|
---|
4232 | Display Processor Information (Type 4) Characteristics.
|
---|
4233 |
|
---|
4234 | @param[in] Type The key of the structure.
|
---|
4235 | @param[in] Option The optional information.
|
---|
4236 | **/
|
---|
4237 | VOID
|
---|
4238 | DisplayProcessorCharacteristics (
|
---|
4239 | IN UINT16 Type,
|
---|
4240 | IN UINT8 Option
|
---|
4241 | )
|
---|
4242 | {
|
---|
4243 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PROC_CHARACTERISTICS), gShellDebug1HiiHandle);
|
---|
4244 | PRINT_INFO_OPTION (Type, Option);
|
---|
4245 | PRINT_BITS_INFO (ProcessorCharacteristicsTable, Type);
|
---|
4246 | }
|
---|
4247 |
|
---|
4248 | /**
|
---|
4249 | Display Memory Controller Information (Type 5) method.
|
---|
4250 |
|
---|
4251 | @param[in] Method The key of the structure.
|
---|
4252 | @param[in] Option The optional information.
|
---|
4253 | **/
|
---|
4254 | VOID
|
---|
4255 | DisplayMcErrorDetectMethod (
|
---|
4256 | IN UINT8 Method,
|
---|
4257 | IN UINT8 Option
|
---|
4258 | )
|
---|
4259 | {
|
---|
4260 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_DETECTMETHOD), gShellDebug1HiiHandle);
|
---|
4261 | PRINT_INFO_OPTION (Method, Option);
|
---|
4262 | PRINT_TABLE_ITEM (McErrorDetectMethodTable, Method);
|
---|
4263 | }
|
---|
4264 |
|
---|
4265 | /**
|
---|
4266 | Display Memory Controller Information (Type 5) Capability.
|
---|
4267 |
|
---|
4268 | @param[in] Capability The key of the structure.
|
---|
4269 | @param[in] Option The optional information.
|
---|
4270 | **/
|
---|
4271 | VOID
|
---|
4272 | DisplayMcErrorCorrectCapability (
|
---|
4273 | IN UINT8 Capability,
|
---|
4274 | IN UINT8 Option
|
---|
4275 | )
|
---|
4276 | {
|
---|
4277 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_CORRECT_CAPABILITY), gShellDebug1HiiHandle);
|
---|
4278 | PRINT_INFO_OPTION (Capability, Option);
|
---|
4279 | PRINT_BITS_INFO (McErrorCorrectCapabilityTable, Capability);
|
---|
4280 | }
|
---|
4281 |
|
---|
4282 | /**
|
---|
4283 | Display Memory Controller Information (Type 5) Support.
|
---|
4284 |
|
---|
4285 | @param[in] Support The key of the structure.
|
---|
4286 | @param[in] Option The optional information.
|
---|
4287 | **/
|
---|
4288 | VOID
|
---|
4289 | DisplayMcInterleaveSupport (
|
---|
4290 | IN UINT8 Support,
|
---|
4291 | IN UINT8 Option
|
---|
4292 | )
|
---|
4293 | {
|
---|
4294 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_INTERLEAVE_SUPPORT), gShellDebug1HiiHandle);
|
---|
4295 | PRINT_INFO_OPTION (Support, Option);
|
---|
4296 | PRINT_TABLE_ITEM (McInterleaveSupportTable, Support);
|
---|
4297 | }
|
---|
4298 |
|
---|
4299 | /**
|
---|
4300 | Display Memory Controller Information (Type 5) speeds.
|
---|
4301 |
|
---|
4302 | @param[in] Speed The key of the structure.
|
---|
4303 | @param[in] Option The optional information.
|
---|
4304 | **/
|
---|
4305 | VOID
|
---|
4306 | DisplayMcMemorySpeeds (
|
---|
4307 | IN UINT16 Speed,
|
---|
4308 | IN UINT8 Option
|
---|
4309 | )
|
---|
4310 | {
|
---|
4311 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_MEMORY_SPEED), gShellDebug1HiiHandle);
|
---|
4312 | PRINT_INFO_OPTION (Speed, Option);
|
---|
4313 | PRINT_BITS_INFO (McMemorySpeedsTable, Speed);
|
---|
4314 | }
|
---|
4315 |
|
---|
4316 | /**
|
---|
4317 | Display Memory Controller Information (Type 5) voltage.
|
---|
4318 |
|
---|
4319 | @param[in] Voltage The key of the structure.
|
---|
4320 | @param[in] Option The optional information.
|
---|
4321 | **/
|
---|
4322 | VOID
|
---|
4323 | DisplayMemoryModuleVoltage (
|
---|
4324 | IN UINT8 Voltage,
|
---|
4325 | IN UINT8 Option
|
---|
4326 | )
|
---|
4327 | {
|
---|
4328 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_REQUIRED_VOLTAGES), gShellDebug1HiiHandle);
|
---|
4329 | PRINT_INFO_OPTION (Voltage, Option);
|
---|
4330 | PRINT_BITS_INFO (MemoryModuleVoltageTable, Voltage);
|
---|
4331 | }
|
---|
4332 |
|
---|
4333 | /**
|
---|
4334 | Display Memory Module Information (Type 6) type.
|
---|
4335 |
|
---|
4336 | @param[in] Type The key of the structure.
|
---|
4337 | @param[in] Option The optional information.
|
---|
4338 | **/
|
---|
4339 | VOID
|
---|
4340 | DisplayMmMemoryType (
|
---|
4341 | IN UINT16 Type,
|
---|
4342 | IN UINT8 Option
|
---|
4343 | )
|
---|
4344 | {
|
---|
4345 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_MODULE_TYPE), gShellDebug1HiiHandle);
|
---|
4346 | PRINT_INFO_OPTION (Type, Option);
|
---|
4347 | PRINT_BITS_INFO (MmMemoryTypeTable, Type);
|
---|
4348 | }
|
---|
4349 |
|
---|
4350 | /**
|
---|
4351 | Display Memory Module Information (Type 6) status.
|
---|
4352 |
|
---|
4353 | @param[in] Status The key of the structure.
|
---|
4354 | @param[in] Option The optional information.
|
---|
4355 | **/
|
---|
4356 | VOID
|
---|
4357 | DisplayMmErrorStatus (
|
---|
4358 | IN UINT8 Status,
|
---|
4359 | IN UINT8 Option
|
---|
4360 | )
|
---|
4361 | {
|
---|
4362 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_MODULE_ERROR_STATUS), gShellDebug1HiiHandle);
|
---|
4363 | PRINT_INFO_OPTION (Status, Option);
|
---|
4364 | PRINT_BITS_INFO (MmErrorStatusTable, Status);
|
---|
4365 | }
|
---|
4366 |
|
---|
4367 | /**
|
---|
4368 | Display Cache Information (Type 7) SRAM Type.
|
---|
4369 |
|
---|
4370 | @param[in] Type The key of the structure.
|
---|
4371 | @param[in] Option The optional information.
|
---|
4372 | **/
|
---|
4373 | VOID
|
---|
4374 | DisplayCacheSRAMType (
|
---|
4375 | IN UINT16 Type,
|
---|
4376 | IN UINT8 Option
|
---|
4377 | )
|
---|
4378 | {
|
---|
4379 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_CACHE_SRAM_TYPE), gShellDebug1HiiHandle);
|
---|
4380 | PRINT_INFO_OPTION ((UINT8)Type, Option);
|
---|
4381 | PRINT_BITS_INFO (CacheSRAMTypeTable, (UINT8)Type);
|
---|
4382 | }
|
---|
4383 |
|
---|
4384 | /**
|
---|
4385 | Display Cache Information (Type 7) correcting Type.
|
---|
4386 |
|
---|
4387 | @param[in] Type The key of the structure.
|
---|
4388 | @param[in] Option The optional information.
|
---|
4389 | **/
|
---|
4390 | VOID
|
---|
4391 | DisplayCacheErrCorrectingType (
|
---|
4392 | IN UINT8 Type,
|
---|
4393 | IN UINT8 Option
|
---|
4394 | )
|
---|
4395 | {
|
---|
4396 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_CACHE_ERROR_CORRECTING), gShellDebug1HiiHandle);
|
---|
4397 | PRINT_INFO_OPTION (Type, Option);
|
---|
4398 | PRINT_TABLE_ITEM (CacheErrCorrectingTypeTable, Type);
|
---|
4399 | }
|
---|
4400 |
|
---|
4401 | /**
|
---|
4402 | Display Cache Information (Type 7) Type.
|
---|
4403 |
|
---|
4404 | @param[in] Type The key of the structure.
|
---|
4405 | @param[in] Option The optional information.
|
---|
4406 | **/
|
---|
4407 | VOID
|
---|
4408 | DisplayCacheSystemCacheType (
|
---|
4409 | IN UINT8 Type,
|
---|
4410 | IN UINT8 Option
|
---|
4411 | )
|
---|
4412 | {
|
---|
4413 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_CACHE_SYSTEM_TYPE), gShellDebug1HiiHandle);
|
---|
4414 | PRINT_INFO_OPTION (Type, Option);
|
---|
4415 | PRINT_TABLE_ITEM (CacheSystemCacheTypeTable, Type);
|
---|
4416 | }
|
---|
4417 |
|
---|
4418 | /**
|
---|
4419 | Display Cache Information (Type 7) Associativity.
|
---|
4420 |
|
---|
4421 | @param[in] Associativity The key of the structure.
|
---|
4422 | @param[in] Option The optional information.
|
---|
4423 | **/
|
---|
4424 | VOID
|
---|
4425 | DisplayCacheAssociativity (
|
---|
4426 | IN UINT8 Associativity,
|
---|
4427 | IN UINT8 Option
|
---|
4428 | )
|
---|
4429 | {
|
---|
4430 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_CACHE_ASSOCIATIVITY), gShellDebug1HiiHandle);
|
---|
4431 | PRINT_INFO_OPTION (Associativity, Option);
|
---|
4432 | PRINT_TABLE_ITEM (CacheAssociativityTable, Associativity);
|
---|
4433 | }
|
---|
4434 |
|
---|
4435 | /**
|
---|
4436 | Display Port Connector Information (Type 8) type.
|
---|
4437 |
|
---|
4438 | @param[in] Type The key of the structure.
|
---|
4439 | @param[in] Option The optional information.
|
---|
4440 | **/
|
---|
4441 | VOID
|
---|
4442 | DisplayPortConnectorType (
|
---|
4443 | IN UINT8 Type,
|
---|
4444 | IN UINT8 Option
|
---|
4445 | )
|
---|
4446 | {
|
---|
4447 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PORT_CONNECTOR_TYPE), gShellDebug1HiiHandle);
|
---|
4448 | PRINT_INFO_OPTION (Type, Option);
|
---|
4449 | PRINT_TABLE_ITEM (PortConnectorTypeTable, Type);
|
---|
4450 | }
|
---|
4451 |
|
---|
4452 | /**
|
---|
4453 | Display Port Connector Information (Type 8) port type.
|
---|
4454 |
|
---|
4455 | @param[in] Type The key of the structure.
|
---|
4456 | @param[in] Option The optional information.
|
---|
4457 | **/
|
---|
4458 | VOID
|
---|
4459 | DisplayPortType (
|
---|
4460 | IN UINT8 Type,
|
---|
4461 | IN UINT8 Option
|
---|
4462 | )
|
---|
4463 | {
|
---|
4464 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PORT_TYPE), gShellDebug1HiiHandle);
|
---|
4465 | PRINT_INFO_OPTION (Type, Option);
|
---|
4466 | PRINT_TABLE_ITEM (PortTypeTable, Type);
|
---|
4467 | }
|
---|
4468 |
|
---|
4469 | /**
|
---|
4470 | Display System Slots (Type 9) slot type.
|
---|
4471 |
|
---|
4472 | @param[in] Type The key of the structure.
|
---|
4473 | @param[in] Option The optional information.
|
---|
4474 | **/
|
---|
4475 | VOID
|
---|
4476 | DisplaySystemSlotType (
|
---|
4477 | IN UINT8 Type,
|
---|
4478 | IN UINT8 Option
|
---|
4479 | )
|
---|
4480 | {
|
---|
4481 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_TYPE), gShellDebug1HiiHandle);
|
---|
4482 | PRINT_INFO_OPTION (Type, Option);
|
---|
4483 | PRINT_TABLE_ITEM (SystemSlotTypeTable, Type);
|
---|
4484 | }
|
---|
4485 |
|
---|
4486 | /**
|
---|
4487 | Display System Slots (Type 9) data bus width.
|
---|
4488 |
|
---|
4489 | @param[in] Width The key of the structure.
|
---|
4490 | @param[in] Option The optional information.
|
---|
4491 | **/
|
---|
4492 | VOID
|
---|
4493 | DisplaySystemSlotDataBusWidth (
|
---|
4494 | IN UINT8 Width,
|
---|
4495 | IN UINT8 Option
|
---|
4496 | )
|
---|
4497 | {
|
---|
4498 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_DATA), gShellDebug1HiiHandle);
|
---|
4499 | PRINT_INFO_OPTION (Width, Option);
|
---|
4500 | PRINT_TABLE_ITEM (SystemSlotDataBusWidthTable, Width);
|
---|
4501 | }
|
---|
4502 |
|
---|
4503 | /**
|
---|
4504 | Display System Slots (Type 9) usage information.
|
---|
4505 |
|
---|
4506 | @param[in] Usage The key of the structure.
|
---|
4507 | @param[in] Option The optional information.
|
---|
4508 | **/
|
---|
4509 | VOID
|
---|
4510 | DisplaySystemSlotCurrentUsage (
|
---|
4511 | IN UINT8 Usage,
|
---|
4512 | IN UINT8 Option
|
---|
4513 | )
|
---|
4514 | {
|
---|
4515 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_CURRENT_USAGE), gShellDebug1HiiHandle);
|
---|
4516 | PRINT_INFO_OPTION (Usage, Option);
|
---|
4517 | PRINT_TABLE_ITEM (SystemSlotCurrentUsageTable, Usage);
|
---|
4518 | }
|
---|
4519 |
|
---|
4520 | /**
|
---|
4521 | Display System Slots (Type 9) slot length.
|
---|
4522 |
|
---|
4523 | @param[in] Length The key of the structure.
|
---|
4524 | @param[in] Option The optional information.
|
---|
4525 | **/
|
---|
4526 | VOID
|
---|
4527 | DisplaySystemSlotLength (
|
---|
4528 | IN UINT8 Length,
|
---|
4529 | IN UINT8 Option
|
---|
4530 | )
|
---|
4531 | {
|
---|
4532 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_LENGTH), gShellDebug1HiiHandle);
|
---|
4533 | PRINT_INFO_OPTION (Length, Option);
|
---|
4534 | PRINT_TABLE_ITEM (SystemSlotLengthTable, Length);
|
---|
4535 | }
|
---|
4536 |
|
---|
4537 | /**
|
---|
4538 | Display System Slots (Type 9) characteristics.
|
---|
4539 |
|
---|
4540 | @param[in] Chara1 The key of the structure.
|
---|
4541 | @param[in] Option The optional information.
|
---|
4542 | **/
|
---|
4543 | VOID
|
---|
4544 | DisplaySlotCharacteristics1 (
|
---|
4545 | IN UINT8 Chara1,
|
---|
4546 | IN UINT8 Option
|
---|
4547 | )
|
---|
4548 | {
|
---|
4549 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SLOT_CHARACTERISTICS), gShellDebug1HiiHandle);
|
---|
4550 | PRINT_INFO_OPTION (Chara1, Option);
|
---|
4551 | PRINT_BITS_INFO (SlotCharacteristics1Table, Chara1);
|
---|
4552 | }
|
---|
4553 |
|
---|
4554 | /**
|
---|
4555 | Display System Slots (Type 9) characteristics.
|
---|
4556 |
|
---|
4557 | @param[in] Chara2 The key of the structure.
|
---|
4558 | @param[in] Option The optional information.
|
---|
4559 | **/
|
---|
4560 | VOID
|
---|
4561 | DisplaySlotCharacteristics2 (
|
---|
4562 | IN UINT8 Chara2,
|
---|
4563 | IN UINT8 Option
|
---|
4564 | )
|
---|
4565 | {
|
---|
4566 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SLOT_CHARACTERISTICS_2), gShellDebug1HiiHandle);
|
---|
4567 | PRINT_INFO_OPTION (Chara2, Option);
|
---|
4568 | PRINT_BITS_INFO (SlotCharacteristics2Table, Chara2);
|
---|
4569 | }
|
---|
4570 |
|
---|
4571 | /**
|
---|
4572 | Display System Slots (Type 9) Information.
|
---|
4573 |
|
---|
4574 | @param[in] Width The key of the structure.
|
---|
4575 | @param[in] Option The optional information.
|
---|
4576 | **/
|
---|
4577 | VOID
|
---|
4578 | DisplaySystemSlotInformation (
|
---|
4579 | IN UINT8 Width,
|
---|
4580 | IN UINT8 Option
|
---|
4581 | )
|
---|
4582 | {
|
---|
4583 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_INFORMATION), gShellDebug1HiiHandle);
|
---|
4584 | PRINT_INFO_OPTION (Width, Option);
|
---|
4585 | PRINT_TABLE_ITEM (SystemSlotInformationTable, Width);
|
---|
4586 | }
|
---|
4587 |
|
---|
4588 | /**
|
---|
4589 | Display System Slots (Type 9) Physical Width.
|
---|
4590 |
|
---|
4591 | @param[in] Width The key of the structure.
|
---|
4592 | @param[in] Option The optional information.
|
---|
4593 | **/
|
---|
4594 | VOID
|
---|
4595 | DisplaySystemSlotPhysicalWidth (
|
---|
4596 | IN UINT8 Width,
|
---|
4597 | IN UINT8 Option
|
---|
4598 | )
|
---|
4599 | {
|
---|
4600 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_PHYSICAL_WIDTH), gShellDebug1HiiHandle);
|
---|
4601 | PRINT_INFO_OPTION (Width, Option);
|
---|
4602 | PRINT_TABLE_ITEM (SystemSlotPhysicalWidthTable, Width);
|
---|
4603 | }
|
---|
4604 |
|
---|
4605 | /**
|
---|
4606 | Display System Slots (Type 9) slot height.
|
---|
4607 |
|
---|
4608 | @param[in] Length The key of the structure.
|
---|
4609 | @param[in] Option The optional information.
|
---|
4610 | **/
|
---|
4611 | VOID
|
---|
4612 | DisplaySystemSlotHeight (
|
---|
4613 | IN UINT8 Length,
|
---|
4614 | IN UINT8 Option
|
---|
4615 | )
|
---|
4616 | {
|
---|
4617 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_SLOT_HEIGHT), gShellDebug1HiiHandle);
|
---|
4618 | PRINT_INFO_OPTION (Length, Option);
|
---|
4619 | PRINT_TABLE_ITEM (SystemSlotHeightTable, Length);
|
---|
4620 | }
|
---|
4621 |
|
---|
4622 | /**
|
---|
4623 | Display On Board Devices Information (Type 10) types.
|
---|
4624 |
|
---|
4625 | @param[in] Type The key of the structure.
|
---|
4626 | @param[in] Option The optional information.
|
---|
4627 | **/
|
---|
4628 | VOID
|
---|
4629 | DisplayOnboardDeviceTypes (
|
---|
4630 | IN UINT8 Type,
|
---|
4631 | IN UINT8 Option
|
---|
4632 | )
|
---|
4633 | {
|
---|
4634 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_ONBOARD_DEVICE_TYPE), gShellDebug1HiiHandle);
|
---|
4635 | PRINT_INFO_OPTION (Type, Option);
|
---|
4636 | PRINT_TABLE_ITEM (OnboardDeviceTypesTable, Type);
|
---|
4637 | }
|
---|
4638 |
|
---|
4639 | /**
|
---|
4640 | Display System Event Log (Type 15) types.
|
---|
4641 |
|
---|
4642 | @param[in] Type The key of the structure.
|
---|
4643 | @param[in] Option The optional information.
|
---|
4644 | **/
|
---|
4645 | VOID
|
---|
4646 | DisplaySELTypes (
|
---|
4647 | IN UINT8 Type,
|
---|
4648 | IN UINT8 Option
|
---|
4649 | )
|
---|
4650 | {
|
---|
4651 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_EVENT_LOG_TYPE), gShellDebug1HiiHandle);
|
---|
4652 | PRINT_INFO_OPTION (Type, Option);
|
---|
4653 | PRINT_TABLE_ITEM (SELTypesTable, Type);
|
---|
4654 | }
|
---|
4655 |
|
---|
4656 | /**
|
---|
4657 | Display System Event Log (Type 15) format type.
|
---|
4658 |
|
---|
4659 | @param[in] Type The key of the structure.
|
---|
4660 | @param[in] Option The optional information.
|
---|
4661 | **/
|
---|
4662 | VOID
|
---|
4663 | DisplaySELVarDataFormatType (
|
---|
4664 | IN UINT8 Type,
|
---|
4665 | IN UINT8 Option
|
---|
4666 | )
|
---|
4667 | {
|
---|
4668 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_EVENT_LOG_VAR_DATA_FORMAT), gShellDebug1HiiHandle);
|
---|
4669 | PRINT_INFO_OPTION (Type, Option);
|
---|
4670 | PRINT_TABLE_ITEM (SELVarDataFormatTypeTable, Type);
|
---|
4671 | }
|
---|
4672 |
|
---|
4673 | /**
|
---|
4674 | Display System Event Log (Type 15) dw1.
|
---|
4675 |
|
---|
4676 | @param[in] Key The key of the structure.
|
---|
4677 | @param[in] Option The optional information.
|
---|
4678 | **/
|
---|
4679 | VOID
|
---|
4680 | DisplayPostResultsBitmapDw1 (
|
---|
4681 | IN UINT32 Key,
|
---|
4682 | IN UINT8 Option
|
---|
4683 | )
|
---|
4684 | {
|
---|
4685 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_POST_RESULTS_BITMAP), gShellDebug1HiiHandle);
|
---|
4686 | PRINT_INFO_OPTION (Key, Option);
|
---|
4687 | PRINT_BITS_INFO (PostResultsBitmapDw1Table, Key);
|
---|
4688 | }
|
---|
4689 |
|
---|
4690 | /**
|
---|
4691 | Display System Event Log (Type 15) dw2.
|
---|
4692 |
|
---|
4693 | @param[in] Key The key of the structure.
|
---|
4694 | @param[in] Option The optional information.
|
---|
4695 | **/
|
---|
4696 | VOID
|
---|
4697 | DisplayPostResultsBitmapDw2 (
|
---|
4698 | IN UINT32 Key,
|
---|
4699 | IN UINT8 Option
|
---|
4700 | )
|
---|
4701 | {
|
---|
4702 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_POST_RESULTS_SECOND_DWORD), gShellDebug1HiiHandle);
|
---|
4703 | PRINT_INFO_OPTION (Key, Option);
|
---|
4704 | PRINT_BITS_INFO (PostResultsBitmapDw2Table, Key);
|
---|
4705 | }
|
---|
4706 |
|
---|
4707 | /**
|
---|
4708 | Display System Event Log (Type 15) type.
|
---|
4709 |
|
---|
4710 | @param[in] SMType The key of the structure.
|
---|
4711 | @param[in] Option The optional information.
|
---|
4712 | **/
|
---|
4713 | VOID
|
---|
4714 | DisplaySELSysManagementTypes (
|
---|
4715 | IN UINT32 SMType,
|
---|
4716 | IN UINT8 Option
|
---|
4717 | )
|
---|
4718 | {
|
---|
4719 | UINT8 Temp;
|
---|
4720 |
|
---|
4721 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_MANAGEMENT_TYPES), gShellDebug1HiiHandle);
|
---|
4722 | PRINT_INFO_OPTION (SMType, Option);
|
---|
4723 |
|
---|
4724 | //
|
---|
4725 | // Deal with wide range Value
|
---|
4726 | //
|
---|
4727 | if (SMType >= 0x80000000) {
|
---|
4728 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_OEM_ASSIGNED), gShellDebug1HiiHandle);
|
---|
4729 | } else if (SMType >= 0x00020000) {
|
---|
4730 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_RSVD_FOR_FUTURE_ASSIGN), gShellDebug1HiiHandle);
|
---|
4731 | } else if (SMType >= 0x00010000) {
|
---|
4732 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_SYSTEM_MANAGEMENT_PROBE), gShellDebug1HiiHandle);
|
---|
4733 | } else if (SMType >= 0x31) {
|
---|
4734 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_RSVD_FOR_FUTURE_ASSIGN), gShellDebug1HiiHandle);
|
---|
4735 | } else {
|
---|
4736 | //
|
---|
4737 | // Deal with One byte data
|
---|
4738 | //
|
---|
4739 | Temp = (UINT8)(SMType & 0x3F);
|
---|
4740 | PRINT_TABLE_ITEM (SELSysManagementTypesTable, Temp);
|
---|
4741 | }
|
---|
4742 | }
|
---|
4743 |
|
---|
4744 | /**
|
---|
4745 | Display Physical Memory Array (Type 16) Location.
|
---|
4746 |
|
---|
4747 | @param[in] Location The key of the structure.
|
---|
4748 | @param[in] Option The optional information.
|
---|
4749 | **/
|
---|
4750 | VOID
|
---|
4751 | DisplayPMALocation (
|
---|
4752 | IN UINT8 Location,
|
---|
4753 | IN UINT8 Option
|
---|
4754 | )
|
---|
4755 | {
|
---|
4756 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PHYS_MEM_ARRAY_LOCATION), gShellDebug1HiiHandle);
|
---|
4757 | PRINT_INFO_OPTION (Location, Option);
|
---|
4758 | PRINT_TABLE_ITEM (PMALocationTable, Location);
|
---|
4759 | }
|
---|
4760 |
|
---|
4761 | /**
|
---|
4762 | Display Physical Memory Array (Type 16) Use.
|
---|
4763 |
|
---|
4764 | @param[in] Use The key of the structure.
|
---|
4765 | @param[in] Option The optional information.
|
---|
4766 | **/
|
---|
4767 | VOID
|
---|
4768 | DisplayPMAUse (
|
---|
4769 | IN UINT8 Use,
|
---|
4770 | IN UINT8 Option
|
---|
4771 | )
|
---|
4772 | {
|
---|
4773 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PHYS_MEM_ARRAY_USE), gShellDebug1HiiHandle);
|
---|
4774 | PRINT_INFO_OPTION (Use, Option);
|
---|
4775 | PRINT_TABLE_ITEM (PMAUseTable, Use);
|
---|
4776 | }
|
---|
4777 |
|
---|
4778 | /**
|
---|
4779 | Display Physical Memory Array (Type 16) Types.
|
---|
4780 |
|
---|
4781 | @param[in] Type The key of the structure.
|
---|
4782 | @param[in] Option The optional information.
|
---|
4783 | **/
|
---|
4784 | VOID
|
---|
4785 | DisplayPMAErrorCorrectionTypes (
|
---|
4786 | IN UINT8 Type,
|
---|
4787 | IN UINT8 Option
|
---|
4788 | )
|
---|
4789 | {
|
---|
4790 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PHYS_MEM_ARRAY_ERROR), gShellDebug1HiiHandle);
|
---|
4791 | PRINT_INFO_OPTION (Type, Option);
|
---|
4792 | PRINT_TABLE_ITEM (PMAErrorCorrectionTypesTable, Type);
|
---|
4793 | }
|
---|
4794 |
|
---|
4795 | /**
|
---|
4796 | Display Memory Device (Type 17) form factor.
|
---|
4797 |
|
---|
4798 | @param[in] FormFactor The key of the structure.
|
---|
4799 | @param[in] Option The optional information.
|
---|
4800 | **/
|
---|
4801 | VOID
|
---|
4802 | DisplayMemoryDeviceFormFactor (
|
---|
4803 | IN UINT8 FormFactor,
|
---|
4804 | IN UINT8 Option
|
---|
4805 | )
|
---|
4806 | {
|
---|
4807 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_DEVICE_FORM_FACTOR), gShellDebug1HiiHandle);
|
---|
4808 | PRINT_INFO_OPTION (FormFactor, Option);
|
---|
4809 | PRINT_TABLE_ITEM (MemoryDeviceFormFactorTable, FormFactor);
|
---|
4810 | }
|
---|
4811 |
|
---|
4812 | /**
|
---|
4813 | Display Memory Device (Type 17) type.
|
---|
4814 |
|
---|
4815 | @param[in] Type The key of the structure.
|
---|
4816 | @param[in] Option The optional information.
|
---|
4817 | **/
|
---|
4818 | VOID
|
---|
4819 | DisplayMemoryDeviceType (
|
---|
4820 | IN UINT8 Type,
|
---|
4821 | IN UINT8 Option
|
---|
4822 | )
|
---|
4823 | {
|
---|
4824 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_DEVICE_TYPE), gShellDebug1HiiHandle);
|
---|
4825 | PRINT_INFO_OPTION (Type, Option);
|
---|
4826 | PRINT_TABLE_ITEM (MemoryDeviceTypeTable, Type);
|
---|
4827 | }
|
---|
4828 |
|
---|
4829 | /**
|
---|
4830 | Display Memory Device (Type 17) details.
|
---|
4831 |
|
---|
4832 | @param[in] Para The key of the structure.
|
---|
4833 | @param[in] Option The optional information.
|
---|
4834 | **/
|
---|
4835 | VOID
|
---|
4836 | DisplayMemoryDeviceTypeDetail (
|
---|
4837 | IN UINT16 Para,
|
---|
4838 | IN UINT8 Option
|
---|
4839 | )
|
---|
4840 | {
|
---|
4841 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_DEVICE_TYPE_DETAIL), gShellDebug1HiiHandle);
|
---|
4842 | PRINT_INFO_OPTION (Para, Option);
|
---|
4843 | PRINT_BITS_INFO (MemoryDeviceTypeDetailTable, Para);
|
---|
4844 | }
|
---|
4845 |
|
---|
4846 | /**
|
---|
4847 | Display Memory Device (Type 17) memory technology.
|
---|
4848 |
|
---|
4849 | @param[in] Para The key of the structure.
|
---|
4850 | @param[in] Option The optional information.
|
---|
4851 | **/
|
---|
4852 | VOID
|
---|
4853 | DisplayMemoryDeviceMemoryTechnology (
|
---|
4854 | IN UINT8 Para,
|
---|
4855 | IN UINT8 Option
|
---|
4856 | )
|
---|
4857 | {
|
---|
4858 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_DEVICE_MEMORY_TECHNOLOGY), gShellDebug1HiiHandle);
|
---|
4859 | PRINT_INFO_OPTION (Para, Option);
|
---|
4860 | PRINT_TABLE_ITEM (MemoryDeviceMemoryTechnologyTable, Para);
|
---|
4861 | }
|
---|
4862 |
|
---|
4863 | /**
|
---|
4864 | Display Memory Device (Type 17) memory operating mode capability.
|
---|
4865 |
|
---|
4866 | @param[in] Para The key of the structure.
|
---|
4867 | @param[in] Option The optional information.
|
---|
4868 | **/
|
---|
4869 | VOID
|
---|
4870 | DisplayMemoryDeviceMemoryOperatingModeCapability (
|
---|
4871 | IN UINT16 Para,
|
---|
4872 | IN UINT8 Option
|
---|
4873 | )
|
---|
4874 | {
|
---|
4875 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_DEVICE_MEM_OPER_MODE_CAPA), gShellDebug1HiiHandle);
|
---|
4876 | PRINT_INFO_OPTION (Para, Option);
|
---|
4877 | PRINT_BITS_INFO (MemoryDeviceMemoryOperatingModeCapabilityTable, Para);
|
---|
4878 | }
|
---|
4879 |
|
---|
4880 | /**
|
---|
4881 | Display 32-bit Memory Error Information (Type 18) type.
|
---|
4882 |
|
---|
4883 | @param[in] ErrorType The key of the structure.
|
---|
4884 | @param[in] Option The optional information.
|
---|
4885 | **/
|
---|
4886 | VOID
|
---|
4887 | DisplayMemoryErrorType (
|
---|
4888 | IN UINT8 ErrorType,
|
---|
4889 | IN UINT8 Option
|
---|
4890 | )
|
---|
4891 | {
|
---|
4892 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_ERROR_INFO), gShellDebug1HiiHandle);
|
---|
4893 | PRINT_INFO_OPTION (ErrorType, Option);
|
---|
4894 | PRINT_TABLE_ITEM (MemoryErrorTypeTable, ErrorType);
|
---|
4895 | }
|
---|
4896 |
|
---|
4897 | /**
|
---|
4898 | Display 32-bit Memory Error Information (Type 18) error granularity.
|
---|
4899 |
|
---|
4900 | @param[in] Granularity The key of the structure.
|
---|
4901 | @param[in] Option The optional information.
|
---|
4902 | **/
|
---|
4903 | VOID
|
---|
4904 | DisplayMemoryErrorGranularity (
|
---|
4905 | IN UINT8 Granularity,
|
---|
4906 | IN UINT8 Option
|
---|
4907 | )
|
---|
4908 | {
|
---|
4909 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_ERROR_GRANULARITY), gShellDebug1HiiHandle);
|
---|
4910 | PRINT_INFO_OPTION (Granularity, Option);
|
---|
4911 | PRINT_TABLE_ITEM (MemoryErrorGranularityTable, Granularity);
|
---|
4912 | }
|
---|
4913 |
|
---|
4914 | /**
|
---|
4915 | Display 32-bit Memory Error Information (Type 18) error information.
|
---|
4916 |
|
---|
4917 | @param[in] Operation The key of the structure.
|
---|
4918 | @param[in] Option The optional information.
|
---|
4919 | **/
|
---|
4920 | VOID
|
---|
4921 | DisplayMemoryErrorOperation (
|
---|
4922 | IN UINT8 Operation,
|
---|
4923 | IN UINT8 Option
|
---|
4924 | )
|
---|
4925 | {
|
---|
4926 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_ERROR_OP), gShellDebug1HiiHandle);
|
---|
4927 | PRINT_INFO_OPTION (Operation, Option);
|
---|
4928 | PRINT_TABLE_ITEM (MemoryErrorOperationTable, Operation);
|
---|
4929 | }
|
---|
4930 |
|
---|
4931 | /**
|
---|
4932 | Display Built-in Pointing Device (Type 21) type information.
|
---|
4933 |
|
---|
4934 | @param[in] Type The key of the structure.
|
---|
4935 | @param[in] Option The optional information.
|
---|
4936 | **/
|
---|
4937 | VOID
|
---|
4938 | DisplayPointingDeviceType (
|
---|
4939 | IN UINT8 Type,
|
---|
4940 | IN UINT8 Option
|
---|
4941 | )
|
---|
4942 | {
|
---|
4943 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_POINTING_DEVICE_TYPE), gShellDebug1HiiHandle);
|
---|
4944 | PRINT_INFO_OPTION (Type, Option);
|
---|
4945 | PRINT_TABLE_ITEM (PointingDeviceTypeTable, Type);
|
---|
4946 | }
|
---|
4947 |
|
---|
4948 | /**
|
---|
4949 | Display Built-in Pointing Device (Type 21) information.
|
---|
4950 |
|
---|
4951 | @param[in] Interface The key of the structure.
|
---|
4952 | @param[in] Option The optional information.
|
---|
4953 | **/
|
---|
4954 | VOID
|
---|
4955 | DisplayPointingDeviceInterface (
|
---|
4956 | IN UINT8 Interface,
|
---|
4957 | IN UINT8 Option
|
---|
4958 | )
|
---|
4959 | {
|
---|
4960 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_POINTING_DEVICE_INTERFACE), gShellDebug1HiiHandle);
|
---|
4961 | PRINT_INFO_OPTION (Interface, Option);
|
---|
4962 | PRINT_TABLE_ITEM (PointingDeviceInterfaceTable, Interface);
|
---|
4963 | }
|
---|
4964 |
|
---|
4965 | /**
|
---|
4966 | Display Portable Battery (Type 22) information.
|
---|
4967 |
|
---|
4968 | @param[in] Key The key of the structure.
|
---|
4969 | @param[in] Option The optional information.
|
---|
4970 | **/
|
---|
4971 | VOID
|
---|
4972 | DisplayPBDeviceChemistry (
|
---|
4973 | IN UINT8 Key,
|
---|
4974 | IN UINT8 Option
|
---|
4975 | )
|
---|
4976 | {
|
---|
4977 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PORTABLE_BATT_DEV_CHEM), gShellDebug1HiiHandle);
|
---|
4978 | PRINT_INFO_OPTION (Key, Option);
|
---|
4979 | PRINT_TABLE_ITEM (PBDeviceChemistryTable, Key);
|
---|
4980 | }
|
---|
4981 |
|
---|
4982 | /**
|
---|
4983 | Display Voltage Probe (Type 26) location information.
|
---|
4984 |
|
---|
4985 | @param[in] Key The key of the structure.
|
---|
4986 | @param[in] Option The optional information.
|
---|
4987 | **/
|
---|
4988 | VOID
|
---|
4989 | DisplayVPLocation (
|
---|
4990 | IN UINT8 Key,
|
---|
4991 | IN UINT8 Option
|
---|
4992 | )
|
---|
4993 | {
|
---|
4994 | UINT8 Loc;
|
---|
4995 |
|
---|
4996 | Loc = (UINT8)((Key & 0xE0) >> 5);
|
---|
4997 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_VOLTAGE_PROBE_LOC), gShellDebug1HiiHandle);
|
---|
4998 | PRINT_INFO_OPTION (Loc, Option);
|
---|
4999 | PRINT_TABLE_ITEM (VPLocationTable, Loc);
|
---|
5000 | }
|
---|
5001 |
|
---|
5002 | /**
|
---|
5003 | Display Voltage Probe (Type 26) status ype information.
|
---|
5004 |
|
---|
5005 | @param[in] Key The key of the structure.
|
---|
5006 | @param[in] Option The optional information.
|
---|
5007 | **/
|
---|
5008 | VOID
|
---|
5009 | DisplayVPStatus (
|
---|
5010 | IN UINT8 Key,
|
---|
5011 | IN UINT8 Option
|
---|
5012 | )
|
---|
5013 | {
|
---|
5014 | UINT8 Status;
|
---|
5015 |
|
---|
5016 | Status = (UINT8)(Key & 0x1F);
|
---|
5017 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_VOLTAGE_PROBE_STATUS), gShellDebug1HiiHandle);
|
---|
5018 | PRINT_INFO_OPTION (Status, Option);
|
---|
5019 | PRINT_TABLE_ITEM (VPStatusTable, Status);
|
---|
5020 | }
|
---|
5021 |
|
---|
5022 | /**
|
---|
5023 | Display Cooling (Type 27) status information.
|
---|
5024 |
|
---|
5025 | @param[in] Key The key of the structure.
|
---|
5026 | @param[in] Option The optional information.
|
---|
5027 | **/
|
---|
5028 | VOID
|
---|
5029 | DisplayCoolingDeviceStatus (
|
---|
5030 | IN UINT8 Key,
|
---|
5031 | IN UINT8 Option
|
---|
5032 | )
|
---|
5033 | {
|
---|
5034 | UINT8 Status;
|
---|
5035 |
|
---|
5036 | Status = (UINT8)((Key & 0xE0) >> 5);
|
---|
5037 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_COOLING_DEV_STATUS), gShellDebug1HiiHandle);
|
---|
5038 | PRINT_INFO_OPTION (Status, Option);
|
---|
5039 | PRINT_TABLE_ITEM (CoolingDeviceStatusTable, Status);
|
---|
5040 | }
|
---|
5041 |
|
---|
5042 | /**
|
---|
5043 | Display Cooling (Type 27) type information.
|
---|
5044 |
|
---|
5045 | @param[in] Key The key of the structure.
|
---|
5046 | @param[in] Option The optional information.
|
---|
5047 | **/
|
---|
5048 | VOID
|
---|
5049 | DisplayCoolingDeviceType (
|
---|
5050 | IN UINT8 Key,
|
---|
5051 | IN UINT8 Option
|
---|
5052 | )
|
---|
5053 | {
|
---|
5054 | UINT8 Type;
|
---|
5055 |
|
---|
5056 | Type = (UINT8)(Key & 0x1F);
|
---|
5057 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_COOLING_DEV_TYPE), gShellDebug1HiiHandle);
|
---|
5058 | PRINT_INFO_OPTION (Type, Option);
|
---|
5059 | PRINT_TABLE_ITEM (CoolingDeviceTypeTable, Type);
|
---|
5060 | }
|
---|
5061 |
|
---|
5062 | /**
|
---|
5063 | Display Temperature Probe (Type 28) status information.
|
---|
5064 |
|
---|
5065 | @param[in] Key The key of the structure.
|
---|
5066 | @param[in] Option The optional information.
|
---|
5067 | **/
|
---|
5068 | VOID
|
---|
5069 | DisplayTemperatureProbeStatus (
|
---|
5070 | IN UINT8 Key,
|
---|
5071 | IN UINT8 Option
|
---|
5072 | )
|
---|
5073 | {
|
---|
5074 | UINT8 Status;
|
---|
5075 |
|
---|
5076 | Status = (UINT8)((Key & 0xE0) >> 5);
|
---|
5077 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_TEMP_PROBE), gShellDebug1HiiHandle);
|
---|
5078 | PRINT_INFO_OPTION (Status, Option);
|
---|
5079 | PRINT_TABLE_ITEM (TemperatureProbeStatusTable, Status);
|
---|
5080 | }
|
---|
5081 |
|
---|
5082 | /**
|
---|
5083 | Display Temperature Probe (Type 28) location information.
|
---|
5084 |
|
---|
5085 | @param[in] Key The key of the structure.
|
---|
5086 | @param[in] Option The optional information.
|
---|
5087 | **/
|
---|
5088 | VOID
|
---|
5089 | DisplayTemperatureProbeLoc (
|
---|
5090 | IN UINT8 Key,
|
---|
5091 | IN UINT8 Option
|
---|
5092 | )
|
---|
5093 | {
|
---|
5094 | UINT8 Loc;
|
---|
5095 |
|
---|
5096 | Loc = (UINT8)(Key & 0x1F);
|
---|
5097 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_VOLTAGE_PROBE_LOC), gShellDebug1HiiHandle);
|
---|
5098 | PRINT_INFO_OPTION (Loc, Option);
|
---|
5099 | PRINT_TABLE_ITEM (TemperatureProbeLocTable, Loc);
|
---|
5100 | }
|
---|
5101 |
|
---|
5102 | /**
|
---|
5103 | Display Electrical Current Probe (Type 29) status information.
|
---|
5104 |
|
---|
5105 | @param[in] Key The key of the structure.
|
---|
5106 | @param[in] Option The optional information.
|
---|
5107 | **/
|
---|
5108 | VOID
|
---|
5109 | DisplayECPStatus (
|
---|
5110 | IN UINT8 Key,
|
---|
5111 | IN UINT8 Option
|
---|
5112 | )
|
---|
5113 | {
|
---|
5114 | UINT8 Status;
|
---|
5115 |
|
---|
5116 | Status = (UINT8)((Key & 0xE0) >> 5);
|
---|
5117 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_ELEC_PROBE_STATUS), gShellDebug1HiiHandle);
|
---|
5118 | PRINT_INFO_OPTION (Status, Option);
|
---|
5119 | PRINT_TABLE_ITEM (ECPStatusTable, Status);
|
---|
5120 | }
|
---|
5121 |
|
---|
5122 | /**
|
---|
5123 | Display Type 29 information.
|
---|
5124 |
|
---|
5125 | @param[in] Key The key of the structure.
|
---|
5126 | @param[in] Option The optional information.
|
---|
5127 | **/
|
---|
5128 | VOID
|
---|
5129 | DisplayECPLoc (
|
---|
5130 | IN UINT8 Key,
|
---|
5131 | IN UINT8 Option
|
---|
5132 | )
|
---|
5133 | {
|
---|
5134 | UINT8 Loc;
|
---|
5135 |
|
---|
5136 | Loc = (UINT8)(Key & 0x1F);
|
---|
5137 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_ELEC_PROBE_LOC), gShellDebug1HiiHandle);
|
---|
5138 | PRINT_INFO_OPTION (Loc, Option);
|
---|
5139 | PRINT_TABLE_ITEM (ECPLocTable, Loc);
|
---|
5140 | }
|
---|
5141 |
|
---|
5142 | /**
|
---|
5143 | Display Management Device (Type 34) Type.
|
---|
5144 |
|
---|
5145 | @param[in] Key The key of the structure.
|
---|
5146 | @param[in] Option The optional information.
|
---|
5147 | **/
|
---|
5148 | VOID
|
---|
5149 | DisplayMDType (
|
---|
5150 | IN UINT8 Key,
|
---|
5151 | IN UINT8 Option
|
---|
5152 | )
|
---|
5153 | {
|
---|
5154 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MANAGEMENT_DEV_TYPE), gShellDebug1HiiHandle);
|
---|
5155 | PRINT_INFO_OPTION (Key, Option);
|
---|
5156 | PRINT_TABLE_ITEM (MDTypeTable, Key);
|
---|
5157 | }
|
---|
5158 |
|
---|
5159 | /**
|
---|
5160 | Display Management Device (Type 34) Address Type.
|
---|
5161 |
|
---|
5162 | @param[in] Key The key of the structure.
|
---|
5163 | @param[in] Option The optional information.
|
---|
5164 | **/
|
---|
5165 | VOID
|
---|
5166 | DisplayMDAddressType (
|
---|
5167 | IN UINT8 Key,
|
---|
5168 | IN UINT8 Option
|
---|
5169 | )
|
---|
5170 | {
|
---|
5171 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MANAGEMENT_DEV_ADDR_TYPE), gShellDebug1HiiHandle);
|
---|
5172 | PRINT_INFO_OPTION (Key, Option);
|
---|
5173 | PRINT_TABLE_ITEM (MDAddressTypeTable, Key);
|
---|
5174 | }
|
---|
5175 |
|
---|
5176 | /**
|
---|
5177 | Display Memory Channel (Type 37) information.
|
---|
5178 |
|
---|
5179 | @param[in] Key The key of the structure.
|
---|
5180 | @param[in] Option The optional information.
|
---|
5181 | **/
|
---|
5182 | VOID
|
---|
5183 | DisplayMemoryChannelType (
|
---|
5184 | IN UINT8 Key,
|
---|
5185 | IN UINT8 Option
|
---|
5186 | )
|
---|
5187 | {
|
---|
5188 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MEM_CHANNEL_TYPE), gShellDebug1HiiHandle);
|
---|
5189 | PRINT_INFO_OPTION (Key, Option);
|
---|
5190 | PRINT_TABLE_ITEM (MemoryChannelTypeTable, Key);
|
---|
5191 | }
|
---|
5192 |
|
---|
5193 | /**
|
---|
5194 | Display IPMI Device Information (Type 38) information.
|
---|
5195 |
|
---|
5196 | @param[in] Key The key of the structure.
|
---|
5197 | @param[in] Option The optional information.
|
---|
5198 | **/
|
---|
5199 | VOID
|
---|
5200 | DisplayIPMIDIBMCInterfaceType (
|
---|
5201 | IN UINT8 Key,
|
---|
5202 | IN UINT8 Option
|
---|
5203 | )
|
---|
5204 | {
|
---|
5205 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_BMC_INTERFACE_TYPE), gShellDebug1HiiHandle);
|
---|
5206 | PRINT_INFO_OPTION (Key, Option);
|
---|
5207 | PRINT_TABLE_ITEM (IPMIDIBMCInterfaceTypeTable, Key);
|
---|
5208 | }
|
---|
5209 |
|
---|
5210 | /**
|
---|
5211 | Display Management Controller Host Interface (Type 42) information.
|
---|
5212 |
|
---|
5213 | @param[in] Key The key of the structure.
|
---|
5214 | @param[in] Option The optional information.
|
---|
5215 | **/
|
---|
5216 | VOID
|
---|
5217 | DisplayMCHostInterfaceType (
|
---|
5218 | IN UINT8 Key,
|
---|
5219 | IN UINT8 Option
|
---|
5220 | )
|
---|
5221 | {
|
---|
5222 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MC_HOST_INTERFACE_TYPE), gShellDebug1HiiHandle);
|
---|
5223 | PRINT_INFO_OPTION (Key, Option);
|
---|
5224 | PRINT_TABLE_ITEM (MCHostInterfaceTypeTable, Key);
|
---|
5225 | }
|
---|
5226 |
|
---|
5227 | /**
|
---|
5228 | Display Processor Architecture Type (Type 44).
|
---|
5229 |
|
---|
5230 | @param[in] Key The key of the structure.
|
---|
5231 | @param[in] Option The optional information.
|
---|
5232 | **/
|
---|
5233 | VOID
|
---|
5234 | DisplayProcessorArchitectureType (
|
---|
5235 | IN UINT8 Key,
|
---|
5236 | IN UINT8 Option
|
---|
5237 | )
|
---|
5238 | {
|
---|
5239 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PROCESSOR_ARCH_TYPE), gShellDebug1HiiHandle);
|
---|
5240 | PRINT_INFO_OPTION (Key, Option);
|
---|
5241 | PRINT_TABLE_ITEM (ProcessorArchitectureTypesTable, Key);
|
---|
5242 | }
|
---|
5243 |
|
---|
5244 | /**
|
---|
5245 | Display Firmware Characteristics (Type 45) details.
|
---|
5246 |
|
---|
5247 | @param[in] Chara The information bits.
|
---|
5248 | @param[in] Option The optional information.
|
---|
5249 | **/
|
---|
5250 | VOID
|
---|
5251 | DisplayFirmwareCharacteristics (
|
---|
5252 | IN UINT16 Chara,
|
---|
5253 | IN UINT8 Option
|
---|
5254 | )
|
---|
5255 | {
|
---|
5256 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_FIRMWARE_INVENTORY_CHAR), gShellDebug1HiiHandle);
|
---|
5257 | PRINT_INFO_OPTION (Chara, Option);
|
---|
5258 | PRINT_BITS_INFO (FirmwareInventoryCharTable, Chara);
|
---|
5259 | }
|
---|
5260 |
|
---|
5261 | /**
|
---|
5262 | Display Firmware state (Type 45) details.
|
---|
5263 |
|
---|
5264 | @param[in] Key The key of the structure.
|
---|
5265 | @param[in] Option The optional information.
|
---|
5266 | **/
|
---|
5267 | VOID
|
---|
5268 | DisplayFirmwareState (
|
---|
5269 | IN UINT8 Key,
|
---|
5270 | IN UINT8 Option
|
---|
5271 | )
|
---|
5272 | {
|
---|
5273 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_FIRMWARE_INVENTORY_STATE), gShellDebug1HiiHandle);
|
---|
5274 | PRINT_INFO_OPTION (Key, Option);
|
---|
5275 | PRINT_TABLE_ITEM (FirmwareInventoryStateTable, Key);
|
---|
5276 | }
|
---|
5277 |
|
---|
5278 | /**
|
---|
5279 | Display the structure type information.
|
---|
5280 |
|
---|
5281 | @param[in] Key The key of the structure.
|
---|
5282 | @param[in] Option The optional information.
|
---|
5283 | **/
|
---|
5284 | VOID
|
---|
5285 | DisplayStructureTypeInfo (
|
---|
5286 | IN UINT8 Key,
|
---|
5287 | IN UINT8 Option
|
---|
5288 | )
|
---|
5289 | {
|
---|
5290 | //
|
---|
5291 | // display
|
---|
5292 | //
|
---|
5293 | ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_STRUCT_TYPE), gShellDebug1HiiHandle);
|
---|
5294 | PRINT_INFO_OPTION (Key, Option);
|
---|
5295 | PRINT_TABLE_ITEM (StructureTypeInfoTable, Key);
|
---|
5296 | }
|
---|