]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Protocol/SmmPowerButtonDispatch2.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmPowerButtonDispatch2.h
... / ...
CommitLineData
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
7 Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
8 SPDX-License-Identifier: BSD-2-Clause-Patent\r
9\r
10 @par Revision Reference:\r
11 This protocol is from PI Version 1.1.\r
12\r
13**/\r
14\r
15#ifndef _SMM_POWER_BUTTON_DISPATCH2_H_\r
16#define _SMM_POWER_BUTTON_DISPATCH2_H_\r
17\r
18#include <Protocol/MmPowerButtonDispatch.h>\r
19\r
20#define EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL_GUID EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL_GUID\r
21\r
22///\r
23/// The dispatch function's context.\r
24///\r
25typedef EFI_MM_POWER_BUTTON_REGISTER_CONTEXT EFI_SMM_POWER_BUTTON_REGISTER_CONTEXT;\r
26\r
27typedef EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL;\r
28\r
29typedef EFI_MM_POWER_BUTTON_REGISTER EFI_SMM_POWER_BUTTON_REGISTER2;\r
30\r
31typedef EFI_MM_POWER_BUTTON_UNREGISTER EFI_SMM_POWER_BUTTON_UNREGISTER2;\r
32\r
33extern EFI_GUID gEfiSmmPowerButtonDispatch2ProtocolGuid;\r
34\r
35#endif\r