TianoCore EDK2 master
Loading...
Searching...
No Matches
DebugService.h File Reference
#include <Ppi/Debug.h>

Go to the source code of this file.

Functions

VOID EFIAPI PeiDebugBPrint (IN UINTN ErrorLevel, IN CONST CHAR8 *Format, IN BASE_LIST Marker)
 
VOID EFIAPI PeiDebugAssert (IN CONST CHAR8 *FileName, IN UINTN LineNumber, IN CONST CHAR8 *Description)
 

Detailed Description

Header file of Debug services instances.

Copyright (c) 2019, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file DebugService.h.

Function Documentation

◆ PeiDebugAssert()

VOID EFIAPI PeiDebugAssert ( IN CONST CHAR8 *  FileName,
IN UINTN  LineNumber,
IN CONST CHAR8 *  Description 
)

Prints an assert message containing a filename, line number, and description. This may be followed by a breakpoint or a dead loop.

Parameters
[in]FileNameThe pointer to the name of the source file that generated the assert condition.
[in]LineNumberThe line number in the source file that generated the assert condition
[in]DescriptionThe pointer to the description of the assert condition.

Print an assert message containing a filename, line number, and description. This may be followed by a breakpoint or a dead loop.

Parameters
[in]FileNameThe pointer to the name of the source file that generated the assert condition.
[in]LineNumberThe line number in the source file that generated the assert condition
[in]DescriptionThe pointer to the description of the assert condition.

Definition at line 64 of file DebugServicePei.c.

◆ PeiDebugBPrint()

VOID EFIAPI PeiDebugBPrint ( IN UINTN  ErrorLevel,
IN CONST CHAR8 *  Format,
IN BASE_LIST  Marker 
)

Print a debug message to debug output device if the specified error level is enabled.

Parameters
[in]ErrorLevelThe error level of the debug message.
[in]FormatFormat string for the debug message to print.
[in]MarkerBASE_LIST marker for the variable argument list.

Definition at line 42 of file DebugServicePei.c.