summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
979fc9e)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15050
6f19259b-4bc3-4df7-8a09-
765794883524
/** @file\r
Source file for CD recovery PEIM\r
\r
/** @file\r
Source file for CD recovery PEIM\r
\r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
while (TRUE) {\r
SetMem (Buffer, BufferSize, 0);\r
Status = BlockIoPpi->ReadBlocks (\r
while (TRUE) {\r
SetMem (Buffer, BufferSize, 0);\r
Status = BlockIoPpi->ReadBlocks (\r
- PrivateData->PeiServices,\r
+ (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),\r
BlockIoPpi,\r
IndexBlockDevice,\r
Lba,\r
BlockIoPpi,\r
IndexBlockDevice,\r
Lba,\r
SetMem (Buffer, BufferSize, 0);\r
\r
Status = BlockIoPpi->ReadBlocks (\r
SetMem (Buffer, BufferSize, 0);\r
\r
Status = BlockIoPpi->ReadBlocks (\r
- PrivateData->PeiServices,\r
+ (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),\r
BlockIoPpi,\r
IndexBlockDevice,\r
Lba,\r
BlockIoPpi,\r
IndexBlockDevice,\r
Lba,\r
BlockIoPpi = PrivateData->CapsuleData[CapsuleInstance - 1].BlockIo;\r
\r
Status = BlockIoPpi->ReadBlocks (\r
BlockIoPpi = PrivateData->CapsuleData[CapsuleInstance - 1].BlockIo;\r
\r
Status = BlockIoPpi->ReadBlocks (\r
- PrivateData->PeiServices,\r
BlockIoPpi,\r
PrivateData->CapsuleData[CapsuleInstance - 1].IndexBlock,\r
PrivateData->CapsuleData[CapsuleInstance - 1].CapsuleStartLBA,\r
BlockIoPpi,\r
PrivateData->CapsuleData[CapsuleInstance - 1].IndexBlock,\r
PrivateData->CapsuleData[CapsuleInstance - 1].CapsuleStartLBA,\r
/** @file\r
Header file for CD recovery PEIM\r
\r
/** @file\r
Header file for CD recovery PEIM\r
\r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
typedef struct {\r
\r
UINTN Signature;\r
typedef struct {\r
\r
UINTN Signature;\r
- EFI_PEI_SERVICES **PeiServices;\r
EFI_PEI_DEVICE_RECOVERY_MODULE_PPI DeviceRecoveryPpi;\r
EFI_PEI_PPI_DESCRIPTOR PpiDescriptor;\r
EFI_PEI_NOTIFY_DESCRIPTOR NotifyDescriptor;\r
EFI_PEI_DEVICE_RECOVERY_MODULE_PPI DeviceRecoveryPpi;\r
EFI_PEI_PPI_DESCRIPTOR PpiDescriptor;\r
EFI_PEI_NOTIFY_DESCRIPTOR NotifyDescriptor;\r