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