TianoCore EDK2 master
Loading...
Searching...
No Matches
InstallConfigurationTable.c File Reference
#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
 

Detailed Description

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.

Macro Definition Documentation

◆ CONFIG_TABLE_SIZE_INCREASED

#define CONFIG_TABLE_SIZE_INCREASED   0x10

Definition at line 11 of file InstallConfigurationTable.c.

Function Documentation

◆ SmmInstallConfigurationTable()

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.

Parameters
SystemTableA pointer to the SMM System Table (SMST).
GuidA pointer to the GUID for the entry to add, update, or remove.
TableA pointer to the buffer of the table to add.
TableSizeThe size of the table to install.
Return values
EFI_SUCCESSThe (Guid, Table) pair was added, updated, or removed.
EFI_INVALID_PARAMETERGuid is not valid.
EFI_NOT_FOUNDAn attempt was made to delete a non-existent entry.
EFI_OUT_OF_RESOURCESThere is not enough memory available to complete the operation.

Definition at line 34 of file InstallConfigurationTable.c.

Variable Documentation

◆ mSmmSystemTableAllocateSize

UINTN mSmmSystemTableAllocateSize = 0

Definition at line 13 of file InstallConfigurationTable.c.