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
|
EFI_STATUS
|
||||||
PeiLoadImageLoadImage (
|
PeiLoadImageLoadImage (
|
||||||
IN EFI_PEI_SERVICES **PeiServices,
|
IN CONST EFI_PEI_SERVICES **PeiServices,
|
||||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||||
OUT EFI_PHYSICAL_ADDRESS *ImageAddressArg, OPTIONAL
|
OUT EFI_PHYSICAL_ADDRESS *ImageAddressArg, OPTIONAL
|
||||||
OUT UINT64 *ImageSizeArg, OPTIONAL
|
OUT UINT64 *ImageSizeArg, OPTIONAL
|
||||||
|
|
|
@ -68,6 +68,8 @@
|
||||||
CacheMaintenanceLib
|
CacheMaintenanceLib
|
||||||
PeCoffLib
|
PeCoffLib
|
||||||
PeiPiLib
|
PeiPiLib
|
||||||
|
PeiServicesTablePointerLib
|
||||||
|
|
||||||
|
|
||||||
[Guids]
|
[Guids]
|
||||||
gPeiAprioriFileNameGuid
|
gPeiAprioriFileNameGuid
|
||||||
|
|
|
@ -574,7 +574,7 @@ DispatchNotify (
|
||||||
NotifyDescriptor->Notify
|
NotifyDescriptor->Notify
|
||||||
));
|
));
|
||||||
NotifyDescriptor->Notify (
|
NotifyDescriptor->Notify (
|
||||||
GetPeiServicesTablePointer (),
|
(EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
|
||||||
NotifyDescriptor,
|
NotifyDescriptor,
|
||||||
(PrivateData->PpiData.PpiListPtrs[Index2].Ppi)->Ppi
|
(PrivateData->PpiData.PpiListPtrs[Index2].Ppi)->Ppi
|
||||||
);
|
);
|
||||||
|
|
|
@ -403,7 +403,7 @@ STATIC
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
FindVariable (
|
FindVariable (
|
||||||
IN EFI_PEI_SERVICES **PeiServices,
|
IN CONST EFI_PEI_SERVICES **PeiServices,
|
||||||
IN CONST CHAR16 *VariableName,
|
IN CONST CHAR16 *VariableName,
|
||||||
IN CONST EFI_GUID *VendorGuid,
|
IN CONST EFI_GUID *VendorGuid,
|
||||||
OUT VARIABLE_POINTER_TRACK *PtrTrack
|
OUT VARIABLE_POINTER_TRACK *PtrTrack
|
||||||
|
@ -582,7 +582,7 @@ Returns:
|
||||||
VARIABLE_POINTER_TRACK Variable;
|
VARIABLE_POINTER_TRACK Variable;
|
||||||
UINTN VarDataSize;
|
UINTN VarDataSize;
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
EFI_PEI_SERVICES **PeiServices;
|
CONST EFI_PEI_SERVICES **PeiServices;
|
||||||
|
|
||||||
PeiServices = GetPeiServicesTablePointer ();
|
PeiServices = GetPeiServicesTablePointer ();
|
||||||
if (VariableName == NULL || VariableGuid == NULL || DataSize == NULL) {
|
if (VariableName == NULL || VariableGuid == NULL || DataSize == NULL) {
|
||||||
|
@ -659,7 +659,7 @@ Returns:
|
||||||
VARIABLE_POINTER_TRACK Variable;
|
VARIABLE_POINTER_TRACK Variable;
|
||||||
UINTN VarNameSize;
|
UINTN VarNameSize;
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
EFI_PEI_SERVICES **PeiServices;
|
CONST EFI_PEI_SERVICES **PeiServices;
|
||||||
|
|
||||||
PeiServices = GetPeiServicesTablePointer ();
|
PeiServices = GetPeiServicesTablePointer ();
|
||||||
if (VariableName == NULL || VariableGuid == NULL || VariableNameSize == NULL) {
|
if (VariableName == NULL || VariableGuid == NULL || VariableNameSize == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue