OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
AppleRecovery.c File Reference
#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)
 

Detailed Description

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.

Function Documentation

◆ InternalGetRecoveryInitiator()

STATIC EFI_DEVICE_PATH_PROTOCOL * InternalGetRecoveryInitiator ( VOID )

Definition at line 32 of file AppleRecovery.c.

◆ OcHandleRecoveryRequest()

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.

Parameters
[out]InitiatorRecovery initiator device path, optional.
Return values
EFI_SUCCESSRecovery boot is required.
EFI_NOT_FOUNDSystem should boot normally.

Definition at line 73 of file AppleRecovery.c.