]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkPlatformPkg/Include/Library/RecoveryOemHookLib.h
QuarkPlatformPkg: Add new package for Galileo boards
[mirror_edk2.git] / QuarkPlatformPkg / Include / Library / RecoveryOemHookLib.h
CommitLineData
b303605e
MK
1/** @file\r
2This library includes the recovery function that can be customized by OEM,\r
3including how to select the recovery capsule if more than one capsule found,\r
4and security check.\r
5\r
6Copyright (c) 2013-2015 Intel Corporation.\r
7\r
8This program and the accompanying materials\r
9are licensed and made available under the terms and conditions of the BSD License\r
10which accompanies this distribution. The full text of the license may be found at\r
11http://opensource.org/licenses/bsd-license.php\r
12\r
13THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
14WITHOUT 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
25VOID\r
26EFIAPI\r
27OemInitiateRecovery (\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
39VOID\r
40EFIAPI\r
41OemInitiateRecoveryAndWait (\r
42 VOID\r
43 );\r
44\r
45#endif\r