2009-09-03 10:52:42 +02:00
|
|
|
/** @file
|
|
|
|
SMM Power Button Dispatch2 Protocol as defined in PI 1.1 Specification
|
|
|
|
Volume 4 System Management Mode Core Interface.
|
|
|
|
|
|
|
|
This protocol provides the parent dispatch service for the power button SMI source generator.
|
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:00 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-09-03 10:52:42 +02:00
|
|
|
|
|
|
|
@par Revision Reference:
|
|
|
|
This protocol is from PI Version 1.1.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef _SMM_POWER_BUTTON_DISPATCH2_H_
|
|
|
|
#define _SMM_POWER_BUTTON_DISPATCH2_H_
|
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
#include <Protocol/MmPowerButtonDispatch.h>
|
2009-09-03 10:52:42 +02:00
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
#define EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL_GUID EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL_GUID
|
2009-09-03 10:52:42 +02:00
|
|
|
|
|
|
|
///
|
|
|
|
/// The dispatch function's context.
|
|
|
|
///
|
2017-08-28 08:35:08 +02:00
|
|
|
typedef EFI_MM_POWER_BUTTON_REGISTER_CONTEXT EFI_SMM_POWER_BUTTON_REGISTER_CONTEXT;
|
2009-09-03 10:52:42 +02:00
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
typedef EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL;
|
2009-09-03 10:52:42 +02:00
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
typedef EFI_MM_POWER_BUTTON_REGISTER EFI_SMM_POWER_BUTTON_REGISTER2;
|
2009-09-03 10:52:42 +02:00
|
|
|
|
2017-08-28 08:35:08 +02:00
|
|
|
typedef EFI_MM_POWER_BUTTON_UNREGISTER EFI_SMM_POWER_BUTTON_UNREGISTER2;
|
2009-09-03 10:52:42 +02:00
|
|
|
|
|
|
|
extern EFI_GUID gEfiSmmPowerButtonDispatch2ProtocolGuid;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|