]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / PeiDxePostCodeLibReportStatusCode / PostCode.c
index 2df13b54ad80b098c15991b28c568661ea61385a..bf2da0c0cf25a7643684190f30673ede1b90c9fe 100644 (file)
@@ -3,17 +3,10 @@
   PostCode Library for PEIMs and DXE drivers that send PostCode to ReportStatusCode\r
 \r
   Copyright (c) 2006 - 2018, 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
-\r
 #include <PiPei.h>\r
 \r
 #include <Library/PostCodeLib.h>\r
@@ -64,7 +57,6 @@ PostCode (
   return Value;\r
 }\r
 \r
-\r
 /**\r
   Sends an 32-bit value to a POST and associated ASCII string.\r
 \r
@@ -113,7 +105,6 @@ PostCodeWithDescription (
   return Value;\r
 }\r
 \r
-\r
 /**\r
   Returns TRUE if POST Codes are enabled.\r
 \r
@@ -132,10 +123,9 @@ PostCodeEnabled (
   VOID\r
   )\r
 {\r
-  return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);\r
+  return (BOOLEAN)((PcdGet8 (PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);\r
 }\r
 \r
-\r
 /**\r
   Returns TRUE if POST code descriptions are enabled.\r
 \r
@@ -154,6 +144,5 @@ PostCodeDescriptionEnabled (
   VOID\r
   )\r
 {\r
-  return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED) != 0);\r
+  return (BOOLEAN)((PcdGet8 (PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED) != 0);\r
 }\r
-\r