mirror of https://github.com/acidanthera/audk.git
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:
parent
5240b97c9c
commit
284c8400e8
|
@ -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
|
||||
|
|
|
@ -68,6 +68,8 @@
|
|||
CacheMaintenanceLib
|
||||
PeCoffLib
|
||||
PeiPiLib
|
||||
PeiServicesTablePointerLib
|
||||
|
||||
|
||||
[Guids]
|
||||
gPeiAprioriFileNameGuid
|
||||
|
|
|
@ -574,7 +574,7 @@ DispatchNotify (
|
|||
NotifyDescriptor->Notify
|
||||
));
|
||||
NotifyDescriptor->Notify (
|
||||
GetPeiServicesTablePointer (),
|
||||
(EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
|
||||
NotifyDescriptor,
|
||||
(PrivateData->PpiData.PpiListPtrs[Index2].Ppi)->Ppi
|
||||
);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue