- Added get_kdebug_tcb() and kdebug_check_interrupt

This commit is contained in:
Jan Stoess 2007-12-07 19:30:23 +01:00
parent 9bdfc7c014
commit d7f1832a15
1 changed files with 12 additions and 10 deletions

View File

@ -67,6 +67,7 @@
void init_console (void);
extern "C" int printf (const char * format, ...);
tcb_t *get_kdebug_tcb();
# define UNIMPLEMENTED() \
do { \
@ -113,7 +114,6 @@ do { \
/* From kdb/generic/entry.cc */
void kdebug_entry (void *);
#else /* !CONFIG_DEBUG */
/*
@ -121,15 +121,15 @@ void kdebug_entry (void *);
*/
# define init_console(...)
# define printf(fmt, args...) do { } while (false)
# define enter_kdebug(x) do { } while (true)
# define UNIMPLEMENTED() do { } while (true)
# define ASSERT(x) do { } while (false)
# define WARNING(fmt, args...) do { } while (false)
# define TRACE(x...) do { } while (false)
# define TRACEF(x...) do { } while (false)
# define spin_forever(x...) do { } while (true)
# define spin(x...) do { } while (false)
# define printf(fmt, args...) do { } while (false)
# define enter_kdebug(x) do { } while (true)
# define UNIMPLEMENTED() do { } while (true)
# define ASSERT(x) do { } while (false)
# define WARNING(fmt, args...) do { } while (false)
# define TRACE(x...) do { } while (false)
# define TRACEF(x...) do { } while (false)
# define spin_forever(x...) do { } while (true)
# define spin(x...) do { } while (false)
#endif /* CONFIG_DEBUG */
@ -163,5 +163,7 @@ void kdebug_check_breakin();
# define kdebug_check_breakin()
# endif /* CONFIG_DEBUG_BREAKIN */
bool kdebug_check_interrupt();
#endif /* !__DEBUG_H__ */