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@6127 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-10-17 08:42:33 +00:00
parent 5240b97c9c
commit 284c8400e8
4 changed files with 7 additions and 5 deletions

View File

@ -215,7 +215,7 @@ LoadAndRelocatePeCoffImage (
**/
EFI_STATUS
PeiLoadImageLoadImage (
IN EFI_PEI_SERVICES **PeiServices,
IN CONST EFI_PEI_SERVICES **PeiServices,
IN EFI_PEI_FILE_HANDLE FileHandle,
OUT EFI_PHYSICAL_ADDRESS *ImageAddressArg, OPTIONAL
OUT UINT64 *ImageSizeArg, OPTIONAL

View File

@ -68,6 +68,8 @@
CacheMaintenanceLib
PeCoffLib
PeiPiLib
PeiServicesTablePointerLib
[Guids]
gPeiAprioriFileNameGuid

View File

@ -574,7 +574,7 @@ DispatchNotify (
NotifyDescriptor->Notify
));
NotifyDescriptor->Notify (
GetPeiServicesTablePointer (),
(EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
NotifyDescriptor,
(PrivateData->PpiData.PpiListPtrs[Index2].Ppi)->Ppi
);

View File

@ -403,7 +403,7 @@ STATIC
EFI_STATUS
EFIAPI
FindVariable (
IN EFI_PEI_SERVICES **PeiServices,
IN CONST EFI_PEI_SERVICES **PeiServices,
IN CONST CHAR16 *VariableName,
IN CONST EFI_GUID *VendorGuid,
OUT VARIABLE_POINTER_TRACK *PtrTrack
@ -582,7 +582,7 @@ Returns:
VARIABLE_POINTER_TRACK Variable;
UINTN VarDataSize;
EFI_STATUS Status;
EFI_PEI_SERVICES **PeiServices;
CONST EFI_PEI_SERVICES **PeiServices;
PeiServices = GetPeiServicesTablePointer ();
if (VariableName == NULL || VariableGuid == NULL || DataSize == NULL) {
@ -659,7 +659,7 @@ Returns:
VARIABLE_POINTER_TRACK Variable;
UINTN VarNameSize;
EFI_STATUS Status;
EFI_PEI_SERVICES **PeiServices;
CONST EFI_PEI_SERVICES **PeiServices;
PeiServices = GetPeiServicesTablePointer ();
if (VariableName == NULL || VariableGuid == NULL || VariableNameSize == NULL) {