]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SmmPowerButtonDispatch2.h
MdePkg: Reference new definitions for Management Mode.
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmPowerButtonDispatch2.h
1 /** @file
2 SMM Power Button 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 power button SMI source generator.
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_POWER_BUTTON_DISPATCH2_H_
22 #define _SMM_POWER_BUTTON_DISPATCH2_H_
23
24 #include <Protocol/MmPowerButtonDispatch.h>
25
26 #define EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL_GUID EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL_GUID
27
28 ///
29 /// The dispatch function's context.
30 ///
31 typedef EFI_MM_POWER_BUTTON_REGISTER_CONTEXT EFI_SMM_POWER_BUTTON_REGISTER_CONTEXT;
32
33 typedef EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL;
34
35 typedef EFI_MM_POWER_BUTTON_REGISTER EFI_SMM_POWER_BUTTON_REGISTER2;
36
37 typedef EFI_MM_POWER_BUTTON_UNREGISTER EFI_SMM_POWER_BUTTON_UNREGISTER2;
38
39 extern EFI_GUID gEfiSmmPowerButtonDispatch2ProtocolGuid;
40
41 #endif
42