TianoCore EDK2 master
Loading...
Searching...
No Matches
AcpiTableFactory.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI GetAcpiTableGenerator (IN CONST EDKII_DYNAMIC_TABLE_FACTORY_PROTOCOL *CONST This, IN CONST ACPI_TABLE_GENERATOR_ID GeneratorId, OUT CONST ACPI_TABLE_GENERATOR **CONST Generator)
 
EFI_STATUS EFIAPI RegisterAcpiTableGenerator (IN CONST ACPI_TABLE_GENERATOR *CONST Generator)
 
EFI_STATUS EFIAPI DeregisterAcpiTableGenerator (IN CONST ACPI_TABLE_GENERATOR *CONST Generator)
 

Variables

EDKII_DYNAMIC_TABLE_FACTORY_INFO TableFactoryInfo
 

Detailed Description

ACPI Table Factory

Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Glossary:
  • Std - Standard

Definition in file AcpiTableFactory.c.

Function Documentation

◆ DeregisterAcpiTableGenerator()

EFI_STATUS EFIAPI DeregisterAcpiTableGenerator ( IN CONST ACPI_TABLE_GENERATOR *CONST  Generator)

Deregister ACPI generator.

This function is called by the ACPI table generator to deregister itself from the ACPI table factory.

Parameters
[in]GeneratorPointer to the ACPI table generator.
Return values
EFI_SUCCESSSuccess.
EFI_INVALID_PARAMETERThe generator is invalid.
EFI_NOT_FOUNDThe requested generator is not found in the list of registered generators.

Definition at line 174 of file AcpiTableFactory.c.

◆ GetAcpiTableGenerator()

EFI_STATUS EFIAPI GetAcpiTableGenerator ( IN CONST EDKII_DYNAMIC_TABLE_FACTORY_PROTOCOL *CONST  This,
IN CONST ACPI_TABLE_GENERATOR_ID  GeneratorId,
OUT CONST ACPI_TABLE_GENERATOR **CONST  Generator 
)

Return a pointer to the ACPI table generator.

Parameters
[in]ThisPointer to the Dynamic Table Factory Protocol.
[in]GeneratorIdThe ACPI table generator ID for the requested generator.
[out]GeneratorPointer to the requested ACPI table generator.
Return values
EFI_SUCCESSSuccess.
EFI_INVALID_PARAMETERA parameter is invalid.
EFI_NOT_FOUNDThe requested generator is not found in the list of registered generators.

Definition at line 42 of file AcpiTableFactory.c.

◆ RegisterAcpiTableGenerator()

EFI_STATUS EFIAPI RegisterAcpiTableGenerator ( IN CONST ACPI_TABLE_GENERATOR *CONST  Generator)

Register ACPI table factory generator.

The ACPI table factory maintains a list of the Standard and OEM ACPI table generators.

Parameters
[in]GeneratorPointer to the ACPI table generator.
Return values
EFI_SUCCESSThe Generator was registered successfully.
EFI_INVALID_PARAMETERThe Generator ID is invalid or the Generator pointer is NULL.
EFI_ALREADY_STARTEDThe Generator for the Table ID is already registered.

Definition at line 110 of file AcpiTableFactory.c.

Variable Documentation

◆ TableFactoryInfo

EDKII_DYNAMIC_TABLE_FACTORY_INFO TableFactoryInfo
extern

The Dynamic Table Factory protocol structure that holds the list of registered ACPI and SMBIOS table generators.

Definition at line 30 of file DynamicTableFactoryDxe.c.