]> git.proxmox.com Git - mirror_edk2.git/blob - SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.h
SignedCapsulePkg/RecoveryModuleLoadPei: Add RecoveryModuleLoadPei.
[mirror_edk2.git] / SignedCapsulePkg / Universal / RecoveryModuleLoadPei / RecoveryModuleLoadPei.h
1 /** @file
2 Recovery module header file.
3
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef _RECOVERY_MODULE_LOAD_PEI_H_
16 #define _RECOVERY_MODULE_LOAD_PEI_H_
17
18 #include <PiPei.h>
19
20 #include <Library/BaseLib.h>
21 #include <Library/BaseMemoryLib.h>
22 #include <Library/DebugLib.h>
23 #include <Library/MemoryAllocationLib.h>
24 #include <Library/PcdLib.h>
25 #include <Library/HobLib.h>
26 #include <Library/EdkiiSystemCapsuleLib.h>
27
28 //
29 // Update data
30 //
31
32 typedef struct {
33 UINTN NumOfRecovery;
34 } CONFIG_HEADER;
35
36 typedef struct {
37 UINTN Index;
38 EFI_GUID FileGuid;
39 UINTN Length;
40 UINTN ImageOffset;
41 } RECOVERY_CONFIG_DATA;
42
43 #endif
44