]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SmmGpiDispatch2.h
MdePkg/Include/Protocol/Tls.h: pack structures from the TLS RFC
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmGpiDispatch2.h
1 /** @file
2 SMM General Purpose Input (GPI) Dispatch2 Protocol as defined in PI 1.1 Specification
3 Volume 4 System Management Mode Core Interface.
4
5 This protocol provides the parent dispatch service for the General Purpose Input
6 (GPI) SMI source generator.
7
8 The EFI_SMM_GPI_DISPATCH2_PROTOCOL provides the ability to install child handlers for the
9 given event types. Several inputs can be enabled. This purpose of this interface is to generate an
10 SMI in response to any of these inputs having a true value provided.
11
12 Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
13 This program and the accompanying materials
14 are licensed and made available under the terms and conditions of the BSD License
15 which accompanies this distribution. The full text of the license may be found at
16 http://opensource.org/licenses/bsd-license.php
17
18 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
19 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20
21 @par Revision Reference:
22 This protocol is from PI Version 1.1.
23
24 **/
25
26 #ifndef _SMM_GPI_DISPATCH2_H_
27 #define _SMM_GPI_DISPATCH2_H_
28
29 #include <Protocol/MmGpiDispatch.h>
30 #include <Pi/PiSmmCis.h>
31
32 #define EFI_SMM_GPI_DISPATCH2_PROTOCOL_GUID EFI_MM_GPI_DISPATCH_PROTOCOL_GUID
33 ///
34 /// The dispatch function's context.
35 ///
36 typedef EFI_MM_GPI_REGISTER_CONTEXT EFI_SMM_GPI_REGISTER_CONTEXT;
37
38 typedef EFI_MM_GPI_REGISTER EFI_SMM_GPI_REGISTER2;
39
40 typedef EFI_MM_GPI_UNREGISTER EFI_SMM_GPI_UNREGISTER2;
41
42 typedef EFI_MM_GPI_DISPATCH_PROTOCOL EFI_SMM_GPI_DISPATCH2_PROTOCOL;
43
44
45
46 extern EFI_GUID gEfiSmmGpiDispatch2ProtocolGuid;
47
48 #endif
49