]>
Commit | Line | Data |
---|---|---|
1dbfa45f | 1 | /** @file\r |
2 | SMM IO Trap Dispatch2 Protocol as defined in PI 1.1 Specification\r | |
3 | Volume 4 System Management Mode Core Interface.\r | |
4 | \r | |
5 | This protocol provides a parent dispatch service for IO trap SMI sources.\r | |
6 | \r | |
2f208e59 | 7 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r |
9df063a0 | 8 | This program and the accompanying materials\r |
1dbfa45f | 9 | are licensed and made available under the terms and conditions of the BSD License\r |
10 | which accompanies this distribution. The full text of the license may be found at\r | |
11 | http://opensource.org/licenses/bsd-license.php\r | |
12 | \r | |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
15 | \r | |
16 | @par Revision Reference:\r | |
17 | This protocol is from PI Version 1.1.\r | |
18 | \r | |
19 | **/\r | |
20 | \r | |
21 | #ifndef _SMM_IO_TRAP_DISPATCH2_H_\r | |
22 | #define _SMM_IO_TRAP_DISPATCH2_H_\r | |
23 | \r | |
2f208e59 | 24 | #include <Protocol/MmIoTrapDispatch.h>\r |
1dbfa45f | 25 | \r |
2f208e59 | 26 | #define EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL_GUID EFI_MM_IO_TRAP_DISPATCH_PROTOCOL_GUID\r |
1dbfa45f | 27 | \r |
28 | ///\r | |
29 | /// IO Trap valid types\r | |
30 | ///\r | |
2f208e59 | 31 | typedef EFI_MM_IO_TRAP_DISPATCH_TYPE EFI_SMM_IO_TRAP_DISPATCH_TYPE;\r |
1dbfa45f | 32 | \r |
33 | ///\r | |
34 | /// IO Trap context structure containing information about the\r | |
35 | /// IO trap event that should invoke the handler\r | |
36 | ///\r | |
2f208e59 | 37 | typedef EFI_MM_IO_TRAP_REGISTER_CONTEXT EFI_SMM_IO_TRAP_REGISTER_CONTEXT;\r |
1dbfa45f | 38 | \r |
39 | ///\r | |
40 | /// IO Trap context structure containing information about the IO trap that occurred\r | |
41 | ///\r | |
2f208e59 | 42 | typedef EFI_MM_IO_TRAP_CONTEXT EFI_SMM_IO_TRAP_CONTEXT;\r |
1dbfa45f | 43 | \r |
2f208e59 ED |
44 | typedef EFI_MM_IO_TRAP_DISPATCH_PROTOCOL EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL;\r |
45 | \r | |
46 | typedef EFI_MM_IO_TRAP_DISPATCH_REGISTER EFI_SMM_IO_TRAP_DISPATCH2_REGISTER;\r | |
47 | \r | |
48 | typedef EFI_MM_IO_TRAP_DISPATCH_UNREGISTER EFI_SMM_IO_TRAP_DISPATCH2_UNREGISTER;\r | |
1dbfa45f | 49 | \r |
50 | extern EFI_GUID gEfiSmmIoTrapDispatch2ProtocolGuid;\r | |
51 | \r | |
52 | #endif\r | |
53 | \r |