Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2726 | vana | 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 |
||
32 | DbgAssert ( |
||
33 | IN CHAR8 *FileName, |
||
34 | IN INTN LineNo, |
||
35 | IN 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 |