forked from acidanthera/OpenCorePkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOpenCorePkg.dec
executable file
·309 lines (221 loc) · 12 KB
/
OpenCorePkg.dec
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
## @file
# Copyright (C) 2018, vit9696. All rights reserved.<BR>
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
##
[Defines]
PACKAGE_NAME = OpenCorePkg
PACKAGE_GUID = 6B1D3AB4-5C85-462D-9DC5-480F8B17D5CB
PACKAGE_VERSION = 1.0
DEC_SPECIFICATION = 0x00010005
[Includes]
Include
[Guids]
gOcVendorVariableGuid = { 0x4D1FDA02, 0x38C7, 0x4A6A, { 0x9C, 0xC6, 0x4B, 0xCC, 0xA8, 0xB3, 0x01, 0x02 }}
gOcReadOnlyVariableGuid = { 0xE09B9297, 0x7928, 0x4440, { 0x9A, 0xAB, 0xD1, 0xF8, 0x53, 0x6F, 0xBF, 0x0A }}
gOcWriteOnlyVariableGuid = { 0xF0B9AF8F, 0x2222, 0x4840, { 0x8A, 0x37, 0xEC, 0xF7, 0xCC, 0x8C, 0x12, 0xE1 }}
## OcSupport package token space guid
gOpenCorePkgTokenSpaceGuid = { 0x38D40CB0, 0x7E37, 0x4CAA, { 0x91, 0xD3, 0x00, 0x47, 0x70, 0xA8, 0x73, 0x77 }}
## Include/Guid/OcSmBios.h
gOcCustomSmbiosTableGuid = { 0xEB9D2D35, 0x2D88, 0x11D3, { 0x9A, 0x16, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
## Include/Guid/OcSmBios.h
gOcCustomSmbios3TableGuid = { 0xF2FD1545, 0x9794, 0x4A2C, { 0x99, 0x2E, 0xE5, 0xBB, 0xCF, 0x20, 0xE3, 0x94 }}
gMePavpProtocolGuid = { 0xFBF6FCF1, 0x96CF, 0x4E2E, { 0xA6, 0xA6, 0x1B, 0xAB, 0x8C, 0xBE, 0x36, 0xB1 }}
gMeFpfProtocolGuid = { 0x3893448C, 0xEAB6, 0x4F4C, { 0xB2, 0x3C, 0x57, 0xC2, 0xC4, 0x65, 0x8D, 0xFC }}
## Include/Guid/MicrosoftVariable.h
gMicrosoftVariableGuid = { 0x77FA9ABD, 0x0359, 0x4D32, { 0xBD, 0x60, 0x28, 0xF4, 0xE7, 0x8F, 0x78, 0x4B }}
## Include/Protocol/HdaIo.h
gEfiHdaIoDevicePathGuid = { 0xA9003FEB, 0xD806, 0x41DB, { 0xA4, 0x91, 0x54, 0x05, 0xFE, 0xEF, 0x46, 0xC3 }}
[Protocols]
## Include/Protocol/Audio.h
gEfiAudioIoProtocolGuid = { 0xF05B559C, 0x1971, 0x4AF5, { 0xB2, 0xAE, 0xD6, 0x08, 0x08, 0xF7, 0x4F, 0x70 }}
## Include/Protocol/HdaCodecInfo.h
gEfiHdaCodecInfoProtocolGuid = { 0x6C9CDDE1, 0xE8A5, 0x43E5, { 0xBE, 0x88, 0xDA, 0x15, 0xBC, 0x1C, 0x02, 0x50 }}
## Include/Protocol/HdaControllerInfo.h
gEfiHdaControllerInfoProtocolGuid = { 0xE5FC2CAF, 0x0291, 0x46F2, { 0x87, 0xF8, 0x10, 0xC7, 0x58, 0x72, 0x58, 0x04 }}
## Include/Protocol/HdaIo.h
gEfiHdaIoProtocolGuid = { 0xA090D7F9, 0xB50A, 0x4EA1, { 0xBD, 0xE9, 0x1A, 0xA5, 0xE9, 0x81, 0x2F, 0x45 }}
## Include/Protocol/OcAudio.h
gOcAudioProtocolGuid = { 0x4B228577, 0x6274, 0x4A48, { 0x82, 0xAE, 0x07, 0x13, 0xA1, 0x17, 0x19, 0x87 }}
## Include/Protocol/OcBootstrap.h
gOcBootstrapProtocolGuid = { 0xBA1EB455, 0xB182, 0x4F14, { 0x85, 0x21, 0xE4, 0x22, 0xC3, 0x25, 0xDE, 0xF6 }}
## Include/Protocol/OcInterface.h
gOcInterfaceProtocolGuid = { 0x53027CDF, 0x3A89, 0x4255, { 0xAE, 0x29, 0xD6, 0x66, 0x6E, 0xFE, 0x99, 0xEF }}
## Include/Protocol/OcLog.h
gOcLogProtocolGuid = { 0xDBB6008F, 0x89E4, 0x4272, { 0x98, 0x81, 0xCE, 0x3A, 0xFD, 0x97, 0x24, 0xD0 }}
# Include/Protocol/OcAfterBootCompat.h
gOcAfterBootCompatProtocolGuid = { 0xC7CBA84E, 0xCC77, 0x461D, { 0x9E, 0x3C, 0x6B, 0xE0, 0xCB, 0x79, 0xA7, 0xC1 }}
## Include/Protocol/OcFirmwareRuntime.h
gOcFirmwareRuntimeProtocolGuid = { 0x570332E4, 0xFC50, 0x4B21, { 0xAB, 0xE8, 0xAE, 0x72, 0xF0, 0x5B, 0x4F, 0xF7 }}
## Include/Protocol/AmiPointer.h
gAmiEfiPointerProtocolGuid = { 0x15A10CE7, 0xEAB5, 0x43BF, { 0x90, 0x42, 0x74, 0x43, 0x2E, 0x69, 0x63, 0x77 }}
## Include/Protocol/AmiKeycode.h
gAmiEfiKeycodeProtocolGuid = { 0x0ADFB62D, 0xFF74, 0x484C, { 0x89, 0x44, 0xF8, 0x5C, 0x4B, 0xEA, 0x87, 0xA8 }}
## Include/Protocol/VMwareHda.h
gVMwareHdaProtocolGuid = { 0x94E46BC2, 0x9127, 0x11DF, { 0xBF, 0xCE, 0xE7, 0x83, 0xCA, 0x2A, 0x34, 0xBE }}
[PcdsFeatureFlag]
## Indicates if Apple Thunderbolt NHI protocol is called during device property export.<BR><BR>
# TRUE - Apple Thunderbolt NHI protocol will be called.<BR>
# FALSE - Apple Thunderbolt NHI protocol will not be called.<BR>
# @Prompt Inform Thunderbolt devices about device property export.
gOpenCorePkgTokenSpaceGuid.PcdEnableAppleThunderboltSync|FALSE|BOOLEAN|0x00000000
## Indicates if NVRAM properties are used to initialize device property database.<BR><BR>
# TRUE - NVRAM properties initialize device property database.<BR>
# FALSE - NVRAM properties do not initialize device property database.<BR>
# @Prompt Register a protocol installation notify for Apple KeyMap Database when not found initially.
gOpenCorePkgTokenSpaceGuid.PcNvramInitDevicePropertyDatabase|FALSE|BOOLEAN|0x00000001
## Indicates if USB KeyBoard Driver disconnects itself when the Exit Boot
## Services event is triggered.<BR><BR>
# TRUE - USB KeyBoard Driver will disconnect itself.<BR>
# FALSE - USB KeyBoard Driver will not disconnect itself.<BR>
# @Prompt Disconnect the USB KeyBoard Driver when exitting Boot Services.
gOpenCorePkgTokenSpaceGuid.PcdEnableDisconnectOnExitBootServicesInUsbKbDriver|TRUE|BOOLEAN|0x00000002
## Indicates if USB KeyBoard Driver registers a Apple KeyMap Database protocol installation notify.
## Services event is triggered.<BR><BR>
# TRUE - USB KeyBoard Driver will registers a protocol installation notify.<BR>
# FALSE - USB KeyBoard Driver will registers a protocol installation notify.<BR>
# @Prompt Register a protocol installation notify for Apple KeyMap Database when not found initially.
gOpenCorePkgTokenSpaceGuid.PcdNotifyAppleKeyMapDbInUsbKbDriver|TRUE|BOOLEAN|0x00000003
## Indicates if USB KeyBoard Driver disconnects other drivers to take precedence.
## Services event is triggered.<BR><BR>
# TRUE - USB KeyBoard Driver will disconnect other drivers.<BR>
# FALSE - USB KeyBoard Driver will not disconnect other drivers.<BR>
# @Prompt Disconnect other drivers for the USB KeyBoard Driver to take precedence over them.
gOpenCorePkgTokenSpaceGuid.PcdUsbKbDriverTakePrecedence|TRUE|BOOLEAN|0x00000004
[PcdsFixedAtBuild]
## Defines the Console Control initialization mode set on entry.<BR><BR>
# 0 - EfiConsoleControlScreenText<BR>
# 1 - EfiConsoleControlScreenGraphics<BR>
# 2 - EfiConsoleControlScreenMaxValue (does nothing)<BR>
# @Prompt Initialize the console to the specified mode on entry.
gOpenCorePkgTokenSpaceGuid.PcdConsoleControlEntryMode|0|UINT8|0x00000100
## Defines the allowed OcCryptoLib RSA moduli by OR'ing the two's potencies in bytes.<BR><BR>
# @Prompt Allow these RSA moduli for cryptographic usage.
gOpenCorePkgTokenSpaceGuid.PcdOcCryptoAllowedRsaModuli|0x300|UINT16|0x00000500
## Defines the allowed OcCryptoLib signature hashing algorihtms by OR'ing the
# types' Bit indices.<BR><BR>
# Bit 0 - OcSigHashTypeSha256
# Bit 1 - OcSigHashTypeSha384
# Bit 2 - OcSigHashTypeSha512
# @Prompt Allow these signature hashing algorithms for cryptographic usage.
gOpenCorePkgTokenSpaceGuid.PcdOcCryptoAllowedSigHashTypes|0x07|UINT16|0x00000501
[LibraryClasses]
## @libraryclass
OcAcpiLib|Include/Library/OcAcpiLib.h
## @libraryclass
OcAfterBootCompatLib|Include/Library/OcAfterBootCompatLib.h
## @libraryclass
OcApfsLib|Include/Library/OcApfsLib.h
## @libraryclass
OcAppleBootPolicyLib|Include/Library/OcAppleBootPolicyLib.h
## @libraryclass
OcAppleChunklistLib|Include/Library/OcAppleChunklistLib.h
## @libraryclass
OcAppleDiskImageLib|Include/Library/OcAppleDiskImageLib.h
## @libraryclass
OcAppleEventLib|Include/Library/OcAppleEventLib.h
## @libraryclass
OcAppleImageConversionLib|Include/Library/OcAppleImageConversionLib.h
## @libraryclass
OcAppleImageVerificationLib|Include/Library/OcAppleImageVerificationLib.h
## @libraryclass
OcAppleImg4Lib|Include/Library/OcAppleImg4Lib.h
## @libraryclass
OcAppleKernelLib|Include/Library/OcAppleKernelLib.h
## @libraryclass
OcAppleKeyMapLib|Include/Library/OcAppleKeyMapLib.h
## @libraryclass
OcAppleKeysLib|Include/Library/OcAppleKeysLib.h
## @libraryclass
OcAppleRamDiskLib|Include/Library/OcAppleRamDiskLib.h
## @libraryclass
OcAppleSecureBootLib|Include/Library/OcAppleSecureBootLib.h
## @libraryclass
OcAppleUserInterfaceThemeLib|Include/Library/OcAppleUserInterfaceThemeLib.h
## @libraryclass
OcAudioLib|Include/Library/OcAudioLib.h
## @libraryclass
OcBootManagementLib|Include/Library/OcBootManagementLib.h
## @libraryclass
OcBootServicesTableLib|Include/Library/OcBootServicesTableLib.h
## @libraryclass
OcCompressionLib|Include/Library/OcCompressionLib.h
## @libraryclass
OcConfigurationLib|Include/Library/OcConfigurationLib.h
## @libraryclass
OcConsoleLib|Include/Library/OcConsoleLib.h
## @libraryclass
OcCpuLib|Include/Library/OcCpuLib.h
## @libraryclass
OcCryptoLib|Include/Library/OcCryptoLib.h
## @libraryclass
OcDataHubLib|Include/Library/OcDataHubLib.h
## @libraryclass
OcDebugLogLib|Include/Library/OcDebugLogLib.h
## @libraryclass
OcDevicePathLib|Include/Library/OcDevicePathLib.h
## @libraryclass
OcDevicePropertyLib|Include/Library/OcDevicePropertyLib.h
## @libraryclass
OcDeviceTreeLib|Include/Library/OcDeviceTreeLib.h
## @libraryclass
OcFileLib|Include/Library/OcFileLib.h
## @libraryclass
OcFirmwarePasswordLib|Include/Library/OcFirmwarePasswordLib.h
## @libraryclass
OcFirmwareVolumeLib|Include/Library/OcFirmwareVolumeLib.h
## @libraryclass
OcGuardLib|Include/Library/OcGuardLib.h
## @libraryclass
OcHashServicesLib|Include/Library/OcHashServicesLib.h
## @libraryclass
OcHdaDevicesLib|Include/Library/OcHdaDevicesLib.h
## @libraryclass
OcHeciLib|Include/Library/OcHeciLib.h
## @libraryclass
OcInputLib|Include/Library/OcInputLib.h
## @libraryclass
OcMachoLib|Include/Library/OcMachoLib.h
## @libraryclass
OcMemoryLib|Include/Library/OcMemoryLib.h
## @libraryclass
OcMiscLib|Include/Library/OcMiscLib.h
## @libraryclass
OcOSInfoLib|Include/Library/OcOSInfoLib.h
## @libraryclass
OcPngLib|Include/Library/OcPngLib.h
## @libraryclass
OcRngLib|Include/Library/OcRngLib.h
## @libraryclass
OcRtcLib|Include/Library/OcRtcLib.h
## @libraryclass
OcSerializeLib|Include/Library/OcSerializeLib.h
## @libraryclass
OcSmbiosLib|Include/Library/OcSmbiosLib.h
## @libraryclass
OcSmcLib|Include/Library/OcSmcLib.h
## @libraryclass
OcStorageLib|Include/Library/OcStorageLib.h
## @libraryclass
OcStringLib|Include/Library/OcStringLib.h
## @libraryclass
OcTemplateLib|Include/Library/OcTemplateLib.h
## @libraryclass
OcTimerLib|Include/Library/OcTimerLib.h
## @libraryclass
OcUnicodeCollationEngGenericLib|Include/Library/OcUnicodeCollationEngGenericLib.h
## @libraryclass
OcVirtualFsLib|Include/Library/OcVirtualFsLib.h
## @libraryclass
OcXmlLib|Include/Library/OcXmlLib.h
## @libraryclass
UefiBootServicesTableLib|Include/Library/UefiBootServicesTableLib.h