2 SMM General Purpose Input (GPI) Dispatch2 Protocol as defined in PI 1.1 Specification
3 Volume 4 System Management Mode Core Interface.
5 This protocol provides the parent dispatch service for the General Purpose Input
6 (GPI) SMI source generator.
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.
12 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
13 SPDX-License-Identifier: BSD-2-Clause-Patent
15 @par Revision Reference:
16 This protocol is from PI Version 1.1.
20 #ifndef _SMM_GPI_DISPATCH2_H_
21 #define _SMM_GPI_DISPATCH2_H_
23 #include <Protocol/MmGpiDispatch.h>
24 #include <Pi/PiSmmCis.h>
26 #define EFI_SMM_GPI_DISPATCH2_PROTOCOL_GUID EFI_MM_GPI_DISPATCH_PROTOCOL_GUID
28 /// The dispatch function's context.
30 typedef EFI_MM_GPI_REGISTER_CONTEXT EFI_SMM_GPI_REGISTER_CONTEXT
;
32 typedef EFI_MM_GPI_REGISTER EFI_SMM_GPI_REGISTER2
;
34 typedef EFI_MM_GPI_UNREGISTER EFI_SMM_GPI_UNREGISTER2
;
36 typedef EFI_MM_GPI_DISPATCH_PROTOCOL EFI_SMM_GPI_DISPATCH2_PROTOCOL
;
40 extern EFI_GUID gEfiSmmGpiDispatch2ProtocolGuid
;