]>
Commit | Line | Data |
---|---|---|
55b19d7f | 1 | /** @file\r |
2 | SMM Power Button 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 power button SMI source generator.\r | |
6 | \r | |
2f208e59 | 7 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r |
9df063a0 | 8 | This program and the accompanying materials\r |
55b19d7f | 9 | are licensed and made available under the terms and conditions of the BSD License\r |
10 | which accompanies this distribution. The full text of the license may be found at\r | |
11 | http://opensource.org/licenses/bsd-license.php\r | |
12 | \r | |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
15 | \r | |
16 | @par Revision Reference:\r | |
17 | This protocol is from PI Version 1.1.\r | |
18 | \r | |
19 | **/\r | |
20 | \r | |
21 | #ifndef _SMM_POWER_BUTTON_DISPATCH2_H_\r | |
22 | #define _SMM_POWER_BUTTON_DISPATCH2_H_\r | |
23 | \r | |
2f208e59 | 24 | #include <Protocol/MmPowerButtonDispatch.h>\r |
55b19d7f | 25 | \r |
2f208e59 | 26 | #define EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL_GUID EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL_GUID\r |
55b19d7f | 27 | \r |
28 | ///\r | |
29 | /// The dispatch function's context.\r | |
30 | ///\r | |
2f208e59 | 31 | typedef EFI_MM_POWER_BUTTON_REGISTER_CONTEXT EFI_SMM_POWER_BUTTON_REGISTER_CONTEXT;\r |
55b19d7f | 32 | \r |
2f208e59 | 33 | typedef EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL;\r |
55b19d7f | 34 | \r |
2f208e59 | 35 | typedef EFI_MM_POWER_BUTTON_REGISTER EFI_SMM_POWER_BUTTON_REGISTER2;\r |
55b19d7f | 36 | \r |
2f208e59 | 37 | typedef EFI_MM_POWER_BUTTON_UNREGISTER EFI_SMM_POWER_BUTTON_UNREGISTER2;\r |
55b19d7f | 38 | \r |
39 | extern EFI_GUID gEfiSmmPowerButtonDispatch2ProtocolGuid;\r | |
40 | \r | |
41 | #endif\r | |
42 | \r |