EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Defines | Functions | Variables

MdeModulePkg/Core/PiSmmCore/InstallConfigurationTable.c File Reference

#include "PiSmmCore.h"

Go to the source code of this file.

Defines

#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 - 2010, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file InstallConfigurationTable.c.


Define Documentation

#define CONFIG_TABLE_SIZE_INCREASED   0x10

Definition at line 17 of file InstallConfigurationTable.c.


Function Documentation

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 40 of file InstallConfigurationTable.c.


Variable Documentation

Definition at line 19 of file InstallConfigurationTable.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines