summaryrefslogtreecommitdiff
path: root/EDK/Foundation/Framework/Ppi/RecoveryModule
diff options
context:
space:
mode:
Diffstat (limited to 'EDK/Foundation/Framework/Ppi/RecoveryModule')
-rw-r--r--EDK/Foundation/Framework/Ppi/RecoveryModule/RecoveryModule.c29
-rw-r--r--EDK/Foundation/Framework/Ppi/RecoveryModule/RecoveryModule.h45
2 files changed, 74 insertions, 0 deletions
diff --git a/EDK/Foundation/Framework/Ppi/RecoveryModule/RecoveryModule.c b/EDK/Foundation/Framework/Ppi/RecoveryModule/RecoveryModule.c
new file mode 100644
index 0000000..ad53fe3
--- /dev/null
+++ b/EDK/Foundation/Framework/Ppi/RecoveryModule/RecoveryModule.c
@@ -0,0 +1,29 @@
+/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ RecoveryModule.c
+
+Abstract:
+
+ Recovery Module PPI GUID as defined in PEI EAS
+
+--*/
+
+#include "Tiano.h"
+#include "PeiBind.h"
+#include "PeiApi.h"
+#include EFI_PPI_DEFINITION (RecoveryModule)
+
+EFI_GUID gPeiRecoveryModulePpiGuid = PEI_RECOVERY_MODULE_INTERFACE_PPI;
+
+EFI_GUID_STRING(&gPeiRecoveryModulePpiGuid, "RecoveryModule", "Recovery Module PPI");
diff --git a/EDK/Foundation/Framework/Ppi/RecoveryModule/RecoveryModule.h b/EDK/Foundation/Framework/Ppi/RecoveryModule/RecoveryModule.h
new file mode 100644
index 0000000..c36e914
--- /dev/null
+++ b/EDK/Foundation/Framework/Ppi/RecoveryModule/RecoveryModule.h
@@ -0,0 +1,45 @@
+/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ RecoveryModule.h
+
+Abstract:
+
+ Recovery Module PPI as defined in Tiano
+
+--*/
+
+#ifndef _PEI_RECOVERY_MODULE_PPI_H
+#define _PEI_RECOVERY_MODULE_PPI_H
+
+#define PEI_RECOVERY_MODULE_INTERFACE_PPI \
+ { \
+ 0xFB6D9542, 0x612D, 0x4f45, 0x87, 0x2F, 0x5C, 0xFF, 0x52, 0xE9, 0x3D, 0xCF \
+ }
+
+EFI_FORWARD_DECLARATION (PEI_RECOVERY_MODULE_INTERFACE);
+
+typedef
+EFI_STATUS
+(EFIAPI *PEI_LOAD_RECOVERY_CAPSULE) (
+ IN EFI_PEI_SERVICES **PeiServices,
+ IN PEI_RECOVERY_MODULE_INTERFACE * This
+ );
+
+typedef struct _PEI_RECOVERY_MODULE_INTERFACE {
+ PEI_LOAD_RECOVERY_CAPSULE LoadRecoveryCapsule;
+} PEI_RECOVERY_MODULE_INTERFACE;
+
+extern EFI_GUID gPeiRecoveryModulePpiGuid;
+
+#endif