1530d68baSNigel Croxon /*++ 2530d68baSNigel Croxon 3530d68baSNigel Croxon Copyright (c) 1998 Intel Corporation 4530d68baSNigel Croxon 5530d68baSNigel Croxon Module Name: 6530d68baSNigel Croxon 7530d68baSNigel Croxon debug.c 8530d68baSNigel Croxon 9530d68baSNigel Croxon Abstract: 10530d68baSNigel Croxon 11530d68baSNigel Croxon Debug library functions 12530d68baSNigel Croxon 13530d68baSNigel Croxon 14530d68baSNigel Croxon 15530d68baSNigel Croxon Revision History 16530d68baSNigel Croxon 17530d68baSNigel Croxon --*/ 18530d68baSNigel Croxon 19530d68baSNigel Croxon #include "lib.h" 20530d68baSNigel Croxon 21530d68baSNigel Croxon 22530d68baSNigel Croxon 23530d68baSNigel Croxon // 24530d68baSNigel Croxon // Declare runtime functions 25530d68baSNigel Croxon // 26530d68baSNigel Croxon 27530d68baSNigel Croxon // 28530d68baSNigel Croxon // 29530d68baSNigel Croxon // 30530d68baSNigel Croxon 31530d68baSNigel Croxon INTN DbgAssert(IN CONST CHAR8 * FileName,IN INTN LineNo,IN CONST CHAR8 * Description)32530d68baSNigel CroxonDbgAssert ( 33*fa1b9779SNigel Croxon IN CONST CHAR8 *FileName, 34530d68baSNigel Croxon IN INTN LineNo, 35*fa1b9779SNigel Croxon IN CONST CHAR8 *Description 36530d68baSNigel Croxon ) 37530d68baSNigel Croxon { 38530d68baSNigel Croxon DbgPrint (D_ERROR, (CHAR8 *)"%EASSERT FAILED: %a(%d): %a%N\n", FileName, LineNo, Description); 39530d68baSNigel Croxon 40530d68baSNigel Croxon BREAKPOINT(); 41530d68baSNigel Croxon return 0; 42530d68baSNigel Croxon } 43530d68baSNigel Croxon 44