|
TianoCore EDK2 master
|
#include "PiSmmCore.h"Go to the source code of this file.
Macros | |
| #define | CONFIG_TABLE_SIZE_INCREASED 0x10 |
Functions | |
| EFI_STATUS EFIAPI | SmmInstallConfigurationTable (IN CONST EFI_SMM_SYSTEM_TABLE2 *SystemTable, IN CONST EFI_GUID *Guid, IN VOID *Table, IN UINTN TableSize) |
Variables | |
| UINTN | mSmmSystemTableAllocateSize = 0 |
System Management System Table Services SmmInstallConfigurationTable service
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file InstallConfigurationTable.c.
| #define CONFIG_TABLE_SIZE_INCREASED 0x10 |
Definition at line 11 of file InstallConfigurationTable.c.
| EFI_STATUS EFIAPI SmmInstallConfigurationTable | ( | IN CONST EFI_SMM_SYSTEM_TABLE2 * | SystemTable, |
| IN CONST EFI_GUID * | Guid, | ||
| IN VOID * | Table, | ||
| IN UINTN | TableSize | ||
| ) |
The SmmInstallConfigurationTable() function is used to maintain the list of configuration tables that are stored in the System Management System Table. The list is stored as an array of (GUID, Pointer) pairs. The list must be allocated from pool memory with PoolType set to EfiRuntimeServicesData.
| SystemTable | A pointer to the SMM System Table (SMST). |
| Guid | A pointer to the GUID for the entry to add, update, or remove. |
| Table | A pointer to the buffer of the table to add. |
| TableSize | The size of the table to install. |
| EFI_SUCCESS | The (Guid, Table) pair was added, updated, or removed. |
| EFI_INVALID_PARAMETER | Guid is not valid. |
| EFI_NOT_FOUND | An attempt was made to delete a non-existent entry. |
| EFI_OUT_OF_RESOURCES | There is not enough memory available to complete the operation. |
Definition at line 34 of file InstallConfigurationTable.c.
| UINTN mSmmSystemTableAllocateSize = 0 |
Definition at line 13 of file InstallConfigurationTable.c.