Go to the documentation of this file.
7 #ifndef _SPARC_KDEBUG_H
8 #define _SPARC_KDEBUG_H
10 #include <asm/openprom.h>
19 #define DEBUG_BP_TRAP 126
49 static inline void sp_enter_debugger(
void)
51 __asm__ __volatile__(
"jmpl %0, %%o7\n\t"
53 "r" (linux_dbvec) :
"o7",
"memory");
56 #define SP_ENTER_DEBUGGER do { \
57 if((linux_dbvec!=0) && ((*(short *)linux_dbvec)!=-1)) \
58 sp_enter_debugger(); \
69 #define KDEBUG_ENTRY_OFF 0x0
70 #define KDEBUG_DUNNO_OFF 0x4
71 #define KDEBUG_DUNNO2_OFF 0x8
72 #define KDEBUG_TEACH_OFF 0xc