1 /*
2  * ============================================================================
3  *  Title:    Simple Debugger
4  *  Author:   J. Zbiciak
5  * ============================================================================
6  *
7  * ============================================================================
8  *
9  * ============================================================================
10  */
11 
12 #ifndef DEBUG_IF_H_
13 #define DEBUG_IF_H_
14 
15 /* ======================================================================== */
16 /*  Some asynchronous fault controls                                        */
17 /* ======================================================================== */
18 #define DEBUG_HLT_INSTR  ( 2)
19 #define DEBUG_CRASHING   ( 1)
20 #define DEBUG_NO_FAULT   ( 0)
21 #define DEBUG_ASYNC_HALT (-1)
22 extern        int  debug_fault_detected;
23 extern const char *debug_halt_reason;
24 
25 #endif
26