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 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
9 |
|
---|
10 | @par Revision Reference:
|
---|
11 | This protocol is from PI Version 1.1.
|
---|
12 |
|
---|
13 | **/
|
---|
14 |
|
---|
15 | #ifndef _SMM_POWER_BUTTON_DISPATCH2_H_
|
---|
16 | #define _SMM_POWER_BUTTON_DISPATCH2_H_
|
---|
17 |
|
---|
18 | #include <Protocol/MmPowerButtonDispatch.h>
|
---|
19 |
|
---|
20 | #define EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL_GUID EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL_GUID
|
---|
21 |
|
---|
22 | ///
|
---|
23 | /// The dispatch function's context.
|
---|
24 | ///
|
---|
25 | typedef EFI_MM_POWER_BUTTON_REGISTER_CONTEXT EFI_SMM_POWER_BUTTON_REGISTER_CONTEXT;
|
---|
26 |
|
---|
27 | typedef EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL;
|
---|
28 |
|
---|
29 | typedef EFI_MM_POWER_BUTTON_REGISTER EFI_SMM_POWER_BUTTON_REGISTER2;
|
---|
30 |
|
---|
31 | typedef EFI_MM_POWER_BUTTON_UNREGISTER EFI_SMM_POWER_BUTTON_UNREGISTER2;
|
---|
32 |
|
---|
33 | extern EFI_GUID gEfiSmmPowerButtonDispatch2ProtocolGuid;
|
---|
34 |
|
---|
35 | #endif
|
---|