summaryrefslogtreecommitdiff
path: root/Board/EM/FixedBootOrder/FixedBootOrder.sdl
blob: 1589fc7377b51d6545a916b5ff47d5c073c15870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
TOKEN
	Name  = "FIXED_BOOT_ORDER_SUPPORT"
	Value  = "1"
	Help  = "Main switch to enable module support in Project"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Master = Yes
End

TOKEN
	Name  = "BOOT_OPTION_GET_BBS_ENTRY_DEVICE_TYPE_FUNCTION"
	Value  = "FBO_GetBbsEntryDeviceType"
	Help  = "Name of the function of type GET_BBS_ENTRY_DEVICE_TYPE.\The function is used to convert device type stored in the BBS table to a legacy device type that will be stored in the NVRAM.\The default implementation(GetBbsEntryDeviceTypeDefault) provides support for BBS_USB_DEVICE_TYPE_SUPPORT and BBS_NETWORK_DEVICE_TYPE_SUPPORT SDL tokens."
	TokenType = Expression
	TargetH = Yes
	Token = "CSM_SUPPORT" "=" "1"
End

TOKEN
	Name  = "INITIAL_LEGCAY_HII_ITEM_FUNCTION"
	Value  = "InitialLegacyHiiItemDefault"
	Help  = "Name of the function of FBO_INITIAL_HII_ITEM.\The function is initial legacy boot option hii database item."
	TokenType = Expression
	TargetH = Yes
End

TOKEN
	Name  = "INITIAL_UEFI_HII_ITEM_FUNCTION"
	Value  = "InitialUefiHiiItemDefault"
	Help  = "Name of the function of FBO_INITIAL_HII_ITEM.\The function is initial uefi boot option hii database item."
	TokenType = Expression
	TargetH = Yes
End

TOKEN
	Name  = "INITIAL_LEGCAY_GROUP_FUNCTION"
	Value  = "InitLegacyGroupDefault"
	Help  = "Name of the function of FBO_INITIAL_GROUP.\The function is initial legacy boot option device name."
	TokenType = Expression
	TargetH = Yes
End

TOKEN
	Name  = "INITIAL_UEFI_GROUP_FUNCTION"
	Value  = "InitUefiGroupDefault"
	Help  = "Name of the function of FBO_INITIAL_GROUP.\The function is initial uefi boot option device name."
	TokenType = Expression
	TargetH = Yes
End

TOKEN
	Name  = "USBKEY_RANGE_SIZE"
	Value  = "32000"
	Help  = "USB key memory size define.\Exsample:\32000 is 32G.\64000 is 64G."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "SETUP_RUNTIME_IFR_PROCESSING"
	Value  = "1"
	Help  = "Processes IFR data that are added to hii at runtime.  This will cause an increased FW footprint and remove AMIBCP compatibility for those new pages."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "FIXED_BOOT_SWAP_POLICY"
	Value  = "0"
	Help  = "0 = Swap option which is duplicated after boot priority is changed in TSE\1 = Swap nearby option (moving up and down)"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "FIXED_BOOT_DISPLAY_DEVICE_NAME_IN_SETUP"
	Value  = "1"
	Help  = "ON - Display device name in boot priority.\OFF - Just display type."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "FIXED_BOOT_INCLUDE_DISABLED_OPTION"
	Value  = "1"
	Help  = "ON - Include Disabled to each boot priority control.  NOTE: System will be reset after priorities got changed.\OFF - No Disabled option"
	TokenType = Boolean
	TargetEQU = Yes
	TargetH = Yes
	Token = "FIXED_BOOT_SWAP_POLICY" "=" "0"
End

TOKEN
	Name  = "EDK_1_05_RETRIEVE_DATA"
	Value  = "0"
	Help  = "Modified code to return BrowserCallback String according to either EDK browser or spec. Please be careful when to change this to 0, May cause Addon Card to not to work."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
	Token = "EFI_SPECIFICATION_VERSION" ">=" "0x2000A"
End

TOKEN
	Name  = "TSE_SAVE_DISABLED_BBS_DEVICEPATH"
	Value  = "0"
	Help  = "1 => Saves the DevicePaths of Disabled BBS devices to NVRAM Variable. \Depends on that varaible to keep device disbaled in next boot. \0 => Doesn't save the Disabled BBS devicepath."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "TSE_LOAD_OPTION_HIDDEN"
	Value  = "1"
	Help  = "1 => Hide LOAD_OPTION_HIDDEN Boot option. 0 => Shows all boot options."
	TokenType = Boolean
	TargetH = Yes
	Token = "EFI_SPECIFICATION_VERSION" ">" "0x20000"
