MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.c File Reference


Functions

UINT32 EFIAPI GetDebugPrintErrorLevel (VOID)
BOOLEAN EFIAPI SetDebugPrintErrorLevel (UINT32 ErrorLevel)

Detailed Description

Debug Print Error Level library instance that retrieves the current error level from PcdDebugPrintErrorLevel. This generic library instance does not support the setting of the global debug print error level mask for the platform.

Copyright (c) 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Function Documentation

UINT32 EFIAPI GetDebugPrintErrorLevel ( VOID   ) 

Returns the debug print error level mask for the current module.

Returns:
Debug print error level mask for the current module.

References PcdGet32.

Referenced by DebugPrint().

BOOLEAN EFIAPI SetDebugPrintErrorLevel ( UINT32  ErrorLevel  ) 

Sets the global debug print error level mask fpr the entire platform.

Parameters:
ErrorLevel Global debug print error level.
Return values:
TRUE The debug print error level mask was sucessfully set.
FALSE The debug print error level mask could not be set.

References FALSE.


Generated on Thu Sep 24 23:14:21 2015 for MdePkg[ALL] by  doxygen 1.5.7.1