37 #if defined( MBG_TGT_KERNEL ) 39 #if defined( MBG_TGT_WIN32 ) 41 extern void KddReportEventA(
int lvl,
const char *info );
43 #elif defined( MBG_TGT_LINUX ) 46 #include <linux/delay.h> 51 #elif defined( MBG_TGT_BSD ) 63 __attribute__( ( format( printf, 3, 4 ) ) )
69 va_start( args, fmt );
80 __attribute__( ( format( printf, 2, 3 ) ) )
86 va_start( args, fmt );
90 #if defined( MBG_TGT_WIN32 ) 92 KddReportEventA( lvl, s );
94 #elif defined( MBG_TGT_LINUX ) 117 #if defined( KERN_DEFAULT ) 128 msleep( debug_msg_sleep );
131 #elif defined( MBG_TGT_BSD ) 135 #elif defined( MBG_TGT_QNX ) 139 #elif defined( MBG_TGT_DOS ) 145 #error Not implemented for this target. 151 #endif // USE_MBG_KDD_MSG int mbg_kdd_snprintf(char *buf, size_t size, const char *fmt,...)
void mbg_kdd_msg(int lvl, const char *fmt,...)
static __mbg_inline int mbg_kdd_vsnprintf(char *s, size_t max_len, const char *fmt, va_list args)