summaryrefslogtreecommitdiff
path: root/Core/EM/IdeBus/IdeBus.sdl
blob: 2faa7560a52b55cf8dd46700d4b0f23d2033ee57 (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
TOKEN
	Name  = "IdeBus_SUPPORT"
	Value  = "1"
	Help  = "Main switch to enable Legacy8259 support in Project"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	Master = Yes
End

TOKEN
	Name  = "MASTER_SLAVE_ENUMERATION"
	Value  = "1"
	Help  = "When off, Slave device is detected first and \then Master is detected."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "IDEBUSMASTER_SUPPORT"
	Value  = "1"
	Help  = "Master Switch to enable ATA and ATAPI \Busmaster support.\For ATAPI devices, ATAPI_BUSMASTER_SUPPORT \also needs to be enabled.\MWDMA and UDMA programming in devices \and the controller will be done irrespective of \this switch."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "ATAPI_BUSMASTER_SUPPORT"
	Value  = "1"
	Help  = "Enable/Disable ATAPI Busmaster Support.\If Enabled, Busmastering will be used for ATAPI \devices else PIO transfer. "
	TokenType = Boolean
	TargetH = Yes
	Token = "IDEBUSMASTER_SUPPORT" "=" "1"
End

TOKEN
	Name  = "ACOUSTIC_MANAGEMENT_SUPPORT"
	Value  = "0"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "IDE_POWER_MANAGEMENT_SUPPORT"
	Value  = "0"
	Help  = "Enables IDE Power Management support."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "STANDBY_TIMEOUT"
	Value  = "5"
	Help  = "Standby Timeout value in MINUTES.\A value of ZERO, disables Standby Timer"
	TokenType = Integer
	TargetH = Yes
	Range  = "0 - 480"
	Token = "IDE_POWER_MANAGEMENT_SUPPORT" "=" "1"
End

TOKEN
	Name  = "ADVANCED_POWER_MANAGEMENT_SUPPORT"
	Value  = "0"
	Help  = "Enables Advanced Power Managment Support."
	TokenType = Boolean
	TargetH = Yes
	Token = "IDE_POWER_MANAGEMENT_SUPPORT" "=" "1"
End

TOKEN
	Name  = "ADVANCED_POWER_MANAGEMENT_LEVEL"
	Value  = "1"
	Help  = "Disable : 0\Minimum Power Consumption : 1\Intermediate level with Standy : 2 - 7Fh\Minimum Power Consumption  with out Standby : 80h\Intermediate level without Standy : 81 - FDh\Maximum Performance : 0FEh"
	TokenType = Integer
	TargetH = Yes
	Range  = "0 - 0FEh"
End

TOKEN
	Name  = "POWERUP_IN_STANDBY_SUPPORT"
	Value  = "0"
	TokenType = Boolean
	TargetH = Yes
	Token = "IDE_POWER_MANAGEMENT_SUPPORT" "=" "1"
End

TOKEN
	Name  = "POWERUP_IN_STANDBY_MODE"
	Value  = "0"
	Help  = "ON : Device Spins up when powered on.\0FF: Device will not spinup when powered on"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "IDE_POWER_MANAGEMENT_INTERFACE_SUPPORT"
	Value  = "0"
	Help  = "Installs IDE power Management Interface"
	TokenType = Boolean
	TargetH = Yes
	Token = "IDE_POWER_MANAGEMENT_SUPPORT" "=" "1"
End

TOKEN
	Name  = "HOST_PROTECTED_AREA_SUPPORT"
	Value  = "0"
	Help  = "Enables HOST Protected Area Interface."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "IDE_HP_SUPPORT"
	Value  = "0"
	Help  = "Enables IDE Hot Plug Support."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "EFI_IDE_PROTOCOL"
	Value  = "1"
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "INTEL_IDE_PROTOCOL"
	Value  = "$(EFI_IDE_PROTOCOL)"
	Help  = "For backward compatibility, will keep this token value same as EFI_IDE_PROTOCOL."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
    Lock = Yes
End

TOKEN
	Name  = "AHCI_COMPATIBLE_MODE"
	Value  = "0"
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

PATH
	Name  = "IDEBUS_DIR"
End

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

ELINK
	Name  = "$(BUILD_DIR)\IDEBusSrc.ffs"
	Parent  = "FV_MAIN"
	Disable = Yes
	InvokeOrder = AfterParent
End

ELINK
	Name  = "IdeBusEntryPoint,"
	Parent  = "BdsEntryInitialize"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(IDEBUS_DIR)\IdeBusSrc$(ARCH).lib"
	Parent  = "IdeBusSrc_LIB"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "IdeBusSrc_LIB"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "IdeBusBoardEntryPoint,"
	Parent  = "BdsEntryInitialize"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "$(BUILD_DIR)\IdeBusBin.lib"
	Parent  = "IdeBus_LIB"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "IdeBus_LIB"
	InvokeOrder = ReplaceParent
End