TianoCore EDK2 master
|
#include <Library/DebugLib.h>
#include <Library/UefiLib.h>
#include "AcpiParser.h"
#include "Arm/SbbrValidator.h"
Go to the source code of this file.
Functions | |
VOID EFIAPI | ArmSbbrResetTableCounts (VOID) |
BOOLEAN EFIAPI | ArmSbbrIncrementTableCount (UINT32 Signature) |
EFI_STATUS EFIAPI | ArmSbbrReqsValidate (ARM_SBBR_VERSION Version) |
Variables | |
STATIC CONST CHAR8 * | ArmSbbrVersions [ArmSbbrVersionMax] |
STATIC CONST UINT32 | ArmSbbr10Mandatory [] |
STATIC CONST UINT32 | ArmSbbr11Mandatory [] |
STATIC CONST UINT32 | ArmSbbr12Mandatory [] |
STATIC CONST ACPI_SBBR_REQ | ArmSbbrReqs [ArmSbbrVersionMax] |
STATIC ACPI_TABLE_COUNTER | ArmSbbrTableCounts [] |
Arm Server Base Boot Requirements ACPI table requirement validator.
Copyright (c) 2020, ARM Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SbbrValidator.c.
BOOLEAN EFIAPI ArmSbbrIncrementTableCount | ( | UINT32 | Signature | ) |
Increment instance count for SBBR-mandatory ACPI table with the given signature.
[in] | Signature | ACPI table signature. |
TRUE | Count incremented successfully. |
FALSE | Table with the input signature not found. |
Definition at line 126 of file SbbrValidator.c.
EFI_STATUS EFIAPI ArmSbbrReqsValidate | ( | ARM_SBBR_VERSION | Version | ) |
Validate that all ACPI tables required by the given SBBR specification version are installed on the platform.
[in] | Version | SBBR spec version to validate against. |
EFI_SUCCESS | All required tables are present. |
EFI_INVALID_PARAMETER | Invalid SBBR version. |
EFI_NOT_FOUND | One or more mandatory tables are missing. |
EFI_UNSUPPORTED | Mandatory ACPI table does not have its instance count tracked. |
Definition at line 156 of file SbbrValidator.c.
VOID EFIAPI ArmSbbrResetTableCounts | ( | VOID | ) |
Reset the platform ACPI table instance count for all SBBR-mandatory tables.
Definition at line 104 of file SbbrValidator.c.
SBBR 1.0 mandatory ACPI tables
Definition at line 35 of file SbbrValidator.c.
SBBR 1.1 mandatory ACPI tables
Definition at line 48 of file SbbrValidator.c.
SBBR 1.2 mandatory ACPI tables
Definition at line 62 of file SbbrValidator.c.
STATIC CONST ACPI_SBBR_REQ ArmSbbrReqs[ArmSbbrVersionMax] |
Mandatory ACPI tables for every SBBR specification version.
Definition at line 77 of file SbbrValidator.c.
STATIC ACPI_TABLE_COUNTER ArmSbbrTableCounts[] |
Data structure to track instance counts for all ACPI tables which are defined as 'mandatory' in any SBBR version.
Definition at line 87 of file SbbrValidator.c.
SBBR specification version strings
Definition at line 26 of file SbbrValidator.c.