windows-nt/Source/XPSP1/NT/base/efiutil/sdk/lib/debug.c

48 lines
591 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1998 Intel Corporation
Module Name:
debug.c
Abstract:
Debug library functions
Revision History
--*/
#include "lib.h"
/*
* Declare runtime functions
*/
/*
*
*/
//
// Disable the warning about no exit for the implementation of BREAKPOINT that is
// a while(TRUE) (some of them)
//
#pragma warning( disable : 4715 )
INTN
DbgAssert (
IN CHAR8 *FileName,
IN INTN LineNo,
IN CHAR8 *Description
)
{
DbgPrint (D_ERROR, "%EASSERT FAILED: %a(%d): %a%N\n", FileName, LineNo, Description);
BREAKPOINT();
return 0;
}