MdeModulePkg/ResetSystemRuntimeDxe: Add platform filter and handler
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / PlatformSpecificResetHandler.h
1 /** @file
2 This protocol provides services to register a platform specific handler for
3 ResetSystem(). The registered handlers are called after the UEFI 2.7 Reset
4 Notifications are processed
5
6 Copyright (c) 2017 Intel Corporation. All rights reserved.<BR>
7 This program and the accompanying materials are licensed and made available under
8 the terms and conditions of the BSD License that accompanies this distribution.
9 The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php.
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15 **/
16
17 #ifndef _PLATFORM_SPECIFIC_RESET_HANDLER_PROTOCOL_H_
18 #define _PLATFORM_SPECIFIC_RESET_HANDLER_PROTOCOL_H_
19
20 #include <Protocol/ResetNotification.h>
21
22 #define EDKII_PLATFORM_SPECIFIC_RESET_HANDLER_PROTOCOL_GUID \
23 { 0x2df6ba0b, 0x7092, 0x440d, { 0xbd, 0x4, 0xfb, 0x9, 0x1e, 0xc3, 0xf3, 0xc1 } }
24
25 typedef EFI_RESET_NOTIFICATION_PROTOCOL EDKII_PLATFORM_SPECIFIC_RESET_HANDLER_PROTOCOL;
26
27 extern EFI_GUID gEdkiiPlatformSpecificResetHandlerProtocolGuid;
28
29 #endif