TianoCore EDK2 master
Loading...
Searching...
No Matches
PiSmmCorePrivateData.h File Reference

Go to the source code of this file.

Data Structures

struct  SMM_CORE_PRIVATE_DATA
 

Macros

#define COMM_BUFFER_SMM_DISPATCH_ERROR   0x00
 
#define COMM_BUFFER_SMM_DISPATCH_SUCCESS   0x01
 
#define COMM_BUFFER_SMM_DISPATCH_RESTART   0x02
 
#define SMM_CORE_PRIVATE_DATA_SIGNATURE   SIGNATURE_32 ('s', 'm', 'm', 'c')
 

Detailed Description

The internal header file that declared a data structure that is shared between the SMM IPL and the SMM Core.

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

Definition in file PiSmmCorePrivateData.h.

Macro Definition Documentation

◆ COMM_BUFFER_SMM_DISPATCH_ERROR

#define COMM_BUFFER_SMM_DISPATCH_ERROR   0x00

Define values for the communications buffer used when gEfiEventDxeDispatchGuid is event signaled. This event is signaled by the DXE Core each time the DXE Core dispatcher has completed its work. When this event is signaled, the SMM Core if notified, so the SMM Core can dispatch SMM drivers. If COMM_BUFFER_SMM_DISPATCH_ERROR is returned in the communication buffer, then an error occurred dispatching SMM Drivers. If COMM_BUFFER_SMM_DISPATCH_SUCCESS is returned, then the SMM Core dispatched all the drivers it could. If COMM_BUFFER_SMM_DISPATCH_RESTART is returned, then the SMM Core just dispatched the SMM Driver that registered the SMM Entry Point enabling the use of SMM Mode. In this case, the SMM Core should be notified again to dispatch more SMM Drivers using SMM Mode.

Definition at line 25 of file PiSmmCorePrivateData.h.

◆ COMM_BUFFER_SMM_DISPATCH_RESTART

#define COMM_BUFFER_SMM_DISPATCH_RESTART   0x02

Definition at line 27 of file PiSmmCorePrivateData.h.

◆ COMM_BUFFER_SMM_DISPATCH_SUCCESS

#define COMM_BUFFER_SMM_DISPATCH_SUCCESS   0x01

Definition at line 26 of file PiSmmCorePrivateData.h.

◆ SMM_CORE_PRIVATE_DATA_SIGNATURE

#define SMM_CORE_PRIVATE_DATA_SIGNATURE   SIGNATURE_32 ('s', 'm', 'm', 'c')

Signature for the private structure shared between the SMM IPL and the SMM Core

Definition at line 32 of file PiSmmCorePrivateData.h.