OpenCore
1.0.4
OpenCore Bootloader
|
#include <Guid/AppleVariable.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/PrintLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
Go to the source code of this file.
Functions | |
STATIC VOID * | PanicUnpack (IN CONST VOID *Packed, IN UINTN PackedSize, OUT UINTN *UnpackedSize) |
STATIC BOOLEAN | PanicExpandPutBuf (IN OUT CHAR8 **Buffer, IN OUT UINTN *AllocatedSize, IN OUT UINTN *CurrentSize, IN CONST CHAR8 *NewData, IN UINTN NewDataSize) |
STATIC CHAR8 * | PanicExpand (IN CONST CHAR8 *Encoded, IN UINTN EncodedSize, OUT UINTN *ExpandedSize) |
VOID * | OcReadApplePanicLog (OUT UINT32 *PanicSize) |
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 ApplePanic.c.
VOID * OcReadApplePanicLog | ( | OUT UINT32 * | PanicSize | ) |
Read and expand Apple panic log if present.
[out] | PanicSize | Size of the panic log on success. |
panic | buffer on success. |
NULL | on failure. |
Definition at line 242 of file ApplePanic.c.
STATIC CHAR8 * PanicExpand | ( | IN CONST CHAR8 * | Encoded, |
IN UINTN | EncodedSize, | ||
OUT UINTN * | ExpandedSize ) |
< Not encoded.
Definition at line 137 of file ApplePanic.c.
STATIC BOOLEAN PanicExpandPutBuf | ( | IN OUT CHAR8 ** | Buffer, |
IN OUT UINTN * | AllocatedSize, | ||
IN OUT UINTN * | CurrentSize, | ||
IN CONST CHAR8 * | NewData, | ||
IN UINTN | NewDataSize ) |
Definition at line 89 of file ApplePanic.c.
STATIC VOID * PanicUnpack | ( | IN CONST VOID * | Packed, |
IN UINTN | PackedSize, | ||
OUT UINTN * | UnpackedSize ) |
Definition at line 31 of file ApplePanic.c.