Module Name:    src
Committed By:   pooka
Date:           Mon Apr  6 20:41:29 UTC 2009

Modified Files:
        src/sys/rump/librump/rumpkern: rump_private.h
        src/sys/rump/librump/rumpvfs: genfs_io.c
        src/sys/rump/net/lib/libshmif: if_shmem.c

Log Message:
let drivers define DPRINTF


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/rump/librump/rumpkern/rump_private.h
cvs rdiff -u -r1.10 -r1.11 src/sys/rump/librump/rumpvfs/genfs_io.c
cvs rdiff -u -r1.5 -r1.6 src/sys/rump/net/lib/libshmif/if_shmem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/rump_private.h
diff -u src/sys/rump/librump/rumpkern/rump_private.h:1.25 src/sys/rump/librump/rumpkern/rump_private.h:1.26
--- src/sys/rump/librump/rumpkern/rump_private.h:1.25	Fri Feb 20 17:58:22 2009
+++ src/sys/rump/librump/rumpkern/rump_private.h	Mon Apr  6 20:41:29 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump_private.h,v 1.25 2009/02/20 17:58:22 pooka Exp $	*/
+/*	$NetBSD: rump_private.h,v 1.26 2009/04/06 20:41:29 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -43,12 +43,6 @@
 #include <rump/rump.h>
 #include <rump/rumpuser.h>
 
-#if 0
-#define DPRINTF(x) printf x
-#else
-#define DPRINTF(x)
-#endif
-
 extern kauth_cred_t rump_cred;
 extern struct vmspace rump_vmspace;
 

Index: src/sys/rump/librump/rumpvfs/genfs_io.c
diff -u src/sys/rump/librump/rumpvfs/genfs_io.c:1.10 src/sys/rump/librump/rumpvfs/genfs_io.c:1.11
--- src/sys/rump/librump/rumpvfs/genfs_io.c:1.10	Thu Mar 26 08:22:22 2009
+++ src/sys/rump/librump/rumpvfs/genfs_io.c	Mon Apr  6 20:41:29 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: genfs_io.c,v 1.10 2009/03/26 08:22:22 pooka Exp $	*/
+/*	$NetBSD: genfs_io.c,v 1.11 2009/04/06 20:41:29 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.10 2009/03/26 08:22:22 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.11 2009/04/06 20:41:29 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -42,6 +42,12 @@
 
 #include "rump_private.h"
 
+#if 0
+#define DPRINTF(x) printf x
+#else
+#define DPRINTF(x)
+#endif
+
 void
 genfs_directio(struct vnode *vp, struct uio *uio, int ioflag)
 {

Index: src/sys/rump/net/lib/libshmif/if_shmem.c
diff -u src/sys/rump/net/lib/libshmif/if_shmem.c:1.5 src/sys/rump/net/lib/libshmif/if_shmem.c:1.6
--- src/sys/rump/net/lib/libshmif/if_shmem.c:1.5	Wed Mar 18 15:32:27 2009
+++ src/sys/rump/net/lib/libshmif/if_shmem.c	Mon Apr  6 20:41:29 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_shmem.c,v 1.5 2009/03/18 15:32:27 pooka Exp $	*/
+/*	$NetBSD: if_shmem.c,v 1.6 2009/04/06 20:41:29 pooka Exp $	*/
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.5 2009/03/18 15:32:27 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.6 2009/04/06 20:41:29 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/fcntl.h>
@@ -48,6 +48,12 @@
 
 #include "rump_private.h"
 
+#if 0
+#define DPRINTF(x) printf x
+#else
+#define DPRINTF(x)
+#endif
+
 /*
  * A virtual ethernet interface which uses shared memory from a
  * memory mapped file as the bus.

Reply via email to