|
OpenCore
1.0.5
OpenCore Bootloader
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <Uefi/UefiBaseType.h>#include <Library/BaseMemoryLib.h>#include <Library/BaseOverflowLib.h>#include <Library/MemoryAllocationLib.h>#include <Library/DebugLib.h>#include <IndustryStandard/Acpi.h>#include <Library/OcAcpiLib.h>#include <IndustryStandard/AcpiAml.h>#include <UserFile.h>Go to the source code of this file.
Functions | |
| STATIC VOID | PrintParserError (IN EFI_STATUS Status) |
| STATIC EFI_STATUS | AcpiFindEntryInFile (IN CONST CHAR8 *FileName, IN CONST CHAR8 *PathString, IN UINT8 Entry, OUT UINT32 *Offset) |
| int | ENTRY_POINT (int argc, char *argv[]) |
| int | LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size) |
Copyright (c) 2020-2021, Ubsefor & koralexa. All rights reserved. SPDX-License-Identifier: BSD-3-Clause
Definition in file ACPIe.c.
| STATIC EFI_STATUS AcpiFindEntryInFile | ( | IN CONST CHAR8 * | FileName, |
| IN CONST CHAR8 * | PathString, | ||
| IN UINT8 | Entry, | ||
| OUT UINT32 * | Offset ) |
Finds offset of required entry in ACPI table in case it exists.
| [in] | FileName | Path to file containing ACPI table. |
| [in] | PathString | Path to entry which must be found. |
| [in] | Entry | Number of entry which must be found. |
| [out] | Offset | Offset of the entry if it was found. |
| EFI_SUCCESS | Required entry was found. |
| EFI_NOT_FOUND | Required entry was not found. |
| EFI_DEVICE_ERROR | Error occured during parsing ACPI table. |
| EFI_OUT_OF_RESOURCES | Nesting limit has been reached. |
| EFI_INVALID_PARAMETER | Got wrong path to the entry. |
| EFI_LOAD_ERROR | Wrong path to the file or the file can't be opened. |
| int ENTRY_POINT | ( | int | argc, |
| char * | argv[] ) |