xref: /minix3/minix/include/ddekit/panic.h (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1*433d6423SLionel Sambuc #ifndef _DDEKIT_PANIC_H
2*433d6423SLionel Sambuc #define _DDEKIT_PANIC_H
3*433d6423SLionel Sambuc #include <ddekit/ddekit.h>
4*433d6423SLionel Sambuc #include <stdarg.h>
5*433d6423SLionel Sambuc 
6*433d6423SLionel Sambuc /** \defgroup DDEKit_util */
7*433d6423SLionel Sambuc 
8*433d6423SLionel Sambuc /** Panic - print error message and enter the kernel debugger.
9*433d6423SLionel Sambuc  * \ingroup DDEKit_util
10*433d6423SLionel Sambuc  */
11*433d6423SLionel Sambuc void ddekit_panic(char *fmt, ...);
12*433d6423SLionel Sambuc 
13*433d6423SLionel Sambuc /** Print a debug message.
14*433d6423SLionel Sambuc  * \ingroup DDEKit_util
15*433d6423SLionel Sambuc  */
16*433d6423SLionel Sambuc void ddekit_debug(char *fmt, ...);
17*433d6423SLionel Sambuc 
18*433d6423SLionel Sambuc #endif
19