]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c
UefiCpuPkg: Remove double \r
[mirror_edk2.git] / Nt32Pkg / WinNtThunkPPIToProtocolPei / WinNtThunkPPIToProtocol.c
index 40b145069a0d4756505d3182396d96e828d108fa..d63a5b667db2f4c6b8887035bfd6e3ebe3ea9261 100644 (file)
@@ -1,13 +1,7 @@
-/*++\r
+/**@file\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. 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
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 Module Name:\r
 \r
@@ -19,7 +13,7 @@ Abstract:
 \r
 Revision History\r
 \r
---*/\r
+**/\r
 \r
 //\r
 // The package level header files this module uses\r
@@ -69,11 +63,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