/** @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
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
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 = PrivateData->CapsuleData[CapsuleInstance - 1].BlockIo;\r
\r
Status = BlockIoPpi->ReadBlocks (\r
- PrivateData->PeiServices,\r
+ PeiServices,\r
BlockIoPpi,\r
PrivateData->CapsuleData[CapsuleInstance - 1].IndexBlock,\r
PrivateData->CapsuleData[CapsuleInstance - 1].CapsuleStartLBA,\r