diff options
-rw-r--r-- | MdePkg/Library/PeiPalCallLib/PalCallLib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MdePkg/Library/PeiPalCallLib/PalCallLib.c b/MdePkg/Library/PeiPalCallLib/PalCallLib.c index 6bd88367d9..eeb30d617d 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
|