MdeModulePkg/ResetSystemRuntimeDxe: Add platform filter and handler
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / PlatformSpecificResetFilter.h
1 /** @file
2 This Protocol provides services to register a platform specific reset filter
3 for ResetSystem(). A reset filter evaluates the parameters passed to
4 ResetSystem() and converts a ResetType of EfiResetPlatformSpecific to a
5 non-platform specific reset type. The registered filters are processed before
6 the UEFI 2.7 Reset Notifications.
7
8 Copyright (c) 2017 Intel Corporation. All rights reserved.<BR>
9 This program and the accompanying materials are licensed and made available under
10 the terms and conditions of the BSD License that accompanies this distribution.
11 The full text of the license may be found at
12 http://opensource.org/licenses/bsd-license.php.
13
14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16
17 **/
18
19 #ifndef _PLATFORM_SPECIFIC_RESET_FILTER_PROTOCOL_H_
20 #define _PLATFORM_SPECIFIC_RESET_FILTER_PROTOCOL_H_
21
22 #include <Protocol/ResetNotification.h>
23
24 #define EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PROTOCOL_GUID \
25 { 0x695d7835, 0x8d47, 0x4c11, { 0xab, 0x22, 0xfa, 0x8a, 0xcc, 0xe7, 0xae, 0x7a } }
26
27 typedef EFI_RESET_NOTIFICATION_PROTOCOL EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PROTOCOL;
28
29 extern EFI_GUID gEdkiiPlatformSpecificResetFilterProtocolGuid;
30
31 #endif