TianoCore EDK2 master
|
#include <IndustryStandard/DebugPort2Table.h>
#include <Library/UefiLib.h>
#include "AcpiParser.h"
#include "AcpiTableParser.h"
Go to the source code of this file.
Functions | |
STATIC VOID EFIAPI | ValidateNameSpaceStrLen (IN UINT8 *Ptr, IN UINT32 Length, IN VOID *Context) |
STATIC VOID EFIAPI | DumpDbgDeviceInfo (IN UINT8 *Ptr, IN UINT16 Length) |
VOID EFIAPI | ParseAcpiDbg2 (IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision) |
Variables | |
STATIC CONST UINT32 * | OffsetDbgDeviceInfo |
STATIC CONST UINT32 * | NumberDbgDeviceInfo |
STATIC CONST UINT16 * | DbgDevInfoLen |
STATIC CONST UINT8 * | GasCount |
STATIC CONST UINT16 * | NameSpaceStringLength |
STATIC CONST UINT16 * | NameSpaceStringOffset |
STATIC CONST UINT16 * | OEMDataLength |
STATIC CONST UINT16 * | OEMDataOffset |
STATIC CONST UINT16 * | BaseAddrRegOffset |
STATIC CONST UINT16 * | AddrSizeOffset |
STATIC ACPI_DESCRIPTION_HEADER_INFO | AcpiHdrInfo |
STATIC CONST ACPI_PARSER | Dbg2Parser [] |
An ACPI_PARSER array describing the ACPI DBG2 table. | |
STATIC CONST ACPI_PARSER | DbgDevInfoHeaderParser [] |
STATIC CONST ACPI_PARSER | DbgDevInfoParser [] |
An ACPI_PARSER array describing the debug device information. | |
DBG2 table parser
Copyright (c) 2016 - 2024, Arm Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Dbg2Parser.c.
This function parses the debug device information structure.
[in] | Ptr | Pointer to the start of the buffer. |
[in] | Length | Length of the debug device information structure. |
Definition at line 111 of file Dbg2Parser.c.
VOID EFIAPI ParseAcpiDbg2 | ( | IN BOOLEAN | Trace, |
IN UINT8 * | Ptr, | ||
IN UINT32 | AcpiTableLength, | ||
IN UINT8 | AcpiTableRevision | ||
) |
This function parses the ACPI DBG2 table. When trace is enabled this function parses the DBG2 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 232 of file Dbg2Parser.c.
This function validates the NameSpace string length.
[in] | Ptr | Pointer to the start of the buffer. |
[in] | Length | Length of the field. |
[in] | Context | Pointer to context specific information e.g. this could be a pointer to the ACPI table header. |
Definition at line 40 of file Dbg2Parser.c.
STATIC ACPI_DESCRIPTION_HEADER_INFO AcpiHdrInfo |
Definition at line 27 of file Dbg2Parser.c.
Definition at line 26 of file Dbg2Parser.c.
Definition at line 25 of file Dbg2Parser.c.
STATIC CONST ACPI_PARSER Dbg2Parser[] |
An ACPI_PARSER array describing the ACPI DBG2 table.
Definition at line 61 of file Dbg2Parser.c.
STATIC CONST ACPI_PARSER DbgDevInfoHeaderParser[] |
Definition at line 19 of file Dbg2Parser.c.
STATIC CONST ACPI_PARSER DbgDevInfoParser[] |
An ACPI_PARSER array describing the debug device information.
Definition at line 77 of file Dbg2Parser.c.
Definition at line 20 of file Dbg2Parser.c.
Definition at line 21 of file Dbg2Parser.c.
Definition at line 22 of file Dbg2Parser.c.
Definition at line 18 of file Dbg2Parser.c.
Definition at line 23 of file Dbg2Parser.c.
Definition at line 24 of file Dbg2Parser.c.
Definition at line 17 of file Dbg2Parser.c.