TianoCore EDK2 master
|
#include <Library/PrintLib.h>
#include <Library/BaseLib.h>
#include <Library/UefiLib.h>
#include "AcpiParser.h"
#include "AcpiView.h"
Go to the source code of this file.
Functions | |
STATIC VOID | DumpPccEntry (IN UINT8 *Ptr, IN UINT32 Length) |
VOID EFIAPI | ParseAcpiRas2 (IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision) |
Variables | |
STATIC CONST UINT16 * | Ras2PccDescriptors |
STATIC ACPI_DESCRIPTION_HEADER_INFO | AcpiHdrInfo |
STATIC CONST ACPI_PARSER | Ras2Parser [] |
STATIC CONST ACPI_PARSER | Ras2StructurePccDescriptor [] |
RAS2 table parser
Copyright (c) 2024, Arm Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Ras2Parser.c.
Definition at line 44 of file Ras2Parser.c.
VOID EFIAPI ParseAcpiRas2 | ( | IN BOOLEAN | Trace, |
IN UINT8 * | Ptr, | ||
IN UINT32 | AcpiTableLength, | ||
IN UINT8 | AcpiTableRevision | ||
) |
This function parses the ACPI RAS2 table. When trace is enabled this function parses the RAS2 table and traces the ACPI table fields.
This function parses the following RAS2 structures:
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 79 of file Ras2Parser.c.
STATIC ACPI_DESCRIPTION_HEADER_INFO AcpiHdrInfo |
Definition at line 20 of file Ras2Parser.c.
STATIC CONST ACPI_PARSER Ras2Parser[] |
An ACPI_PARSER array describing the ACPI RAS2 Table.
Definition at line 25 of file Ras2Parser.c.
Definition at line 18 of file Ras2Parser.c.
STATIC CONST ACPI_PARSER Ras2StructurePccDescriptor[] |
An ACPI_PARSER array describing the RAS2 PCC ID Entry
Definition at line 34 of file Ras2Parser.c.