]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SmmIoTrapDispatch2.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmIoTrapDispatch2.h
1 /** @file
2 SMM IO Trap Dispatch2 Protocol as defined in PI 1.1 Specification
3 Volume 4 System Management Mode Core Interface.
4
5 This protocol provides a parent dispatch service for IO trap SMI sources.
6
7 Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 @par Revision Reference:
11 This protocol is from PI Version 1.1.
12
13 **/
14
15 #ifndef _SMM_IO_TRAP_DISPATCH2_H_
16 #define _SMM_IO_TRAP_DISPATCH2_H_
17
18 #include <Protocol/MmIoTrapDispatch.h>
19
20 #define EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL_GUID EFI_MM_IO_TRAP_DISPATCH_PROTOCOL_GUID
21
22 ///
23 /// IO Trap valid types
24 ///
25 typedef EFI_MM_IO_TRAP_DISPATCH_TYPE EFI_SMM_IO_TRAP_DISPATCH_TYPE;
26
27 ///
28 /// IO Trap context structure containing information about the
29 /// IO trap event that should invoke the handler
30 ///
31 typedef EFI_MM_IO_TRAP_REGISTER_CONTEXT EFI_SMM_IO_TRAP_REGISTER_CONTEXT;
32
33 ///
34 /// IO Trap context structure containing information about the IO trap that occurred
35 ///
36 typedef EFI_MM_IO_TRAP_CONTEXT EFI_SMM_IO_TRAP_CONTEXT;
37
38 typedef EFI_MM_IO_TRAP_DISPATCH_PROTOCOL EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL;
39
40 typedef EFI_MM_IO_TRAP_DISPATCH_REGISTER EFI_SMM_IO_TRAP_DISPATCH2_REGISTER;
41
42 typedef EFI_MM_IO_TRAP_DISPATCH_UNREGISTER EFI_SMM_IO_TRAP_DISPATCH2_UNREGISTER;
43
44 extern EFI_GUID gEfiSmmIoTrapDispatch2ProtocolGuid;
45
46 #endif
47