summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/linux/linux.h')
-rw-r--r--sys/i386/linux/linux.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h
index 88371d4..fab3e29 100644
--- a/sys/i386/linux/linux.h
+++ b/sys/i386/linux/linux.h
@@ -35,6 +35,14 @@
#include <i386/linux/linux_syscall.h>
+/*
+ * debugging support
+ */
+extern u_char linux_debug_map[];
+#define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name)
+#define ARGS(nm, fmt) "Linux-emul(%ld): "#nm"("fmt")\n", (long)p->p_pid
+#define LMSG(fmt) "Linux-emul(%ld): "fmt"\n", (long)p->p_pid
+
#ifdef MALLOC_DECLARE
MALLOC_DECLARE(M_LINUX);
#endif
OpenPOWER on IntegriCloud