]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix ICC build error
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Oct 2007 07:08:43 +0000 (07:08 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Oct 2007 07:08:43 +0000 (07:08 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4108 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/PeiPalCallLib/PalCallLib.c

index 6bd88367d9be0328f26e20e1ddac27309f9ad662..eeb30d617d31349837fa1385504a47effcbc0735 100644 (file)
@@ -61,8 +61,7 @@ PalCall (
 {\r
   UINT64                            PalCallAddress;\r
   PAL_CALL_RETURN                   ReturnVal;\r
-\r
-  EFI_PEI_SERVICES                  **PeiServices;\r
+  CONST EFI_PEI_SERVICES            **PeiServices;\r
   EFI_STATUS                        Status;\r
   EFI_SEC_PLATFORM_INFORMATION_PPI  *SecPlatformPpi;\r
   IPF_HANDOFF_STATUS                IpfStatus;\r
@@ -71,7 +70,7 @@ PalCall (
   //\r
   // Get Pei Service Table Pointer\r
   //\r
-  PeiServices = GetPeiServicesTablePointer ();\r
+  PeiServices = (CONST EFI_PEI_SERVICES **) GetPeiServicesTablePointer ();\r
 \r
   //\r
   // Locate SEC Ppi\r