Vlv2DeviceRefCodePkg&Vlv2TbltDevicePkg:Convert Mix to DOS.
[mirror_edk2.git] / Vlv2TbltDevicePkg / Include / Guid / SetupVariable.h
CommitLineData
a0f3b028
LS
1/** @file\r
2\r
3 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
4\r
5\r
6 This program and the accompanying materials are licensed and made available under\r
7\r
8 the terms and conditions of the BSD License that accompanies this distribution.\r
9\r
10 The full text of the license may be found at\r
11\r
12 http://opensource.org/licenses/bsd-license.php.\r
13\r
14\r
15\r
16 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
17\r
18 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
19\r
20\r
21\r
22\r
23Module Name:\r
24\r
25 SetupVariable.h\r
26\r
27Abstract:\r
28\r
29 Driver configuration include file\r
30\r
31\r
32**/\r
33\r
34#ifndef _SETUP_VARIABLE_H\r
35#define _SETUP_VARIABLE_H\r
36\r
37//\r
38// ---------------------------------------------------------------------------\r
39//\r
40// Driver Configuration\r
41//\r
42// ---------------------------------------------------------------------------\r
43//\r
44\r
45//\r
46// {EC87D643-EBA4-4bb5-A1E5-3F3E36B20DA9}\r
47//\r
48#define SYSTEM_CONFIGURATION_GUID\\r
49 { \\r
50 0xec87d643, 0xeba4, 0x4bb5, 0xa1, 0xe5, 0x3f, 0x3e, 0x36, 0xb2, 0xd, 0xa9 \\r
51 }\r
52\r
53#define ROOT_SECURITY_GUID\\r
54 { \\r
55 0xd387d688, 0xeba4, 0x45b5, 0xa1, 0xe5, 0x3f, 0x3e, 0x36, 0xb2, 0xd, 0x37 \\r
56 }\r
57\r
58//\r
59// {6936B3BD-4350-46d9-8940-1FA20961AEB1}\r
60//\r
61#define SYSTEM_ROOT_MAIN_GUID\\r
62 { \\r
63 0x6936b3bd, 0x4350, 0x46d9, 0x89, 0x40, 0x1f, 0xa2, 0x9, 0x61, 0xae, 0xb1 \\r
64 }\r
65\r
66//\r
67// {21FEE8DB-0D29-477e-B5A9-96EB343BA99C}\r
68//\r
69#define ADDITIONAL_SYSTEM_INFO_GUID\\r
70 { \\r
71 0x21fee8db, 0xd29, 0x477e, 0xb5, 0xa9, 0x96, 0xeb, 0x34, 0x3b, 0xa9, 0x9c \\r
72 }\r
73\r
74#define SETUP_GUID { 0xEC87D643, 0xEBA4, 0x4BB5, 0xA1, 0xE5, 0x3F, 0x3E, 0x36, 0xB2, 0x0D, 0xA9 }\r
75\r
76// {1B838190-4625-4ead-ABC9-CD5E6AF18FE0}\r
77#define EFI_HII_EXPORT_DATABASE_GUID { 0x1b838190, 0x4625, 0x4ead, 0xab, 0xc9, 0xcd, 0x5e, 0x6a, 0xf1, 0x8f, 0xe0 }\r
78\r
79#define PASSWORD_MAX_SIZE 20\r
80\r
81#define MAX_CUSTOM_VID_TABLE_STATES 6\r
82//\r
83// Overclocking Source Defines\r
84//\r
85#define OVERCLOCK_SOURCE_BIOS 0\r
86#define OVERCLOCK_SOURCE_OS 1\r
87\r
88#define PCH_PCIE_MAX_ROOT_PORTS 4\r
89\r
90#pragma pack(1)\r
91\r
92// NOTE: When you add anything to this structure,\r
93// you MUST add it to the very bottom!!!!\r
94// You must make sure the structure size is able to divide by 32!\r
95typedef struct {\r
96\r
97 //\r
98 // Floppy\r
99 //\r
100 UINT8 Floppy;\r
101 UINT8 FloppyLockHide;\r
102\r
103 UINT8 FloppyWriteProtect;\r
104 UINT8 FloppyWriteProtectLockHide;\r
105\r
106 //\r
107 // System ports\r
108 //\r
109 UINT8 Serial;\r
110 UINT8 SerialLockHide;\r
111\r
112 UINT8 Serial2;\r
113 UINT8 Serial2LockHide;\r
114\r
115 UINT8 Parallel;\r
116 UINT8 ParallelLockHide;\r
117\r
118 UINT8 ParallelMode;\r
119 UINT8 ParallelModeLockHide;\r
120\r
121 UINT8 AllUsb;\r
122 UINT8 UsbPortsLockHide;\r
123\r
124 UINT8 Usb2;\r
125 UINT8 Usb2LockHide;\r
126\r
127 UINT8 UsbLegacy;\r
128 UINT8 UsbLegacyLockHide;\r
129\r
130 UINT8 Audio;\r
131 UINT8 AudioLockHide;\r
132\r
133 UINT8 Lan;\r
134 UINT8 LanLockHide;\r
135\r
136 //\r
137 // Keyboard\r
138 //\r
139 UINT8 Numlock;\r
140 UINT8 NumlockLockHide;\r
141\r
142 //\r
143 // ECIR\r
144 //\r
145 UINT8 ECIR;\r
146 UINT8 ECIRLockHide;\r
147\r
148 //\r
149 // Power State\r
150 //\r
151 UINT8 PowerState;\r
152 UINT8 PowerStateLockHide;\r
153\r
154 //\r
155 // Wake on RTC variables\r
156 //\r
157 UINT8 WakeOnRtcS5;\r
158 UINT8 WakeOnRtcS5LockHide;\r
159 UINT8 RTCWakeupDate;\r
160 UINT8 RTCWakeupDateLockHide;\r
161 UINT8 RTCWakeupTimeHour;\r
162 UINT8 RTCWakeupHourLockHide;\r
163 UINT8 RTCWakeupTimeMinute;\r
164 UINT8 RTCWakeupMinuteLockHide;\r
165 UINT8 RTCWakeupTimeSecond;\r
166 UINT8 RTCWakeupSecondLockHide;\r
167\r
168 //\r
169 // Wake On Lan\r
170 //\r
171 UINT8 WakeOnLanS5;\r
172 UINT8 WakeOnLanS5LockHide;\r
173\r
174 //Spread spectrum\r
175 UINT8 SpreadSpectrum;\r
176\r
177 //\r
178 // Boot Order\r
179 //\r
180 UINT8 BootOrder[8];\r
181 UINT8 BootOrderLockHide;\r
182\r
183 //\r
184 // Hard Drive Boot Order\r
185 //\r
186 UINT8 HardDriveBootOrder[8];\r
187 UINT8 HardDriveBootOrderLockHide;\r
188\r
189 //\r
190 // CD Drive Boot Order\r
191 //\r
192 UINT8 CdDriveBootOrder[4];\r
193 UINT8 CdDriveBootOrderLockHide;\r
194\r
195 //\r
196 // FDD Drive Boot Order\r
197 //\r
198 UINT8 FddDriveBootOrder[4];\r
199 UINT8 FddDriveBootOrderLockHide;\r
200\r
201 //\r
202 // Drive Boot Order\r
203 //\r
204 UINT8 DriveBootOrder[16];\r
205 UINT8 DriveBootOrderLockHide;\r
206\r
207 //\r
208 // Boot Menu Type\r
209 //\r
210 UINT8 BootMenuType;\r
211 UINT8 BootMenuTypeLockHide;\r
212\r
213 //\r
214 // Boot from Removable Devices\r
215 //\r
216 UINT8 BootFloppy;\r
217 UINT8 BootFloppyLockHide;\r
218\r
219 //\r
220 // Boot from Optical Devices\r
221 //\r
222 UINT8 BootCd;\r
223 UINT8 BootCdLockHide;\r
224\r
225 //\r
226 // Boot from Network\r
227 //\r
228 UINT8 BootNetwork;\r
229 UINT8 BootNetworkLockHide;\r
230\r
231 //\r
232 // Boot USB\r
233 //\r
234 UINT8 BootUsb;\r
235 UINT8 BootUsbLockHide;\r
236\r
237 //\r
238 // USB Zip Emulation Type\r
239 //\r
240 UINT8 UsbZipEmulation;\r
241 UINT8 UsbZipEmulationLockHide;\r
242\r
243 //\r
244 // USB Devices Boot First in Boot Order\r
245 //\r
246 UINT8 UsbDevicesBootFirst;\r
247 UINT8 UsbDevicesBootFirstLockHide;\r
248\r
249 //\r
250 // USB Boot Device SETUP Emulation\r
251 //\r
252 UINT8 UsbSetupDeviceEmulation;\r
253 UINT8 UsbSetupDeviceEmulationLockHide;\r
254\r
255 //\r
256 // BIOS INT13 Emulation for USB Mass Devices\r
257 //\r
258 UINT8 UsbBIOSINT13DeviceEmulation;\r
259 UINT8 UsbBIOSINT13DeviceEmulationLockHide;\r
260\r
261 //\r
262 // BIOS INT13 Emulation Size for USB Mass Devices\r
263 //\r
264 UINT16 UsbBIOSINT13DeviceEmulationSize;\r
265 UINT8 UsbBIOSINT13DeviceEmulationSizeLockHide;\r
266\r
267 //\r
268 // Dummy place holder to prevent VFR compiler problem.\r
269 //\r
270 UINT16 DummyDataForVfrBug; // Don't change or use.\r
271\r
272 //\r
273 // Language Select\r
274 //\r
275 UINT8 LanguageSelect;\r
276\r
277 //\r
278 // SATA Type (Ide, Ahci, Raid)\r
279 //\r
280 UINT8 SataType;\r
281 UINT8 SataTypeLockHide;\r
282 UINT8 SataTestMode;\r
283\r
284 //\r
285 // Fixed Disk Boot Sector (Fdbs)\r
286 //\r
287 UINT8 Fdbs;\r
288 UINT8 FdbsLockHide;\r
289\r
290 //\r
291 // DisplaySetupPrompt\r
292 //\r
293 UINT8 DisplaySetupPrompt;\r
294 UINT8 DisplaySetupPromptLockHide;\r
295\r
296 //\r
297 // ASF\r
298 //\r
299 UINT8 Asf;\r
300 UINT8 AsfLockHide;\r
301\r
302 //\r
303 // Event Logging\r
304 //\r
305 UINT8 EventLogging;\r
306 UINT8 EventLoggingLockHide;\r
307\r
308 //\r
309 // Clear Event Log\r
310 //\r
311 UINT8 ClearEvents;\r
312 UINT8 ClearEventsLockHide;\r
313\r
314 //\r
315 // Expansion Card Text\r
316 //\r
317 UINT8 ExpansionCardText;\r
318 UINT8 ExpansionCardTextLockHide;\r
319\r
320 //\r
321 // Video Adaptor\r
322 //\r
323 UINT8 PrimaryVideoAdaptor;\r
324 UINT8 PrimaryVideoAdaptorLockHide;\r
325\r
326 //\r
327 // Chassis intrusion\r
328 //\r
329 UINT8 IntruderDetection;\r
330 UINT8 IntruderDetectionLockHide;\r
331\r
332 //\r
333 // User Access Level\r
334 //\r
335 UINT8 UserPasswordLevel;\r
336 UINT8 UserPasswordLevelLockHide;\r
337\r
338 //\r
339 // Maximum FSB Automatic/Disable\r
340 //\r
341 UINT8 MaxFsb;\r
342 UINT8 MaxFsbLockHide;\r
343\r
344 //\r
345 // Hard Disk Pre-delay\r
346 //\r
347 UINT8 HddPredelay;\r
348 UINT8 HddPredelayLockHide;\r
349\r
350 //\r
351 // S.M.A.R.T. Mode\r
352 //\r
353 UINT8 SmartMode;\r
354 UINT8 SmartModeLockHide;\r
355\r
356 //\r
357 // ACPI Suspend State\r
358 //\r
359 UINT8 AcpiSuspendState;\r
360 UINT8 AcpiSuspendStateLockHide;\r
361\r
362 //\r
363 // PCI Latency Timer\r
364 //\r
365 UINT8 PciLatency;\r
366 UINT8 PciLatencyLockHide;\r
367\r
368 //\r
369 // Fan Control\r
370 //\r
371 UINT8 FanControl;\r
372 UINT8 FanControlLockHide;\r
373\r
374 //\r
375 // CPU Fan Control\r
376 //\r
377 UINT8 CpuFanControl;\r
378 UINT8 CpuFanControlLockHide;\r
379\r
380 //\r
381 // Lowest Fan Speed\r
382 //\r
383 UINT8 LowestFanSpeed;\r
384 UINT8 LowestFanSpeedLockHide;\r
385\r
386 //\r
387 // Processor (CPU)\r
388 //\r
389 UINT8 CpuFlavor;\r
390\r
391 UINT8 CpuidMaxValue;\r
392 UINT8 CpuidMaxValueLockHide;\r
393\r
394 UINT8 ExecuteDisableBit;\r
395 UINT8 ExecuteDisableBitLockHide;\r
396\r
397 //\r
398 // EIST or GV3 setup option\r
399 //\r
400 UINT8 ProcessorEistEnable;\r
401 UINT8 ProcessorEistEnableLockHide;\r
402\r
403 //\r
404 // C1E Enable\r
405 //\r
406 UINT8 ProcessorC1eEnable;\r
407 UINT8 ProcessorC1eEnableLockHide;\r
408\r
409 //\r
410 // Enabling CPU C-States of processor\r
411 //\r
412 UINT8 ProcessorCcxEnable;\r
413 UINT8 ProcessorCcxEnableLockHide;\r
414\r
415 //\r
416 // Package C-State Limit\r
417 //\r
418 UINT8 PackageCState;\r
419 UINT8 PackageCStateLockHide;\r
420\r
421 //\r
422 // Enable/Disable NHM C3(ACPI C2) report to OS\r
423 //\r
424 UINT8 OSC2Report;\r
425 UINT8 OSC2ReportLockHide;\r
426\r
427 //\r
428 // Enable/Disable NHM C6(ACPI C3) report to OS\r
429 //\r
430 UINT8 C6Enable;\r
431 UINT8 C6EnableLockHide;\r
432\r
433 //\r
434 // Enable/Disable NHM C7(ACPI C3) report to OS\r
435 //\r
436 UINT8 C7Enable;\r
437 UINT8 C7EnableLockHide;\r
438\r
439 //\r
440 // EIST/PSD Function select option\r
441 //\r
442 UINT8 ProcessorEistPsdFunc;\r
443 UINT8 ProcessorEistPsdFuncLockHide;\r
444\r
445 //\r
446 //\r
447 //\r
448 UINT8 CPU00;\r
449 UINT8 CPU01;\r
450\r
451 //\r
452 //\r
453 //\r
454 UINT8 CPU02;\r
455 UINT8 CPU03;\r
456\r
457 //\r
458 //\r
459 //\r
460 UINT8 CPU04;\r
461 UINT8 CPU05;\r
462\r
463 //\r
464 //\r
465 //\r
466 UINT8 CPU06;\r
467 UINT8 CPU07;\r
468\r
469 //\r
470 //\r
471 //\r
472 UINT8 CPU08;\r
473 UINT8 CPU09;\r
474\r
475 //\r
476 //\r
477 //\r
478 UINT8 CPU10;\r
479 UINT8 CPU11;\r
480\r
481 //\r
482 //\r
483 //\r
484 UINT8 CPU12;\r
485 UINT8 CPU13;\r
486\r
487 //\r
488 //\r
489 //\r
490 UINT8 CPU14;\r
491 UINT8 CPU15;\r
492\r
493 //\r
494 //\r
495 //\r
496 UINT8 CPU16;\r
497 UINT8 CPU17;\r
498\r
499 //\r
500 //\r
501 //\r
502 UINT8 CPU18;\r
503 UINT8 CPU19;\r
504\r
505 //\r
506 //\r
507 //\r
508 UINT8 CPU20;\r
509 UINT8 CPU21;\r
510\r
511 //\r
512 //\r
513 //\r
514 UINT8 CPU22;\r
515 UINT8 CPU23;\r
516\r
517 //\r
518 //\r
519 //\r
520 UINT8 CPU24;\r
521 UINT8 CPU25;\r
522\r
523 //\r
524 //\r
525 //\r
526 UINT8 CPU26;\r
527 UINT8 CPU27;\r
528\r
529 //\r
530 //\r
531 //\r
532 UINT8 CPU28;\r
533 UINT8 CPU29;\r
534\r
535 //\r
536 //\r
537 //\r
538 UINT8 CPU30;\r
539 UINT8 CPU31;\r
540\r
541 //\r
542 //\r
543 //\r
544 UINT8 CPU32;\r
545 UINT8 CPU33;\r
546\r
547 //\r
548 //\r
549 //\r
550 UINT8 CPU34;\r
551 UINT8 CPU35;\r
552\r
553 //\r
554 //\r
555 //\r
556 UINT8 CPU36;\r
557 UINT8 CPU37;\r
558\r
559 //\r
560 //\r
561 //\r
562 UINT8 CPU38;\r
563 UINT8 CPU39;\r
564\r
565 //\r
566 //\r
567 //\r
568 UINT16 CPU40;\r
569 UINT8 CPU41;\r
570\r
571 //\r
572 //\r
573 //\r
574 UINT8 CPU42;\r
575 UINT8 CPU43;\r
576\r
577 //\r
578 //\r
579 //\r
580 UINT16 CPU44;\r
581 UINT8 CPU45;\r
582\r
583 //\r
584 //\r
585 //\r
586 UINT8 CPU46;\r
587 UINT8 CPU47;\r
588\r
589 //\r
590 //\r
591 //\r
592 UINT8 CPU48;\r
593 UINT8 CPU49;\r
594\r
595 //\r
596 //\r
597 //\r
598 UINT8 CPU50;\r
599 UINT8 CPU51;\r
600\r
601 //\r
602 //\r
603 //\r
604 UINT8 CPU52;\r
605 UINT8 CPU53;\r
606\r
607 //\r
608 //\r
609 //\r
610 UINT8 CPU54;\r
611 UINT8 CPU55;\r
612\r
613 //\r
614 //\r
615 //\r
616 UINT8 CPU56;\r
617 UINT8 CPU57;\r
618\r
619 //\r
620 //\r
621 //\r
622 UINT8 CPU58;\r
623 UINT8 CPU59;\r
624\r
625 //\r
626 //\r
627 //\r
628 UINT8 CPU60;\r
629 UINT8 CPU61;\r
630\r
631 //\r
632 //\r
633 //\r
634 UINT8 CPU62;\r
635 UINT8 CPU63;\r
636\r
637 //\r
638 //\r
639 //\r
640 UINT8 CPU64;\r
641 UINT8 CPU65;\r
642\r
643 //\r
644 //\r
645 //\r
646 UINT8 CPU66;\r
647 UINT8 CPU67;\r
648\r
649 //\r
650 //\r
651 //\r
652 UINT16 CPU68;\r
653 UINT8 CPU69;\r
654\r
655 //\r
656 //\r
657 //\r
658 UINT16 CPU70;\r
659\r
660 //\r
661 //\r
662 //\r
663 UINT8 CPU71;\r
664\r
665 //\r
666 //\r
667 //\r
668 UINT8 MEM00;\r
669 UINT8 MEM01;\r
670\r
671 //\r
672 //\r
673 //\r
674 UINT8 MEM02;\r
675 UINT8 MEM03;\r
676\r
677 UINT16 MEM04;\r
678 UINT8 MEM05;\r
679\r
680 UINT8 MEM06;\r
681 UINT8 MEM07;\r
682\r
683 UINT8 MEM08;\r
684 UINT8 MEM09;\r
685\r
686 UINT8 MEM10;\r
687 UINT8 MEM11;\r
688\r
689 UINT8 MEM12;\r
690 UINT8 MEM13;\r
691\r
692 UINT8 MEM14;\r
693 UINT8 MEM15;\r
694\r
695 UINT8 MEM16;\r
696 UINT8 MEM17;\r
697\r
698 UINT16 MEM18;\r
699 UINT8 MEM19;\r
700\r
701 UINT8 MEM20;\r
702 UINT8 MEM21;\r
703\r
704 UINT8 MEM22;\r
705 UINT8 MEM23;\r
706\r
707 UINT8 MEM24;\r
708 UINT8 MEM25;\r
709\r
710 UINT8 MEM26;\r
711 UINT8 MEM27;\r
712\r
713 UINT8 MEM28;\r
714 UINT8 MEM29;\r
715\r
716 UINT8 MEM30;\r
717 UINT8 MEM31;\r
718\r
719 UINT8 MEM32;\r
720 UINT8 MEM33;\r
721\r
722 UINT8 MEM34;\r
723 UINT8 MEM35;\r
724\r
725 //\r
726 //\r
727 //\r
728 UINT8 MEM36;\r
729 UINT8 MEM37;\r
730 UINT8 MEM38;\r
731 UINT8 MEM39;\r
732\r
733 //\r
734 //\r
735 //\r
736 UINT8 MEM40;\r
737 UINT8 MEM41;\r
738 UINT8 MEM42;\r
739 UINT8 MEM43;\r
740 UINT8 MEM44;\r
741 UINT8 MEM45;\r
742 UINT8 MEM46;\r
743 UINT8 MEM47;\r
744\r
745\r
746 //\r
747 // Port 80 decode 0/1 - PCI/LPC\r
748 UINT8 Port80Route;\r
749 UINT8 Port80RouteLockHide;\r
750\r
751 //\r
752 // ECC Event Logging\r
753 //\r
754 UINT8 EccEventLogging;\r
755 UINT8 EccEventLoggingLockHide;\r
756\r
757 //\r
758 // TPM Enable/Disable\r
759 //\r
760 UINT8 ETpm;\r
761\r
762 //\r
763 // TPM question 0 = Disabled, 1 = Enabled\r
764 //\r
765 UINT8 ETpmClear;\r
766\r
767 //\r
768 // Secondary SATA Controller question 0 = Disabled, 1 = Enabled\r
769 //\r
770 UINT8 ExtSata;\r
771 UINT8 ExtSataLockHide;\r
772\r
773 //\r
774 // Mode selection for Secondary SATA Controller (0=IDE, 1=RAID)\r
775 //\r
776 UINT8 ExtSataMode;\r
777 UINT8 ExtSataModeLockHide;\r
778\r
779 //\r
780 // LT Technology 0/1 -> Disable/Enable\r
781 //\r
782 UINT8 LtTechnology;\r
783 UINT8 LtTechnologyLockHide;\r
784\r
785 //\r
786 // HPET Support 0/1 -> Disable/Enable\r
787 //\r
788 UINT8 Hpet;\r
789 UINT8 HpetLockHide;\r
790\r
791 //\r
792 // ICH Function Level Reset enable/disable\r
793 //\r
794 UINT8 FlrCapability;\r
795 UINT8 FlrCapabilityLockHide;\r
796\r
797 // VT-d Option\r
798 UINT8 VTdSupport;\r
799 UINT8 VTdSupportLockHide;\r
800\r
801 UINT8 InterruptRemap;\r
802 UINT8 InterruptRemapLockHide;\r
803\r
804 UINT8 Isoc;\r
805 UINT8 IsocLockHide;\r
806\r
807 UINT8 CoherencySupport;\r
808 UINT8 CoherencySupportLockHide;\r
809\r
810 UINT8 ATS;\r
811 UINT8 ATSLockHide;\r
812\r
813 UINT8 PassThroughDma;\r
814 UINT8 PassThroughDmaLockHide;\r
815\r
816 //\r
817 // IGD option\r
818 //\r
819 UINT8 GraphicsDriverMemorySize;\r
820 UINT8 GraphicsDriverMemorySizeLockHide;\r
821\r
822\r
823 //\r
824 // Discrete SATA Type (Ide, Raid, Ahci)\r
825 //\r
826 UINT8 ExtSataMode2;\r
827 UINT8 ExtSataMode2LockHide;\r
828\r
829 UINT8 ProcessorReserve00;\r
830 UINT8 ProcessorReserve01;\r
831\r
832 //\r
833 // IGD Aperture Size question\r
834 //\r
835 UINT8 IgdApertureSize;\r
836 UINT8 IgdApertureSizeLockHide;\r
837\r
838 //\r
839 // Boot Display Device\r
840 //\r
841 UINT8 BootDisplayDevice;\r
842 UINT8 BootDisplayDeviceLockHide;\r
843\r
844\r
845 //\r
846 // System fan speed duty cycle\r
847 //\r
848 UINT8 SystemFanDuty;\r
849 UINT8 SystemFanDutyLockHide;\r
850\r
851\r
852 //\r
853 // S3 state LED indicator\r
854 //\r
855 UINT8 S3StateIndicator;\r
856 UINT8 S3StateIndicatorLockHide;\r
857\r
858 //\r
859 // S1 state LED indicator\r
860 //\r
861 UINT8 S1StateIndicator;\r
862 UINT8 S1StateIndicatorLockHide;\r
863\r
864 //\r
865 // PS/2 Wake from S5\r
866 //\r
867 UINT8 WakeOnS5Keyboard;\r
868 UINT8 WakeOnS5KeyboardLockHide;\r
869\r
870\r
871 //\r
872 // SATA Controller question 0 = Disabled, 1 = Enabled\r
873 //\r
874 UINT8 Sata;\r
875 UINT8 SataLockHide;\r
876\r
877 //\r
878 // PS2 port\r
879 //\r
880 UINT8 PS2;\r
881\r
882 //\r
883 // No VideoBeep\r
884 //\r
885 UINT8 NoVideoBeepEnable;\r
886\r
887 //\r
888 // Integrated Graphics Device\r
889 //\r
890 UINT8 Igd;\r
891\r
892 //\r
893 // Video Device select order\r
894 //\r
895 UINT8 VideoSelectOrder[8];\r
896\r
897 // Flash update sleep delay\r
898 UINT8 FlashSleepDelay;\r
899 UINT8 FlashSleepDelayLockHide;\r
900\r
901 //\r
902 // Boot Display Device2\r
903 //\r
904 UINT8 BootDisplayDevice2;\r
905 UINT8 BootDisplayDevice2LockHide;\r
906\r
907 //\r
908 // Flat Panel\r
909 //\r
910 UINT8 EdpInterfaceType;\r
911 UINT8 EdpInterfaceTypeLockHide;\r
912\r
913 UINT8 LvdsInterfaceType;\r
914 UINT8 LvdsInterfaceTypeLockHide;\r
915\r
916 UINT8 ColorDepth;\r
917 UINT8 ColorDepthLockHide;\r
918\r
919 UINT8 EdidConfiguration;\r
920 UINT8 EdidConfigurationLockHide;\r
921\r
922 UINT8 PwmReserved;\r
923 UINT8 MaxInverterPWMLockHide;\r
924\r
925 UINT8 PreDefinedEdidConfiguration;\r
926 UINT8 PreDefinedEdidConfigurationLockHide;\r
927\r
928 UINT16 ScreenBrightnessResponseTime;\r
929 UINT8 ScreenBrightnessResponseTimeLockHide;\r
930\r
931 UINT8 Serial3;\r
932 UINT8 Serial3LockHide;\r
933\r
934 UINT8 Serial4;\r
935 UINT8 Serial4LockHide;\r
936\r
937 UINT8 CurrentSetupProfile;\r
938 UINT8 CurrentSetupProfileLockHide;\r
939\r
940 //\r
941 // FSC system Variable\r
942 //\r
943 UINT8 CPUFanUsage;\r
944 UINT8 CPUFanUsageLockHide;\r
945 UINT16 CPUUnderSpeedthreshold;\r
946 UINT8 CPUUnderSpeedthresholdLockHide;\r
947 UINT8 CPUFanControlMode;\r
948 UINT8 CPUFanControlModeLockHide;\r
949 UINT16 Voltage12UnderVolts;\r
950 UINT8 Voltage12UnderVoltsLockHide;\r
951 UINT16 Voltage12OverVolts;\r
952 UINT8 Voltage12OverVoltsLockHide;\r
953 UINT16 Voltage5UnderVolts;\r
954 UINT8 Voltage5UnderVoltsLockHide;\r
955 UINT16 Voltage5OverVolts;\r
956 UINT8 Voltage5OverVoltsLockHide;\r
957 UINT16 Voltage3p3UnderVolts;\r
958 UINT8 Voltage3p3UnderVoltsLockHide;\r
959 UINT16 Voltage3p3OverVolts;\r
960 UINT8 Voltage3p3OverVoltsLockHide;\r
961 UINT16 Voltage2p5UnderVolts;\r
962 UINT8 Voltage2p5UnderVoltsLockHide;\r
963 UINT16 Voltage2p5OverVolts;\r
964 UINT8 Voltage2p5OverVoltsLockHide;\r
965 UINT16 VoltageVccpUnderVolts;\r
966 UINT8 VoltageVccpUnderVoltsLockHide;\r
967 UINT16 VoltageVccpOverVolts;\r
968 UINT8 VoltageVccpOverVoltsLockHide;\r
969 UINT16 Voltage5BackupUnderVolts;\r
970 UINT8 Voltage5BackupUnderVoltsLockHide;\r
971 UINT16 Voltage5BackupOverVolts;\r
972 UINT8 Voltage5BackupOverVoltsLockHide;\r
973 UINT16 VS3p3StbyUnderVolt;\r
974 UINT8 VS3p3StbyUnderVoltLockHide;\r
975 UINT16 VS3p3StbyOverVolt;\r
976 UINT8 VS3p3StbyOverVoltLockHide;\r
977 UINT8 CPUFanMinDutyCycle;\r
978 UINT8 CPUFanMinDutyCycleLockHide;\r
979 UINT8 CPUFanMaxDutyCycle;\r
980 UINT8 CPUFanMaxDutyCycleLockHide;\r
981 UINT8 CPUFanOnDutyCycle;\r
982 UINT8 CPUFanOnDutyCycleLockHide;\r
983 UINT16 CpuOverTemp;\r
984 UINT8 CpuOverTempLockHide;\r
985 UINT16 CpuControlTemp;\r
986 UINT8 CpuControlTempLockHide;\r
987 UINT16 CpuAllOnTemp;\r
988 UINT8 CpuAllOnTempLockHide;\r
989 UINT8 CpuResponsiveness;\r
990 UINT8 CpuResponsivenessLockHide;\r
991 UINT8 CpuDamping;\r
992 UINT8 CpuDampingLockHide;\r
993 UINT16 PchOverTemp;\r
994 UINT8 PchOverTempLockHide;\r
995 UINT16 PchControlTemp;\r
996 UINT8 PchControlTempLockHide;\r
997 UINT16 PchAllOnTemp;\r
998 UINT8 PchAllOnTempLockHide;\r
999 UINT8 PchResponsiveness;\r
1000 UINT8 PchResponsivenessLockHide;\r
1001 UINT8 PchDamping;\r
1002 UINT8 PchDampingLockHide;\r
1003 UINT16 MemoryOverTemp;\r
1004 UINT8 MemoryOverTempLockHide;\r
1005 UINT16 MemoryControlTemp;\r
1006 UINT8 MemoryControlTempLockHide;\r
1007 UINT16 MemoryAllOnTemp;\r
1008 UINT8 MemoryAllOnTempLockHide;\r
1009 UINT8 MemoryResponsiveness;\r
1010 UINT8 MemoryResponsivenessLockHide;\r
1011 UINT8 MemoryDamping;\r
1012 UINT8 MemoryDampingLockHide;\r
1013 UINT16 VROverTemp;\r
1014 UINT8 VROverTempLockHide;\r
1015 UINT16 VRControlTemp;\r
1016 UINT8 VRControlTempLockHide;\r
1017 UINT16 VRAllOnTemp;\r
1018 UINT8 VRAllOnTempLockHide;\r
1019 UINT8 VRResponsiveness;\r
1020 UINT8 VRResponsivenessLockHide;\r
1021 UINT8 VRDamping;\r
1022 UINT8 VRDampingLockHide;\r
1023\r
1024 UINT8 LvdsBrightnessSteps;\r
1025 UINT8 LvdsBrightnessStepsLockHide;\r
1026 UINT8 EdpDataRate;\r
1027 UINT8 EdpDataRateLockHide;\r
1028 UINT16 LvdsPowerOnToBacklightEnableDelayTime;\r
1029 UINT8 LvdsPowerOnToBacklightEnableDelayTimeLockHide;\r
1030 UINT16 LvdsPowerOnDelayTime;\r
1031 UINT8 LvdsPowerOnDelayTimeLockHide;\r
1032 UINT16 LvdsBacklightOffToPowerDownDelayTime;\r
1033 UINT8 LvdsBacklightOffToPowerDownDelayTimeLockHide;\r
1034 UINT16 LvdsPowerDownDelayTime;\r
1035 UINT8 LvdsPowerDownDelayTimeLockHide;\r
1036 UINT16 LvdsPowerCycleDelayTime;\r
1037 UINT8 LvdsPowerCycleDelayTimeLockHide;\r
1038\r
1039 UINT8 IgdFlatPanel;\r
1040 UINT8 IgdFlatPanelLockHide;\r
1041 UINT8 Lan2;\r
1042 UINT8 Lan2LockHide;\r
1043\r
1044 UINT8 SwapMode;\r
1045 UINT8 SwapModeLockHide;\r
1046\r
1047 UINT8 Sata0HotPlugCap;\r
1048 UINT8 Sata0HotPlugCapLockHide;\r
1049 UINT8 Sata1HotPlugCap;\r
1050 UINT8 Sata1HotPlugCapLockHide;\r
1051\r
1052 UINT8 UsbCharging;\r
1053 UINT8 UsbChargingLockHide;\r
1054\r
1055 UINT8 Cstates;\r
1056 UINT8 EnableC4;\r
1057 UINT8 EnableC6;\r
1058\r
1059 UINT8 FastBoot;\r
1060 UINT8 EfiNetworkSupport;\r
1061 UINT8 PxeRom;\r
1062\r
1063 //Add for PpmPlatformPlicy\r
1064 UINT8 PPM00;\r
1065 UINT8 PPM01;\r
1066 UINT8 PPM02;\r
1067 UINT8 PPM03;\r
1068 UINT8 PPM04;\r
1069 UINT8 PPM05;\r
1070 UINT8 PPM06;\r
1071 UINT8 PPM07;\r
1072 UINT8 PPM08;\r
1073 UINT8 PPM09;\r
1074 UINT8 PPM10;\r
1075 UINT8 QuietBoot;\r
1076 UINT8 LegacyUSBBooting;\r
1077\r
1078 UINT8 PwmReserved02;\r
1079 //\r
1080 // Thermal Policy Values\r
1081 //\r
1082 UINT8 EnableDigitalThermalSensor;\r
1083 UINT8 PassiveThermalTripPoint;\r
1084 UINT8 PassiveTc1Value;\r
1085 UINT8 PassiveTc2Value;\r
1086 UINT8 PassiveTspValue;\r
1087 UINT8 DisableActiveTripPoints;\r
1088 UINT8 CriticalThermalTripPoint;\r
1089 UINT8 IchPciExp[4];\r
1090 UINT8 DeepStandby;\r
1091 UINT8 AlsEnable;\r
1092 UINT8 IgdLcdIBia;\r
1093 UINT8 LogBootTime;\r
1094\r
1095\r
1096 UINT8 PcieRootPortIOApic[4];\r
1097 UINT8 IffsEnable;\r
1098 UINT8 IffsOnS3RtcWake;\r
1099 UINT8 IffsS3WakeTimerMin;\r
1100 UINT8 IffsOnS3CritBattWake;\r
1101 UINT8 IffsCritBattWakeThreshold;\r
1102 UINT8 ScramblerSupport;\r
1103 UINT8 SecureBoot;\r
1104 UINT8 SecureBootCustomMode;\r
1105 UINT8 SecureBootUserPhysicalPresent;\r
1106 UINT8 CoreFreMultipSelect;\r
1107 UINT8 MaxCState;\r
1108 UINT8 PanelScaling;\r
1109 UINT8 IgdLcdIGmchBlc;\r
1110 UINT8 GfxBoost;\r
1111 UINT8 IgdThermal;\r
1112 UINT8 SEC00;\r
1113 UINT8 fTPM;\r
1114 UINT8 SEC02;\r
1115 UINT8 SEC03;\r
1116 UINT8 MeasuredBootEnable;\r
1117 UINT8 UseProductKey;\r
1118 //Image Signal Processor PCI Device Configuration\r
1119 //\r
1120 UINT8 ISPDevSel;\r
1121 UINT8 ISPEn;\r
1122 // Passwords\r
1123 UINT16 UserPassword[PASSWORD_MAX_SIZE];\r
1124 UINT16 AdminPassword[PASSWORD_MAX_SIZE];\r
1125 UINT8 Tdt;\r
1126 UINT8 Recovery;\r
1127 UINT8 Suspend;\r
1128 UINT8 TdtState;\r
1129 UINT8 TdtEnrolled;\r
1130 UINT8 PBAEnable;\r
1131\r
1132 UINT8 HpetBootTime;\r
1133 UINT8 UsbDebug;\r
1134 UINT8 Lpe;\r
1135 //\r
1136 // LPSS Configuration\r
1137 //\r
1138 UINT8 LpssPciModeEnabled;\r
1139 //Scc\r
1140 UINT8 LpsseMMCEnabled;\r
1141 UINT8 LpssSdioEnabled;\r
1142 UINT8 LpssSdcardEnabled;\r
1143 UINT8 LpssSdCardSDR25Enabled;\r
1144 UINT8 LpssSdCardDDR50Enabled;\r
1145 UINT8 LpssMipiHsi;\r
1146 UINT8 LpsseMMC45Enabled;\r
1147 UINT8 LpsseMMC45DDR50Enabled;\r
1148 UINT8 LpsseMMC45HS200Enabled;\r
1149 UINT8 LpsseMMC45RetuneTimerValue;\r
1150 UINT8 eMMCBootMode;\r
1151\r
1152 //LPSS2\r
1153 UINT8 LpssDma1Enabled;\r
1154 UINT8 LpssI2C0Enabled;\r
1155 UINT8 LpssI2C1Enabled;\r
1156 UINT8 LpssI2C2Enabled;\r
1157 UINT8 LpssI2C3Enabled;\r
1158 UINT8 LpssI2C4Enabled;\r
1159 UINT8 LpssI2C5Enabled;\r
1160 UINT8 LpssI2C6Enabled;\r
1161 //LPSS1\r
1162 UINT8 LpssDma0Enabled;\r
1163 UINT8 LpssPwm0Enabled;\r
1164 UINT8 LpssPwm1Enabled;\r
1165 UINT8 LpssHsuart0Enabled;\r
1166 UINT8 LpssHsuart1Enabled;\r
1167 UINT8 LpssSpiEnabled;\r
1168 UINT8 I2CTouchAd;\r
1169\r
1170 UINT8 GTTSize;\r
1171 //\r
1172 // DVMT5.0 Graphic memory setting\r
1173 //\r
1174 UINT8 IgdDvmt50PreAlloc;\r
1175 UINT8 IgdDvmt50TotalAlloc;\r
1176 UINT8 IgdTurboEnabled;\r
1177\r
1178 //\r
1179 // Usb Config\r
1180 //\r
1181 UINT8 UsbAutoMode; // PCH controller Auto mode\r
1182 UINT8 UsbXhciSupport;\r
1183 UINT8 Hsic0;\r
1184 UINT8 PchUsb30Mode;\r
1185 UINT8 PchUsb30Streams;\r
1186 UINT8 PchUsb20;\r
1187 UINT8 PchUsbPerPortCtl;\r
1188 UINT8 PchUsbPort[8];\r
1189 UINT8 PchUsbRmh;\r
1190 UINT8 PchUsbOtg;\r
1191 UINT8 PchUsbVbusOn; //OTG VBUS control\r
1192 UINT8 PchFSAOn; //FSA control\r
1193 UINT8 EhciPllCfgEnable;\r
1194\r
1195\r
1196 //Gbe\r
1197 UINT8 PcieRootPortSpeed[PCH_PCIE_MAX_ROOT_PORTS];\r
1198 UINT8 SlpLanLowDc;\r
1199\r
1200 UINT8 ISCT00;\r
1201 UINT8 ISCT01;\r
1202 UINT8 ISCT02;\r
1203 UINT8 ISCT03;\r
1204 UINT8 ISCT04;\r
1205 UINT8 ISCT05;\r
1206 UINT8 ISCT06;\r
1207 UINT8 ISCT07;\r
1208 //\r
1209 // Azalia Configuration\r
1210 //\r
1211 UINT8 PchAzalia;\r
1212 UINT8 AzaliaVCiEnable;\r
1213 UINT8 AzaliaDs;\r
1214 UINT8 AzaliaPme;\r
1215 UINT8 HdmiCodec;\r
1216\r
1217 UINT8 UartInterface;\r
1218 UINT8 PcuUart1;\r
1219 //UINT8 PcuUart2;//for A0\r
1220 UINT8 StateAfterG3;\r
1221 UINT8 EnableClockSpreadSpec;\r
1222 UINT8 GraphicReserve00;\r
1223 UINT8 GOPEnable;\r
1224 UINT8 GOPBrightnessLevel; //Gop Brightness level\r
1225 UINT8 PavpMode;\r
1226 UINT8 SEC04;\r
1227 UINT8 SEC05;\r
1228 UINT8 SEC06;\r
1229 UINT8 SEC07;\r
1230\r
1231 UINT8 HdmiCodecPortB;\r
1232 UINT8 HdmiCodecPortC;\r
1233 UINT8 HdmiCodecPortD;\r
1234 UINT8 LidStatus;\r
1235 UINT8 Reserved00;\r
1236 UINT8 Reserved01;\r
1237 UINT16 Reserved02;\r
1238 UINT16 Reserved03;\r
1239 UINT16 Reserved04;\r
1240 UINT16 Reserved05;\r
1241 UINT16 Reserved06;\r
1242 UINT16 Reserved07;\r
1243 UINT16 Reserved08;\r
1244 UINT16 Reserved09;\r
1245 UINT16 Reserved0A;\r
1246 UINT16 Reserved0B;\r
1247 UINT16 Reserved0C;\r
1248 UINT16 Reserved0D;\r
1249 UINT8 Reserved0E;\r
1250 UINT8 Reserved0F;\r
1251 UINT32 Reserved10;\r
1252 UINT32 Reserved11;\r
1253 UINT32 Reserved12;\r
1254 UINT32 Reserved13;\r
1255 UINT32 Reserved14;\r
1256 UINT8 Reserved15;\r
1257 UINT8 Reserved16;\r
1258 UINT8 Reserved17;\r
1259 UINT8 Reserved18;\r
1260 UINT8 Reserved19;\r
1261 UINT8 Reserved1A;\r
1262 UINT8 Reserved1B;\r
1263 UINT8 Reserved1C;\r
1264 UINT8 Reserved1D;\r
1265 UINT8 Reserved1E;\r
1266 UINT8 Reserved1F;\r
1267 UINT8 Reserved20;\r
1268 UINT8 PmicEnable;\r
1269 UINT8 IdleReserve;\r
1270 UINT8 TSEGSizeSel;\r
1271 UINT8 ACPIMemDbg;\r
1272 UINT8 ExISupport;\r
1273 UINT8 BatteryChargingSolution; //0-non ULPMC 1-ULPMC\r
1274 UINT8 PnpSettings;\r
1275 UINT8 CfioPnpSettings;\r
1276 UINT8 PchEhciDebug;\r
1277 UINT8 CRIDSettings;\r
1278 UINT8 ULPMCFWLock;\r
1279 UINT8 SpiRwProtect;\r
1280 UINT8 GraphicReserve02;\r
1281 UINT8 PDMConfig;\r
1282 UINT16 LmMemSize;\r
1283 UINT8 PunitBIOSConfig;\r
1284 UINT8 LpssSdioMode;\r
1285 UINT8 ENDBG2;\r
1286 UINT8 WittEnable;\r
1287 UINT8 UtsEnable;\r
1288 UINT8 TristateLpc;\r
1289 UINT8 GraphicReserve05;\r
1290 UINT8 UsbXhciLpmSupport;\r
1291 UINT8 EnableAESNI;\r
1292 UINT8 SecureErase;\r
1293\r
1294 UINT8 MmioSize;\r
1295\r
1296\r
1297 UINT8 SAR1;\r
1298\r
1299 UINT8 DisableCodec262;\r
1300 UINT8 ReservedO;\r
1301 UINT8 PcieDynamicGating; // Need PMC enable it first from PMC 0x3_12 MCU 318.\r
1302\r
1303 UINT8 MipiDsi;\r
1304\r
1305 //Added flow control item for UART1 and UART2\r
1306 UINT8 LpssHsuart0FlowControlEnabled;\r
1307 UINT8 LpssHsuart1FlowControlEnabled;\r
1308\r
1309 UINT8 SdCardRemovable; // ACPI reporting MMC/SD media as: removable/non-removable\r
1310 UINT8 GpioWakeCapability;\r
1311 UINT8 RtcBattery;\r
1312\r
1313} SYSTEM_CONFIGURATION;\r
1314#pragma pack()\r
1315\r
1316#ifndef PLATFORM_SETUP_VARIABLE_NAME\r
1317#define PLATFORM_SETUP_VARIABLE_NAME L"Setup"\r
1318#endif\r
1319\r
1320#pragma pack(1)\r
1321typedef struct{\r
1322 // Passwords\r
1323 UINT16 UserPassword[PASSWORD_MAX_SIZE];\r
1324 UINT16 AdminPassword[PASSWORD_MAX_SIZE];\r
1325 UINT16 DummyDataForVfrBug; // Don't change or use\r
1326\r
1327} SYSTEM_PASSWORDS;\r
1328#pragma pack()\r
1329\r
1330//\r
1331// #defines for Drive Presence\r
1332//\r
1333#define EFI_HDD_PRESENT 0x01\r
1334#define EFI_HDD_NOT_PRESENT 0x00\r
1335#define EFI_CD_PRESENT 0x02\r
1336#define EFI_CD_NOT_PRESENT 0x00\r
1337\r
1338#define EFI_HDD_WARNING_ON 0x01\r
1339#define EFI_CD_WARNING_ON 0x02\r
1340#define EFI_SMART_WARNING_ON 0x04\r
1341#define EFI_HDD_WARNING_OFF 0x00\r
1342#define EFI_CD_WARNING_OFF 0x00\r
1343#define EFI_SMART_WARNING_OFF 0x00\r
1344\r
1345#ifndef VFRCOMPILE\r
1346extern EFI_GUID gEfiSetupVariableGuid;\r
1347#endif\r
1348\r
1349#define SETUP_DATA SYSTEM_CONFIGURATION\r
1350\r
1351#endif // #ifndef _SETUP_VARIABLE\r
1352\r