]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.h
SignedCapsulePkg/RecoveryModuleLoadPei: Add RecoveryModuleLoadPei.
[mirror_edk2.git] / SignedCapsulePkg / Universal / RecoveryModuleLoadPei / RecoveryModuleLoadPei.h
diff --git a/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.h b/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.h
new file mode 100644 (file)
index 0000000..ce3a35f
--- /dev/null
@@ -0,0 +1,44 @@
+/** @file\r
+  Recovery module header file.\r
+\r
+  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef _RECOVERY_MODULE_LOAD_PEI_H_\r
+#define _RECOVERY_MODULE_LOAD_PEI_H_\r
+\r
+#include <PiPei.h>\r
+\r
+#include <Library/BaseLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/MemoryAllocationLib.h>\r
+#include <Library/PcdLib.h>\r
+#include <Library/HobLib.h>\r
+#include <Library/EdkiiSystemCapsuleLib.h>\r
+\r
+//\r
+// Update data\r
+//\r
+\r
+typedef struct {\r
+  UINTN                           NumOfRecovery;\r
+} CONFIG_HEADER;\r
+\r
+typedef struct {\r
+  UINTN                           Index;\r
+  EFI_GUID                        FileGuid;\r
+  UINTN                           Length;\r
+  UINTN                           ImageOffset;\r
+} RECOVERY_CONFIG_DATA;\r
+\r
+#endif\r
+\r