mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAfterBootCompatLib: Renamed from OcAppleBootCompatLib
This commit is contained in:
parent
9b848de3e2
commit
6a86ea2148
@ -12,8 +12,8 @@
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef OC_APPLE_BOOT_COMPAT_LIB_H
|
||||
#define OC_APPLE_BOOT_COMPAT_LIB_H
|
||||
#ifndef OC_AFTER_BOOT_COMPAT_LIB_H
|
||||
#define OC_AFTER_BOOT_COMPAT_LIB_H
|
||||
|
||||
/**
|
||||
Apple Boot Compatibility layer configuration.
|
||||
@ -137,4 +137,4 @@ OcAbcInitialize (
|
||||
IN OC_ABC_SETTINGS *Settings
|
||||
);
|
||||
|
||||
#endif // OC_APPLE_BOOT_COMPAT_LIB_H
|
||||
#endif // OC_AFTER_BOOT_COMPAT_LIB_H
|
||||
@ -12,16 +12,16 @@
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef OC_APPLE_BOOT_COMPAT_PROTOCOL_H
|
||||
#define OC_APPLE_BOOT_COMPAT_PROTOCOL_H
|
||||
#ifndef OC_AFTER_BOOT_COMPAT_PROTOCOL_H
|
||||
#define OC_AFTER_BOOT_COMPAT_PROTOCOL_H
|
||||
|
||||
#define OC_APPLE_BOOT_COMPAT_PROTOCOL_REVISION 0x010000
|
||||
#define OC_AFTER_BOOT_COMPAT_PROTOCOL_REVISION 0x010000
|
||||
|
||||
//
|
||||
// OC_APPLE_BOOT_COMPAT_PROTOCOL_GUID
|
||||
// OC_AFTER_BOOT_COMPAT_PROTOCOL_GUID
|
||||
// C7CBA84E-CC77-461D-9E3C-6BE0CB79A7C1
|
||||
//
|
||||
#define OC_APPLE_BOOT_COMPAT_PROTOCOL_GUID \
|
||||
#define OC_AFTER_BOOT_COMPAT_PROTOCOL_GUID \
|
||||
{ 0xC7CBA84E, 0xCC77, 0x461D, \
|
||||
{ 0x9E, 0x3C, 0x6B, 0xE0, 0xCB, 0x79, 0xA7, 0xC1 } }
|
||||
|
||||
@ -30,8 +30,8 @@
|
||||
//
|
||||
typedef struct {
|
||||
UINTN Revision;
|
||||
} OC_APPLE_BOOT_COMPAT_PROTOCOL;
|
||||
} OC_AFTER_BOOT_COMPAT_PROTOCOL;
|
||||
|
||||
extern EFI_GUID gOcAppleBootCompatProtocolGuid;
|
||||
extern EFI_GUID gOcAfterBootCompatProtocolGuid;
|
||||
|
||||
#endif // OC_APPLE_BOOT_COMPAT_PROTOCOL_H
|
||||
#endif // OC_AFTER_BOOT_COMPAT_PROTOCOL_H
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
#include <IndustryStandard/AppleBootArgs.h>
|
||||
|
||||
#include <Library/OcAppleBootCompatLib.h>
|
||||
#include <Library/OcAfterBootCompatLib.h>
|
||||
#include <Library/OcBootManagementLib.h>
|
||||
#include <Library/OcDebugLogLib.h>
|
||||
#include <Library/OcMemoryLib.h>
|
||||
@ -19,14 +19,14 @@
|
||||
#include <Library/OcDebugLogLib.h>
|
||||
#include <Library/DevicePathLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Library/OcAppleBootCompatLib.h>
|
||||
#include <Library/OcAfterBootCompatLib.h>
|
||||
#include <Library/OcDevicePathLib.h>
|
||||
#include <Library/OcMiscLib.h>
|
||||
#include <Library/PrintLib.h>
|
||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||
#include <Library/UefiBootServicesTableLib.h>
|
||||
|
||||
#include <Protocol/OcAppleBootCompat.h>
|
||||
#include <Protocol/OcAfterBootCompat.h>
|
||||
|
||||
#include "BootCompatInternal.h"
|
||||
|
||||
@ -35,15 +35,15 @@
|
||||
with legacy AptioMemoryFix protocol, allowing us to avoid
|
||||
conflicts between the two.
|
||||
**/
|
||||
STATIC OC_APPLE_BOOT_COMPAT_PROTOCOL mOcAppleBootCompatProtocol = {
|
||||
OC_APPLE_BOOT_COMPAT_PROTOCOL_REVISION
|
||||
STATIC OC_AFTER_BOOT_COMPAT_PROTOCOL mOcAfterBootCompatProtocol = {
|
||||
OC_AFTER_BOOT_COMPAT_PROTOCOL_REVISION
|
||||
};
|
||||
|
||||
/**
|
||||
Apple Boot Compatibility context. This context is used throughout
|
||||
the library. Must be accessed through GetBootCompatContext ().
|
||||
**/
|
||||
STATIC BOOT_COMPAT_CONTEXT mOcAppleBootCompatContext;
|
||||
STATIC BOOT_COMPAT_CONTEXT mOcAfterBootCompatContext;
|
||||
|
||||
STATIC
|
||||
EFI_STATUS
|
||||
@ -56,7 +56,7 @@ InstallAbcProtocol (
|
||||
EFI_HANDLE Handle;
|
||||
|
||||
Status = gBS->LocateProtocol (
|
||||
&gOcAppleBootCompatProtocolGuid,
|
||||
&gOcAfterBootCompatProtocolGuid,
|
||||
NULL,
|
||||
&Interface
|
||||
);
|
||||
@ -73,8 +73,8 @@ InstallAbcProtocol (
|
||||
Handle = NULL;
|
||||
Status = gBS->InstallMultipleProtocolInterfaces (
|
||||
&Handle,
|
||||
&gOcAppleBootCompatProtocolGuid,
|
||||
&mOcAppleBootCompatProtocol,
|
||||
&gOcAfterBootCompatProtocolGuid,
|
||||
&mOcAfterBootCompatProtocol,
|
||||
NULL
|
||||
);
|
||||
|
||||
@ -91,7 +91,7 @@ GetBootCompatContext (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
return &mOcAppleBootCompatContext;
|
||||
return &mOcAfterBootCompatContext;
|
||||
}
|
||||
|
||||
EFI_STATUS
|
||||
@ -18,11 +18,11 @@
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = OcAppleBootCompatLib
|
||||
BASE_NAME = OcAfterBootCompatLib
|
||||
FILE_GUID = A393F7CF-3966-4C7E-8763-3DD991681C9B
|
||||
MODULE_TYPE = BASE
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = OcAppleBootCompatLib|PEIM DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_DRIVER UEFI_APPLICATION DXE_SMM_DRIVER
|
||||
LIBRARY_CLASS = OcAfterBootCompatLib|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
|
||||
OcAppleBootCompatLib.c
|
||||
OcAfterBootCompatLib.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]
|
||||
gOcAppleBootCompatProtocolGuid ## PRODUCES
|
||||
gOcAfterBootCompatProtocolGuid ## PRODUCES
|
||||
gOcFirmwareRuntimeProtocolGuid ## SOMETIMES_CONSUMES
|
||||
|
||||
[LibraryClasses]
|
||||
@ -69,8 +69,8 @@
|
||||
## Include/Protocol/OcLog.h
|
||||
gOcLogProtocolGuid = { 0xDBB6008F, 0x89E4, 0x4272, { 0x98, 0x81, 0xCE, 0x3A, 0xFD, 0x97, 0x24, 0xD0 }}
|
||||
|
||||
# Include/Protocol/OcAppleBootCompat.h
|
||||
gOcAppleBootCompatProtocolGuid = { 0xC7CBA84E, 0xCC77, 0x461D, { 0x9E, 0x3C, 0x6B, 0xE0, 0xCB, 0x79, 0xA7, 0xC1 }}
|
||||
# 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 }}
|
||||
@ -143,7 +143,7 @@
|
||||
OcAcpiLib|Include/Library/OcAcpiLib.h
|
||||
|
||||
## @libraryclass
|
||||
OcAppleBootCompatLib|Include/Library/OcAppleBootCompatLib.h
|
||||
OcAfterBootCompatLib|Include/Library/OcAfterBootCompatLib.h
|
||||
|
||||
## @libraryclass
|
||||
OcAppleBootPolicyLib|Include/Library/OcAppleBootPolicyLib.h
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
MacInfoLib|MacInfoPkg/Library/MacInfoLib/MacInfoLib.inf
|
||||
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
||||
OcAcpiLib|OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.inf
|
||||
OcAppleBootCompatLib|OpenCorePkg/Library/OcAppleBootCompatLib/OcAppleBootCompatLib.inf
|
||||
OcAfterBootCompatLib|OpenCorePkg/Library/OcAfterBootCompatLib/OcAfterBootCompatLib.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/OcAppleBootCompatLib/OcAppleBootCompatLib.inf
|
||||
OpenCorePkg/Library/OcAfterBootCompatLib/OcAfterBootCompatLib.inf
|
||||
OpenCorePkg/Library/OcAppleBootPolicyLib/OcAppleBootPolicyLib.inf
|
||||
OpenCorePkg/Library/OcAppleChunklistLib/OcAppleChunklistLib.inf
|
||||
OpenCorePkg/Library/OcAppleDiskImageLib/OcAppleDiskImageLib.inf
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
DevicePathLib
|
||||
IoLib
|
||||
OcAcpiLib
|
||||
OcAppleBootCompatLib
|
||||
OcAfterBootCompatLib
|
||||
OcAppleBootPolicyLib
|
||||
OcAppleEventLib
|
||||
OcAppleImageConversionLib
|
||||
|
||||
@ -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/OcAppleBootCompatLib.h>
|
||||
#include <Library/OcAfterBootCompatLib.h>
|
||||
#include <Library/OcAppleBootPolicyLib.h>
|
||||
#include <Library/OcAppleEventLib.h>
|
||||
#include <Library/OcAppleImageConversionLib.h>
|
||||
|
||||
@ -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/OcAppleBootCompatLib.h>
|
||||
#include <Library/OcAfterBootCompatLib.h>
|
||||
#include <Library/OcAppleBootPolicyLib.h>
|
||||
#include <Library/OcAppleEventLib.h>
|
||||
#include <Library/OcAppleImageConversionLib.h>
|
||||
|
||||
@ -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/OcAppleBootCompatLib.h>
|
||||
#include <Library/OcAfterBootCompatLib.h>
|
||||
#include <Library/OcAppleBootPolicyLib.h>
|
||||
#include <Library/OcAppleEventLib.h>
|
||||
#include <Library/OcAppleImageConversionLib.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user