TianoCore EDK2 master
Loading...
Searching...
No Matches
PiSmmCis.h File Reference
#include <Pi/PiMmCis.h>
#include <Protocol/SmmCpuIo2.h>

Go to the source code of this file.

Data Structures

struct  _EFI_SMM_ENTRY_CONTEXT
 
struct  _EFI_SMM_SYSTEM_TABLE2
 

Macros

#define SMM_SMST_SIGNATURE   MM_MMST_SIGNATURE
 
#define SMM_SPECIFICATION_MAJOR_REVISION   MM_SPECIFICATION_MAJOR_REVISION
 
#define SMM_SPECIFICATION_MINOR_REVISION   MM_SPECIFICATION_MINOR_REVISION
 
#define EFI_SMM_SYSTEM_TABLE2_REVISION   EFI_MM_SYSTEM_TABLE_REVISION
 

Typedefs

typedef struct _EFI_SMM_SYSTEM_TABLE2 EFI_SMM_SYSTEM_TABLE2
 
typedef EFI_STATUS(EFIAPI * EFI_SMM_INSTALL_CONFIGURATION_TABLE2) (IN CONST EFI_SMM_SYSTEM_TABLE2 *SystemTable, IN CONST EFI_GUID *Guid, IN VOID *Table, IN UINTN TableSize)
 
typedef EFI_MM_STARTUP_THIS_AP EFI_SMM_STARTUP_THIS_AP
 
typedef EFI_MM_NOTIFY_FN EFI_SMM_NOTIFY_FN
 
typedef EFI_MM_REGISTER_PROTOCOL_NOTIFY EFI_SMM_REGISTER_PROTOCOL_NOTIFY
 
typedef EFI_MM_INTERRUPT_MANAGE EFI_SMM_INTERRUPT_MANAGE
 
typedef EFI_MM_HANDLER_ENTRY_POINT EFI_SMM_HANDLER_ENTRY_POINT2
 
typedef EFI_MM_INTERRUPT_REGISTER EFI_SMM_INTERRUPT_REGISTER
 
typedef EFI_MM_INTERRUPT_UNREGISTER EFI_SMM_INTERRUPT_UNREGISTER
 
typedef struct _EFI_SMM_ENTRY_CONTEXT EFI_SMM_ENTRY_CONTEXT
 
typedef VOID(EFIAPI * EFI_SMM_ENTRY_POINT) (IN CONST EFI_SMM_ENTRY_CONTEXT *SmmEntryContext)
 

Detailed Description

Common definitions in the Platform Initialization Specification version 1.4a VOLUME 4 System Management Mode Core Interface version.

Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PiSmmCis.h.

Macro Definition Documentation

◆ EFI_SMM_SYSTEM_TABLE2_REVISION

#define EFI_SMM_SYSTEM_TABLE2_REVISION   EFI_MM_SYSTEM_TABLE_REVISION

Definition at line 23 of file PiSmmCis.h.

◆ SMM_SMST_SIGNATURE

#define SMM_SMST_SIGNATURE   MM_MMST_SIGNATURE

Definition at line 20 of file PiSmmCis.h.

◆ SMM_SPECIFICATION_MAJOR_REVISION

#define SMM_SPECIFICATION_MAJOR_REVISION   MM_SPECIFICATION_MAJOR_REVISION

Definition at line 21 of file PiSmmCis.h.

◆ SMM_SPECIFICATION_MINOR_REVISION

#define SMM_SPECIFICATION_MINOR_REVISION   MM_SPECIFICATION_MINOR_REVISION

Definition at line 22 of file PiSmmCis.h.

Typedef Documentation

◆ EFI_SMM_ENTRY_CONTEXT

Processor information and functionality needed by SMM Foundation.

◆ EFI_SMM_ENTRY_POINT

typedef VOID(EFIAPI * EFI_SMM_ENTRY_POINT) (IN CONST EFI_SMM_ENTRY_CONTEXT *SmmEntryContext)

This function is the main entry point to the SMM Foundation.

Parameters
[in]SmmEntryContextProcessor information and functionality needed by SMM Foundation.

Definition at line 95 of file PiSmmCis.h.

◆ EFI_SMM_HANDLER_ENTRY_POINT2

typedef EFI_MM_HANDLER_ENTRY_POINT EFI_SMM_HANDLER_ENTRY_POINT2

Definition at line 56 of file PiSmmCis.h.

◆ EFI_SMM_INSTALL_CONFIGURATION_TABLE2

typedef EFI_STATUS(EFIAPI * EFI_SMM_INSTALL_CONFIGURATION_TABLE2) (IN CONST EFI_SMM_SYSTEM_TABLE2 *SystemTable, IN CONST EFI_GUID *Guid, IN VOID *Table, IN UINTN TableSize)

Adds, updates, or removes a configuration table entry from the System Management System Table.

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
[in]SystemTableA pointer to the SMM System Table (SMST).
[in]GuidA pointer to the GUID for the entry to add, update, or remove.
[in]TableA pointer to the buffer of the table to add.
[in]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 44 of file PiSmmCis.h.

◆ EFI_SMM_INTERRUPT_MANAGE

typedef EFI_MM_INTERRUPT_MANAGE EFI_SMM_INTERRUPT_MANAGE

Definition at line 55 of file PiSmmCis.h.

◆ EFI_SMM_INTERRUPT_REGISTER

typedef EFI_MM_INTERRUPT_REGISTER EFI_SMM_INTERRUPT_REGISTER

Definition at line 57 of file PiSmmCis.h.

◆ EFI_SMM_INTERRUPT_UNREGISTER

typedef EFI_MM_INTERRUPT_UNREGISTER EFI_SMM_INTERRUPT_UNREGISTER

Definition at line 58 of file PiSmmCis.h.

◆ EFI_SMM_NOTIFY_FN

typedef EFI_MM_NOTIFY_FN EFI_SMM_NOTIFY_FN

Definition at line 53 of file PiSmmCis.h.

◆ EFI_SMM_REGISTER_PROTOCOL_NOTIFY

typedef EFI_MM_REGISTER_PROTOCOL_NOTIFY EFI_SMM_REGISTER_PROTOCOL_NOTIFY

Definition at line 54 of file PiSmmCis.h.

◆ EFI_SMM_STARTUP_THIS_AP

typedef EFI_MM_STARTUP_THIS_AP EFI_SMM_STARTUP_THIS_AP

Definition at line 52 of file PiSmmCis.h.

◆ EFI_SMM_SYSTEM_TABLE2

Definition at line 16 of file PiSmmCis.h.