diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-17 08:42:33 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-17 08:42:33 +0000 |
commit | 284c8400e8c5518b688c7bca66cc73c55532ac39 (patch) | |
tree | 1c950c1d60073c03acdecb30e281b07b5c109f76 /MdeModulePkg/Core/Pei | |
parent | 5240b97c9c9e76994e86db11ff7cf140a74f2bd0 (diff) | |
download | edk2-platforms-284c8400e8c5518b688c7bca66cc73c55532ac39.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Core/Pei')
-rw-r--r-- | MdeModulePkg/Core/Pei/Image/Image.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Core/Pei/PeiMain.inf | 2 | ||||
-rw-r--r-- | MdeModulePkg/Core/Pei/Ppi/Ppi.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/MdeModulePkg/Core/Pei/Image/Image.c b/MdeModulePkg/Core/Pei/Image/Image.c index efe8c83b10..25c6330db7 100644 --- a/MdeModulePkg/Core/Pei/Image/Image.c +++ b/MdeModulePkg/Core/Pei/Image/Image.c @@ -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
diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf index b086f70c20..2e83e660e0 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.inf +++ b/MdeModulePkg/Core/Pei/PeiMain.inf @@ -68,6 +68,8 @@ CacheMaintenanceLib
PeCoffLib
PeiPiLib
+ PeiServicesTablePointerLib
+
[Guids]
gPeiAprioriFileNameGuid
diff --git a/MdeModulePkg/Core/Pei/Ppi/Ppi.c b/MdeModulePkg/Core/Pei/Ppi/Ppi.c index c121c52064..13b1588177 100644 --- a/MdeModulePkg/Core/Pei/Ppi/Ppi.c +++ b/MdeModulePkg/Core/Pei/Ppi/Ppi.c @@ -574,7 +574,7 @@ DispatchNotify ( NotifyDescriptor->Notify
));
NotifyDescriptor->Notify (
- GetPeiServicesTablePointer (),
+ (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
NotifyDescriptor,
(PrivateData->PpiData.PpiListPtrs[Index2].Ppi)->Ppi
);
|