OpenCore
1.0.4
OpenCore Bootloader
|
#include <Guid/AppleVariable.h>
#include <IndustryStandard/AppleHibernate.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DevicePathLib.h>
#include <Library/OcBootManagementLib.h>
#include <Library/OcCryptoLib.h>
#include <Library/OcDevicePathLib.h>
#include <Library/OcDebugLogLib.h>
#include <Library/OcRtcLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
Go to the source code of this file.
Functions | |
STATIC EFI_DEVICE_PATH_PROTOCOL * | InternalGetRecoveryInitiator (VOID) |
EFI_STATUS | OcHandleRecoveryRequest (OUT EFI_DEVICE_PATH_PROTOCOL **Initiator OPTIONAL) |
Copyright (C) 2019, vit9696. All rights reserved.
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.
Definition in file AppleRecovery.c.
STATIC EFI_DEVICE_PATH_PROTOCOL * InternalGetRecoveryInitiator | ( | VOID | ) |
Definition at line 32 of file AppleRecovery.c.
EFI_STATUS OcHandleRecoveryRequest | ( | OUT EFI_DEVICE_PATH_PROTOCOL **Initiator | OPTIONAL | ) |
Handle recovery detection for later loading. Recovery handling is required to choose the right operating system.
[out] | Initiator | Recovery initiator device path, optional. |
EFI_SUCCESS | Recovery boot is required. |
EFI_NOT_FOUND | System should boot normally. |
Definition at line 73 of file AppleRecovery.c.