End

TOKEN
	Name  = "USE_BCP_DEFAULT_PRIORITIES"
	Value  = "0"
	Help  = "1 => Use file .sd BcpDefaultPriorities[] set default boot sequence."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "FBO_USE_BOOT_OPTION_NUMBER_UNI"
	Value  = "0"
	Help  = "1 => Use Boot Option number unicode string with .UNI file."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "FBO_DUAL_MODE"
	Value  = "0"
	Help  = "1 = Legacy/Uefi mix display."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
    Name  = "FBO_WTG_PRIORITY_UPDATE"
    Value  = "1"
    Help  = "1 = Update Priorities when User set Windows To Go to 1st Priority in Windows To Go Startup."
    TokenType = Boolean
    TargetH = Yes
    Token = "RestoreSpecialBootOptions_SUPPORT" "=" "1"
End

TOKEN
	Name  = "FIXED_BOOT_ORDER_SUBMENU_MAX_NUM"
	Value  = "16"
	Help  = "All SubMenu Total boot options."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "FIXED_BOOT_ORDER_GROUP_MAX_NUM"
	Value  = "16"
	Help  = "Maximum number of groups."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "FIXED_BOOT_ORDER_TOTAL_DEVICES_MAX_NUM"
	Value  = "$(FIXED_BOOT_ORDER_SUBMENU_MAX_NUM)*$(FIXED_BOOT_ORDER_GROUP_MAX_NUM)"
	Help  = "Maximum number of devices."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

PATH
	Name  = "FixedBootOrder_DIR"
End

MODULE
	Help  = "Includes FixedBootOrder.mak to Project"
	File  = "FixedBootOrder.mak"
End

ELINK
	Name  = "FBO_Init,"
	Parent  = "ReadBootOptions,"
	InvokeOrder = BeforeParent
End

ELINK
	Name  = "FixedBootOrderStringInit,"
	Parent  = "SetupStringInit"
	Help  = "Install form callback for each control"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "FixedBootOrderSaveChange,"
	Parent  = "SavedConfigChangesHook,"
	Help  = "Save Changed boot order"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "FixedBootOrderLoadedConfigDefaults,"
	Parent  = "LoadedConfigDefaultsHook,"
	Help  = "Loaded  boot order Defaults"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "FBO_Protocol_install,"
	Parent  = "MinisetupDriverEntryHook,"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "FBO_UpdateBootListPriority,"
	Parent  = "SaveLegacyDevOrder,"
	InvokeOrder = BeforeParent
End

ELINK
    	Name  = "FboSyncBootOptionsFromDevOrder,"
    	Parent  = "CreateBootOptionsForNewBootDevices,"
    	InvokeOrder = BeforeParent
    	Priority = 1
End

ELINK
	Name  = "FBO_AdjustPriority,"
	Parent  = "ReadBootOptions,"
	InvokeOrder = AfterParent
	Token = "FBO_WTG_PRIORITY_UPDATE" "=" "1"
End

ELINK
	Name  = "FBO_SetDefaultUEFIDevOrder,"
	Parent  = "SaveBootOptions,"
	InvokeOrder = BeforeParent
End

ELINK
	Name  = "FixedBootOrderSetupEnter,"
	Parent  = "ProcessEnterSetupHook,"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "FixedBootOrderToBoot,"
	Parent  = "ProcessProceedToBootHook,"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(BUILD_DIR)\SetupStrTokens.h"
	Parent  = "FIXEDBOOTORDER_STRTOKENS_INCLUDE_FILES"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "FIXEDBOOTORDER_STRTOKENS_INCLUDE_FILES"
	InvokeOrder = ReplaceParent
End

ELINK
	Name = "AdjustLegacyBootOptionPriorities,"
	Parent = "UpdateBootOptionVariables,"
	Token = "CSM_SUPPORT" "=" "1"
	Token = "GROUP_BOOT_OPTIONS_BY_TAG" "=" "1"
	InvokeOrder = AfterParent
	Disable = Yes 
End