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