]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/DebugPrintErrorLevelLib.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Library / DebugPrintErrorLevelLib.h
index 1e6bd65ba5ca5b611ce4a50c7cdfa7a11fdf06b4..6992ec800fb590f20ceaf029f3d35305b611baac 100644 (file)
@@ -1,16 +1,12 @@
 /** @file\r
   Debug Print Error Level Library class\r
 \r
-  Copyright (c) 2011, 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
+  Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
+#ifndef _DEBUG_PRINT_ERROR_LEVEL_LIB_H_\r
+#define _DEBUG_PRINT_ERROR_LEVEL_LIB_H_\r
 \r
 /**\r
   Returns the debug print error level mask for the current module.\r
@@ -27,8 +23,10 @@ GetDebugPrintErrorLevel (
 /**\r
   Sets the global debug print error level mask fpr the entire platform.\r
 \r
-  @retval  TRUE   The debug print error level mask was sucessfully set.\r
-  @retval  FALSE  The debug print error level mask could not be set.\r
+  @param   ErrorLevel     Global debug print error level\r
+\r
+  @retval  TRUE           The debug print error level mask was successfully set.\r
+  @retval  FALSE          The debug print error level mask could not be set.\r
 \r
 **/\r
 BOOLEAN\r
@@ -36,3 +34,4 @@ EFIAPI
 SetDebugPrintErrorLevel (\r
   UINT32  ErrorLevel\r
   );\r
+#endif\r