TianoCore EDK2 master
|
#include <IndustryStandard/Acpi.h>
#include <Library/PrintLib.h>
#include <Library/UefiLib.h>
#include "AcpiParser.h"
#include "AcpiTableParser.h"
Go to the source code of this file.
Macros | |
#define | SLIT_ELEMENT(Ptr, i, j) *(Ptr + (i * LocalityCount) + j) |
Functions | |
VOID EFIAPI | ParseAcpiSlit (IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision) |
Variables | |
STATIC CONST UINT64 * | SlitSystemLocalityCount |
STATIC ACPI_DESCRIPTION_HEADER_INFO | AcpiHdrInfo |
STATIC CONST ACPI_PARSER | SlitParser [] |
SLIT table parser
Copyright (c) 2016 - 2019, ARM Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SlitParser.c.
#define SLIT_ELEMENT | ( | Ptr, | |
i, | |||
j | |||
) | *(Ptr + (i * LocalityCount) + j) |
Macro to get the value of a System Locality
Definition at line 33 of file SlitParser.c.
VOID EFIAPI ParseAcpiSlit | ( | IN BOOLEAN | Trace, |
IN UINT8 * | Ptr, | ||
IN UINT32 | AcpiTableLength, | ||
IN UINT8 | AcpiTableRevision | ||
) |
This function parses the ACPI SLIT table. When trace is enabled this function parses the SLIT table and traces the ACPI table fields.
This function also validates System Localities for the following:
[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 52 of file SlitParser.c.
STATIC ACPI_DESCRIPTION_HEADER_INFO AcpiHdrInfo |
Definition at line 19 of file SlitParser.c.
STATIC CONST ACPI_PARSER SlitParser[] |
An ACPI_PARSER array describing the ACPI SLIT table.
Definition at line 24 of file SlitParser.c.
Definition at line 18 of file SlitParser.c.