Commit | Line | Data |
---|---|---|
e470ee6d JY |
1 | /** @file\r |
2 | Recovery module header file.\r | |
3 | \r | |
4 | Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r | |
fbf06957 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
e470ee6d JY |
6 | \r |
7 | **/\r | |
8 | \r | |
9 | #ifndef _RECOVERY_MODULE_LOAD_PEI_H_\r | |
10 | #define _RECOVERY_MODULE_LOAD_PEI_H_\r | |
11 | \r | |
12 | #include <PiPei.h>\r | |
13 | \r | |
14 | #include <Library/BaseLib.h>\r | |
15 | #include <Library/BaseMemoryLib.h>\r | |
16 | #include <Library/DebugLib.h>\r | |
17 | #include <Library/MemoryAllocationLib.h>\r | |
18 | #include <Library/PcdLib.h>\r | |
19 | #include <Library/HobLib.h>\r | |
20 | #include <Library/EdkiiSystemCapsuleLib.h>\r | |
21 | \r | |
22 | //\r | |
23 | // Update data\r | |
24 | //\r | |
25 | \r | |
26 | typedef struct {\r | |
b8786489 | 27 | UINTN NumOfRecovery;\r |
e470ee6d JY |
28 | } CONFIG_HEADER;\r |
29 | \r | |
30 | typedef struct {\r | |
b8786489 MK |
31 | UINTN Index;\r |
32 | EFI_GUID FileGuid;\r | |
33 | UINTN Length;\r | |
34 | UINTN ImageOffset;\r | |
e470ee6d JY |
35 | } RECOVERY_CONFIG_DATA;\r |
36 | \r | |
37 | #endif\r |