diff options
author | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-04 11:42:03 +0000 |
---|---|---|
committer | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-04 11:42:03 +0000 |
commit | 297ce0faf35e99caac824858cf4a238fbc7f8c83 (patch) | |
tree | 0408cbd22a318f110da34b56884b12966374320e /IntelFrameworkPkg | |
parent | 21c6d913aaecbaa4abaaf114f82fd90cf30b8fa3 (diff) | |
download | edk2-platforms-297ce0faf35e99caac824858cf4a238fbc7f8c83.tar.xz |
Renaming files/directories
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3050 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/DataHubRecords.h (renamed from IntelFrameworkPkg/Include/Common/DataHubRecords.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkDxeCis.h (renamed from IntelFrameworkPkg/Include/Common/FrameworkDxeCis.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkFirmwareFileSystem.h (renamed from IntelFrameworkPkg/Include/Common/FrameworkFirmwareFileSystem.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkFirmwareVolumeHeader.h (renamed from IntelFrameworkPkg/Include/Common/FrameworkFirmwareVolumeHeader.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkFirmwareVolumeImageFormat.h (renamed from IntelFrameworkPkg/Include/Common/FrameworkFirmwareVolumeImageFormat.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkHob.h (renamed from IntelFrameworkPkg/Include/Common/FrameworkHob.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkLegacy16.h (renamed from IntelFrameworkPkg/Include/Common/FrameworkLegacy16.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkSmmCis.h (renamed from IntelFrameworkPkg/Include/Common/FrameworkSmmCis.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkStatusCode.h (renamed from IntelFrameworkPkg/Include/Common/FrameworkStatusCode.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkStatusCodeDataTypeId.h (renamed from IntelFrameworkPkg/Include/Common/FrameworkStatusCodeDataTypeId.h) | 0 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h | 131 |
11 files changed, 131 insertions, 0 deletions
diff --git a/IntelFrameworkPkg/Include/Common/DataHubRecords.h b/IntelFrameworkPkg/Include/Framework/DataHubRecords.h index cd7fe979cb..cd7fe979cb 100644 --- a/IntelFrameworkPkg/Include/Common/DataHubRecords.h +++ b/IntelFrameworkPkg/Include/Framework/DataHubRecords.h diff --git a/IntelFrameworkPkg/Include/Common/FrameworkDxeCis.h b/IntelFrameworkPkg/Include/Framework/FrameworkDxeCis.h index 0b7ffdf0a8..0b7ffdf0a8 100644 --- a/IntelFrameworkPkg/Include/Common/FrameworkDxeCis.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkDxeCis.h diff --git a/IntelFrameworkPkg/Include/Common/FrameworkFirmwareFileSystem.h b/IntelFrameworkPkg/Include/Framework/FrameworkFirmwareFileSystem.h index c0acbc98f0..c0acbc98f0 100644 --- a/IntelFrameworkPkg/Include/Common/FrameworkFirmwareFileSystem.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkFirmwareFileSystem.h diff --git a/IntelFrameworkPkg/Include/Common/FrameworkFirmwareVolumeHeader.h b/IntelFrameworkPkg/Include/Framework/FrameworkFirmwareVolumeHeader.h index 1f584fe0e2..1f584fe0e2 100644 --- a/IntelFrameworkPkg/Include/Common/FrameworkFirmwareVolumeHeader.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkFirmwareVolumeHeader.h diff --git a/IntelFrameworkPkg/Include/Common/FrameworkFirmwareVolumeImageFormat.h b/IntelFrameworkPkg/Include/Framework/FrameworkFirmwareVolumeImageFormat.h index 9b4e3b6054..9b4e3b6054 100644 --- a/IntelFrameworkPkg/Include/Common/FrameworkFirmwareVolumeImageFormat.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkFirmwareVolumeImageFormat.h diff --git a/IntelFrameworkPkg/Include/Common/FrameworkHob.h b/IntelFrameworkPkg/Include/Framework/FrameworkHob.h index cdc419d0ea..cdc419d0ea 100644 --- a/IntelFrameworkPkg/Include/Common/FrameworkHob.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkHob.h diff --git a/IntelFrameworkPkg/Include/Common/FrameworkLegacy16.h b/IntelFrameworkPkg/Include/Framework/FrameworkLegacy16.h index 7f80c8ac72..7f80c8ac72 100644 --- a/IntelFrameworkPkg/Include/Common/FrameworkLegacy16.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkLegacy16.h diff --git a/IntelFrameworkPkg/Include/Common/FrameworkSmmCis.h b/IntelFrameworkPkg/Include/Framework/FrameworkSmmCis.h index 6fe8e662d9..6fe8e662d9 100644 --- a/IntelFrameworkPkg/Include/Common/FrameworkSmmCis.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkSmmCis.h diff --git a/IntelFrameworkPkg/Include/Common/FrameworkStatusCode.h b/IntelFrameworkPkg/Include/Framework/FrameworkStatusCode.h index 6e997b679f..6e997b679f 100644 --- a/IntelFrameworkPkg/Include/Common/FrameworkStatusCode.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkStatusCode.h diff --git a/IntelFrameworkPkg/Include/Common/FrameworkStatusCodeDataTypeId.h b/IntelFrameworkPkg/Include/Framework/FrameworkStatusCodeDataTypeId.h index 92c222a9de..92c222a9de 100644 --- a/IntelFrameworkPkg/Include/Common/FrameworkStatusCodeDataTypeId.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkStatusCodeDataTypeId.h diff --git a/IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h b/IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h new file mode 100644 index 0000000000..7ed3217134 --- /dev/null +++ b/IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h @@ -0,0 +1,131 @@ +/** @file
+ This file declares Device Recovery Module PPI.
+
+ Copyright (c) 2007, 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: DeviceRecoveryModule.h
+
+ @par Revision Reference:
+ This PPI is defined in Framework of EFI Recovery spec.
+ Version 0.9
+
+**/
+
+#ifndef _PEI_DEVICE_RECOVERY_MODULE_PPI_H_
+#define _PEI_DEVICE_RECOVERY_MODULE_PPI_H_
+
+#include <PiPei.h>
+
+#define EFI_PEI_DEVICE_RECOVERY_MODULE_PPI_GUID \
+ { \
+ 0x0DE2CE25, 0x446A, 0x45a7, {0xBF, 0xC9, 0x37, 0xDA, 0x26, 0x34, 0x4B, 0x37 } \
+ }
+
+typedef struct _EFI_PEI_DEVICE_RECOVERY_MODULE_PPI EFI_PEI_DEVICE_RECOVERY_MODULE_PPI;
+
+/**
+ This function, by whatever mechanism, searches for DXE capsules from the
+ associated device and returns the number and maximum size in bytes of
+ the capsules discovered. Entry 1 is assumed to be the highest load priority
+ and entry N is assumed to be the lowest priority.
+
+ @param PeiServices General-purpose services that are available to every PEIM
+ @param This Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance.
+ @param NumberRecoveryCapsules Pointer to a caller-allocated UINTN. On output,
+ *NumberRecoveryCapsules contains the number of recovery capsule
+ images available for retrieval from this PEIM instance.
+
+ @retval EFI_SUCCESS One or more capsules were discovered.
+ @retval EFI_DEVICE_ERROR A device error occurred.
+ @retval EFI_NOT_FOUND A recovery DXE capsule cannot be found.
+
+**/
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_DEVICE_GET_NUMBER_RECOVERY_CAPSULE) (
+ IN EFI_PEI_SERVICES **PeiServices,
+ IN EFI_PEI_DEVICE_RECOVERY_MODULE_PPI *This,
+ OUT UINTN *NumberRecoveryCapsules
+ );
+
+/**
+ This function gets the size and type of the requested recovery capsule.
+
+ @param PeiServices General-purpose services that are available to every PEIM
+ @param This Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance.
+ @param CapsuleInstance Specifies for which capsule instance to retrieve the information.
+ @param Size A pointer to a caller-allocated UINTN in which the size of
+ the requested recovery module is returned.
+ @param CapsuleType A pointer to a caller-allocated EFI_GUID in
+ which the type of the requested recovery capsule is returned.
+
+ @retval EFI_SUCCESS One or more capsules were discovered.
+ @retval EFI_DEVICE_ERROR A device error occurred.
+ @retval EFI_NOT_FOUND A recovery DXE capsule cannot be found.
+
+**/
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_DEVICE_GET_RECOVERY_CAPSULE_INFO) (
+ IN EFI_PEI_SERVICES **PeiServices,
+ IN EFI_PEI_DEVICE_RECOVERY_MODULE_PPI *This,
+ IN UINTN CapsuleInstance,
+ OUT UINTN *Size,
+ OUT EFI_GUID *CapsuleType
+ );
+
+/**
+ This function, by whatever mechanism, retrieves a DXE capsule from some device
+ and loads it into memory. Note that the published interface is device neutral.
+
+ @param PeiServices General-purpose services that are available to every PEIM
+ @param This Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance.
+ @param CapsuleInstance Specifies which capsule instance to retrieve.
+ @param Buffer Specifies a caller-allocated buffer in which the requested
+ recovery capsule will be returned.
+
+ @retval EFI_SUCCESS One or more capsules were discovered.
+ @retval EFI_DEVICE_ERROR A device error occurred.
+ @retval EFI_NOT_FOUND A recovery DXE capsule cannot be found.
+
+**/
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_DEVICE_LOAD_RECOVERY_CAPSULE) (
+ IN OUT EFI_PEI_SERVICES **PeiServices,
+ IN EFI_PEI_DEVICE_RECOVERY_MODULE_PPI *This,
+ IN UINTN CapsuleInstance,
+ OUT VOID *Buffer
+ );
+
+/**
+ @par Ppi Description:
+ Presents a standard interface to EFI_PEI_DEVICE_RECOVERY_MODULE_PPI,
+ regardless of the underlying device(s).
+
+ @param GetNumberRecoveryCapsules
+ Returns the number of DXE capsules that were found.
+
+ @param GetRecoveryCapsuleInfo
+ Returns the capsule image type and the size of a given image.
+
+ @param LoadRecoveryCapsule
+ Loads a DXE capsule into memory
+
+**/
+struct _EFI_PEI_DEVICE_RECOVERY_MODULE_PPI {
+ EFI_PEI_DEVICE_GET_NUMBER_RECOVERY_CAPSULE GetNumberRecoveryCapsules;
+ EFI_PEI_DEVICE_GET_RECOVERY_CAPSULE_INFO GetRecoveryCapsuleInfo;
+ EFI_PEI_DEVICE_LOAD_RECOVERY_CAPSULE LoadRecoveryCapsule;
+};
+
+extern EFI_GUID gEfiPeiDeviceRecoveryModulePpiGuid;
+
+#endif
|