OpenCore
1.0.4
OpenCore Bootloader
|
#include <Library/OcMiscLib.h>
#include <Guid/AppleHob.h>
#include <Pi/PiBootMode.h>
#include <Pi/PiHob.h>
#include <Library/HobLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
Go to the source code of this file.
Functions | |
EFI_STATUS | OcReadApplePlatformFirstData (IN APPLE_PLATFORM_INFO_DATABASE_PROTOCOL *PlatformInfo, IN EFI_GUID *DataGuid, IN OUT UINT32 *Size, OUT VOID *Data) |
EFI_STATUS | OcReadApplePlatformFirstDataAlloc (IN APPLE_PLATFORM_INFO_DATABASE_PROTOCOL *PlatformInfo, IN EFI_GUID *DataGuid, OUT UINT32 *Size, OUT VOID **Data) |
EFI_STATUS | OcReadApplePlatformData (IN APPLE_PLATFORM_INFO_DATABASE_PROTOCOL *PlatformInfo, IN EFI_GUID *DataGuid, IN EFI_GUID *HobGuid, IN OUT UINT32 *Size, OUT VOID *Data) |
Copyright (C) 2021, PMheart. All rights reserved. Copyright (C) 2021, 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 PlatformInfo.c.
EFI_STATUS OcReadApplePlatformData | ( | IN APPLE_PLATFORM_INFO_DATABASE_PROTOCOL * | PlatformInfo, |
IN EFI_GUID * | DataGuid, | ||
IN EFI_GUID * | HobGuid, | ||
IN OUT UINT32 * | Size, | ||
OUT VOID * | Data ) |
Read data from Apple Platform Info protocol.
[in] | PlatformInfo | Apple Platform Info protocol. |
[in] | DataGuid | Resource GUID identifier. |
[in] | HobGuid | Hob GUID identifier. |
[in,out] | Size | Maximum size allowed, updated to actual size on success. |
[out] | Data | Data read from Apple Platform Info protocol. |
EFI_SUCCESS | on success. |
Definition at line 155 of file PlatformInfo.c.
EFI_STATUS OcReadApplePlatformFirstData | ( | IN APPLE_PLATFORM_INFO_DATABASE_PROTOCOL * | PlatformInfo, |
IN EFI_GUID * | DataGuid, | ||
IN OUT UINT32 * | Size, | ||
OUT VOID * | Data ) |
Read first data from Apple Platform Info protocol.
[in] | PlatformInfo | Apple Platform Info protocol. |
[in] | DataGuid | Resource GUID identifier. |
[in,out] | Size | Maximum size allowed, updated to actual size on success. |
[out] | Data | Data read from Apple Platform Info protocol. |
EFI_SUCCESS | on success. |
Definition at line 26 of file PlatformInfo.c.
EFI_STATUS OcReadApplePlatformFirstDataAlloc | ( | IN APPLE_PLATFORM_INFO_DATABASE_PROTOCOL * | PlatformInfo, |
IN EFI_GUID * | DataGuid, | ||
OUT UINT32 * | Size, | ||
OUT VOID ** | Data ) |
Read first data from Apple Platform Info protocol allocating memory from pool.
[in] | PlatformInfo | Apple Platform Info protocol. |
[in] | DataGuid | Resource GUID identifier. |
[out] | Size | Size of the entry. |
[out] | Data | Data read from Apple Platform Info protocol allocated from pool. |
EFI_SUCCESS | on success. |
Definition at line 91 of file PlatformInfo.c.