2009-09-03 11:09:55 +02:00
|
|
|
/** @file
|
|
|
|
SMM IO Trap Dispatch2 Protocol as defined in PI 1.1 Specification
|
|
|
|
Volume 4 System Management Mode Core Interface.
|
|
|
|
|
|
|
|
This protocol provides a parent dispatch service for IO trap SMI sources.
|
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:00 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-09-03 11:09:55 +02:00
|
|
|
|
|
|
|
@par Revision Reference:
|
|
|
|
This protocol is from PI Version 1.1.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef _SMM_IO_TRAP_DISPATCH2_H_
|
|
|
|
#define _SMM_IO_TRAP_DISPATCH2_H_
|
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
#include <Protocol/MmIoTrapDispatch.h>
|
2009-09-03 11:09:55 +02:00
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
#define EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL_GUID EFI_MM_IO_TRAP_DISPATCH_PROTOCOL_GUID
|
2009-09-03 11:09:55 +02:00
|
|
|
|
|
|
|
///
|
|
|
|
/// IO Trap valid types
|
|
|
|
///
|
2017-08-28 08:35:08 +02:00
|
|
|
typedef EFI_MM_IO_TRAP_DISPATCH_TYPE EFI_SMM_IO_TRAP_DISPATCH_TYPE;
|
2009-09-03 11:09:55 +02:00
|
|
|
|
|
|
|
///
|
|
|
|
/// IO Trap context structure containing information about the
|
|
|
|
/// IO trap event that should invoke the handler
|
|
|
|
///
|
2017-08-28 08:35:08 +02:00
|
|
|
typedef EFI_MM_IO_TRAP_REGISTER_CONTEXT EFI_SMM_IO_TRAP_REGISTER_CONTEXT;
|
2009-09-03 11:09:55 +02:00
|
|
|
|
|
|
|
///
|
|
|
|
/// IO Trap context structure containing information about the IO trap that occurred
|
|
|
|
///
|
2017-08-28 08:35:08 +02:00
|
|
|
typedef EFI_MM_IO_TRAP_CONTEXT EFI_SMM_IO_TRAP_CONTEXT;
|
2009-09-03 11:09:55 +02:00
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
typedef EFI_MM_IO_TRAP_DISPATCH_PROTOCOL EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL;
|
|
|
|
|
|
|
|
typedef EFI_MM_IO_TRAP_DISPATCH_REGISTER EFI_SMM_IO_TRAP_DISPATCH2_REGISTER;
|
|
|
|
|
|
|
|
typedef EFI_MM_IO_TRAP_DISPATCH_UNREGISTER EFI_SMM_IO_TRAP_DISPATCH2_UNREGISTER;
|
2009-09-03 11:09:55 +02:00
|
|
|
|
|
|
|
extern EFI_GUID gEfiSmmIoTrapDispatch2ProtocolGuid;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|