1 /*++ 2 3 Copyright (c) 1998 Intel Corporation 4 5 Module Name: 6 7 debug.c 8 9 Abstract: 10 11 Debug library functions 12 13 14 15 Revision History 16 17 --*/ 18 19 #include "lib.h" 20 21 22 23 // 24 // Declare runtime functions 25 // 26 27 // 28 // 29 // 30 31 INTN DbgAssert(IN CONST CHAR8 * FileName,IN INTN LineNo,IN CONST CHAR8 * Description)32DbgAssert ( 33 IN CONST CHAR8 *FileName, 34 IN INTN LineNo, 35 IN CONST CHAR8 *Description 36 ) 37 { 38 DbgPrint (D_ERROR, (CHAR8 *)"%EASSERT FAILED: %a(%d): %a%N\n", FileName, LineNo, Description); 39 40 BREAKPOINT(); 41 return 0; 42 } 43 44