summaryrefslogtreecommitdiff
path: root/Core/EM/CmosManager/Template.ssp
blob: ada4980a5e71397897611e8d8e868daa0feb8bea (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
//
//	TITLE	TEMPLATE.SSP -- SETUP UTILITY CORE TEMPLATE
//
//*************************************************************************
//*************************************************************************
//**                                                                     **
//**        (C)Copyright 1985-2009, American Megatrends, Inc.            **
//**                                                                     **
//**                       All Rights Reserved.                          **
//**                                                                     **
//**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
//**                                                                     **
//**                       Phone: (770)-246-8600                         **
//**                                                                     **
//*************************************************************************
//*************************************************************************
// $Header: /Alaska/SOURCE/Modules/CMOS Manager/CMOS Core/CMOS Build/Template.ssp 6     6/15/10 2:26p Michaela $
//
// $Revision: 6 $
//
// $Date: 6/15/10 2:26p $
//***************************************************************************
// Revision History
// ----------------
// $Log: /Alaska/SOURCE/Modules/CMOS Manager/CMOS Core/CMOS Build/Template.ssp $
// 
// 6     6/15/10 2:26p Michaela
// 
// 5     9/17/09 10:04a Michaela
// TokenInclude must be empty string for Aptio projects
// 
// 4     7/29/09 10:01a Michaela
// updates Aptio Enhancement EIP 22205
// (no code changes)
// 
// 3     6/15/09 5:12p Michaela
// 
// 2     2/06/09 1:58p Michaela
// updated to set first managed register location
// 
// 1     2/22/08 2:29p Michaela
//
// 1     2/04/08 6:00p MichaelA $
// Added to CmosManager Module from Core8 Implementation
// -- Removed: Setup Engine Template Language Elements
// -- Modified: EquInclude and TokenInclude
//
//
//***************************************************************************
// Previous History:
//***************************************************************************
// 1     4/23/03 2:37p Anandj
// Moved from BSP\SETUP
// 
// 2     10/11/01 3:59p Juand
// Added a word to store the offset of the beginning of the file
// SETUPDB.ASM after the $MPT signarute for AMIBCP.  This word was deleted
// accidentally.
//
// 7     9/05/01 2:40p Kevinm
// Removed Q_DISPLAY_TYPE.  This question is not currently supported by
// the BIOS.
//
// 6     8/24/01 3:56p Kevinm
// Removed Unattended Start functionality.
//
// 5     7/17/01 4:51p Kevinm
//
// 4     6/12/01 2:37p Chrism
// Comment out Boot_Speed setup question.  Has no purpose anymore.
//
// 3     6/04/01 3:17p Kevinm
// Modified for BBS 3.1.
//
// 2     5/30/01 3:40p Radhikas
//
// 1     5/25/01 2:15p Anandj
// First check in for CORE data base
//
// 5     5/16/01 10:37a Davidd
// Roll back to previous version.
//
// 3     5/03/01 1:40p Juand
// Removed EquInclude "build\\makeflag.equ".  MAKEFLAG.EQU is already
// included in CORE.SSP.  This was causing the BIOS not to build in some
// systems.
//
// 2     4/09/01 4:01p Juand
// Changed to new style headers.
// Moved CPU related setup questions to CPU.SSP
//
// 9     8/31/00 4:37p Olegi
// Q_QUICK_BOOT moved out of MKF_SILENT_BOOT condition
//
// 8     8/31/00 11:39a Olegi
// SIO related group is included only with LEGACY_FREE off.
//
// 7     8/25/00 10:26a Olegi
// Q_EXTERNAL_CACHE has been added
//
// 6     8/24/00 6:58p Olegi
// Q_INITIAL_DISPLAY made dependent on MKF_SILENT_BOOT
//
// 5     8/21/00 3:53p Olegi
// equates.equ is included
//
// 2     6/02/00 5:34p Olegi
// USB related questions appear only if USB_SUPPORT is on,
// Silent Boot related questions appear only if SILENT_BOOT is on.
//
// 3     2/24/00 12:08p Juand
// BBS related changes.
//
// 2     12/01/99 11:26a Debkumar
// Incorporated changes for BBS (from the BBS development done for other
// major OEMs). Files changed are CF.ASM, RM.ASM, UI.ASM, INT19.ASM,
// GS1.ASM, HI.ASM, HD.ASM, INT13ISR.ASM, BOOTEXT.ASM, JMP.ASM, DIM.ASM,
// BUS.ASM, DIM.DAT, DIM.EQU, BIOSDATA.DAT, CORE.SSP, CORE.ASD,
// TEMPLATE.SSP, TEMPLATE.ASD. The new files are BBS.DAT, IPLDT.INC.
// Known Limitations: 1) BOOTEXT.ASM should be made generic to reorganize
// the available boot options in setup. 2) Runtime BBS functions.
//
//***************************************************************************

EquInclude "Build\\Token.equ"
TokenInclude ""

//---------------------------------------------------------------------------
// General Language Elements
//---------------------------------------------------------------------------

Description = "Setup Engine Template Definitions"
LanguageVersion = 2


// Largest supported address is 0xFF, which is 0x100 locations
NvramSize = MKF_MAX_MANAGED_CMOS_ADDRESS

// First register that CMOS Manager will manage
// (If not specified, the FirstRegister default value is 0x10)
FirstRegister = MKF_FIRST_MANAGED_CMOS_ADDRESS

//---------------------------------------------------------------------------
// Setup Engine Template Language Elements
//---------------------------------------------------------------------------


//---------------------------------------------------------------------------
// Control Database Language Elements
//---------------------------------------------------------------------------

// FIRST LEVEL (will contain only menuitems)
ControlGroup (G_ROOT)
	// EMPTY (Controls Filled in by respective SSP files in fixed order)
EndControlGroup


//---------------------------------------------------------------------------
// Control Database Language Elements
//---------------------------------------------------------------------------



//---------------------------------------------------------------------------
// Other Sections
//---------------------------------------------------------------------------

StartSourceCode ("SETUPDB.ASM")
" "
"	TITLE	SETUPDB.ASM -- Setup Database"
" "
";----------------------------------------------------------------------------"
";	INCLUDE FILES"
";----------------------------------------------------------------------------"
" "
"	INCLUDE SETUPEXT.INC"
"	INCLUDE TOKENEQU.EQU"
" "
";----------------------------------------------------------------------------"
";	SETSVR_CSEG  S E G M E N T  STARTS"
";----------------------------------------------------------------------------"
"SETSVR_CSEG SEGMENT PARA PUBLIC 'CODE'"
"	ASSUME	CS:SETSVR_CSEG"
";----------------------------------------------------------------------------"
"	PUBLIC  _SETUPDB_SETSVR_CSEG_STARTS"
"_SETUPDB_SETSVR_CSEG_STARTS LABEL BYTE"
";----------------------------------------------------------------------------"
" "
"	BYTE '$MPT'			; Signature for the Setup Master"
"					; Pointer Table"
"	dw offset _SETUPDB_SETSVR_CSEG_STARTS	;Refernce point."
" "
";----------------------------------------------------------------------------"
" "
EndSourceCode

StartSourceCode ("TOKENEQU.ASM")
" "
"	TITLE	TOKENEQU.ASM -- NVRAM TOKEN VALUES"
" "
";----------------------------------------------------------------------------"
" "
"	PUBLIC	STR_RESERVED"
"STR_RESERVED	EQU	0FFFFh"
" "
";----------------------------------------------------------------------------"
";	RUN_CSEG  S E G M E N T  STARTS"
";----------------------------------------------------------------------------"
"RUN_CSEG SEGMENT PARA PUBLIC 'CODE'"
"	ASSUME	CS:RUN_CSEG"
";----------------------------------------------------------------------------"
"	PUBLIC  _TOKENEQU_RUN_CSEG_STARTS"
"_TOKENEQU_RUN_CSEG_STARTS LABEL BYTE"
";----------------------------------------------------------------------------"
" "
EndSourceCode


//---------------------------------------------------------------------------
// Internal CMOS Manager non-volatile status
//
//---------------------------------------------------------------------------

NvramField ( CMOS_MGR_BATTERY_BAD )
	OptionBits  = 1
	Managed     = NO
EndNvramField

NvramField ( CMOS_MGR_CHECKSUM_BAD )
	OptionBits  = 1
	Managed     = NO
EndNvramField

NvramField ( CMOS_MGR_DEFAULTS_LOADED )
	OptionBits  = 1
	Managed     = NO
EndNvramField

NvramField ( CMOS_MGR_FIRST_BOOT_DETECTED )
	OptionBits  = 1
	Managed     = NO
EndNvramField



//---------------------------------------------------------------------------
//*************************************************************************
//*************************************************************************
//**                                                                     **
//**        (C)Copyright 1985-2009, American Megatrends, Inc.            **
//**                                                                     **
//**                       All Rights Reserved.                          **
//**                                                                     **
//**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
//**                                                                     **
//**                       Phone: (770)-246-8600                         **
//**                                                                     **
//*************************************************************************
//*************************************************************************