提交 a9cbcd9a 编写于 作者: V vit9696

Build: Drop EfiPkg

上级 2d49357e
......@@ -43,7 +43,6 @@
gEfiGraphicsOutputProtocolGuid
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -36,7 +36,6 @@
[Packages]
OpenCorePkg/OpenCorePkg.dec
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
UefiCpuPkg/UefiCpuPkg.dec
......
......@@ -39,7 +39,6 @@
gAppleBeepGenProtocolGuid
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -35,7 +35,6 @@
CleanNvram.c
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -38,7 +38,6 @@
gEfiGraphicsOutputProtocolGuid
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -35,7 +35,6 @@
KeyTester.c
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -35,7 +35,6 @@
MmapDump.c
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -38,7 +38,6 @@
gOcFirmwareRuntimeProtocolGuid
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -42,7 +42,6 @@
gMeFpfProtocolGuid
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -35,7 +35,6 @@
ResetSystem.c
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -35,7 +35,6 @@
RtcRw.c
[Packages]
EfiPkg/EfiPkg.dec
MdePkg/MdePkg.dec
OpenCorePkg/OpenCorePkg.dec
......
......@@ -583,7 +583,6 @@ patches is welcome. Please do follow
\href{https://github.com/tianocore/tianocore.github.io/wiki/Code-Style-C}{EDK II C Codestyle}.
Required external package dependencies include
\href{https://github.com/acidanthera/EfiPkg}{EfiPkg} and
\href{https://github.com/acidanthera/MacInfoPkg}{MacInfoPkg}.
To compile with \texttt{XCODE5}, besides \href{https://developer.apple.com/xcode}{Xcode},
......@@ -596,7 +595,6 @@ command sequence may look as follows:
git clone https://github.com/acidanthera/audk UDK
cd UDK
git clone https://github.com/acidanthera/DuetPkg
git clone https://github.com/acidanthera/EfiPkg
git clone https://github.com/acidanthera/MacInfoPkg
git clone https://github.com/acidanthera/OpenCorePkg
source edksetup.sh
......@@ -617,11 +615,14 @@ Add \texttt{.clang\_complete} file with similar content to your UDK root:
-I/UefiPackages/MdeModulePkg/Include
-I/UefiPackages/MdeModulePkg/Include/X64
-I/UefiPackages/DuetPkg/Include
-I/UefiPackages/EfiPkg
-I/UefiPackages/EfiPkg/Include
-I/UefiPackages/EfiPkg/Include/X64
-I/UefiPackages/AppleSupportPkg/Include
-I/UefiPackages/OpenCorePkg/Include
-I/UefiPackages/OpenCorePkg/Include/AMI
-I/UefiPackages/OpenCorePkg/Include/Acidanthera
-I/UefiPackages/OpenCorePkg/Include/Apple
-I/UefiPackages/OpenCorePkg/Include/Generic
-I/UefiPackages/OpenCorePkg/Include/Intel
-I/UefiPackages/OpenCorePkg/Include/Microsoft
-I/UefiPackages/OpenCorePkg/Include/VMware
-I/UefiPackages/OvmfPkg/Include
-I/UefiPackages/MacInfoPkg/Include
-I/UefiPackages/UefiCpuPkg/Include
......@@ -660,8 +661,7 @@ before sending the patch to ensure no double work and to avoid your patch being
\textbf{Organisation}. The codebase is structured in multiple repositories
which contain separate EDK II packages. \texttt{AppleSupportPkg} and \texttt{OpenCorePkg}
are primary packages, and \texttt{EfiPkg}, \texttt{MacInfoPkg.dsc})
are dependent packages.
are primary packages and \texttt{MacInfoPkg.dsc} is a dependent package.
\begin{itemize}
\tightlist
\item Whenever changes are required in multiple repositories, separate pull requests should
......@@ -3323,7 +3323,7 @@ troubleshooting:
In 10.15 debugging support was mostly broken before 10.15.4 due to some
kind of refactoring and introduction of a
\href{https://github.com/acidanthera/EfiPkg/blob/master/Include/Protocol/AppleDebugLog.h}{new debug protocol}.
\href{https://github.com/acidanthera/OpenCorePkg/blob/master/Include/Apple/Protocol/AppleDebugLog.h}{new debug protocol}.
Some of the arguments and their values below may not be valid for versions prior
to 10.15.4. The list of known arguments is covered below:
......@@ -3454,7 +3454,7 @@ are written to three select destinations:
\item
\href{https://www.dmtf.org/standards/smbios}{SMBIOS}
\item
\href{https://github.com/acidanthera/EfiPkg/blob/master/Include/Protocol/DataHub.h}{Data
\href{https://github.com/acidanthera/OpenCorePkg/blob/master/Include/Intel/Protocol/DataHub.h}{Data
Hub}
\item
NVRAM
......@@ -3876,7 +3876,7 @@ be used. Version with macOS specific enhancements can be downloaded from
compatibility. This value could look like
\texttt{MM71.88Z.0234.B00.1809171422} in older firmwares, and is
described in
\href{https://github.com/acidanthera/EfiPkg/blob/master/Include/Guid/BiosId.h}{BiosId.h}.
\href{https://github.com/acidanthera/OpenCorePkg/blob/master/Include/Apple/Guid/BiosId.h}{BiosId.h}.
In newer firmwares it should look like \texttt{236.0.0.0.0} or
\texttt{220.230.16.0.0\ (iBridge:\ 16.16.2542.0.0,0)}. iBridge version
is read from \texttt{BridgeOSVersion} variable, and is only present on
......@@ -4069,7 +4069,7 @@ Apple ROM Version
\textbf{SMBIOS}: \texttt{APPLE\_SMBIOS\_TABLE\_TYPE133} -
\texttt{PlatformFeature}\\
\textbf{Description}: Platform features bitmask. Refer to
\href{https://github.com/acidanthera/EfiPkg/blob/master/Include/IndustryStandard/AppleFeatures.h}{AppleFeatures.h}
\href{https://github.com/acidanthera/OpenCorePkg/blob/master/Include/Apple/IndustryStandard/AppleFeatures.h}{AppleFeatures.h}
for more details. Use \texttt{0xFFFFFFFF} value to not provide this table.
\item
\texttt{SmcVersion}\\
......@@ -4085,7 +4085,7 @@ Apple ROM Version
\textbf{SMBIOS}: \texttt{APPLE\_SMBIOS\_TABLE\_TYPE128} -
\texttt{FirmwareFeatures} and \texttt{ExtendedFirmwareFeatures}\\
\textbf{Description}: 64-bit firmware features bitmask. Refer to
\href{https://github.com/acidanthera/EfiPkg/blob/master/Include/IndustryStandard/AppleFeatures.h}{AppleFeatures.h}
\href{https://github.com/acidanthera/OpenCorePkg/blob/master/Include/Apple/IndustryStandard/AppleFeatures.h}{AppleFeatures.h}
for more details. Lower 32 bits match \texttt{FirmwareFeatures}. Upper
64 bits match \texttt{ExtendedFirmwareFeatures}.
\item
......@@ -4097,7 +4097,7 @@ Apple ROM Version
\texttt{ExtendedFirmwareFeaturesMask}\\
\textbf{Description}: Supported bits of extended firmware features
bitmask. Refer to
\href{https://github.com/acidanthera/EfiPkg/blob/master/Include/IndustryStandard/AppleFeatures.h}{AppleFeatures.h}
\href{https://github.com/acidanthera/OpenCorePkg/blob/master/Include/Apple/IndustryStandard/AppleFeatures.h}{AppleFeatures.h}
for more details. Lower 32 bits match \texttt{FirmwareFeaturesMask}.
Upper 64 bits match \texttt{ExtendedFirmwareFeaturesMask}.
\item
......@@ -4388,10 +4388,10 @@ functioning. Feature highlights:
\texttt{AXEFIAudio} for macOS bootloader audio files.
\item Audio localisation is a two letter language code (e.g. \texttt{en})
with an exception for Chinese, Spanish, and Portuguese. Refer to
\href{https://github.com/acidanthera/EfiPkg/blob/master/Include/Protocol/AppleVoiceOver.h}{\texttt{APPLE\_VOICE\_OVER\_LANGUAGE\_CODE} definition}
\href{https://github.com/acidanthera/OpenCorePkg/blob/master/Include/Apple/Protocol/AppleVoiceOver.h}{\texttt{APPLE\_VOICE\_OVER\_LANGUAGE\_CODE} definition}
for the list of all supported localisations.
\item Audio path is the base filename corresponding to a file identifier. For macOS bootloader audio paths refer to
\href{https://github.com/acidanthera/EfiPkg/blob/master/Include/Protocol/AppleVoiceOver.h}{\texttt{APPLE\_VOICE\_OVER\_AUDIO\_FILE} definition}.
\href{https://github.com/acidanthera/OpenCorePkg/blob/master/Include/Apple/Protocol/AppleVoiceOver.h}{\texttt{APPLE\_VOICE\_OVER\_AUDIO\_FILE} definition}.
For OpenCore audio paths refer to
\href{https://github.com/acidanthera/OpenCorePkg/blob/master/Include/Protocol/OcAudio.h}{\texttt{OC\_VOICE\_OVER\_AUDIO\_FILE} definition}.
The only exception is OpenCore boot chime file, which is \texttt{OCEFIAudio\_VoiceOver\_Boot.wav}.
......
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_CPU_TYPE_H
#define APPLE_CPU_TYPE_H
#define CURRENT_CPU_TYPE CpuTypeArm64
#define CURRENT_CPU_SUBTYPE CpuSubtypeArm64All
#define APPLE_REMOVABLE_MEDIA_FILE_NAME APPLE_REMOVABLE_MEDIA_FILE_NAME_AARCH64
#endif // APPLE_CPU_TYPE_H
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_MAC_EFI_H
#define APPLE_MAC_EFI_H
#include <AppleCpuType.h>
#include <Uefi.h>
#include <AppleMacEfi/AppleMacEfiSpec.h>
#ifndef ARRAY_SIZE
/**
Return the number of elements in an array.
@param Array An object of array type. Array is only used as an argument to
the sizeof operator, therefore Array is never evaluated. The
caller is responsible for ensuring that Array's type is not
incomplete; that is, Array must have known constant size.
@return The number of elements in Array. The result has type UINTN.
**/
#define ARRAY_SIZE(Array) (sizeof (Array) / sizeof ((Array)[0]))
#endif
#endif // APPLE_MAC_EFI_H
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_MAC_EFI_SPEC_H
#define APPLE_MAC_EFI_SPEC_H
// EFI Revision information
#define APPLE_EFI_FIRMWARE_REVISION 0x010000
#define APPLE_EFI_FIRMWARE_VENDOR L"Apple"
//
// Magic ID found at 0xFFFFFF80 address in newer firmwares like MBP12,1.
//
#define APPLE_EFI_FIRMWARE_GEN2_ID_MAGIC \
{ 0xA1, 0x7B, 0xE5, 0x98, 0x31, 0x22, 0x4F, 0x4E }
//
// Magic ID similar to APPLE_EFI_FIRMWARE_ID_MAGIC in T2-based firmwares.
//
#define APPLE_EFI_FIRMWARE_GEN3_ID_MAGIC \
{ 0xC6, 0x8A, 0x85, 0x99, 0xF5, 0xE2, 0x15, 0x4E }
// APPLE_BOOTER_FILE_NAME
#define APPLE_BOOTER_FILE_NAME L"boot.efi"
// APPLE_BOOTLOADER_FILE_PATH
#define APPLE_BOOTER_DEFAULT_FILE_NAME L"\\System\\Library\\CoreServices\\boot.efi"
// BOOT_EFI_FILE_NAME
#define APPLE_BOOTER_ROOT_FILE_NAME L"\\boot.efi"
// Apple EFI File location to boot from on removable media devices
// APPLE_REMOVABLE_MEDIA_FILE_NAME_IA32
#define APPLE_REMOVABLE_MEDIA_FILE_NAME_IA32 \
L"\\EFI\\APPLE\\IA32\\BOOT.EFI"
// APPLE_REMOVABLE_MEDIA_FILE_NAME_X64
#define APPLE_REMOVABLE_MEDIA_FILE_NAME_X64 \
L"\\EFI\\APPLE\\X64\\BOOT.EFI"
// APPLE_REMOVABLE_MEDIA_FILE_NAME_ARM
#define APPLE_REMOVABLE_MEDIA_FILE_NAME_ARM \
L"\\EFI\\APPLE\\ARM\\BOOT.EFI"
// APPLE_REMOVABLE_MEDIA_FILE_NAME_AARCH64
#define APPLE_REMOVABLE_MEDIA_FILE_NAME_AARCH64 \
L"\\EFI\\APPLE\\AARCH64\\BOOT.EFI"
// APPLE_SYSTEM_VERSION_FILE_NAME
#define APPLE_SYSTEM_VERSION_FILE_NAME \
L"\\System\\Library\\CoreServices\\SystemVersion.plist"
#endif // APPLE_MAC_EFI_SPEC_H
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_CPU_TYPE_H
#define APPLE_CPU_TYPE_H
#define CURRENT_CPU_TYPE CpuTypeArm
#define CURRENT_CPU_SUBTYPE CpuSubtypeArmAll
#define APPLE_REMOVABLE_MEDIA_FILE_NAME APPLE_REMOVABLE_MEDIA_FILE_NAME_ARM
#endif // APPLE_CPU_TYPE_H
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_CPU_TYPE_H
#define APPLE_CPU_TYPE_H
#error Unsupported Platform
#endif // APPLE_CPU_TYPE_H
/** @file
Copyright (C) 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_APFS_INFO_H
#define APPLE_APFS_INFO_H
#define APPLE_APFS_PARTITION_TYPE_GUID \
{ 0x7C3457EF, 0x0000, 0x11AA, \
{ 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC } }
extern EFI_GUID gAppleApfsPartitionTypeGuid;
#define APPLE_APFS_CONTAINER_INFO_GUID \
{ 0x3533CF0D, 0x685F, 0x5EBF, \
{ 0x8D, 0xC6, 0x73, 0x93, 0x48, 0x5B, 0xAF, 0xA2 } }
typedef struct {
UINT32 Always1;
GUID Uuid;
} APPLE_APFS_CONTAINER_INFO;
extern EFI_GUID gAppleApfsContainerInfoGuid;
#define APPLE_APFS_VOLUME_INFO_GUID \
{ 0x900C7693, 0x8C14, 0x58BA, \
{ 0xB4, 0x4E, 0x97, 0x45, 0x15, 0xD2, 0x7C, 0x78 } }
#define APPLE_APFS_VOLUME_ROLE_RECOVERY BIT2
#define APPLE_APFS_VOLUME_ROLE_PREBOOT BIT4
typedef UINT32 APPLE_APFS_VOLUME_ROLE;
typedef struct {
UINT32 Always1;
GUID Uuid;
APPLE_APFS_VOLUME_ROLE Role;
} APPLE_APFS_VOLUME_INFO;
extern EFI_GUID gAppleApfsVolumeInfoGuid;
#endif // APPLE_APFS_H
/** @file
Copyright (C) 2014 - 2016, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_BLESS_H
#define APPLE_BLESS_H
//
// These GUIDs allow to retrieve parsed finderInfo fields out of HFSPlusVolumeHeader
// via HFSPlus.efi driver. The fields are reads from the following structure in Big Endian:
//
// struct HFSPlusVolumeFinderInfo {
// uint32_t blessedSystemFolderID; // for OpenFirmware systems
// uint32_t blessedSystemFileID; // for EFI systems
// uint32_t openWindowFolderID; // deprecated, first link in linked list of folders to open at mount
// uint32_t blessedAlternateOSID; // currently used for FV2 recovery, inaccessible from UEFI
// uint32_t unused; // formerly PowerTalk Inbox
// uint32_t blessedOSXFolderID; // currently used for normal recovery
// uint64_t volumeID;
// };
//
// References:
// https://opensource.apple.com/source/hfs/hfs-407.30.1/core/hfs_format.h.auto.html
// https://opensource.apple.com/source/bless/bless-166/handleInfo.c.auto.html
// https://opensource.apple.com/source/bless/bless-166/libbless/FinderInfo/BLGetVolumeFinderInfo.c.auto.html
// https://opensource.apple.com/source/bless/bless-166/libbless/HFS/BLLookupFileIDOnMount.c.auto.html
//
// TODO: Implement this in an opensource HFSPlus EFI driver.
//
// APPLE_BLESSED_SYSTEM_FILE_INFO_GUID
/// InformationType GUID used to get the blessed file's path.
#define APPLE_BLESSED_SYSTEM_FILE_INFO_GUID \
{ 0xCA7E4814, 0x2ADC, 0x4ADD, \
{ 0xAB, 0xFF, 0x73, 0x4E, 0x3C, 0xFE, 0x13, 0xF3 } }
// APPLE_BLESSED_SYSTEM_FOLDER_INFO_GUID
/// InformationType GUID exposed used to get the blessed folder's path.
#define APPLE_BLESSED_SYSTEM_FOLDER_INFO_GUID \
{ 0x7BD1F02D, 0x9C2F, 0x4581, \
{ 0xBF, 0x12, 0xD5, 0x4a, 0xBA, 0x0D, 0x98, 0xD6 } }
// APPLE_BLESSED_OSX_FOLDER_INFO_GUID
/// InformationType GUID exposed used to get alternative blessed file or folder's path.
#define APPLE_BLESSED_OSX_FOLDER_INFO_GUID \
{ 0x893CA450, 0x5F5E, 0x48BA, \
{ 0x85, 0x8F, 0x08, 0xC4, 0x5D, 0x80, 0x23, 0x18 } }
// gAppleBlessedSystemFileInfoGuid
/// A global variable storing the GUID of the APPLE_BLESSED_SYSTEM_FILE_INFO_GUID.
extern EFI_GUID gAppleBlessedSystemFileInfoGuid;
// gAppleBlessedSystemFolderInfoGuid
/// A global variable storing the GUID of the APPLE_BLESSED_SYSTEM_FOLDER_INFO_GUID.
extern EFI_GUID gAppleBlessedSystemFolderInfoGuid;
// gAppleBlessedOsxFolderInfoGuid
/// A global variable storing the GUID of the APPLE_BLESSED_OSX_FOLDER_INFO_GUID.
extern EFI_GUID gAppleBlessedOsxFolderInfoGuid;
#endif // APPLE_BLESS_H
/** @file
GUID for UEFI APPLE_CERTIFICATE structure
Copyright (c) 2018, savvas
All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_CERTIFICATE_H
#define APPLE_CERTIFICATE_H
#include <Guid/WinCertificate.h>
//
// Apple Certificate GUID
//
#define APPLE_EFI_CERTIFICATE_GUID \
{ 0x45E7BC51, 0x913C, 0x42AC, \
{ 0x96, 0xA2, 0x10, 0x71, 0x2F, 0xFB, 0xEB, 0xA7 } }
//
// Must be set to CertType
//
#define APPLE_EFI_CERTIFICATE_TYPE 0x0EF1
//
// Apple Signature directory header
//
typedef struct APPLE_EFI_CERTIFICATE_INFO_ {
UINT32 CertOffset;
UINT32 CertSize;
} APPLE_EFI_CERTIFICATE_INFO;
//
// Certificate which encapsulates a GUID-specific digital signature
//
typedef struct APPLE_EFI_CERTIFICATE_ {
UINT32 CertSize;
UINT16 CompressionType;
UINT16 CertType;
EFI_GUID AppleSignatureGuid;
EFI_CERT_BLOCK_RSA_2048_SHA256 CertData;
} APPLE_EFI_CERTIFICATE;
extern EFI_GUID gAppleEfiCertificateGuid;
#endif // APPLE_CERTIFICATE_H
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_DATA_HUB_H
#define APPLE_DATA_HUB_H
//
// Hack to avoid the need of framework headers.
//
typedef UINT16 STRING_REF;
#include <Guid/DataHubRecords.h>
// APPLE_PLATFORM_PRODUCER_NAME_GUID
#define APPLE_PLATFORM_PRODUCER_NAME_GUID \
{ 0x64517CC8, 0x6561, 0x4051, \
{ 0xB0, 0x3C, 0x59, 0x64, 0xB6, 0x0F, 0x4C, 0x7A } }
// APPLE_ROM_PRODUCER_NAME_GUID
#define APPLE_ROM_PRODUCER_NAME_GUID \
{ 0xA38DA1AC, 0xA626, 0x4E18, \
{ 0x93, 0x88, 0x14, 0xB0, 0xE8, 0x2A, 0x54, 0x04 } }
// APPLE_ROM_DATA_RECORD_GUID
#define APPLE_ROM_DATA_RECORD_GUID \
{ 0x8CBDD607, 0xCAB4, 0x43A4, \
{ 0x97, 0x8B, 0xAB, 0x8D, 0xEF, 0x11, 0x06, 0x1C } }
// APPLE_SYSTEM_SERIAL_NUMBER_DATA_RECORD_GUID
#define APPLE_SYSTEM_SERIAL_NUMBER_DATA_RECORD_GUID \
{ 0x4BAA44C3, 0x9D4D, 0x46A6, \
{ 0x99, 0x13, 0xAE, 0xF9, 0x0D, 0x3C, 0x0C, 0xB1 } }
// APPLE_SYSTEM_ID_DATA_RECORD_GUID
#define APPLE_SYSTEM_ID_DATA_RECORD_GUID \
{ 0x1485AFA4, 0xF000, 0x4E3E, \
{ 0x81, 0xB4, 0xA7, 0xEE, 0x10, 0x4D, 0x5E, 0x30 } }
// APPLE_MODEL_DATA_RECORD_GUID
#define APPLE_MODEL_DATA_RECORD_GUID \
{ 0xFA6AE23D, 0x09BE, 0x40A0, \
{ 0xAF, 0xDE, 0x06, 0x37, 0x85, 0x94, 0x26, 0xC8 } }
// APPLE_DEVICE_PATHS_SUPPORTED_DATA_RECORD_GUID
#define APPLE_DEVICE_PATHS_SUPPORTED_DATA_RECORD_GUID \
{ 0x5BB91CF7, 0xD816, 0x404B, \
{ 0x86, 0x72, 0x68, 0xF2, 0x7F, 0x78, 0x31, 0xDC } }
// APPLE_MACHINE_PERSONALITY_DATA_RECORD_GUID
#define APPLE_MACHINE_PERSONALITY_DATA_RECORD_GUID \
{ 0x2B6C7ADE, 0xC5DA, 0x474B, \
{ 0xBA, 0x42, 0x06, 0xBD, 0xDD, 0x4E, 0x34, 0x97 } }
// APPLE_FSB_FREQUENCY_DATA_RECORD_GUID
#define APPLE_FSB_FREQUENCY_DATA_RECORD_GUID \
{ 0xD1A04D55, 0x75B9, 0x41A3, \
{ 0x90, 0x36, 0x8F, 0x4A, 0x26, 0x1C, 0xBB, 0xA2 } }
// APPLE_BOARD_ID_DATA_RECORD_GUID
#define APPLE_BOARD_ID_DATA_RECORD_GUID \
{ 0xB459BF16, 0x14ED, 0x5131, \
{ 0x92, 0xB4, 0x5E, 0x19, 0xF0, 0x5B, 0xC0, 0xAD } }
// APPLE_BOARD_REVISION_DATA_RECORD_GUID
#define APPLE_BOARD_REVISION_DATA_RECORD_GUID \
{ 0x5F6B002A, 0xD39E, 0x57D0, \
{ 0x82, 0xC1, 0x7C, 0x72, 0x18, 0x95, 0xBD, 0x62 } }
// APPLE_INITIAL_TSC_FREQUENCY_DATA_RECORD_GUID
#define APPLE_INITIAL_TSC_FREQUENCY_DATA_RECORD_GUID \
{ 0x581BC734, 0xF9B5, 0x4A4A, \
{ 0x8C, 0xED, 0x25, 0x85, 0xDA, 0x1D, 0xE5, 0x08 } }
// APPLE_STARTUP_POWER_EVENTS_DATA_RECORD_GUID
#define APPLE_STARTUP_POWER_EVENTS_DATA_RECORD_GUID \
{ 0x972057CF, 0x7145, 0x4C8A, \
{ 0x83, 0x0E, 0x3E, 0xCE, 0x8A, 0xC9, 0xB1, 0xF4 } }
// APPLE_COPROCESSOR_VERSION_DATA_RECORD_GUID
#define APPLE_COPROCESSOR_VERSION_DATA_RECORD_GUID \
{ 0xE1AF3A96, 0x2783, 0x4C5B, \
{ 0xA1, 0x06, 0x36, 0x01, 0xF5, 0x85, 0x51, 0x05 } }
#define APPLE_SUBCLASS_VERSION 0x0100
#define APPLE_SUBCLASS_INSTANCE EFI_SUBCLASS_INSTANCE_NON_APPLICABLE
// APPLE_PLATFORM_DATA_RECORD
typedef struct {
EFI_SUBCLASS_TYPE1_HEADER Header;
UINT32 KeySize;
UINT32 ValueSize;
UINT8 Data[];
// CHAR16 Key[];
// UINT8 Value[];
} APPLE_PLATFORM_DATA_RECORD;
// APPLE_ROM_RECORD
typedef struct {
EFI_SUBCLASS_TYPE1_HEADER Header;
UINT8 Reserved1;
UINT64 Rom;
UINT8 Reserved2[3];
} APPLE_ROM_RECORD;
// gApplePlatformProducerNameGuid
extern EFI_GUID gApplePlatformProducerNameGuid;
// gAppleRomProducerNameGuid
extern EFI_GUID gAppleRomProducerNameGuid;
// gAppleRomDataRecordGuid
extern EFI_GUID gAppleRomDataRecordGuid;
// gAppleSystemSerialNumbrDataRecordGuid
extern EFI_GUID gAppleSystemSerialNumbrDataRecordGuid;
// gAppleSystemIdDataRecordGuid
extern EFI_GUID gAppleSystemIdDataRecordGuid;
// gAppleModelDataRecordGuid
extern EFI_GUID gAppleModelDataRecordGuid;
// gAppleDevicePathsSupportedDataRecordGuid
extern EFI_GUID gAppleDevicePathsSupportedDataRecordGuid;
// gAppleMachinePersonalityDataRecordGuid
extern EFI_GUID gAppleMachinePersonalityDataRecordGuid;
// gAppleFsbFrequencyDataRecordGuid
extern EFI_GUID gAppleFsbFrequencyDataRecordGuid;
// gAppleBoardIdDataRecordGuid
extern EFI_GUID gAppleBoardIdDataRecordGuid;
// gAppleBoardRevisionDataRecordGuid
extern EFI_GUID gAppleBoardRevisionDataRecordGuid;
// gAppleInitialTscDataRecordGuid
extern EFI_GUID gAppleInitialTscDataRecordGuid;
// gAppleStartupPowerEventsDataRecordGuid
extern EFI_GUID gAppleStartupPowerEventsDataRecordGuid;
// gAppleCoprocessorVersionDataRecordGuid
extern EFI_GUID gAppleCoprocessorVersionDataRecordGuid;
#endif // APPLE_DATA_HUB_H
#ifndef APPLE_DEVICE_PATH_H
#define APPLE_DEVICE_PATH_H
#include <Protocol/DevicePath.h>
#pragma pack(1)
#define APPLE_APFS_VOLUME_DEVICE_PATH_GUID \
{ 0xBE74FCF7, 0x0B7C, 0x49F3, \
{ 0x91, 0x47, 0x01, 0xF4, 0x04, 0x2E, 0x68, 0x42 } }
typedef PACKED struct {
VENDOR_DEVICE_PATH Header;
GUID Uuid;
} APPLE_APFS_VOLUME_DEVICE_PATH;
extern EFI_GUID gAppleApfsVolumeDevicePathGuid;
#pragma pack()
#endif // APPLE_DEVICE_PATH_H
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_FILE_H
#define APPLE_FILE_H
//
// ASCII content stored in legacy firmwares.
//
#define APPLE_FIRMWARE_INFO_FILE_GUID \
{ 0x95C8C131, 0x4467, 0x4447, \
{ 0x8A, 0x71, 0xF0, 0x87, 0xAF, 0xCA, 0x07, 0xA5 } }
// gAppleFirmwareInfoFileGuid
extern EFI_GUID gAppleFirmwareInfoFileGuid;
#define APPLE_SLING_SHOT_FILE_GUID \
{ 0xD5B366C7, 0xDB85, 0x455F, \
{ 0xB5, 0x0B, 0x90, 0x0A, 0x69, 0x4E, 0x4C, 0x8C } }
extern EFI_GUID gAppleSlingShotFileGuid;
#define APPLE_BOOT_PICKER_FILE_GUID \
{ 0xE1628C66, 0x2A2D, 0x4DC5, \
{ 0xBD, 0x41, 0xB2, 0x0F, 0x35, 0x38, 0xAA, 0xF7 } }
extern EFI_GUID gAppleBootPickerFileGuid;
#define APPLE_PASSWORD_UI_FILE_GUID \
{ 0x9EBA2D25, 0xBBE3, 0x4AC2, \
{ 0xA2, 0xC6, 0xC8, 0x7F, 0x44, 0xA1, 0x27, 0x8C } }
extern EFI_GUID gApplePasswordUIFileGuid;
#define APPLE_UTDMUI_APP_FILE_GUID \
{ 0xD3231048, 0xB7D7, 0x46FC, \
{ 0x80, 0xF8, 0x2F, 0x7B, 0x22, 0x95, 0x86, 0xC5 } }
extern EFI_GUID gAppleUTDMUIAppFileGuid;
#define APPLE_LEGACY_LOAD_APP_FILE_GUID \
{ 0x2B0585EB, 0xD8B8, 0x49A9, \
{ 0x8B, 0x8C, 0xE2, 0x1B, 0x01, 0xAE, 0xF2, 0xB7 } }
extern EFI_GUID gAppleLegacyLoadAppFileGuid;
///
/// 05984E1A-D8BB-5D8A-A8E6-90E6FB2AB7DA
///
#define APPLE_ALERT_UI_FILE_GUID \
{ 0x05984E1A, 0xD8BB, 0x5D8A, \
{ 0xA8, 0xE6, 0x90, 0xE6, 0xFB, 0x2A, 0xB7, 0xDA } }
extern EFI_GUID gAppleAlertUiFileGuid;
///
/// 4CF484CD-135F-4FDC-BAFB-1AA104B48D36
///
#define APPLE_HFS_PLUS_DXE_FILE_GUID \
{ 0x4CF484CD, 0x135F, 0x4FDC, \
{ 0xBA, 0xFB, 0x1A, 0xA1, 0x04, 0xB4, 0x8D, 0x36 } }
extern EFI_GUID gAppleHfsPlusDxeFileGuid;
///
/// AE4C11C8-1D6C-F24E-A183-E1CA36D1A8A9
///
#define APPLE_HFS_PLUS_FILE_GUID \
{ 0xAE4C11C8, 0x1D6C, 0xF24E, \
{ 0xA1, 0x83, 0xE1, 0xCA, 0x36, 0xD1, 0xA8, 0xA9 } }
extern EFI_GUID gAppleHfsPlusFileGuid;
///
/// 44883EC1-C77C-1749-B73D-30C7B468B556
///
#define APPLE_EX_FAT_DXE_FILE_GUID \
{ 0x44883EC1, 0xC77C, 0x1749, \
{ 0xB7, 0x3D, 0x30, 0xC7, 0xB4, 0x68, 0xB5, 0x56 } }
extern EFI_GUID gAppleExFatDxeFileGuid;
///
/// 3730EC36-868D-4DF6-88CF-30B791272F5C
///
#define APPLE_APFS_FILE_GUID \
{ 0x3730EC36, 0x868D, 0x4DF6, \
{ 0x88, 0xCF, 0x30, 0xB7, 0x91, 0x27, 0x2F, 0x5C } }
extern EFI_GUID gAppleApfsFileGuid;
#endif // APPLE_FILE_H
/** @file
Copyright (C) 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_FIRMWARE_VOLUME_H
#define APPLE_FIRMWARE_VOLUME_H
// APPLE_IMAGE_LIST_GUID
/// The Apple Image List GUID.
#define APPLE_IMAGE_LIST_GUID \
{ 0x0E93C52B, 0x4B73, 0x5C32, \
{ 0x86, 0xD5, 0x69, 0x25, 0x0A, 0x0B, 0xA7, 0x23 } }
// APPLE_ARROW_CURSOR_IMAGE_GUID
/// The Apple Arrow Cursor Image GUID.
#define APPLE_ARROW_CURSOR_IMAGE_GUID \
{ 0x1A10742F, 0xFA80, 0x4B79, \
{ 0x9D, 0xA6, 0x35, 0x70, 0x58, 0xCC, 0x39, 0x7B } }
// APPLE_ARROW_CURSOR_2X_IMAGE_GUID
/// The Apple HiDPI Arrow Cursor Image GUID.
#define APPLE_ARROW_CURSOR_2X_IMAGE_GUID \
{ 0x133D55B5, 0x8852, 0x57AC, \
{ 0xA8, 0x42, 0xF9, 0xEE, 0xBF, 0x84, 0x0C, 0x99 } }
// APPLE_BACK_BUTTON_SMALL_IMAGE_GUID
#define APPLE_BACK_BUTTON_SMALL_IMAGE_GUID \
{ 0x63FA7900, 0x6DD2, 0x4BB3, \
{ 0x99, 0x76, 0x87, 0x0F, 0xE2, 0x7A, 0x53, 0xC2 } }
// APPLE_BATTERY_STATE_0_IMAGE_GUID
#define APPLE_BATTERY_STATE_0_IMAGE_GUID \
{ 0x6ECEFFFD, 0x614D, 0x452E, \
{ 0xA8, 0x1D, 0x25, 0xE5, 0x6B, 0x0D, 0xEF, 0x98 } }
// APPLE_BATTERY_STATE_1_IMAGE_GUID
#define APPLE_BATTERY_STATE_1_IMAGE_GUID \
{ 0x23D1280D, 0x43F0, 0x4713, \
{ 0x90, 0xB2, 0x0E, 0x5E, 0x42, 0x21, 0xAF, 0x4C } }
// APPLE_BATTERY_STATE_2_IMAGE_GUID
#define APPLE_BATTERY_STATE_2_IMAGE_GUID \
{ 0x53531469, 0x558E, 0x4AF1, \
{ 0x80, 0x3A, 0xF9, 0x66, 0xF2, 0x7C, 0x57, 0x3B } }
// APPLE_BATTERY_STATE_3_IMAGE_GUID
#define APPLE_BATTERY_STATE_3_IMAGE_GUID \
{ 0x3BBCB209, 0x26C8, 0x4BA9, \
{ 0xAD, 0x25, 0xB9, 0x5B, 0x45, 0xA0, 0x4D, 0x26 } }
// APPLE_BATTERY_STATE_4_IMAGE_GUID
#define APPLE_BATTERY_STATE_4_IMAGE_GUID \
{ 0xED8DCDD5, 0xD037, 0x4B1F, \
{ 0x98, 0xDD, 0xBD, 0xFD, 0xAD, 0x4D, 0xD7, 0xDD } }
// APPLE_BATTERY_STATE_5_IMAGE_GUID
#define APPLE_BATTERY_STATE_5_IMAGE_GUID \
{ 0x637E0BA6, 0xC5BB, 0x41B7, \
{ 0xA2, 0x3B, 0x3A, 0x65, 0xCF, 0xC3, 0xE9, 0xDB } }
// APPLE_BATTERY_STATE_6_IMAGE_GUID
#define APPLE_BATTERY_STATE_6_IMAGE_GUID \
{ 0x7A627E16, 0x679D, 0x4814, \
{ 0x8F, 0x82, 0xEE, 0xAF, 0x38, 0x81, 0xF0, 0x98 } }
// APPLE_BEGIN_BOOT_BUTTON_IMAGE_GUID
#define APPLE_BEGIN_BOOT_BUTTON_IMAGE_GUID \
{ 0xE8A59290, 0xA2AF, 0x4099, \
{ 0xB0, 0xAF, 0x32, 0x3F, 0xF9, 0xB7, 0xAB, 0x41 } }
// APPLE_BEGIN_STICKY_BOOT_BUTTON_IMAGE_GUID
#define APPLE_BEGIN_STICKY_BOOT_BUTTON_IMAGE_GUID \
{ 0xB4339807, 0x7CAC, 0x49BA, \
{ 0x9F, 0xB7, 0x62, 0x31, 0xC6, 0x22, 0xF2, 0x70 } }
// APPLE_CONTINUE_BUTTON_SMALL_IMAGE_GUID
#define APPLE_CONTINUE_BUTTON_SMALL_IMAGE_GUID \
{ 0x728CAE6C, 0x1FFC, 0x449B, \
{ 0x86, 0x81, 0xBB, 0x2A, 0x62, 0x1E, 0x00, 0x22 } }
// APPLE_BOOT_NAME_LABEL_IMAGE_GUID
#define APPLE_BOOT_NAME_LABEL_IMAGE_GUID \
{ 0xC0512F00, 0x0181, 0x48C0, \
{ 0x8B, 0x71, 0x90, 0x50, 0x4B, 0x8F, 0x99, 0x1E } }
// APPLE_BROKEN_BOOT_IMAGE_GUID
#define APPLE_BROKEN_BOOT_IMAGE_GUID \
{ 0x6776572C, 0xFE56, 0x42CA, \
{ 0x9B, 0x93, 0x3D, 0x09, 0x60, 0xE7, 0x58, 0x3A } }
// APPLE_FIREWIRE_HD_IMAGE_GUID
#define APPLE_FIREWIRE_HD_IMAGE_GUID \
{ 0x410C1D0C, 0x656F, 0x4769, \
{ 0x8D, 0xFB, 0x90, 0xF9, 0xA0, 0x30, 0x3E, 0x9F } }
// APPLE_GENERIC_CD_IMAGE_GUID
#define APPLE_GENERIC_CD_IMAGE_GUID \
{ 0x21A05FD5, 0xDB4A, 0x4CFC, \
{ 0xB8, 0x4B, 0xEB, 0x0D, 0xBB, 0x56, 0x99, 0x34 } }
// APPLE_GENERIC_EXTERNAL_HD_IMAGE_GUID
#define APPLE_GENERIC_EXTERNAL_HD_IMAGE_GUID \
{ 0xD872AEFA, 0x7C5F, 0x4C66, \
{ 0x88, 0x36, 0xAA, 0x57, 0xEF, 0xF0, 0xD9, 0xF8 } }
// APPLE_INTERNAL_HD_IMAGE_GUID
#define APPLE_INTERNAL_HD_IMAGE_GUID \
{ 0x809FBBFD, 0x127A, 0x4249, \
{ 0x88, 0xBC, 0xFD, 0x0E, 0x76, 0x7F, 0x4F, 0xFD } }
// APPLE_NETBOOT_IMAGE_GUID
#define APPLE_NETBOOT_IMAGE_GUID \
{ 0x13ECD928, 0x87AB, 0x4460, \
{ 0xBB, 0xE0, 0xB5, 0x20, 0xF9, 0xEB, 0x1D, 0x32 } }
// APPLE_NETWORK_RECOVERY_IMAGE_GUID
#define APPLE_NETWORK_RECOVERY_IMAGE_GUID \
{ 0x6F92E393, 0x03C0, 0x427B, \
{ 0xBB, 0xEB, 0x4E, 0xF8, 0x07, 0xB5, 0x5B, 0xD8 } }
// APPLE_NETWORK_VOLUME_IMAGE_GUID
#define APPLE_NETWORK_VOLUME_IMAGE_GUID \
{ 0xE6F930E0, 0xBAE5, 0x40E6, \
{ 0x98, 0xC9, 0x4C, 0xD2, 0x29, 0x82, 0x78, 0xE7 } }
// APPLE_PASSWORD_LOCK_IMAGE_GUID
#define APPLE_PASSWORD_LOCK_IMAGE_GUID \
{ 0xBB1A3984, 0xD171, 0x4003, \
{ 0x90, 0x94, 0x46, 0xAF, 0x86, 0x6B, 0x45, 0xA2 } }
// APPLE_SD_IMAGE_GUID
#define APPLE_SD_IMAGE_GUID \
{ 0x5B6DAB96, 0x195D, 0x4D24, \
{ 0x97, 0x27, 0xA7, 0xD0, 0xE9, 0x36, 0x65, 0xC6 } }
// APPLE_SELECTED_IMAGE_GUID
#define APPLE_SELECTED_IMAGE_GUID \
{ 0xA0AAFF71, 0x35DA, 0x41EE, \
{ 0x86, 0x3F, 0xA2, 0x4F, 0x42, 0x9E, 0x59, 0xE4 } }
// APPLE_USB_HD_IMAGE_GUID
#define APPLE_USB_HD_IMAGE_GUID \
{ 0x1BFC532E, 0xF48A, 0x4EBE, \
{ 0xB2, 0xFB, 0x2B, 0x28, 0x6D, 0x70, 0xA6, 0xEB } }
// APPLE_WIRELESS_SMALL_IMAGE_GUID
#define APPLE_WIRELESS_SMALL_IMAGE_GUID \
{ 0x2F08C089, 0x2073, 0x4BD9, \
{ 0x9E, 0x7E, 0x30, 0x8A, 0x18, 0x32, 0x7B, 0x53 } }
// APPLE_LOGO_IMAGE_GUID
#define APPLE_LOGO_IMAGE_GUID \
{ 0x7914C493, 0xF439, 0x4C6C, \
{ 0xAB, 0x23, 0x7F, 0x72, 0x15, 0x0E, 0x72, 0xD4 } }
// APPLE_PASSWORD_EMPTY_IMAGE_GUID
#define APPLE_PASSWORD_EMPTY_IMAGE_GUID \
{ 0x8F98528C, 0xF736, 0x4A84, \
{ 0xAA, 0xA3, 0x37, 0x6A, 0x8E, 0x43, 0xBF, 0x51 } }
// APPLE_PASSWORD_FILL_IMAGE_GUID
#define APPLE_PASSWORD_FILL_IMAGE_GUID \
{ 0x71F3B066, 0x936A, 0x4C84, \
{ 0x92, 0x28, 0x23, 0x23, 0x0F, 0xD4, 0x7C, 0x79 } }
// APPLE_PASSWORD_PROCEED_IMAGE_GUID
#define APPLE_PASSWORD_PROCEED_IMAGE_GUID \
{ 0x689CDA29, 0x29A8, 0x42F6, \
{ 0x93, 0xFC, 0x46, 0xBA, 0x5F, 0x18, 0x06, 0x51 } }
// APPLE_LOGO_1394_IMAGE_GUID
#define APPLE_LOGO_1394_IMAGE_GUID \
{ 0xF2C1819D, 0x10F5, 0x4223, \
{ 0x92, 0x36, 0x9B, 0x4E, 0xBF, 0x1B, 0x9A, 0xE7 } }
// APPLE_LOGO_THUNDERBOLT_IMAGE_GUID
#define APPLE_LOGO_THUNDERBOLT_IMAGE_GUID \
{ 0xE646C3A8, 0xC7E2, 0x4DC2, \
{ 0xA7, 0xF2, 0xE3, 0x2A, 0x27, 0x0B, 0x0B, 0x26 } }
// APPLE_CLOCK_IMAGE_GUID
#define APPLE_CLOCK_IMAGE_GUID \
{ 0x224FBFE4, 0xADB6, 0x4DF2, \
{ 0xB8, 0x35, 0x60, 0x21, 0x82, 0xAE, 0xEF, 0x20 } }
// APPLE_ERROR_GLOBE_BORDER_IMAGE_GUID
#define APPLE_ERROR_GLOBE_BORDER_IMAGE_GUID \
{ 0x022218B8, 0xFE5E, 0x4EBC, \
{ 0xBC, 0x96, 0x74, 0x05, 0x8A, 0x4E, 0x7E, 0x83 } }
// APPLE_ERROR_GLOBE_TITLE_IMAGE_GUID
#define APPLE_ERROR_GLOBE_TITLE_IMAGE_GUID \
{ 0xAD0D149F, 0xBA67, 0x4E0B, \
{ 0xA6, 0xA2, 0x4E, 0x88, 0x53, 0x67, 0x3E, 0xA5 } }
// APPLE_ERROR_TRIANGLE_IMAGE_GUID
#define APPLE_ERROR_TRIANGLE_IMAGE_GUID \
{ 0x290B026F, 0x6905, 0x4612, \
{ 0xBA, 0x0F, 0xF6, 0x35, 0xDD, 0xE3, 0x52, 0x85 } }
// APPLE_GLOBE_BORDER_IMAGE_GUID
#define APPLE_GLOBE_BORDER_IMAGE_GUID \
{ 0x6E66DAE5, 0x4108, 0x40B5, \
{ 0x89, 0xA9, 0xC6, 0x10, 0x3F, 0x06, 0x39, 0xEC } }
// APPLE_GLOBE_MASK_IMAGE_GUID
#define APPLE_GLOBE_MASK_IMAGE_GUID \
{ 0xFC788727, 0xC2D0, 0x469C, \
{ 0xBD, 0x03, 0x5A, 0xEA, 0x03, 0x32, 0x3C, 0x67 } }
// gAppleImageListGuid
extern EFI_GUID gAppleImageListGuid;
// gAppleArrowCursorImageGuid
extern EFI_GUID gAppleArrowCursorImageGuid;
// gAppleArrowCursor2xImageGuid
extern EFI_GUID gAppleArrowCursor2xImageGuid;
// gAppleBackButtonSmallImageGuid
extern EFI_GUID gAppleBackButtonSmallImageGuid;
// gAppleBatteryState0ImageGuid
extern EFI_GUID gAppleBatteryState0ImageGuid;
// gAppleBatteryState1ImageGuid
extern EFI_GUID gAppleBatteryState1ImageGuid;
// gAppleBatteryState2ImageGuid
extern EFI_GUID gAppleBatteryState2ImageGuid;
// gAppleBatteryState3ImageGuid
extern EFI_GUID gAppleBatteryState3ImageGuid;
// gAppleBatteryState4ImageGuid
extern EFI_GUID gAppleBatteryState4ImageGuid;
// gAppleBatteryState5ImageGuid
extern EFI_GUID gAppleBatteryState5ImageGuid;
// gAppleBatteryState6ImageGuid
extern EFI_GUID gAppleBatteryState6ImageGuid;
// gAppleBeginBootButtonImageGuid
extern EFI_GUID gAppleBeginBootButtonImageGuid;
// gAppleBeginStickyBootButtonImageGuid
extern EFI_GUID gAppleBeginStickyBootButtonImageGuid;
// gAppleContinueButtonSmallImageGuid
extern EFI_GUID gAppleContinueButtonSmallImageGuid;
// gAppleBootNameLabelImageGuid
extern EFI_GUID gAppleBootNameLabelImageGuid;
// gAppleBrokenBootImageGuid
extern EFI_GUID gAppleBrokenBootImageGuid;
// gAppleFireWireHDImageGuid
extern EFI_GUID gAppleFireWireHDImageGuid;
// gAppleGenericCDImageGuid
extern EFI_GUID gAppleGenericCDImageGuid;
// gAppleGenericExternalHDImageGuid
extern EFI_GUID gAppleGenericExternalHDImageGuid;
// gAppleInternalHDImageGuid
extern EFI_GUID gAppleInternalHDImageGuid;
// gAppleNetBootImageGuid
extern EFI_GUID gAppleNetBootImageGuid;
// gAppleNetworkRecoveryImageGuid
extern EFI_GUID gAppleNetworkRecoveryImageGuid;
// gAppleNetworkVolumeImageGuid
extern EFI_GUID gAppleNetworkVolumeImageGuid;
// gApplePasswordLockImageGuid
extern EFI_GUID gApplePasswordLockImageGuid;
// gAppleSDImageGuid
extern EFI_GUID gAppleSDImageGuid;
// gAppleSelectedImageGuid
extern EFI_GUID gAppleSelectedImageGuid;
// gAppleUsbHDImageGuid
extern EFI_GUID gAppleUsbHDImageGuid;
// gAppleWirelessSmallImageGuid
extern EFI_GUID gAppleWirelessSmallImageGuid;
// gAppleLogoImageGuid
extern EFI_GUID gAppleLogoImageGuid;
// gApplePasswordEmptyImageGuid
extern EFI_GUID gApplePasswordEmptyImageGuid;
// gApplePasswordFillImageGuid
extern EFI_GUID gApplePasswordFillImageGuid;
// gApplePasswordProceedImageGuid
extern EFI_GUID gApplePasswordProceedImageGuid;
// gAppleLogo1394ImageGuid
extern EFI_GUID gAppleLogo1394ImageGuid;
// gAppleLogoThunderboltImageGuid
extern EFI_GUID gAppleLogoThunderboltImageGuid;
// gAppleClockImageGuid
extern EFI_GUID gAppleClockImageGuid;
// gAppleErrorGlobeBorderImageGuid
extern EFI_GUID gAppleErrorGlobeBorderImageGuid;
// gAppleErrorGlobeTitleImageGuid
extern EFI_GUID gAppleErrorGlobeTitleImageGuid;
// gAppleErrorTriangleImageGuid
extern EFI_GUID gAppleErrorTriangleImageGuid;
// gAppleGlobeBorderImageGuid
extern EFI_GUID gAppleGlobeBorderImageGuid;
// gAppleGlobeMaskImageGuid
extern EFI_GUID gAppleGlobeMaskImageGuid;
#endif // APPLE_FIRMWARE_VOLUME_H
/** @file
Copyright (C) 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_HFS_INFO_H
#define APPLE_HFS_INFO_H
/**
Normal HFS+ volume.
**/
#define APPLE_HFS_PARTITION_TYPE_GUID \
{ 0x48465300, 0x0000, 0x11AA, \
{ 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC } }
extern EFI_GUID gAppleHfsPartitionTypeGuid;
/**
CoreStorage HFS+ volume.
**/
#define APPLE_HFS_CS_PARTITION_TYPE_GUID \
{ 0x53746F72, 0x6167, 0x11AA, \
{ 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC } }
extern EFI_GUID gAppleHfsCsPartitionTypeGuid;
/**
Boot (Recovery) HFS+ volume.
**/
#define APPLE_HFS_BOOT_PARTITION_TYPE_GUID \
{ 0x426F6F74, 0x0000, 0x11AA, \
{ 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC } }
extern EFI_GUID gAppleHfsBootPartitionTypeGuid;
/**
Accessible from EFI_FILE_PROTOCOL::GetInfo, this GUID
allows to quickly obtain volume UUID.
**/
#define APPLE_HFS_UUID_INFO_GUID \
{ 0xFA99420C, 0x88F1, 0x11E7, \
{ 0x95, 0xF6, 0xB8, 0xE8, 0x56, 0x2C, 0xBA, 0xFA } }
extern EFI_GUID gAppleHfsUuidInfoGuid;
#endif // APPLE_HFS_INFO_H
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_HOB_H
#define APPLE_HOB_H
// APPLE_DEBUG_MASK_HOB_GUID
#define APPLE_DEBUG_MASK_HOB_GUID \
{ 0x59D1C24F, 0x50F1, 0x401A, \
{ 0xB1, 0x01, 0xF3, 0x3E, 0x0D, 0xAE, 0xD4, 0x43 } }
// APPLE_FSB_FREQUENCY_PLATFORM_INFO_INDEX_HOB_GUID
#define APPLE_FSB_FREQUENCY_PLATFORM_INFO_INDEX_HOB_GUID \
{ 0xEF56B861, 0x03CD, 0x4991, \
{ 0x99, 0xF2, 0x2A, 0xD3, 0x1B, 0xE8, 0x6B, 0x22 } }
// APPLE_SMC_MMIO_ADDRESS_HOB_GUID
#define APPLE_SMC_MMIO_ADDRESS_HOB_GUID \
{ 0x2D450255, 0xBDE9, 0x4341, \
{ 0x8C, 0x72, 0xF0, 0x77, 0x09, 0x59, 0x76, 0x04 } }
// APPLE_TSC_FREQUENCY_HOB_GUID
#define APPLE_TSC_FREQUENCY_HOB_GUID \
{ 0x674ABEA3, 0x0FE5, 0x11E5, \
{ 0x98, 0x8E, 0xB8, 0xE8, 0x56, 0x2C, 0xBA, 0xFA } }
// APPLE_HOB_1_GUID
#define APPLE_HOB_1_GUID \
{ 0x908B63A8, 0xC7C8, 0x493A, \
{ 0x80, 0x72, 0x9D, 0x58, 0xDB, 0xCF, 0x72, 0x4D } }
// APPLE_HOB_2_GUID
#define APPLE_HOB_2_GUID \
{ 0xC78F061E, 0x0290, 0x4E4F, \
{ 0x8D, 0xDC, 0x5B, 0xDA, 0xAC, 0x83, 0x7D, 0xE5 } }
// APPLE_HOB_3_GUID
#define APPLE_HOB_3_GUID \
{ 0xB8E65062, 0xFB30, 0x4078, \
{ 0xAB, 0xD3, 0xA9, 0x4E, 0x09, 0xCA, 0x9D, 0xE6 } }
// gAppleDebugMaskHobGuid
extern EFI_GUID gAppleDebugMaskHobGuid;
// gAppleFsbFrequencyPlatformInfoIndexHobGuid
extern EFI_GUID gAppleFsbFrequencyPlatformInfoIndexHobGuid;
// gAppleSmcMmioAddressHobGuid
extern EFI_GUID gAppleSmcMmioAddressHobGuid;
// gAppleTscFrequencyHobGuid
extern EFI_GUID gAppleTscFrequencyHobGuid;
// gAppleHob1Guid
extern EFI_GUID gAppleHob1Guid;
// gAppleHob1Guid
extern EFI_GUID gAppleHob2Guid;
// gAppleHob1Guid
extern EFI_GUID gAppleHob3Guid;
#endif //ifndef APPLE_HOB_H
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_OS_LOADED_H
#define APPLE_OS_LOADED_H
#include <Uefi.h>
// APPLE_OS_LOADED_EVENT_NAME
#define APPLE_OS_LOADED_NAMED_EVENT_GUID \
{ 0xC5C5DA95, 0x7D5C, 0x45E6, \
{ 0x83, 0x72, 0x89, 0xBD, 0x52, 0x6D, 0xE9, 0x56 } }
// gAppleOSLoadedNamedEventGuid
extern EFI_GUID gAppleOSLoadedNamedEventGuid;
#endif // APPLE_OS_LOADED_H
/** @file
Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_PLATFORM_INFO_H
#define APPLE_PLATFORM_INFO_H
// APPLE_FSB_FREQUENCY_PLATFORM_INFO_GUID
#define APPLE_FSB_FREQUENCY_PLATFORM_INFO_GUID \
{ 0xD1A04D55, 0x75B9, 0x41A3, \
{ 0x90, 0x36, 0x8F, 0x4A, 0x26, 0x1C, 0xBB, 0xA2 } }
// gAppleFsbFrequencyPlatformInfoGuid
extern EFI_GUID gAppleFsbFrequencyPlatformInfoGuid;
// APPLE_PLATFORM_INFO_KEYBOARD_GUID
#define APPLE_PLATFORM_INFO_KEYBOARD_GUID \
{ 0x51871CB9, 0xE25D, 0x44B4, \
{ 0x96, 0x99, 0x0E, 0xE8, 0x64, 0x4C, 0xED, 0x69 } }
// APPLE_KEYBOARD_INFO
typedef UINT32 APPLE_KEYBOARD_INFO;
// gAppleKeyboardPlatformInfoGuid
extern EFI_GUID gAppleKeyboardPlatformInfoGuid;
// APPLE_PRODUCT_INFO_PLATFORM_INFO_GUID
#define APPLE_PRODUCT_INFO_PLATFORM_INFO_GUID \
{ 0xBF7F6F3A, 0x5523, 0x488E, \
{ 0x8A, 0x60, 0xF0, 0x48, 0x63, 0xB9, 0x75, 0xC3 } }
// APPLE_PRODUCT_INFO
typedef struct {
UINT8 Unknown[86];
CHAR16 Model[64];
CHAR16 Family[64];
} APPLE_PRODUCT_INFO;
// gAppleProductInfoPlatformInfoGuid
extern EFI_GUID gAppleProductInfoPlatformInfoGuid;
#endif // APPLE_PLATFORM_INFO_H
/** @file
GUID to let TDM know that a particular BlockIO device is suitable for TDM
Copyright (c) 2005 Apple Computer, Inc. All rights reserved.
Portions Copyright (C) 2017, Download-Fritz. All rights reserved.<BR>
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Computer, Inc. ("Apple") in consideration of your agreement to the
following terms, and your use, installation, modification or
redistribution of this Apple software constitutes acceptance of these
terms. If you do not agree with these terms, please do not use,
install, modify or redistribute this Apple software.
In consideration of your agreement to abide by the following terms, and
subject to these terms, Apple grants you a personal, non-exclusive
license, under Apple's copyrights in this original Apple software (the
"Apple Software"), to use, reproduce, modify and redistribute the Apple
Software, with or without modifications, in source and/or binary forms;
provided that if you redistribute the Apple Software in its entirety and
without modifications, you must retain this notice and the following
text and disclaimers in all such redistributions of the Apple Software.
Neither the name, trademarks, service marks or logos of Apple Computer,
Inc. may be used to endorse or promote products derived from the Apple
Software without specific prior written permission from Apple. Except
as expressly stated in this notice, no other rights or licenses, express
or implied, are granted by Apple herein, including but not limited to
any patent rights that may be infringed by your derivative works or by
other works in which the Apple Software may be incorporated.
The Apple Software is provided by Apple on an "AS IS" basis. APPLE
MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
**/
#ifndef TDM_APPROVED_GUID_H
#define TDM_APPROVED_GUID_H
#define TDM_APPROVED_GUID \
{ 0x5C38EA59, 0x554B, 0x431C, \
{ 0xB3, 0xF5, 0xCD, 0x6E, 0xE3, 0xD4, 0x8A, 0x3E } }
extern EFI_GUID gTDMApprovedGuid;
#endif // TDM_APPROVED_GUID_H
/** @file
Copyright (C) 2017, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef APPLE_TSC_FREQUENCY_GUID_H
#define APPLE_TSC_FREQUENCY_GUID_H
// APPLE_TSC_FREQUENCY_GUID
#define APPLE_TSC_FREQUENCY_GUID \
{ 0x674ABEA3, 0x0FE5, 0x11E5, \
{ 0x98, 0x8E, 0xB8, 0xE8, 0x56, 0x2C, 0xBA, 0xFA } }
// gAppleTscFrequencyGuid
extern EFI_GUID gAppleTscFrequencyGuid;
#endif // APPLE_TSC_FREQUENCY_GUID_H
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册