X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FUefiDebugLibConOut%2FDebugLib.c;h=5e828b4c6a8906362715edf0dcced769497ca193;hb=2f8df870031e1aee978635bb5cfa2f5a23f9b3f5;hp=4c068087be124074dd39e1534c6f6eab88f23e4a;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4;p=mirror_edk2.git diff --git a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c b/MdePkg/Library/UefiDebugLibConOut/DebugLib.c index 4c068087be..5e828b4c6a 100644 --- a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibConOut/DebugLib.c @@ -35,8 +35,8 @@ VOID EFIAPI DebugPrint ( - IN UINTN ErrorLevel, - IN CHAR8 *Format, + IN UINTN ErrorLevel, + IN CONST CHAR8 *Format, ... ) { @@ -76,7 +76,7 @@ DebugPrint ( Prints an assert message containing a filename, line number, and description. This may be followed by a breakpoint or a dead loop. - Print a message of the form “ASSERT (): \n” + Print a message of the form "ASSERT (): \n" to the debug output device. If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED bit of PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set then @@ -85,9 +85,9 @@ DebugPrint ( DebugAssert() must actively prevent recusrsion. If DebugAssert() is called while processing another DebugAssert(), then DebugAssert() must return immediately. - If FileName is NULL, then a string of “(NULL) Filename” is printed. + If FileName is NULL, then a string of "(NULL) Filename" is printed. - If Description is NULL, then a string of “(NULL) Description” is printed. + If Description is NULL, then a string of "(NULL) Description" is printed. @param FileName Pointer to the name of the source file that generated the assert condition. @param LineNumber The line number in the source file that generated the assert condition @@ -97,9 +97,9 @@ DebugPrint ( VOID EFIAPI DebugAssert ( - IN CHAR8 *FileName, - IN INTN LineNumber, - IN CHAR8 *Description + IN CONST CHAR8 *FileName, + IN UINTN LineNumber, + IN CONST CHAR8 *Description ) { CHAR16 Buffer[MAX_DEBUG_MESSAGE_LENGTH];