TianoCore EDK2 master
|
#include <IndustryStandard/SmBios.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <SmbiosTableGenerator.h>
#include <ConfigurationManagerObject.h>
#include <Protocol/ConfigurationManagerProtocol.h>
#include <Protocol/DynamicTableFactoryProtocol.h>
#include "DynamicTableFactory.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | GetSmbiosTableGenerator (IN CONST EDKII_DYNAMIC_TABLE_FACTORY_PROTOCOL *CONST This, IN CONST SMBIOS_TABLE_GENERATOR_ID GeneratorId, OUT CONST SMBIOS_TABLE_GENERATOR **CONST Generator) |
EFI_STATUS EFIAPI | RegisterSmbiosTableGenerator (IN CONST SMBIOS_TABLE_GENERATOR *CONST Generator) |
EFI_STATUS EFIAPI | DeregisterSmbiosTableGenerator (IN CONST SMBIOS_TABLE_GENERATOR *CONST Generator) |
Variables | |
EDKII_DYNAMIC_TABLE_FACTORY_INFO | TableFactoryInfo |
SMBIOS Table Factory
Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SmbiosTableFactory.c.
EFI_STATUS EFIAPI DeregisterSmbiosTableGenerator | ( | IN CONST SMBIOS_TABLE_GENERATOR *CONST | Generator | ) |
Deregister SMBIOS generator.
This function is called by the SMBIOS table generator to deregister itself from the SMBIOS table factory.
[in] | Generator | Pointer to the SMBIOS table generator. |
EFI_SUCCESS | Success. |
EFI_INVALID_PARAMETER | The generator is invalid. |
EFI_NOT_FOUND | The requested generator is not found in the list of registered generators. |
Definition at line 174 of file SmbiosTableFactory.c.
EFI_STATUS EFIAPI GetSmbiosTableGenerator | ( | IN CONST EDKII_DYNAMIC_TABLE_FACTORY_PROTOCOL *CONST | This, |
IN CONST SMBIOS_TABLE_GENERATOR_ID | GeneratorId, | ||
OUT CONST SMBIOS_TABLE_GENERATOR **CONST | Generator | ||
) |
Return a pointer to the SMBIOS table generator.
[in] | This | Pointer to the Dynamic Table Factory Protocol. |
[in] | GeneratorId | The SMBIOS table generator ID for the requested generator. |
[out] | Generator | Pointer to the requested SMBIOS table generator. |
EFI_SUCCESS | Success. |
EFI_INVALID_PARAMETER | A parameter is invalid. |
EFI_NOT_FOUND | The requested generator is not found in the list of registered generators. |
Definition at line 42 of file SmbiosTableFactory.c.
EFI_STATUS EFIAPI RegisterSmbiosTableGenerator | ( | IN CONST SMBIOS_TABLE_GENERATOR *CONST | Generator | ) |
Register SMBIOS table factory generator.
The SMBIOS table factory maintains a list of the Standard and OEM SMBIOS table generators.
[in] | Generator | Pointer to the SMBIOS table generator. |
EFI_SUCCESS | The Generator was registered successfully. |
EFI_INVALID_PARAMETER | The Generator ID is invalid or the Generator pointer is NULL. |
EFI_ALREADY_STARTED | The Generator for the Table ID is already registered. |
Definition at line 110 of file SmbiosTableFactory.c.
|
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.