summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtAutoScanPei
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-14 08:59:32 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-14 08:59:32 +0000
commit0b94e31981fde83116598dc7a2c8a346d46fd3cf (patch)
treeb5fe86e1cc9555b1a45434403fa36d7d2331187e /Nt32Pkg/WinNtAutoScanPei
parent5f300691d0ef724c1580924da6ba6750794d918e (diff)
downloadedk2-platforms-0b94e31981fde83116598dc7a2c8a346d46fd3cf.tar.xz
Fix ICC building issue for Nt32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6110 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/WinNtAutoScanPei')
-rw-r--r--Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c
index 0a262da5f2..2c2b3025b0 100644
--- a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c
+++ b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c
@@ -73,11 +73,11 @@ Returns:
// Get the PEI NT Autoscan PPI
//
Status = (**PeiServices).LocatePpi (
- PeiServices,
+ (const EFI_PEI_SERVICES **)PeiServices,
&gPeiNtAutoScanPpiGuid, // GUID
0, // INSTANCE
&PpiDescriptor, // EFI_PEI_PPI_DESCRIPTOR
- &PeiNtService // PPI
+ (VOID**)&PeiNtService // PPI
);
ASSERT_EFI_ERROR (Status);
@@ -85,11 +85,11 @@ Returns:
// Get the Memory Test PPI
//
Status = (**PeiServices).LocatePpi (
- PeiServices,
+ (const EFI_PEI_SERVICES **)PeiServices,
&gPeiBaseMemoryTestPpiGuid,
0,
NULL,
- &MemoryTestPpi
+ (VOID**)&MemoryTestPpi
);
ASSERT_EFI_ERROR (Status);
@@ -124,7 +124,7 @@ Returns:
//
// Register the "tested" memory with the PEI Core
//
- Status = (**PeiServices).InstallPeiMemory (PeiServices, MemoryBase, MemorySize);
+ Status = (**PeiServices).InstallPeiMemory ((const EFI_PEI_SERVICES **)PeiServices, MemoryBase, MemorySize);
ASSERT_EFI_ERROR (Status);
Attributes |= EFI_RESOURCE_ATTRIBUTE_TESTED;