Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/usermode defflag CPU_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/79dc1935d183
branches:  trunk
changeset: 768842:79dc1935d183
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Aug 27 21:43:06 2011 +0000

description:
defflag CPU_DEBUG

diffstat:

 sys/arch/usermode/conf/files.usermode |  3 ++-
 sys/arch/usermode/dev/cpu.c           |  8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r df034dab45a8 -r 79dc1935d183 sys/arch/usermode/conf/files.usermode
--- a/sys/arch/usermode/conf/files.usermode     Sat Aug 27 21:19:17 2011 +0000
+++ b/sys/arch/usermode/conf/files.usermode     Sat Aug 27 21:43:06 2011 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: files.usermode,v 1.6 2011/08/25 11:06:29 jmcneill Exp $
+# $NetBSD: files.usermode,v 1.7 2011/08/27 21:43:06 jmcneill Exp $
 
 maxpartitions 8
 maxusers 8 16 64
 
 defparam opt_memsize.h                         MEMSIZE
 defflag opt_sdl.h                              SDL
+defflag opt_cpu.h                              CPU_DEBUG
 
 define thunkbus { }
 
diff -r df034dab45a8 -r 79dc1935d183 sys/arch/usermode/dev/cpu.c
--- a/sys/arch/usermode/dev/cpu.c       Sat Aug 27 21:19:17 2011 +0000
+++ b/sys/arch/usermode/dev/cpu.c       Sat Aug 27 21:43:06 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.18 2011/08/27 21:15:07 reinoud Exp $ */
+/* $NetBSD: cpu.c,v 1.19 2011/08/27 21:43:06 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,8 +26,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "opt_cpu.h"
+
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.18 2011/08/27 21:15:07 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.19 2011/08/27 21:43:06 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -50,8 +52,6 @@
 #include <uvm/uvm_extern.h>
 #include <uvm/uvm_page.h>
 
-#define CPU_DEBUG
-
 static int     cpu_match(device_t, cfdata_t, void *);
 static void    cpu_attach(device_t, device_t, void *);
 



Home | Main Index | Thread Index | Old Index