Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern deal with sun3's module disability



details:   https://anonhg.NetBSD.org/src/rev/93d24ebd71b8
branches:  trunk
changeset: 755639:93d24ebd71b8
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Jun 13 11:35:41 2010 +0000

description:
deal with sun3's module disability

diffstat:

 sys/rump/librump/rumpkern/emul.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 3b56a7139ad2 -r 93d24ebd71b8 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c  Sun Jun 13 11:05:58 2010 +0000
+++ b/sys/rump/librump/rumpkern/emul.c  Sun Jun 13 11:35:41 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.139 2010/06/13 11:05:58 pooka Exp $ */
+/*     $NetBSD: emul.c,v 1.140 2010/06/13 11:35:41 pooka Exp $ */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.139 2010/06/13 11:05:58 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.140 2010/06/13 11:35:41 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/null.h>
@@ -103,6 +103,11 @@
 int pgshift = 12;
 #endif
 
+/* sun3 is sun3 with broken kernel modules */
+#if _MACHINE == sun3
+char KERNBASE[1]; /* this is completely random ... */
+#endif
+
 struct loadavg averunnable = {
        { 0 * FSCALE,
          1 * FSCALE,



Home | Main Index | Thread Index | Old Index