]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/PeiDebugPrintHobLib/PeiDebugPrintHobLib.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / PeiDebugPrintHobLib / PeiDebugPrintHobLib.c
index 4bcf0030a0cc8e76c09a4c3a55ce19de71cb9798..e545be206f38a1d7f800cde2d0300e0091613305 100644 (file)
@@ -3,13 +3,7 @@
   HOB that contains the debug mask.\r
 \r
   Copyright (c) 2011, Apple, Inc. 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
@@ -25,7 +19,7 @@
 \r
 /**\r
   The constructor reads variable and sets HOB\r
-  \r
+\r
   @param  FileHandle   The handle of FFS header the loaded driver.\r
   @param  PeiServices  The pointer to the PEI services.\r
 \r
@@ -44,7 +38,7 @@ PeiDebugPrintHobLibConstructor (
   UINTN                           Size;\r
   UINT64                          GlobalErrorLevel;\r
   UINT32                          HobErrorLevel;\r
-  \r
+\r
   Status = PeiServicesLocatePpi (\r
              &gEfiPeiReadOnlyVariable2PpiGuid,\r
              0,\r
@@ -53,8 +47,8 @@ PeiDebugPrintHobLibConstructor (
              );\r
   if (!EFI_ERROR (Status)) {\r
     Size = sizeof (GlobalErrorLevel);\r
-    Status = Variable->GetVariable ( \r
-                         Variable, \r
+    Status = Variable->GetVariable (\r
+                         Variable,\r
                          DEBUG_MASK_VARIABLE_NAME,\r
                          &gEfiGenericVariableGuid,\r
                          NULL,\r