2013-01-31 01:25:25 +04:00
|
|
|
/*++
|
|
|
|
|
|
|
|
Copyright (c) 1998 Intel Corporation
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
|
|
|
|
debug.c
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
Debug library functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Revision History
|
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#include "lib.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Declare runtime functions
|
|
|
|
//
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
INTN
|
|
|
|
DbgAssert (
|
2017-01-08 14:52:33 +03:00
|
|
|
IN CONST CHAR8 *FileName,
|
|
|
|
IN INTN LineNo,
|
|
|
|
IN CONST CHAR8 *Description
|
2013-01-31 01:25:25 +04:00
|
|
|
)
|
|
|
|
{
|
|
|
|
DbgPrint (D_ERROR, (CHAR8 *)"%EASSERT FAILED: %a(%d): %a%N\n", FileName, LineNo, Description);
|
|
|
|
|
|
|
|
BREAKPOINT();
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|