TianoCore EDK2 master
Loading...
Searching...
No Matches
SbbrValidator.h File Reference

Go to the source code of this file.

Data Structures

struct  AcpiTableCounter
 
struct  AcpiSbbrReq
 

Typedefs

typedef struct AcpiTableCounter ACPI_TABLE_COUNTER
 
typedef struct AcpiSbbrReq ACPI_SBBR_REQ
 

Enumerations

enum  ARM_SBBR_VERSION { ArmSbbrVersion_1_0 = 0 , ArmSbbrVersion_1_1 = 1 , ArmSbbrVersion_1_2 = 2 , ArmSbbrVersionMax = 3 }
 

Functions

VOID EFIAPI ArmSbbrResetTableCounts (VOID)
 
BOOLEAN EFIAPI ArmSbbrIncrementTableCount (UINT32 Signature)
 
EFI_STATUS EFIAPI ArmSbbrReqsValidate (ARM_SBBR_VERSION Version)
 

Detailed Description

Header file for SbbrValidator.c

Copyright (c) 2020, ARM Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent

Glossary:
  • Sbbr or SBBR - Server Base Boot Requirements
  • Sbsa or SBSA - Server Base System Architecture
Reference(s):
  • Arm Server Base Boot Requirements 1.2, September 2019
  • Arm Server Base Boot Requirements 1.1, May 2018
  • Arm Server Base Boot Requirements 1.0, March 2016
  • Arm Server Base System Architecture 6.0

Definition in file SbbrValidator.h.

Typedef Documentation

◆ ACPI_SBBR_REQ

typedef struct AcpiSbbrReq ACPI_SBBR_REQ

ACPI table SBBR requirements.

◆ ACPI_TABLE_COUNTER

The ACPI table instance counter.

Enumeration Type Documentation

◆ ARM_SBBR_VERSION

Arm SBBR specification versions.

Definition at line 26 of file SbbrValidator.h.

Function Documentation

◆ ArmSbbrIncrementTableCount()

BOOLEAN EFIAPI ArmSbbrIncrementTableCount ( UINT32  Signature)

Increment instance count for SBBR-mandatory ACPI table with the given signature.

Parameters
[in]SignatureACPI table signature.
Return values
TRUECount incremented successfully.
FALSETable with the input signature not found.

Definition at line 126 of file SbbrValidator.c.

◆ ArmSbbrReqsValidate()

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.

Parameters
[in]VersionSBBR spec version to validate against.
Return values
EFI_SUCCESSAll required tables are present.
EFI_INVALID_PARAMETERInvalid SBBR version.
EFI_NOT_FOUNDOne or more mandatory tables are missing.
EFI_UNSUPPORTEDMandatory ACPI table does not have its instance count tracked.

Definition at line 156 of file SbbrValidator.c.

◆ ArmSbbrResetTableCounts()

VOID EFIAPI ArmSbbrResetTableCounts ( VOID  )

Reset the platform ACPI table instance count for all SBBR-mandatory tables.

Definition at line 104 of file SbbrValidator.c.