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 | |
EFI_STATUS | OcActivateHibernateWake (IN UINT32 HibernateMask) |
BOOLEAN | OcIsAppleHibernateWake (VOID) |
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 AppleHibernate.c.
EFI_STATUS OcActivateHibernateWake | ( | IN UINT32 | HibernateMask | ) |
Handle hibernation detection for later loading.
[in] | HibernateMask | Hibernate detection mask. |
EFI_SUCCESS | Hibernation mode was found and activated. |
Definition at line 31 of file AppleHibernate.c.
BOOLEAN OcIsAppleHibernateWake | ( | VOID | ) |
Check if active hibernation is happening.
TRUE | on waking from hibernation. |
Definition at line 232 of file AppleHibernate.c.