summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-12 07:08:43 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-12 07:08:43 +0000
commita88c89156f078ba943e4699e38c45f58c25f2876 (patch)
tree138b94d5760f6bfbb27c0bfa5edcc44a8619b18d /MdePkg
parent6979fd9382223ac177126788624adb530711a4b1 (diff)
downloadedk2-a88c89156f078ba943e4699e38c45f58c25f2876.zip
edk2-a88c89156f078ba943e4699e38c45f58c25f2876.tar.gz
edk2-a88c89156f078ba943e4699e38c45f58c25f2876.tar.bz2
Fix ICC build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4108 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/PeiPalCallLib/PalCallLib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/MdePkg/Library/PeiPalCallLib/PalCallLib.c b/MdePkg/Library/PeiPalCallLib/PalCallLib.c
index 6bd8836..eeb30d6 100644
--- a/MdePkg/Library/PeiPalCallLib/PalCallLib.c
+++ b/MdePkg/Library/PeiPalCallLib/PalCallLib.c
@@ -61,8 +61,7 @@ PalCall (
{
UINT64 PalCallAddress;
PAL_CALL_RETURN ReturnVal;
-
- EFI_PEI_SERVICES **PeiServices;
+ CONST EFI_PEI_SERVICES **PeiServices;
EFI_STATUS Status;
EFI_SEC_PLATFORM_INFORMATION_PPI *SecPlatformPpi;
IPF_HANDOFF_STATUS IpfStatus;
@@ -71,7 +70,7 @@ PalCall (
//
// Get Pei Service Table Pointer
//
- PeiServices = GetPeiServicesTablePointer ();
+ PeiServices = (CONST EFI_PEI_SERVICES **) GetPeiServicesTablePointer ();
//
// Locate SEC Ppi