]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SmmIoTrapDispatch2.h
MdePkg/Include/Protocol/Tls.h: pack structures from the TLS RFC
[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 This program and the accompanying materials
9 are licensed and made available under the terms and conditions of the BSD License
10 which accompanies this distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 @par Revision Reference:
17 This protocol is from PI Version 1.1.
18
19 **/
20
21 #ifndef _SMM_IO_TRAP_DISPATCH2_H_
22 #define _SMM_IO_TRAP_DISPATCH2_H_
23
24 #include <Protocol/MmIoTrapDispatch.h>
25
26 #define EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL_GUID EFI_MM_IO_TRAP_DISPATCH_PROTOCOL_GUID
27
28 ///
29 /// IO Trap valid types
30 ///
31 typedef EFI_MM_IO_TRAP_DISPATCH_TYPE EFI_SMM_IO_TRAP_DISPATCH_TYPE;
32
33 ///
34 /// IO Trap context structure containing information about the
35 /// IO trap event that should invoke the handler
36 ///
37 typedef EFI_MM_IO_TRAP_REGISTER_CONTEXT EFI_SMM_IO_TRAP_REGISTER_CONTEXT;
38
39 ///
40 /// IO Trap context structure containing information about the IO trap that occurred
41 ///
42 typedef EFI_MM_IO_TRAP_CONTEXT EFI_SMM_IO_TRAP_CONTEXT;
43
44 typedef EFI_MM_IO_TRAP_DISPATCH_PROTOCOL EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL;
45
46 typedef EFI_MM_IO_TRAP_DISPATCH_REGISTER EFI_SMM_IO_TRAP_DISPATCH2_REGISTER;
47
48 typedef EFI_MM_IO_TRAP_DISPATCH_UNREGISTER EFI_SMM_IO_TRAP_DISPATCH2_UNREGISTER;
49
50 extern EFI_GUID gEfiSmmIoTrapDispatch2ProtocolGuid;
51
52 #endif
53