Module Name: src Committed By: pooka Date: Sun May 3 16:53:54 UTC 2009
Modified Files: src/sys/rump: Makefile.rump src/sys/rump/librump/rumpkern: vm.c Log Message: define DEBUGPRINT To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/rump/Makefile.rump cvs rdiff -u -r1.55 -r1.56 src/sys/rump/librump/rumpkern/vm.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/Makefile.rump diff -u src/sys/rump/Makefile.rump:1.37 src/sys/rump/Makefile.rump:1.38 --- src/sys/rump/Makefile.rump:1.37 Sun Apr 26 20:45:37 2009 +++ src/sys/rump/Makefile.rump Sun May 3 16:53:54 2009 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.rump,v 1.37 2009/04/26 20:45:37 pooka Exp $ +# $NetBSD: Makefile.rump,v 1.38 2009/05/03 16:53:54 pooka Exp $ # WARNS?= 3 # XXX: src/sys won't compile with -Wsign-compare yet @@ -17,6 +17,7 @@ CPPFLAGS+= -DMAXUSERS=32 CPPFLAGS+= -DDIAGNOSTIC CPPFLAGS+= -DCOMPAT_50 +CPPFLAGS+= -DDEBUGPRINT CPPFLAGS+= -I${.CURDIR} -I. CPPFLAGS+= -I${RUMPTOP}/../../common/include -I${RUMPTOP}/../arch CPPFLAGS+= -I${RUMPTOP}/include Index: src/sys/rump/librump/rumpkern/vm.c diff -u src/sys/rump/librump/rumpkern/vm.c:1.55 src/sys/rump/librump/rumpkern/vm.c:1.56 --- src/sys/rump/librump/rumpkern/vm.c:1.55 Tue Apr 28 14:00:42 2009 +++ src/sys/rump/librump/rumpkern/vm.c Sun May 3 16:53:54 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: vm.c,v 1.55 2009/04/28 14:00:42 pooka Exp $ */ +/* $NetBSD: vm.c,v 1.56 2009/05/03 16:53:54 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.55 2009/04/28 14:00:42 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.56 2009/05/03 16:53:54 pooka Exp $"); #include <sys/param.h> #include <sys/atomic.h> @@ -56,6 +56,7 @@ #include <rump/rumpuser.h> #include <uvm/uvm.h> +#include <uvm/uvm_ddb.h> #include <uvm/uvm_prot.h> #include "rump_private.h" @@ -440,6 +441,14 @@ panic("%s: unimplemented", __func__); } +void +uvm_object_printit(struct uvm_object *uobj, bool full, + void (*pr)(const char *, ...)) +{ + + /* nada for now */ +} + /* * Kmem */