3 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials are licensed and made available under
8 the terms and conditions of the BSD License that accompanies this distribution.
10 The full text of the license may be found at
12 http://opensource.org/licenses/bsd-license.php.
16 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
29 Driver configuration include file
34 #ifndef _SETUP_VARIABLE_H
35 #define _SETUP_VARIABLE_H
38 // ---------------------------------------------------------------------------
40 // Driver Configuration
42 // ---------------------------------------------------------------------------
46 // {EC87D643-EBA4-4bb5-A1E5-3F3E36B20DA9}
48 #define SYSTEM_CONFIGURATION_GUID\
50 0xec87d643, 0xeba4, 0x4bb5, 0xa1, 0xe5, 0x3f, 0x3e, 0x36, 0xb2, 0xd, 0xa9 \
53 #define ROOT_SECURITY_GUID\
55 0xd387d688, 0xeba4, 0x45b5, 0xa1, 0xe5, 0x3f, 0x3e, 0x36, 0xb2, 0xd, 0x37 \
59 // {6936B3BD-4350-46d9-8940-1FA20961AEB1}
61 #define SYSTEM_ROOT_MAIN_GUID\
63 0x6936b3bd, 0x4350, 0x46d9, 0x89, 0x40, 0x1f, 0xa2, 0x9, 0x61, 0xae, 0xb1 \
67 // {21FEE8DB-0D29-477e-B5A9-96EB343BA99C}
69 #define ADDITIONAL_SYSTEM_INFO_GUID\
71 0x21fee8db, 0xd29, 0x477e, 0xb5, 0xa9, 0x96, 0xeb, 0x34, 0x3b, 0xa9, 0x9c \
74 #define SETUP_GUID { 0xEC87D643, 0xEBA4, 0x4BB5, 0xA1, 0xE5, 0x3F, 0x3E, 0x36, 0xB2, 0x0D, 0xA9 }
76 // {1B838190-4625-4ead-ABC9-CD5E6AF18FE0}
77 #define EFI_HII_EXPORT_DATABASE_GUID { 0x1b838190, 0x4625, 0x4ead, 0xab, 0xc9, 0xcd, 0x5e, 0x6a, 0xf1, 0x8f, 0xe0 }
79 #define PASSWORD_MAX_SIZE 20
81 #define MAX_CUSTOM_VID_TABLE_STATES 6
83 // Overclocking Source Defines
85 #define OVERCLOCK_SOURCE_BIOS 0
86 #define OVERCLOCK_SOURCE_OS 1
88 #define PCH_PCIE_MAX_ROOT_PORTS 4
92 // NOTE: When you add anything to this structure,
93 // you MUST add it to the very bottom!!!!
94 // You must make sure the structure size is able to divide by 32!
101 UINT8 FloppyLockHide
;
103 UINT8 FloppyWriteProtect
;
104 UINT8 FloppyWriteProtectLockHide
;
110 UINT8 SerialLockHide
;
113 UINT8 Serial2LockHide
;
116 UINT8 ParallelLockHide
;
119 UINT8 ParallelModeLockHide
;
122 UINT8 UsbPortsLockHide
;
128 UINT8 UsbLegacyLockHide
;
140 UINT8 NumlockLockHide
;
152 UINT8 PowerStateLockHide
;
155 // Wake on RTC variables
158 UINT8 WakeOnRtcS5LockHide
;
160 UINT8 RTCWakeupDateLockHide
;
161 UINT8 RTCWakeupTimeHour
;
162 UINT8 RTCWakeupHourLockHide
;
163 UINT8 RTCWakeupTimeMinute
;
164 UINT8 RTCWakeupMinuteLockHide
;
165 UINT8 RTCWakeupTimeSecond
;
166 UINT8 RTCWakeupSecondLockHide
;
172 UINT8 WakeOnLanS5LockHide
;
175 UINT8 SpreadSpectrum
;
181 UINT8 BootOrderLockHide
;
184 // Hard Drive Boot Order
186 UINT8 HardDriveBootOrder
[8];
187 UINT8 HardDriveBootOrderLockHide
;
190 // CD Drive Boot Order
192 UINT8 CdDriveBootOrder
[4];
193 UINT8 CdDriveBootOrderLockHide
;
196 // FDD Drive Boot Order
198 UINT8 FddDriveBootOrder
[4];
199 UINT8 FddDriveBootOrderLockHide
;
204 UINT8 DriveBootOrder
[16];
205 UINT8 DriveBootOrderLockHide
;
211 UINT8 BootMenuTypeLockHide
;
214 // Boot from Removable Devices
217 UINT8 BootFloppyLockHide
;
220 // Boot from Optical Devices
223 UINT8 BootCdLockHide
;
229 UINT8 BootNetworkLockHide
;
235 UINT8 BootUsbLockHide
;
238 // USB Zip Emulation Type
240 UINT8 UsbZipEmulation
;
241 UINT8 UsbZipEmulationLockHide
;
244 // USB Devices Boot First in Boot Order
246 UINT8 UsbDevicesBootFirst
;
247 UINT8 UsbDevicesBootFirstLockHide
;
250 // USB Boot Device SETUP Emulation
252 UINT8 UsbSetupDeviceEmulation
;
253 UINT8 UsbSetupDeviceEmulationLockHide
;
256 // BIOS INT13 Emulation for USB Mass Devices
258 UINT8 UsbBIOSINT13DeviceEmulation
;
259 UINT8 UsbBIOSINT13DeviceEmulationLockHide
;
262 // BIOS INT13 Emulation Size for USB Mass Devices
264 UINT16 UsbBIOSINT13DeviceEmulationSize
;
265 UINT8 UsbBIOSINT13DeviceEmulationSizeLockHide
;
268 // Dummy place holder to prevent VFR compiler problem.
270 UINT16 DummyDataForVfrBug
; // Don't change or use.
275 UINT8 LanguageSelect
;
278 // SATA Type (Ide, Ahci, Raid)
281 UINT8 SataTypeLockHide
;
285 // Fixed Disk Boot Sector (Fdbs)
291 // DisplaySetupPrompt
293 UINT8 DisplaySetupPrompt
;
294 UINT8 DisplaySetupPromptLockHide
;
306 UINT8 EventLoggingLockHide
;
312 UINT8 ClearEventsLockHide
;
315 // Expansion Card Text
317 UINT8 ExpansionCardText
;
318 UINT8 ExpansionCardTextLockHide
;
323 UINT8 PrimaryVideoAdaptor
;
324 UINT8 PrimaryVideoAdaptorLockHide
;
329 UINT8 IntruderDetection
;
330 UINT8 IntruderDetectionLockHide
;
335 UINT8 UserPasswordLevel
;
336 UINT8 UserPasswordLevelLockHide
;
339 // Maximum FSB Automatic/Disable
342 UINT8 MaxFsbLockHide
;
345 // Hard Disk Pre-delay
348 UINT8 HddPredelayLockHide
;
354 UINT8 SmartModeLockHide
;
357 // ACPI Suspend State
359 UINT8 AcpiSuspendState
;
360 UINT8 AcpiSuspendStateLockHide
;
366 UINT8 PciLatencyLockHide
;
372 UINT8 FanControlLockHide
;
378 UINT8 CpuFanControlLockHide
;
383 UINT8 LowestFanSpeed
;
384 UINT8 LowestFanSpeedLockHide
;
392 UINT8 CpuidMaxValueLockHide
;
394 UINT8 ExecuteDisableBit
;
395 UINT8 ExecuteDisableBitLockHide
;
398 // EIST or GV3 setup option
400 UINT8 ProcessorEistEnable
;
401 UINT8 ProcessorEistEnableLockHide
;
406 UINT8 ProcessorC1eEnable
;
407 UINT8 ProcessorC1eEnableLockHide
;
410 // Enabling CPU C-States of processor
412 UINT8 ProcessorCcxEnable
;
413 UINT8 ProcessorCcxEnableLockHide
;
416 // Package C-State Limit
419 UINT8 PackageCStateLockHide
;
422 // Enable/Disable NHM C3(ACPI C2) report to OS
425 UINT8 OSC2ReportLockHide
;
428 // Enable/Disable NHM C6(ACPI C3) report to OS
431 UINT8 C6EnableLockHide
;
434 // Enable/Disable NHM C7(ACPI C3) report to OS
437 UINT8 C7EnableLockHide
;
440 // EIST/PSD Function select option
442 UINT8 ProcessorEistPsdFunc
;
443 UINT8 ProcessorEistPsdFuncLockHide
;
747 // Port 80 decode 0/1 - PCI/LPC
749 UINT8 Port80RouteLockHide
;
754 UINT8 EccEventLogging
;
755 UINT8 EccEventLoggingLockHide
;
758 // TPM Enable/Disable
763 // TPM question 0 = Disabled, 1 = Enabled
768 // Secondary SATA Controller question 0 = Disabled, 1 = Enabled
771 UINT8 ExtSataLockHide
;
774 // Mode selection for Secondary SATA Controller (0=IDE, 1=RAID)
777 UINT8 ExtSataModeLockHide
;
780 // LT Technology 0/1 -> Disable/Enable
783 UINT8 LtTechnologyLockHide
;
786 // HPET Support 0/1 -> Disable/Enable
792 // ICH Function Level Reset enable/disable
795 UINT8 FlrCapabilityLockHide
;
799 UINT8 VTdSupportLockHide
;
801 UINT8 InterruptRemap
;
802 UINT8 InterruptRemapLockHide
;
807 UINT8 CoherencySupport
;
808 UINT8 CoherencySupportLockHide
;
813 UINT8 PassThroughDma
;
814 UINT8 PassThroughDmaLockHide
;
819 UINT8 GraphicsDriverMemorySize
;
820 UINT8 GraphicsDriverMemorySizeLockHide
;
824 // Discrete SATA Type (Ide, Raid, Ahci)
827 UINT8 ExtSataMode2LockHide
;
829 UINT8 ProcessorReserve00
;
830 UINT8 ProcessorReserve01
;
833 // IGD Aperture Size question
835 UINT8 IgdApertureSize
;
836 UINT8 IgdApertureSizeLockHide
;
839 // Boot Display Device
841 UINT8 BootDisplayDevice
;
842 UINT8 BootDisplayDeviceLockHide
;
846 // System fan speed duty cycle
849 UINT8 SystemFanDutyLockHide
;
853 // S3 state LED indicator
855 UINT8 S3StateIndicator
;
856 UINT8 S3StateIndicatorLockHide
;
859 // S1 state LED indicator
861 UINT8 S1StateIndicator
;
862 UINT8 S1StateIndicatorLockHide
;
867 UINT8 WakeOnS5Keyboard
;
868 UINT8 WakeOnS5KeyboardLockHide
;
872 // SATA Controller question 0 = Disabled, 1 = Enabled
885 UINT8 NoVideoBeepEnable
;
888 // Integrated Graphics Device
893 // Video Device select order
895 UINT8 VideoSelectOrder
[8];
897 // Flash update sleep delay
898 UINT8 FlashSleepDelay
;
899 UINT8 FlashSleepDelayLockHide
;
902 // Boot Display Device2
904 UINT8 BootDisplayDevice2
;
905 UINT8 BootDisplayDevice2LockHide
;
910 UINT8 EdpInterfaceType
;
911 UINT8 EdpInterfaceTypeLockHide
;
913 UINT8 LvdsInterfaceType
;
914 UINT8 LvdsInterfaceTypeLockHide
;
917 UINT8 ColorDepthLockHide
;
919 UINT8 EdidConfiguration
;
920 UINT8 EdidConfigurationLockHide
;
923 UINT8 MaxInverterPWMLockHide
;
925 UINT8 PreDefinedEdidConfiguration
;
926 UINT8 PreDefinedEdidConfigurationLockHide
;
928 UINT16 ScreenBrightnessResponseTime
;
929 UINT8 ScreenBrightnessResponseTimeLockHide
;
932 UINT8 Serial3LockHide
;
935 UINT8 Serial4LockHide
;
937 UINT8 CurrentSetupProfile
;
938 UINT8 CurrentSetupProfileLockHide
;
941 // FSC system Variable
944 UINT8 CPUFanUsageLockHide
;
945 UINT16 CPUUnderSpeedthreshold
;
946 UINT8 CPUUnderSpeedthresholdLockHide
;
947 UINT8 CPUFanControlMode
;
948 UINT8 CPUFanControlModeLockHide
;
949 UINT16 Voltage12UnderVolts
;
950 UINT8 Voltage12UnderVoltsLockHide
;
951 UINT16 Voltage12OverVolts
;
952 UINT8 Voltage12OverVoltsLockHide
;
953 UINT16 Voltage5UnderVolts
;
954 UINT8 Voltage5UnderVoltsLockHide
;
955 UINT16 Voltage5OverVolts
;
956 UINT8 Voltage5OverVoltsLockHide
;
957 UINT16 Voltage3p3UnderVolts
;
958 UINT8 Voltage3p3UnderVoltsLockHide
;
959 UINT16 Voltage3p3OverVolts
;
960 UINT8 Voltage3p3OverVoltsLockHide
;
961 UINT16 Voltage2p5UnderVolts
;
962 UINT8 Voltage2p5UnderVoltsLockHide
;
963 UINT16 Voltage2p5OverVolts
;
964 UINT8 Voltage2p5OverVoltsLockHide
;
965 UINT16 VoltageVccpUnderVolts
;
966 UINT8 VoltageVccpUnderVoltsLockHide
;
967 UINT16 VoltageVccpOverVolts
;
968 UINT8 VoltageVccpOverVoltsLockHide
;
969 UINT16 Voltage5BackupUnderVolts
;
970 UINT8 Voltage5BackupUnderVoltsLockHide
;
971 UINT16 Voltage5BackupOverVolts
;
972 UINT8 Voltage5BackupOverVoltsLockHide
;
973 UINT16 VS3p3StbyUnderVolt
;
974 UINT8 VS3p3StbyUnderVoltLockHide
;
975 UINT16 VS3p3StbyOverVolt
;
976 UINT8 VS3p3StbyOverVoltLockHide
;
977 UINT8 CPUFanMinDutyCycle
;
978 UINT8 CPUFanMinDutyCycleLockHide
;
979 UINT8 CPUFanMaxDutyCycle
;
980 UINT8 CPUFanMaxDutyCycleLockHide
;
981 UINT8 CPUFanOnDutyCycle
;
982 UINT8 CPUFanOnDutyCycleLockHide
;
984 UINT8 CpuOverTempLockHide
;
985 UINT16 CpuControlTemp
;
986 UINT8 CpuControlTempLockHide
;
988 UINT8 CpuAllOnTempLockHide
;
989 UINT8 CpuResponsiveness
;
990 UINT8 CpuResponsivenessLockHide
;
992 UINT8 CpuDampingLockHide
;
994 UINT8 PchOverTempLockHide
;
995 UINT16 PchControlTemp
;
996 UINT8 PchControlTempLockHide
;
998 UINT8 PchAllOnTempLockHide
;
999 UINT8 PchResponsiveness
;
1000 UINT8 PchResponsivenessLockHide
;
1002 UINT8 PchDampingLockHide
;
1003 UINT16 MemoryOverTemp
;
1004 UINT8 MemoryOverTempLockHide
;
1005 UINT16 MemoryControlTemp
;
1006 UINT8 MemoryControlTempLockHide
;
1007 UINT16 MemoryAllOnTemp
;
1008 UINT8 MemoryAllOnTempLockHide
;
1009 UINT8 MemoryResponsiveness
;
1010 UINT8 MemoryResponsivenessLockHide
;
1011 UINT8 MemoryDamping
;
1012 UINT8 MemoryDampingLockHide
;
1014 UINT8 VROverTempLockHide
;
1015 UINT16 VRControlTemp
;
1016 UINT8 VRControlTempLockHide
;
1018 UINT8 VRAllOnTempLockHide
;
1019 UINT8 VRResponsiveness
;
1020 UINT8 VRResponsivenessLockHide
;
1022 UINT8 VRDampingLockHide
;
1024 UINT8 LvdsBrightnessSteps
;
1025 UINT8 LvdsBrightnessStepsLockHide
;
1027 UINT8 EdpDataRateLockHide
;
1028 UINT16 LvdsPowerOnToBacklightEnableDelayTime
;
1029 UINT8 LvdsPowerOnToBacklightEnableDelayTimeLockHide
;
1030 UINT16 LvdsPowerOnDelayTime
;
1031 UINT8 LvdsPowerOnDelayTimeLockHide
;
1032 UINT16 LvdsBacklightOffToPowerDownDelayTime
;
1033 UINT8 LvdsBacklightOffToPowerDownDelayTimeLockHide
;
1034 UINT16 LvdsPowerDownDelayTime
;
1035 UINT8 LvdsPowerDownDelayTimeLockHide
;
1036 UINT16 LvdsPowerCycleDelayTime
;
1037 UINT8 LvdsPowerCycleDelayTimeLockHide
;
1040 UINT8 IgdFlatPanelLockHide
;
1045 UINT8 SwapModeLockHide
;
1047 UINT8 Sata0HotPlugCap
;
1048 UINT8 Sata0HotPlugCapLockHide
;
1049 UINT8 Sata1HotPlugCap
;
1050 UINT8 Sata1HotPlugCapLockHide
;
1053 UINT8 UsbChargingLockHide
;
1060 UINT8 EfiNetworkSupport
;
1063 //Add for PpmPlatformPlicy
1076 UINT8 LegacyUSBBooting
;
1078 UINT8 PwmReserved02
;
1080 // Thermal Policy Values
1082 UINT8 EnableDigitalThermalSensor
;
1083 UINT8 PassiveThermalTripPoint
;
1084 UINT8 PassiveTc1Value
;
1085 UINT8 PassiveTc2Value
;
1086 UINT8 PassiveTspValue
;
1087 UINT8 DisableActiveTripPoints
;
1088 UINT8 CriticalThermalTripPoint
;
1096 UINT8 PcieRootPortIOApic
[4];
1098 UINT8 IffsOnS3RtcWake
;
1099 UINT8 IffsS3WakeTimerMin
;
1100 UINT8 IffsOnS3CritBattWake
;
1101 UINT8 IffsCritBattWakeThreshold
;
1102 UINT8 ScramblerSupport
;
1104 UINT8 SecureBootCustomMode
;
1105 UINT8 SecureBootUserPhysicalPresent
;
1106 UINT8 CoreFreMultipSelect
;
1109 UINT8 IgdLcdIGmchBlc
;
1116 UINT8 MeasuredBootEnable
;
1117 UINT8 UseProductKey
;
1118 //Image Signal Processor PCI Device Configuration
1123 UINT16 UserPassword
[PASSWORD_MAX_SIZE
];
1124 UINT16 AdminPassword
[PASSWORD_MAX_SIZE
];
1136 // LPSS Configuration
1138 UINT8 LpssPciModeEnabled
;
1140 UINT8 LpsseMMCEnabled
;
1141 UINT8 LpssSdioEnabled
;
1142 UINT8 LpssSdcardEnabled
;
1143 UINT8 LpssSdCardSDR25Enabled
;
1144 UINT8 LpssSdCardDDR50Enabled
;
1146 UINT8 LpsseMMC45Enabled
;
1147 UINT8 LpsseMMC45DDR50Enabled
;
1148 UINT8 LpsseMMC45HS200Enabled
;
1149 UINT8 LpsseMMC45RetuneTimerValue
;
1153 UINT8 LpssDma1Enabled
;
1154 UINT8 LpssI2C0Enabled
;
1155 UINT8 LpssI2C1Enabled
;
1156 UINT8 LpssI2C2Enabled
;
1157 UINT8 LpssI2C3Enabled
;
1158 UINT8 LpssI2C4Enabled
;
1159 UINT8 LpssI2C5Enabled
;
1160 UINT8 LpssI2C6Enabled
;
1162 UINT8 LpssDma0Enabled
;
1163 UINT8 LpssPwm0Enabled
;
1164 UINT8 LpssPwm1Enabled
;
1165 UINT8 LpssHsuart0Enabled
;
1166 UINT8 LpssHsuart1Enabled
;
1167 UINT8 LpssSpiEnabled
;
1172 // DVMT5.0 Graphic memory setting
1174 UINT8 IgdDvmt50PreAlloc
;
1175 UINT8 IgdDvmt50TotalAlloc
;
1176 UINT8 IgdTurboEnabled
;
1181 UINT8 UsbAutoMode
; // PCH controller Auto mode
1182 UINT8 UsbXhciSupport
;
1185 UINT8 PchUsb30Streams
;
1187 UINT8 PchUsbPerPortCtl
;
1188 UINT8 PchUsbPort
[8];
1191 UINT8 PchUsbVbusOn
; //OTG VBUS control
1192 UINT8 PchFSAOn
; //FSA control
1193 UINT8 EhciPllCfgEnable
;
1197 UINT8 PcieRootPortSpeed
[PCH_PCIE_MAX_ROOT_PORTS
];
1209 // Azalia Configuration
1212 UINT8 AzaliaVCiEnable
;
1217 UINT8 UartInterface
;
1219 //UINT8 PcuUart2;//for A0
1221 UINT8 EnableClockSpreadSpec
;
1222 UINT8 GraphicReserve00
;
1224 UINT8 GOPBrightnessLevel
; //Gop Brightness level
1231 UINT8 HdmiCodecPortB
;
1232 UINT8 HdmiCodecPortC
;
1233 UINT8 HdmiCodecPortD
;
1273 UINT8 BatteryChargingSolution
; //0-non ULPMC 1-ULPMC
1275 UINT8 CfioPnpSettings
;
1280 UINT8 GraphicReserve02
;
1283 UINT8 PunitBIOSConfig
;
1289 UINT8 GraphicReserve05
;
1290 UINT8 UsbXhciLpmSupport
;
1299 UINT8 DisableCodec262
;
1301 UINT8 PcieDynamicGating
; // Need PMC enable it first from PMC 0x3_12 MCU 318.
1305 //Added flow control item for UART1 and UART2
1306 UINT8 LpssHsuart0FlowControlEnabled
;
1307 UINT8 LpssHsuart1FlowControlEnabled
;
1309 UINT8 SdCardRemovable
; // ACPI reporting MMC/SD media as: removable/non-removable
1311 UINT8 GpioWakeCapability
;
1313 } SYSTEM_CONFIGURATION
;
1316 #ifndef PLATFORM_SETUP_VARIABLE_NAME
1317 #define PLATFORM_SETUP_VARIABLE_NAME L"Setup"
1323 UINT16 UserPassword
[PASSWORD_MAX_SIZE
];
1324 UINT16 AdminPassword
[PASSWORD_MAX_SIZE
];
1325 UINT16 DummyDataForVfrBug
; // Don't change or use
1331 // #defines for Drive Presence
1333 #define EFI_HDD_PRESENT 0x01
1334 #define EFI_HDD_NOT_PRESENT 0x00
1335 #define EFI_CD_PRESENT 0x02
1336 #define EFI_CD_NOT_PRESENT 0x00
1338 #define EFI_HDD_WARNING_ON 0x01
1339 #define EFI_CD_WARNING_ON 0x02
1340 #define EFI_SMART_WARNING_ON 0x04
1341 #define EFI_HDD_WARNING_OFF 0x00
1342 #define EFI_CD_WARNING_OFF 0x00
1343 #define EFI_SMART_WARNING_OFF 0x00
1346 extern EFI_GUID gEfiSetupVariableGuid
;
1349 #define SETUP_DATA SYSTEM_CONFIGURATION
1351 #endif // #ifndef _SETUP_VARIABLE