]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c
UefiCpuPkg/CpuDxe: Enable protection for newly added page table
[mirror_edk2.git] / Nt32Pkg / WinNtThunkPPIToProtocolPei / WinNtThunkPPIToProtocol.c
index f9ef724bea844f5c56d0ef220320bc1a0c49e3a4..ec65705fef9527321e998c23b183cede8a660faf 100644 (file)
@@ -1,7 +1,7 @@
 /**@file\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
 http://opensource.org/licenses/bsd-license.php                                            \r
@@ -69,11 +69,11 @@ Returns:
   DEBUG ((EFI_D_ERROR, "NT 32 WinNT Stuff PEIM Loaded\n"));\r
 \r
   Status = (**PeiServices).LocatePpi (\r
-                            PeiServices,\r
+                            (const EFI_PEI_SERVICES **)PeiServices,\r
                             &gPeiNtThunkPpiGuid,  // GUID\r
                             0,                    // INSTANCE\r
                             &PpiDescriptor,       // EFI_PEI_PPI_DESCRIPTOR\r
-                            &PeiNtService         // PPI\r
+                            (VOID**)&PeiNtService         // PPI\r
                             );\r
   ASSERT_EFI_ERROR (Status);\r
 \r