Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
19cae804
O
OpenCorePKG_MOD
项目概览
btwise
/
OpenCorePKG_MOD
通知
26
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
OpenCorePKG_MOD
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
19cae804
编写于
4月 20, 2020
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OcConfigurationLib: Renamed `Protocols` to `ProtocolOverrides`
Pioneer salut to ugrobators
上级
8698b1ec
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
64 addition
and
62 deletion
+64
-62
Changelog.md
Changelog.md
+1
-0
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+3
-3
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+6
-5
Docs/Sample.plist
Docs/Sample.plist
+1
-1
Docs/SampleFull.plist
Docs/SampleFull.plist
+1
-1
Include/Library/OcConfigurationLib.h
Include/Library/OcConfigurationLib.h
+11
-11
Library/OcConfigurationLib/OcConfigurationLib.c
Library/OcConfigurationLib/OcConfigurationLib.c
+26
-26
Platform/OpenCore/OpenCoreUefi.c
Platform/OpenCore/OpenCoreUefi.c
+15
-15
未找到文件。
Changelog.md
浏览文件 @
19cae804
...
...
@@ -15,6 +15,7 @@ OpenCore Changelog
-
Added RtcRw tool to manipulate RTC memory
-
Added
`PatchAppleRtcChecksum`
kernel quirk
-
Added
`AppleRtcRam`
protocol implementation
-
Renamed
`Protocols`
to
`ProtocolOverrides`
for clarity
#### v0.5.7
-
Added TimeMachine detection to picker
...
...
Docs/Configuration.pdf
浏览文件 @
19cae804
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
19cae804
...
...
@@ -4224,11 +4224,11 @@ functioning. Feature highlights:
\hyperref
[
uefioutputprops
]
{
Output Properties
}
section below.
\item
\texttt
{
Protocols
}
\\
\texttt
{
Protocol
Override
s
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dict
}
\\
\textbf
{
Failsafe
}
: None
\\
\textbf
{
Description
}
: Force builtin versions of select protocols described
in
\hyperref
[
uefiprotoprops
]
{
Protocols Properties
}
section below.
in
\hyperref
[
uefiprotoprops
]
{
Protocol
Override
s Properties
}
section below.
\emph
{
Note
}
: all protocol instances are installed prior to driver loading.
...
...
@@ -4762,7 +4762,7 @@ functioning. Feature highlights:
\end
{
enumerate
}
\subsection
{
Protocols Properties
}
\label
{
uefiprotoprops
}
\subsection
{
Protocol
Override
s Properties
}
\label
{
uefiprotoprops
}
\begin
{
enumerate
}
...
...
Docs/Differences/Differences.pdf
浏览文件 @
19cae804
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
19cae804
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex
Sun Apr 19 02:31:22
2020
%DIF ADD ../Configuration.tex
Sun Apr 19 02:31:22
2020
%DIF DEL PreviousConfiguration.tex
Tue Apr 7 19:32:13
2020
%DIF ADD ../Configuration.tex
Mon Apr 20 09:29:28
2020
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
...
...
@@ -4297,11 +4297,12 @@ functioning. Feature highlights:
\hyperref
[
uefioutputprops
]
{
Output Properties
}
section below.
\item
\texttt
{
Protocols
}
\\
\texttt
{
\DIFdelbegin
\DIFdel
{
Protocols
}
\DIFdelend
\DIFaddbegin
\DIFadd
{
ProtocolOverrides
}
\DIFaddend
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dict
}
\\
\textbf
{
Failsafe
}
: None
\\
\textbf
{
Description
}
: Force builtin versions of select protocols described
in
\hyperref
[
uefiprotoprops
]
{
Protocols Properties
}
section below.
in
\DIFdelbegin
%DIFDELCMD < \hyperref[uefiprotoprops]{Protocols Properties} %%%
\DIFdelend
\DIFaddbegin
\hyperref
[
uefiprotoprops
]
{
ProtocolOverrides Properties
}
\DIFaddend
section below.
\emph
{
Note
}
: all protocol instances are installed prior to driver loading.
...
...
@@ -4846,7 +4847,7 @@ functioning. Feature highlights:
\end
{
enumerate
}
\subsection
{
Protocols
Properties
}
\label
{
uefiprotoprops
}
\subsection
{
\DIFdelbegin
\DIFdel
{
Protocols
}
\DIFdelend
\DIFaddbegin
\DIFadd
{
ProtocolOverrides
}
\DIFaddend
Properties
}
\label
{
uefiprotoprops
}
\begin
{
enumerate
}
...
...
Docs/Sample.plist
浏览文件 @
19cae804
...
...
@@ -849,7 +849,7 @@
<key>
TextRenderer
</key>
<string>
BuiltinGraphics
</string>
</dict>
<key>
Protocols
</key>
<key>
Protocol
Override
s
</key>
<dict>
<key>
AppleAudio
</key>
<false/>
...
...
Docs/SampleFull.plist
浏览文件 @
19cae804
...
...
@@ -952,7 +952,7 @@
<key>
TextRenderer
</key>
<string>
BuiltinGraphics
</string>
</dict>
<key>
Protocols
</key>
<key>
Protocol
Override
s
</key>
<dict>
<key>
AppleAudio
</key>
<false/>
...
...
Include/Library/OcConfigurationLib.h
浏览文件 @
19cae804
...
...
@@ -528,7 +528,7 @@ typedef enum {
///
/// Prefer own protocol implementation for these protocols.
///
#define OC_UEFI_PROTOCOLS_FIELDS(_, __) \
#define OC_UEFI_PROTOCOL
_OVERRIDE
S_FIELDS(_, __) \
_(BOOLEAN , AppleAudio , , FALSE , ()) \
_(BOOLEAN , AppleBootPolicy , , FALSE , ()) \
_(BOOLEAN , AppleDebugLog , , FALSE , ()) \
...
...
@@ -544,7 +544,7 @@ typedef enum {
_(BOOLEAN , HashServices , , FALSE , ()) \
_(BOOLEAN , OSInfo , , FALSE , ()) \
_(BOOLEAN , UnicodeCollation , , FALSE , ())
OC_DECLARE
(
OC_UEFI_PROTOCOLS
)
OC_DECLARE
(
OC_UEFI_PROTOCOL
_OVERRIDE
S
)
///
/// Quirks is a set of hacks for different firmwares.
...
...
@@ -576,15 +576,15 @@ typedef enum {
/// Uefi contains firmware tweaks and extra drivers.
///
#define OC_UEFI_CONFIG_FIELDS(_, __) \
_(BOOLEAN , ConnectDrivers
, , FALSE
, ()) \
_(OC_UEFI_APFS , Apfs
, , OC_CONSTR2 (OC_UEFI_APFS, _, __)
, OC_DESTR (OC_UEFI_APFS)) \
_(OC_UEFI_AUDIO , Audio
, , OC_CONSTR2 (OC_UEFI_AUDIO, _, __)
, OC_DESTR (OC_UEFI_AUDIO)) \
_(OC_UEFI_DRIVER_ARRAY , Drivers
, , OC_CONSTR2 (OC_UEFI_DRIVER_ARRAY, _, __)
, OC_DESTR (OC_UEFI_DRIVER_ARRAY)) \
_(OC_UEFI_INPUT , Input
, , OC_CONSTR2 (OC_UEFI_INPUT, _, __)
, OC_DESTR (OC_UEFI_INPUT)) \
_(OC_UEFI_OUTPUT , Output
, , OC_CONSTR2 (OC_UEFI_OUTPUT, _, __)
, OC_DESTR (OC_UEFI_OUTPUT)) \
_(OC_UEFI_PROTOCOL
S , Protocols , , OC_CONSTR2 (OC_UEFI_PROTOCOLS, _, __) , OC_DESTR (OC_UEFI_PROTOCOL
S)) \
_(OC_UEFI_QUIRKS , Quirks
, , OC_CONSTR2 (OC_UEFI_QUIRKS, _, __)
, OC_DESTR (OC_UEFI_QUIRKS)) \
_(OC_UEFI_RSVD_ARRAY , ReservedMemory
, , OC_CONSTR2 (OC_UEFI_RSVD_ARRAY, _, __)
, OC_DESTR (OC_UEFI_RSVD_ARRAY))
_(BOOLEAN , ConnectDrivers
, , FALSE
, ()) \
_(OC_UEFI_APFS , Apfs
, , OC_CONSTR2 (OC_UEFI_APFS, _, __)
, OC_DESTR (OC_UEFI_APFS)) \
_(OC_UEFI_AUDIO , Audio
, , OC_CONSTR2 (OC_UEFI_AUDIO, _, __)
, OC_DESTR (OC_UEFI_AUDIO)) \
_(OC_UEFI_DRIVER_ARRAY , Drivers
, , OC_CONSTR2 (OC_UEFI_DRIVER_ARRAY, _, __)
, OC_DESTR (OC_UEFI_DRIVER_ARRAY)) \
_(OC_UEFI_INPUT , Input
, , OC_CONSTR2 (OC_UEFI_INPUT, _, __)
, OC_DESTR (OC_UEFI_INPUT)) \
_(OC_UEFI_OUTPUT , Output
, , OC_CONSTR2 (OC_UEFI_OUTPUT, _, __)
, OC_DESTR (OC_UEFI_OUTPUT)) \
_(OC_UEFI_PROTOCOL
_OVERRIDES , ProtocolOverrides , , OC_CONSTR2 (OC_UEFI_PROTOCOL_OVERRIDES, _, __) , OC_DESTR (OC_UEFI_PROTOCOL_OVERRIDE
S)) \
_(OC_UEFI_QUIRKS , Quirks
, , OC_CONSTR2 (OC_UEFI_QUIRKS, _, __)
, OC_DESTR (OC_UEFI_QUIRKS)) \
_(OC_UEFI_RSVD_ARRAY , ReservedMemory
, , OC_CONSTR2 (OC_UEFI_RSVD_ARRAY, _, __)
, OC_DESTR (OC_UEFI_RSVD_ARRAY))
OC_DECLARE
(
OC_UEFI_CONFIG
)
/**
...
...
Library/OcConfigurationLib/OcConfigurationLib.c
浏览文件 @
19cae804
...
...
@@ -69,7 +69,7 @@ OC_STRUCTORS (OC_UEFI_APFS, ())
OC_STRUCTORS
(
OC_UEFI_AUDIO
,
())
OC_STRUCTORS
(
OC_UEFI_INPUT
,
())
OC_STRUCTORS
(
OC_UEFI_OUTPUT
,
())
OC_STRUCTORS
(
OC_UEFI_PROTOCOLS
,
())
OC_STRUCTORS
(
OC_UEFI_PROTOCOL
_OVERRIDE
S
,
())
OC_STRUCTORS
(
OC_UEFI_RSVD_ENTRY
,
())
OC_ARRAY_STRUCTORS
(
OC_UEFI_RSVD_ARRAY
)
OC_STRUCTORS
(
OC_UEFI_QUIRKS
,
())
...
...
@@ -540,22 +540,22 @@ mUefiQuirksSchema[] = {
STATIC
OC_SCHEMA
mUefiProtocolsSchema
[]
=
{
OC_SCHEMA_BOOLEAN_IN
(
"AppleAudio"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
AppleAudio
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleBootPolicy"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
AppleBootPolicy
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleDebugLog"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
AppleDebugLog
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleEvent"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
AppleEvent
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleImageConversion"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
AppleImageConversion
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleKeyMap"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
AppleKeyMap
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleRtcRam"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
AppleRtcRam
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleSmcIo"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
AppleSmcIo
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleUserInterfaceTheme"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
AppleUserInterfaceTheme
),
OC_SCHEMA_BOOLEAN_IN
(
"DataHub"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
DataHub
),
OC_SCHEMA_BOOLEAN_IN
(
"DeviceProperties"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
DeviceProperties
),
OC_SCHEMA_BOOLEAN_IN
(
"FirmwareVolume"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
FirmwareVolume
),
OC_SCHEMA_BOOLEAN_IN
(
"HashServices"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
HashServices
),
OC_SCHEMA_BOOLEAN_IN
(
"OSInfo"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
OSInfo
),
OC_SCHEMA_BOOLEAN_IN
(
"UnicodeCollation"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocols
.
UnicodeCollation
)
mUefiProtocol
Override
sSchema
[]
=
{
OC_SCHEMA_BOOLEAN_IN
(
"AppleAudio"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
AppleAudio
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleBootPolicy"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
AppleBootPolicy
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleDebugLog"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
AppleDebugLog
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleEvent"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
AppleEvent
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleImageConversion"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
AppleImageConversion
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleKeyMap"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
AppleKeyMap
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleRtcRam"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
AppleRtcRam
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleSmcIo"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
AppleSmcIo
),
OC_SCHEMA_BOOLEAN_IN
(
"AppleUserInterfaceTheme"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
AppleUserInterfaceTheme
),
OC_SCHEMA_BOOLEAN_IN
(
"DataHub"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
DataHub
),
OC_SCHEMA_BOOLEAN_IN
(
"DeviceProperties"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
DeviceProperties
),
OC_SCHEMA_BOOLEAN_IN
(
"FirmwareVolume"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
FirmwareVolume
),
OC_SCHEMA_BOOLEAN_IN
(
"HashServices"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
HashServices
),
OC_SCHEMA_BOOLEAN_IN
(
"OSInfo"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
OSInfo
),
OC_SCHEMA_BOOLEAN_IN
(
"UnicodeCollation"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Protocol
Override
s
.
UnicodeCollation
)
};
STATIC
...
...
@@ -626,15 +626,15 @@ mUefiReservedMemorySchema = OC_SCHEMA_DICT (NULL, mUefiReservedMemoryEntrySchema
STATIC
OC_SCHEMA
mUefiConfigurationSchema
[]
=
{
OC_SCHEMA_DICT
(
"APFS"
,
mUefiApfsSchema
),
OC_SCHEMA_DICT
(
"Audio"
,
mUefiAudioSchema
),
OC_SCHEMA_BOOLEAN_IN
(
"ConnectDrivers"
,
OC_GLOBAL_CONFIG
,
Uefi
.
ConnectDrivers
),
OC_SCHEMA_ARRAY_IN
(
"Drivers"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Drivers
,
&
mUefiDriversSchema
),
OC_SCHEMA_DICT
(
"Input"
,
mUefiInputSchema
),
OC_SCHEMA_DICT
(
"Output"
,
mUefiOutputSchema
),
OC_SCHEMA_DICT
(
"Protocol
s"
,
mUefiProtocol
sSchema
),
OC_SCHEMA_DICT
(
"Quirks"
,
mUefiQuirksSchema
),
OC_SCHEMA_ARRAY_IN
(
"ReservedMemory"
,
OC_GLOBAL_CONFIG
,
Uefi
.
ReservedMemory
,
&
mUefiReservedMemorySchema
),
OC_SCHEMA_DICT
(
"APFS"
,
mUefiApfsSchema
),
OC_SCHEMA_DICT
(
"Audio"
,
mUefiAudioSchema
),
OC_SCHEMA_BOOLEAN_IN
(
"ConnectDrivers"
,
OC_GLOBAL_CONFIG
,
Uefi
.
ConnectDrivers
),
OC_SCHEMA_ARRAY_IN
(
"Drivers"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Drivers
,
&
mUefiDriversSchema
),
OC_SCHEMA_DICT
(
"Input"
,
mUefiInputSchema
),
OC_SCHEMA_DICT
(
"Output"
,
mUefiOutputSchema
),
OC_SCHEMA_DICT
(
"Protocol
Overrides"
,
mUefiProtocolOverride
sSchema
),
OC_SCHEMA_DICT
(
"Quirks"
,
mUefiQuirksSchema
),
OC_SCHEMA_ARRAY_IN
(
"ReservedMemory"
,
OC_GLOBAL_CONFIG
,
Uefi
.
ReservedMemory
,
&
mUefiReservedMemorySchema
),
};
//
...
...
Platform/OpenCore/OpenCoreUefi.c
浏览文件 @
19cae804
...
...
@@ -285,63 +285,63 @@ OcReinstallProtocols (
IN
OC_GLOBAL_CONFIG
*
Config
)
{
if
(
OcAudioInstallProtocols
(
Config
->
Uefi
.
Protocols
.
AppleAudio
)
==
NULL
)
{
if
(
OcAudioInstallProtocols
(
Config
->
Uefi
.
Protocol
Override
s
.
AppleAudio
)
==
NULL
)
{
DEBUG
((
DEBUG_INFO
,
"OC: Disabling audio in favour of firmware implementation
\n
"
));
}
if
(
OcAppleBootPolicyInstallProtocol
(
Config
->
Uefi
.
Protocols
.
AppleBootPolicy
)
==
NULL
)
{
if
(
OcAppleBootPolicyInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
AppleBootPolicy
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install boot policy protocol
\n
"
));
}
if
(
OcDataHubInstallProtocol
(
Config
->
Uefi
.
Protocols
.
DataHub
)
==
NULL
)
{
if
(
OcDataHubInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
DataHub
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install data hub protocol
\n
"
));
}
if
(
OcDevicePathPropertyInstallProtocol
(
Config
->
Uefi
.
Protocols
.
DeviceProperties
)
==
NULL
)
{
if
(
OcDevicePathPropertyInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
DeviceProperties
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install device properties protocol
\n
"
));
}
if
(
OcAppleImageConversionInstallProtocol
(
Config
->
Uefi
.
Protocols
.
AppleImageConversion
)
==
NULL
)
{
if
(
OcAppleImageConversionInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
AppleImageConversion
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install image conversion protocol
\n
"
));
}
if
(
OcAppleDebugLogInstallProtocol
(
Config
->
Uefi
.
Protocols
.
AppleDebugLog
)
==
NULL
)
{
if
(
OcAppleDebugLogInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
AppleDebugLog
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install debug log protocol
\n
"
));
}
if
(
OcSmcIoInstallProtocol
(
Config
->
Uefi
.
Protocols
.
AppleSmcIo
,
Config
->
Misc
.
Security
.
AuthRestart
)
==
NULL
)
{
if
(
OcSmcIoInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
AppleSmcIo
,
Config
->
Misc
.
Security
.
AuthRestart
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install smc i/o protocol
\n
"
));
}
if
(
OcAppleUserInterfaceThemeInstallProtocol
(
Config
->
Uefi
.
Protocols
.
AppleUserInterfaceTheme
)
==
NULL
)
{
if
(
OcAppleUserInterfaceThemeInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
AppleUserInterfaceTheme
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install user interface theme protocol
\n
"
));
}
if
(
OcUnicodeCollationEngInstallProtocol
(
Config
->
Uefi
.
Protocols
.
UnicodeCollation
)
==
NULL
)
{
if
(
OcUnicodeCollationEngInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
UnicodeCollation
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install unicode collation protocol
\n
"
));
}
if
(
OcHashServicesInstallProtocol
(
Config
->
Uefi
.
Protocols
.
HashServices
)
==
NULL
)
{
if
(
OcHashServicesInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
HashServices
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install hash services protocol
\n
"
));
}
if
(
OcAppleKeyMapInstallProtocols
(
Config
->
Uefi
.
Protocols
.
AppleKeyMap
)
==
NULL
)
{
if
(
OcAppleKeyMapInstallProtocols
(
Config
->
Uefi
.
Protocol
Override
s
.
AppleKeyMap
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install key map protocols
\n
"
));
}
if
(
OcAppleEventInstallProtocol
(
Config
->
Uefi
.
Protocols
.
AppleEvent
)
==
NULL
)
{
if
(
OcAppleEventInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
AppleEvent
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install key event protocol
\n
"
));
}
if
(
OcFirmwareVolumeInstallProtocol
(
Config
->
Uefi
.
Protocols
.
FirmwareVolume
)
==
NULL
)
{
if
(
OcFirmwareVolumeInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
FirmwareVolume
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install firmware volume protocol
\n
"
));
}
if
(
OcOSInfoInstallProtocol
(
Config
->
Uefi
.
Protocols
.
OSInfo
)
==
NULL
)
{
if
(
OcOSInfoInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
OSInfo
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install os info protocol
\n
"
));
}
if
(
OcAppleRtcRamInstallProtocol
(
Config
->
Uefi
.
Protocols
.
AppleRtcRam
)
==
NULL
)
{
if
(
OcAppleRtcRamInstallProtocol
(
Config
->
Uefi
.
Protocol
Override
s
.
AppleRtcRam
)
==
NULL
)
{
DEBUG
((
DEBUG_ERROR
,
"OC: Failed to install rtc ram protocol
\n
"
));
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录