Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
6a86ea21
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,发现更多精彩内容 >>
提交
6a86ea21
编写于
4月 04, 2020
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OcAfterBootCompatLib: Renamed from OcAppleBootCompatLib
上级
9b848de3
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
34 addition
and
34 deletion
+34
-34
Include/Library/OcAfterBootCompatLib.h
Include/Library/OcAfterBootCompatLib.h
+3
-3
Include/Protocol/OcAfterBootCompat.h
Include/Protocol/OcAfterBootCompat.h
+8
-8
Library/OcAfterBootCompatLib/BootCompatInternal.h
Library/OcAfterBootCompatLib/BootCompatInternal.h
+1
-1
Library/OcAfterBootCompatLib/CustomSlide.c
Library/OcAfterBootCompatLib/CustomSlide.c
+0
-0
Library/OcAfterBootCompatLib/IA32/ContextSwitch.h
Library/OcAfterBootCompatLib/IA32/ContextSwitch.h
+0
-0
Library/OcAfterBootCompatLib/IA32/ContextSwitchSupport.c
Library/OcAfterBootCompatLib/IA32/ContextSwitchSupport.c
+0
-0
Library/OcAfterBootCompatLib/KernelSupport.c
Library/OcAfterBootCompatLib/KernelSupport.c
+0
-0
Library/OcAfterBootCompatLib/OcAfterBootCompatLib.c
Library/OcAfterBootCompatLib/OcAfterBootCompatLib.c
+9
-9
Library/OcAfterBootCompatLib/OcAfterBootCompatLib.inf
Library/OcAfterBootCompatLib/OcAfterBootCompatLib.inf
+4
-4
Library/OcAfterBootCompatLib/ServiceOverrides.c
Library/OcAfterBootCompatLib/ServiceOverrides.c
+0
-0
Library/OcAfterBootCompatLib/X64/ContextSwitch.h
Library/OcAfterBootCompatLib/X64/ContextSwitch.h
+0
-0
Library/OcAfterBootCompatLib/X64/ContextSwitch.nasm
Library/OcAfterBootCompatLib/X64/ContextSwitch.nasm
+0
-0
Library/OcAfterBootCompatLib/X64/ContextSwitchSupport.c
Library/OcAfterBootCompatLib/X64/ContextSwitchSupport.c
+0
-0
OpenCorePkg.dec
OpenCorePkg.dec
+3
-3
OpenCorePkg.dsc
OpenCorePkg.dsc
+2
-2
Platform/OpenCore/OpenCore.inf
Platform/OpenCore/OpenCore.inf
+1
-1
Platform/OpenCore/OpenCoreUefi.c
Platform/OpenCore/OpenCoreUefi.c
+1
-1
Platform/OpenCore/OpenCoreUefiAudio.c
Platform/OpenCore/OpenCoreUefiAudio.c
+1
-1
Platform/OpenCore/OpenCoreUefiInOut.c
Platform/OpenCore/OpenCoreUefiInOut.c
+1
-1
未找到文件。
Include/Library/OcA
pple
BootCompatLib.h
→
Include/Library/OcA
fter
BootCompatLib.h
浏览文件 @
6a86ea21
...
...
@@ -12,8 +12,8 @@
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef OC_A
PPLE
_BOOT_COMPAT_LIB_H
#define OC_A
PPLE
_BOOT_COMPAT_LIB_H
#ifndef OC_A
FTER
_BOOT_COMPAT_LIB_H
#define OC_A
FTER
_BOOT_COMPAT_LIB_H
/**
Apple Boot Compatibility layer configuration.
...
...
@@ -137,4 +137,4 @@ OcAbcInitialize (
IN
OC_ABC_SETTINGS
*
Settings
);
#endif // OC_A
PPLE
_BOOT_COMPAT_LIB_H
#endif // OC_A
FTER
_BOOT_COMPAT_LIB_H
Include/Protocol/OcA
pple
BootCompat.h
→
Include/Protocol/OcA
fter
BootCompat.h
浏览文件 @
6a86ea21
...
...
@@ -12,16 +12,16 @@
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef OC_A
PPLE
_BOOT_COMPAT_PROTOCOL_H
#define OC_A
PPLE
_BOOT_COMPAT_PROTOCOL_H
#ifndef OC_A
FTER
_BOOT_COMPAT_PROTOCOL_H
#define OC_A
FTER
_BOOT_COMPAT_PROTOCOL_H
#define OC_A
PPLE
_BOOT_COMPAT_PROTOCOL_REVISION 0x010000
#define OC_A
FTER
_BOOT_COMPAT_PROTOCOL_REVISION 0x010000
//
// OC_A
PPLE
_BOOT_COMPAT_PROTOCOL_GUID
// OC_A
FTER
_BOOT_COMPAT_PROTOCOL_GUID
// C7CBA84E-CC77-461D-9E3C-6BE0CB79A7C1
//
#define OC_A
PPLE
_BOOT_COMPAT_PROTOCOL_GUID \
#define OC_A
FTER
_BOOT_COMPAT_PROTOCOL_GUID \
{ 0xC7CBA84E, 0xCC77, 0x461D, \
{ 0x9E, 0x3C, 0x6B, 0xE0, 0xCB, 0x79, 0xA7, 0xC1 } }
...
...
@@ -30,8 +30,8 @@
//
typedef
struct
{
UINTN
Revision
;
}
OC_A
PPLE
_BOOT_COMPAT_PROTOCOL
;
}
OC_A
FTER
_BOOT_COMPAT_PROTOCOL
;
extern
EFI_GUID
gOcA
pple
BootCompatProtocolGuid
;
extern
EFI_GUID
gOcA
fter
BootCompatProtocolGuid
;
#endif // OC_A
PPLE
_BOOT_COMPAT_PROTOCOL_H
#endif // OC_A
FTER
_BOOT_COMPAT_PROTOCOL_H
Library/OcA
pple
BootCompatLib/BootCompatInternal.h
→
Library/OcA
fter
BootCompatLib/BootCompatInternal.h
浏览文件 @
6a86ea21
...
...
@@ -19,7 +19,7 @@
#include <IndustryStandard/AppleBootArgs.h>
#include <Library/OcA
pple
BootCompatLib.h>
#include <Library/OcA
fter
BootCompatLib.h>
#include <Library/OcBootManagementLib.h>
#include <Library/OcDebugLogLib.h>
#include <Library/OcMemoryLib.h>
...
...
Library/OcA
pple
BootCompatLib/CustomSlide.c
→
Library/OcA
fter
BootCompatLib/CustomSlide.c
浏览文件 @
6a86ea21
文件已移动
Library/OcA
pple
BootCompatLib/IA32/ContextSwitch.h
→
Library/OcA
fter
BootCompatLib/IA32/ContextSwitch.h
浏览文件 @
6a86ea21
文件已移动
Library/OcA
pple
BootCompatLib/IA32/ContextSwitchSupport.c
→
Library/OcA
fter
BootCompatLib/IA32/ContextSwitchSupport.c
浏览文件 @
6a86ea21
文件已移动
Library/OcA
pple
BootCompatLib/KernelSupport.c
→
Library/OcA
fter
BootCompatLib/KernelSupport.c
浏览文件 @
6a86ea21
文件已移动
Library/OcA
ppleBootCompatLib/OcApple
BootCompatLib.c
→
Library/OcA
fterBootCompatLib/OcAfter
BootCompatLib.c
浏览文件 @
6a86ea21
...
...
@@ -19,14 +19,14 @@
#include <Library/OcDebugLogLib.h>
#include <Library/DevicePathLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcA
pple
BootCompatLib.h>
#include <Library/OcA
fter
BootCompatLib.h>
#include <Library/OcDevicePathLib.h>
#include <Library/OcMiscLib.h>
#include <Library/PrintLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/OcA
pple
BootCompat.h>
#include <Protocol/OcA
fter
BootCompat.h>
#include "BootCompatInternal.h"
...
...
@@ -35,15 +35,15 @@
with legacy AptioMemoryFix protocol, allowing us to avoid
conflicts between the two.
**/
STATIC
OC_A
PPLE_BOOT_COMPAT_PROTOCOL
mOcApple
BootCompatProtocol
=
{
OC_A
PPLE
_BOOT_COMPAT_PROTOCOL_REVISION
STATIC
OC_A
FTER_BOOT_COMPAT_PROTOCOL
mOcAfter
BootCompatProtocol
=
{
OC_A
FTER
_BOOT_COMPAT_PROTOCOL_REVISION
};
/**
Apple Boot Compatibility context. This context is used throughout
the library. Must be accessed through GetBootCompatContext ().
**/
STATIC
BOOT_COMPAT_CONTEXT
mOcA
pple
BootCompatContext
;
STATIC
BOOT_COMPAT_CONTEXT
mOcA
fter
BootCompatContext
;
STATIC
EFI_STATUS
...
...
@@ -56,7 +56,7 @@ InstallAbcProtocol (
EFI_HANDLE
Handle
;
Status
=
gBS
->
LocateProtocol
(
&
gOcA
pple
BootCompatProtocolGuid
,
&
gOcA
fter
BootCompatProtocolGuid
,
NULL
,
&
Interface
);
...
...
@@ -73,8 +73,8 @@ InstallAbcProtocol (
Handle
=
NULL
;
Status
=
gBS
->
InstallMultipleProtocolInterfaces
(
&
Handle
,
&
gOcA
pple
BootCompatProtocolGuid
,
&
mOcA
pple
BootCompatProtocol
,
&
gOcA
fter
BootCompatProtocolGuid
,
&
mOcA
fter
BootCompatProtocol
,
NULL
);
...
...
@@ -91,7 +91,7 @@ GetBootCompatContext (
VOID
)
{
return
&
mOcA
pple
BootCompatContext
;
return
&
mOcA
fter
BootCompatContext
;
}
EFI_STATUS
...
...
Library/OcA
ppleBootCompatLib/OcApple
BootCompatLib.inf
→
Library/OcA
fterBootCompatLib/OcAfter
BootCompatLib.inf
浏览文件 @
6a86ea21
...
...
@@ -18,11 +18,11 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = OcA
pple
BootCompatLib
BASE_NAME = OcA
fter
BootCompatLib
FILE_GUID = A393F7CF-3966-4C7E-8763-3DD991681C9B
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = OcA
pple
BootCompatLib|PEIM DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_DRIVER UEFI_APPLICATION DXE_SMM_DRIVER
LIBRARY_CLASS = OcA
fter
BootCompatLib|PEIM DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_DRIVER UEFI_APPLICATION DXE_SMM_DRIVER
#
# The following information is for reference only and not required by the build tools.
...
...
@@ -34,7 +34,7 @@
BootCompatInternal.h
CustomSlide.c
KernelSupport.c
OcA
pple
BootCompatLib.c
OcA
fter
BootCompatLib.c
ServiceOverrides.c
# All headers should go to [Sources], this sounds like a bug in EDK II Build System.
IA32/ContextSwitch.h
...
...
@@ -57,7 +57,7 @@
gAppleBootVariableGuid ## SOMETIMES_CONSUMES
[Protocols]
gOcA
pple
BootCompatProtocolGuid ## PRODUCES
gOcA
fter
BootCompatProtocolGuid ## PRODUCES
gOcFirmwareRuntimeProtocolGuid ## SOMETIMES_CONSUMES
[LibraryClasses]
...
...
Library/OcA
pple
BootCompatLib/ServiceOverrides.c
→
Library/OcA
fter
BootCompatLib/ServiceOverrides.c
浏览文件 @
6a86ea21
文件已移动
Library/OcA
pple
BootCompatLib/X64/ContextSwitch.h
→
Library/OcA
fter
BootCompatLib/X64/ContextSwitch.h
浏览文件 @
6a86ea21
文件已移动
Library/OcA
pple
BootCompatLib/X64/ContextSwitch.nasm
→
Library/OcA
fter
BootCompatLib/X64/ContextSwitch.nasm
浏览文件 @
6a86ea21
文件已移动
Library/OcA
pple
BootCompatLib/X64/ContextSwitchSupport.c
→
Library/OcA
fter
BootCompatLib/X64/ContextSwitchSupport.c
浏览文件 @
6a86ea21
文件已移动
OpenCorePkg.dec
浏览文件 @
6a86ea21
...
...
@@ -69,8 +69,8 @@
## Include/Protocol/OcLog.h
gOcLogProtocolGuid = { 0xDBB6008F, 0x89E4, 0x4272, { 0x98, 0x81, 0xCE, 0x3A, 0xFD, 0x97, 0x24, 0xD0 }}
# Include/Protocol/OcA
pple
BootCompat.h
gOcA
pple
BootCompatProtocolGuid = { 0xC7CBA84E, 0xCC77, 0x461D, { 0x9E, 0x3C, 0x6B, 0xE0, 0xCB, 0x79, 0xA7, 0xC1 }}
# Include/Protocol/OcA
fter
BootCompat.h
gOcA
fter
BootCompatProtocolGuid = { 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 }}
...
...
@@ -143,7 +143,7 @@
OcAcpiLib|Include/Library/OcAcpiLib.h
## @libraryclass
OcA
ppleBootCompatLib|Include/Library/OcApple
BootCompatLib.h
OcA
fterBootCompatLib|Include/Library/OcAfter
BootCompatLib.h
## @libraryclass
OcAppleBootPolicyLib|Include/Library/OcAppleBootPolicyLib.h
...
...
OpenCorePkg.dsc
浏览文件 @
6a86ea21
...
...
@@ -44,7 +44,7 @@
MacInfoLib|MacInfoPkg/Library/MacInfoLib/MacInfoLib.inf
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
OcAcpiLib|OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.inf
OcA
ppleBootCompatLib|OpenCorePkg/Library/OcAppleBootCompatLib/OcApple
BootCompatLib.inf
OcA
fterBootCompatLib|OpenCorePkg/Library/OcAfterBootCompatLib/OcAfter
BootCompatLib.inf
OcAppleBootPolicyLib|OpenCorePkg/Library/OcAppleBootPolicyLib/OcAppleBootPolicyLib.inf
OcAppleChunklistLib|OpenCorePkg/Library/OcAppleChunklistLib/OcAppleChunklistLib.inf
OcAppleDiskImageLib|OpenCorePkg/Library/OcAppleDiskImageLib/OcAppleDiskImageLib.inf
...
...
@@ -151,7 +151,7 @@
OpenCorePkg/Application/VerifyMsrE2/VerifyMsrE2.inf
OpenCorePkg/Debug/GdbSyms/GdbSyms.inf
OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.inf
OpenCorePkg/Library/OcA
ppleBootCompatLib/OcApple
BootCompatLib.inf
OpenCorePkg/Library/OcA
fterBootCompatLib/OcAfter
BootCompatLib.inf
OpenCorePkg/Library/OcAppleBootPolicyLib/OcAppleBootPolicyLib.inf
OpenCorePkg/Library/OcAppleChunklistLib/OcAppleChunklistLib.inf
OpenCorePkg/Library/OcAppleDiskImageLib/OcAppleDiskImageLib.inf
...
...
Platform/OpenCore/OpenCore.inf
浏览文件 @
6a86ea21
...
...
@@ -71,7 +71,7 @@
DevicePathLib
IoLib
OcAcpiLib
OcA
pple
BootCompatLib
OcA
fter
BootCompatLib
OcAppleBootPolicyLib
OcAppleEventLib
OcAppleImageConversionLib
...
...
Platform/OpenCore/OpenCoreUefi.c
浏览文件 @
6a86ea21
...
...
@@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/BaseLib.h>
#include <Library/DevicePathLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcA
pple
BootCompatLib.h>
#include <Library/OcA
fter
BootCompatLib.h>
#include <Library/OcAppleBootPolicyLib.h>
#include <Library/OcAppleEventLib.h>
#include <Library/OcAppleImageConversionLib.h>
...
...
Platform/OpenCore/OpenCoreUefiAudio.c
浏览文件 @
6a86ea21
...
...
@@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcA
pple
BootCompatLib.h>
#include <Library/OcA
fter
BootCompatLib.h>
#include <Library/OcAppleBootPolicyLib.h>
#include <Library/OcAppleEventLib.h>
#include <Library/OcAppleImageConversionLib.h>
...
...
Platform/OpenCore/OpenCoreUefiInOut.c
浏览文件 @
6a86ea21
...
...
@@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/DevicePathLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/MtrrLib.h>
#include <Library/OcA
pple
BootCompatLib.h>
#include <Library/OcA
fter
BootCompatLib.h>
#include <Library/OcAppleBootPolicyLib.h>
#include <Library/OcAppleEventLib.h>
#include <Library/OcAppleImageConversionLib.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录