]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Protocol/SmmGpiDispatch2.h
MdePkg/BaseLib: add PatchInstructionX86()
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmGpiDispatch2.h
... / ...
CommitLineData
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
5 This protocol provides the parent dispatch service for the General Purpose Input \r
6 (GPI) SMI source generator.\r
7\r
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
10 SMI in response to any of these inputs having a true value provided.\r
11\r
12 Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
13 This program and the accompanying materials\r
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
29#include <Protocol/MmGpiDispatch.h>\r
30#include <Pi/PiSmmCis.h>\r
31\r
32#define EFI_SMM_GPI_DISPATCH2_PROTOCOL_GUID EFI_MM_GPI_DISPATCH_PROTOCOL_GUID\r
33///\r
34/// The dispatch function's context.\r
35///\r
36typedef EFI_MM_GPI_REGISTER_CONTEXT EFI_SMM_GPI_REGISTER_CONTEXT;\r
37\r
38typedef EFI_MM_GPI_REGISTER EFI_SMM_GPI_REGISTER2;\r
39\r
40typedef EFI_MM_GPI_UNREGISTER EFI_SMM_GPI_UNREGISTER2;\r
41\r
42typedef EFI_MM_GPI_DISPATCH_PROTOCOL EFI_SMM_GPI_DISPATCH2_PROTOCOL;\r
43\r
44\r
45\r
46extern EFI_GUID gEfiSmmGpiDispatch2ProtocolGuid;\r
47\r
48#endif\r
49\r