]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Include/Library/RecoveryOemHookLib.h
QuarkPlatformPkg: Add ForceRecovery UEFI application
[mirror_edk2.git] / QuarkPlatformPkg / Include / Library / RecoveryOemHookLib.h
1 /** @file
2 This library includes the recovery function that can be customized by OEM,
3 including how to select the recovery capsule if more than one capsule found,
4 and security check.
5
6 Copyright (c) 2013-2015 Intel Corporation.
7
8 This program and the accompanying materials
9 are licensed and made available under the terms and conditions of the BSD License
10 which accompanies this distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 **/
17
18 #ifndef __RECOVERY_OEM_HOOK_LIB_H__
19 #define __RECOVERY_OEM_HOOK_LIB_H__
20
21 /**
22 This function allows the user to force a system recovery
23
24 **/
25 VOID
26 EFIAPI
27 OemInitiateRecovery (
28 VOID
29 );
30
31 /**
32 This function allows the user to force a system recovery and deadloop.
33
34 Deadloop required since system should not execute beyond this point.
35 Deadloop should never happen since OemInitiateRecovery () called within
36 this routine should never return since it executes a Warm Reset.
37
38 **/
39 VOID
40 EFIAPI
41 OemInitiateRecoveryAndWait (
42 VOID
43 );
44
45 #endif