Base on PI spec, GetPeiServicesTablePointer is updated to return CONST EFI_PEI_SERVICES**. This is a incompatible changes. All file that reference this must be updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6129 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-10-17 08:44:25 +00:00
parent 0c39efcc51
commit 1b641bb8ee
4 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
/**@file
Recovery Library. This library class defines a set of methods related do recovery.
Copyright (c) 2006 - 2007 Intel Corporation
Copyright (c) 2006 - 2008 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
@ -41,6 +41,6 @@ PeiRecoverFirmware (
);
ASSERT_EFI_ERROR (Status);
return PeiRecovery->LoadRecoveryCapsule (GetPeiServicesTablePointer(), PeiRecovery);
return PeiRecovery->LoadRecoveryCapsule ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer(), PeiRecovery);
}

View File

@ -1,7 +1,7 @@
/** @file
Report Status Code Library for PEI Phase.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2008, Intel Corporation<BR>
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
@ -68,7 +68,7 @@ InternalReportStatusCode (
CONST EFI_PEI_SERVICES **PeiServices;
EFI_STATUS Status;
PeiServices = (CONST EFI_PEI_SERVICES **) GetPeiServicesTablePointer ();
PeiServices = GetPeiServicesTablePointer ();
Status = (*PeiServices)->ReportStatusCode (
PeiServices,
Type,

View File

@ -1,7 +1,7 @@
/**@file
S3 Library. This library class defines a set of methods related do S3 mode
Copyright (c) 2006 - 2007 Intel Corporation
Copyright (c) 2006 - 2008 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
@ -41,6 +41,6 @@ AcpiS3ResumeOs (
);
ASSERT_EFI_ERROR (Status);
return S3Resume->S3RestoreConfig (GetPeiServicesTablePointer());
return S3Resume->S3RestoreConfig ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer());
}

View File

@ -355,7 +355,7 @@ STATIC
EFI_STATUS
EFIAPI
FindVariable (
IN EFI_PEI_SERVICES **PeiServices,
IN EFI_PEI_SERVICES **PeiServices,
IN CONST CHAR16 *VariableName,
IN CONST EFI_GUID *VendorGuid,
OUT VARIABLE_POINTER_TRACK *PtrTrack
@ -581,7 +581,7 @@ PeiGetVariable2 (
{
return PeiGetVariable (
GetPeiServicesTablePointer (),
(EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
(CHAR16*)VariableName,
(EFI_GUID*)VariableGuid,
Attributes,
@ -703,7 +703,7 @@ PeiGetNextVariableName2 (
{
return PeiGetNextVariableName (
GetPeiServicesTablePointer (),
(EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
VariableNameSize,
VariableName,
VariableGuid