Remove duplicated definition of EFI_SMM_COMMUNICATE_HEADER in PI and Framework SMM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9656 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -37,6 +37,12 @@
|
||||
#ifndef _SMM_BASE_H_
|
||||
#define _SMM_BASE_H_
|
||||
|
||||
//
|
||||
// Share some common definitions with PI SMM
|
||||
//
|
||||
#include <Framework/SmmCis.h>
|
||||
#include <Protocol/SmmCommunication.h>
|
||||
|
||||
///
|
||||
/// Global ID for the EFI_SMM_BASE_PROTOCOL
|
||||
///
|
||||
@ -60,24 +66,6 @@ typedef struct _EFI_SMM_BASE_PROTOCOL EFI_SMM_BASE_PROTOCOL;
|
||||
#define EFI_HANDLER_SOURCE_PENDING 0x0003
|
||||
///@}
|
||||
|
||||
///
|
||||
/// The header data is mandatory for messages sent into the SMM agent.
|
||||
///
|
||||
typedef struct {
|
||||
///
|
||||
/// Allows for disambiguation of the message format.
|
||||
///
|
||||
EFI_GUID HeaderGuid;
|
||||
///
|
||||
/// Describes the size of the message, not including the header.
|
||||
///
|
||||
UINTN MessageLength;
|
||||
///
|
||||
/// Designates an array of bytes that is MessageLength in size.
|
||||
///
|
||||
UINT8 Data[1];
|
||||
} EFI_SMM_COMMUNICATE_HEADER;
|
||||
|
||||
/**
|
||||
Entry Point to Callback service
|
||||
|
||||
|
Reference in New Issue
Block a user