]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c
Readme.md: Add edk2 release tag and edk2 release plan
[mirror_edk2.git] / Nt32Pkg / WinNtFirmwareVolumePei / WinntFwh.c
index e1c06f946201633419f628ec12148d556f39c4e2..8cd918873fb57089d8b913965594d8f0b0189fe0 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
@@ -48,7 +48,7 @@ Routine Description:
   Perform a call-back into the SEC simulator to get address of the Firmware Hub\r
 \r
 Arguments:\r
-  FfsHeader   - Ffs Header availible to every PEIM\r
+  FfsHeader   - Ffs Header available to every PEIM\r
   PeiServices - General purpose services available to every PEIM.\r
     \r
 Returns:\r
@@ -70,11 +70,11 @@ Returns:
   // Get the Fwh Information PPI\r
   //\r
   Status = (**PeiServices).LocatePpi (\r
-                            PeiServices,\r
+                            (const EFI_PEI_SERVICES **)PeiServices,\r
                             &gNtFwhPpiGuid, // GUID\r
                             0,              // INSTANCE\r
                             &PpiDescriptor, // EFI_PEI_PPI_DESCRIPTOR\r
-                            &FwhPpi         // PPI\r
+                            (VOID**)&FwhPpi         // PPI\r
                             );\r
   ASSERT_EFI_ERROR (Status);\r
 \r