TianoCore EDK2 master
|
#include <IndustryStandard/Acpi.h>
#include <IndustryStandard/ArmPerformanceMonitoringUnitTable.h>
#include <Library/UefiLib.h>
#include "AcpiParser.h"
#include "AcpiTableParser.h"
Go to the source code of this file.
Functions | |
VOID EFIAPI | ParseAcpiApmt (IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision) |
Variables | |
STATIC ACPI_DESCRIPTION_HEADER_INFO | AcpiHdrInfo |
STATIC CONST UINT16 * | NodeLength |
STATIC CONST ACPI_PARSER | ApmtParser [] |
STATIC CONST ACPI_PARSER | ArmPmuNodeParser [] |
APMT table parser
Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. Copyright (c) 2017 - 2018, ARM Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ApmtParser.c.
VOID EFIAPI ParseAcpiApmt | ( | IN BOOLEAN | Trace, |
IN UINT8 * | Ptr, | ||
IN UINT32 | AcpiTableLength, | ||
IN UINT8 | AcpiTableRevision | ||
) |
This function parses the ACPI APMT table. When trace is enabled this function parses the APMT table and traces the ACPI table fields.
This function also performs validation of the ACPI table fields.
[in] | Trace | If TRUE, trace the ACPI fields. |
[in] | Ptr | Pointer to the start of the buffer. |
[in] | AcpiTableLength | Length of the ACPI table. |
[in] | AcpiTableRevision | Revision of the ACPI table. |
Definition at line 62 of file ApmtParser.c.
STATIC ACPI_DESCRIPTION_HEADER_INFO AcpiHdrInfo |
Definition at line 19 of file ApmtParser.c.
STATIC CONST ACPI_PARSER ApmtParser[] |
An ACPI_PARSER array describing the ACPI APMT Table.
Definition at line 25 of file ApmtParser.c.
STATIC CONST ACPI_PARSER ArmPmuNodeParser[] |
An ACPI_PARSER array describing the ACPI Arm PMU Node.
Definition at line 32 of file ApmtParser.c.
Definition at line 20 of file ApmtParser.c.