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