]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformPei/Fv.c
OvmfPkg: Apply uncrustify changes
[mirror_edk2.git] / OvmfPkg / PlatformPei / Fv.c
index 248c58508558a2741848073776a8db3d4a17193e..8cd8cacc591335d75e084616d29a70237da3c77b 100644 (file)
@@ -2,13 +2,7 @@
   Build FV related hobs for platform.\r
 \r
   Copyright (c) 2006 - 2013, 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
-\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
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -19,7 +13,6 @@
 #include <Library/PeiServicesLib.h>\r
 #include <Library/PcdLib.h>\r
 \r
-\r
 /**\r
   Publish PEI & DXE (Decompressed) Memory based FVs to let PEI\r
   and DXE know about them.\r
@@ -32,9 +25,9 @@ PeiFvInitialization (
   VOID\r
   )\r
 {\r
-  BOOLEAN SecureS3Needed;\r
+  BOOLEAN  SecureS3Needed;\r
 \r
-  DEBUG ((EFI_D_INFO, "Platform PEI Firmware Volume Initialization\n"));\r
+  DEBUG ((DEBUG_INFO, "Platform PEI Firmware Volume Initialization\n"));\r
 \r
   //\r
   // Create a memory allocation HOB for the PEI FV.\r
@@ -73,7 +66,7 @@ PeiFvInitialization (
   // of DXEFV, so let's keep away the OS from there too.\r
   //\r
   if (SecureS3Needed) {\r
-    UINT32 DxeMemFvEnd;\r
+    UINT32  DxeMemFvEnd;\r
 \r
     DxeMemFvEnd = PcdGet32 (PcdOvmfDxeMemFvBase) +\r
                   PcdGet32 (PcdOvmfDxeMemFvSize);\r
@@ -89,7 +82,7 @@ PeiFvInitialization (
   //\r
   PeiServicesInstallFvInfoPpi (\r
     NULL,\r
-    (VOID *)(UINTN) PcdGet32 (PcdOvmfDxeMemFvBase),\r
+    (VOID *)(UINTN)PcdGet32 (PcdOvmfDxeMemFvBase),\r
     PcdGet32 (PcdOvmfDxeMemFvSize),\r
     NULL,\r
     NULL\r
@@ -97,4 +90,3 @@ PeiFvInitialization (
 \r
   return EFI_SUCCESS;\r
 }\r
-\r