Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Prepare empty module_init_md() for options MODULAR ...



details:   https://anonhg.NetBSD.org/src/rev/3ba932ae7b03
branches:  trunk
changeset: 758072:3ba932ae7b03
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Oct 16 17:10:42 2010 +0000

description:
Prepare empty module_init_md() for options MODULAR for all other m68k ports.

diffstat:

 sys/arch/amiga/amiga/machdep.c     |  12 ++++++++++--
 sys/arch/atari/atari/machdep.c     |  15 +++++++++++++--
 sys/arch/cesfic/cesfic/machdep.c   |  16 ++++++++++++++--
 sys/arch/luna68k/luna68k/machdep.c |  15 +++++++++++++--
 sys/arch/mac68k/mac68k/machdep.c   |  15 +++++++++++++--
 sys/arch/mvme68k/mvme68k/machdep.c |  15 +++++++++++++--
 sys/arch/next68k/next68k/machdep.c |  15 +++++++++++++--
 sys/arch/x68k/x68k/machdep.c       |  15 +++++++++++++--
 8 files changed, 102 insertions(+), 16 deletions(-)

diffs (truncated from 343 to 300 lines):

diff -r 50b8757dbf7e -r 3ba932ae7b03 sys/arch/amiga/amiga/machdep.c
--- a/sys/arch/amiga/amiga/machdep.c    Sat Oct 16 16:57:29 2010 +0000
+++ b/sys/arch/amiga/amiga/machdep.c    Sat Oct 16 17:10:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.226 2010/06/06 04:50:05 mrg Exp $        */
+/*     $NetBSD: machdep.c,v 1.227 2010/10/16 17:10:42 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -87,7 +87,7 @@
 #include "opt_m68k_arch.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.226 2010/06/06 04:50:05 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.227 2010/10/16 17:10:42 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -109,6 +109,7 @@
 #include <sys/core.h>
 #include <sys/kcore.h>
 #include <sys/ksyms.h>
+#include <sys/module.h>
 #include <sys/cpu.h>
 #include <sys/exec.h>
 
@@ -1263,6 +1264,13 @@
 }
 
 #ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
 
 int _spllkm6(void);
 int _spllkm7(void);
diff -r 50b8757dbf7e -r 3ba932ae7b03 sys/arch/atari/atari/machdep.c
--- a/sys/arch/atari/atari/machdep.c    Sat Oct 16 16:57:29 2010 +0000
+++ b/sys/arch/atari/atari/machdep.c    Sat Oct 16 17:10:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.167 2010/04/13 11:22:22 tsutsui Exp $    */
+/*     $NetBSD: machdep.c,v 1.168 2010/10/16 17:10:42 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.167 2010/04/13 11:22:22 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.168 2010/10/16 17:10:42 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -103,6 +103,7 @@
 #include <sys/mount.h>
 #include <sys/syscallargs.h>
 #include <sys/ksyms.h>
+#include <sys/module.h>
 #include <sys/intr.h>
 #include <sys/exec.h>
 #include <sys/exec_aout.h>
@@ -877,6 +878,16 @@
        return error;
 }
 
+#ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
+#endif
+
 #ifdef _MILANHW_
 
 /*
diff -r 50b8757dbf7e -r 3ba932ae7b03 sys/arch/cesfic/cesfic/machdep.c
--- a/sys/arch/cesfic/cesfic/machdep.c  Sat Oct 16 16:57:29 2010 +0000
+++ b/sys/arch/cesfic/cesfic/machdep.c  Sat Oct 16 17:10:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.54 2010/02/08 19:02:27 joerg Exp $       */
+/*     $NetBSD: machdep.c,v 1.55 2010/10/16 17:10:43 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.54 2010/02/08 19:02:27 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.55 2010/10/16 17:10:43 tsutsui Exp $");
 
 #include "opt_bufcache.h"
 #include "opt_ddb.h"
@@ -85,6 +85,7 @@
 #include "opt_compat_netbsd.h"
 #include "opt_sysv.h"
 #include "opt_panicbutton.h"
+#include "opt_modular.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -107,6 +108,7 @@
 #include <sys/tty.h>
 #include <sys/vnode.h>
 #include <sys/ksyms.h>
+#include <sys/module.h>
 #ifdef SYSVMSG
 #include <sys/msg.h>
 #endif
@@ -701,3 +703,13 @@
 
        return ENOEXEC;
 }
+
+#ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
+#endif
diff -r 50b8757dbf7e -r 3ba932ae7b03 sys/arch/luna68k/luna68k/machdep.c
--- a/sys/arch/luna68k/luna68k/machdep.c        Sat Oct 16 16:57:29 2010 +0000
+++ b/sys/arch/luna68k/luna68k/machdep.c        Sat Oct 16 17:10:42 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.75 2010/06/06 04:50:06 mrg Exp $ */
+/* $NetBSD: machdep.c,v 1.76 2010/10/16 17:10:43 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.75 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.76 2010/10/16 17:10:43 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -62,6 +62,7 @@
 #include <sys/vnode.h>
 #include <sys/syscallargs.h>
 #include <sys/ksyms.h>
+#include <sys/module.h>
 #ifdef KGDB
 #include <sys/kgdb.h>
 #endif
@@ -776,6 +777,16 @@
        return error;
 }
 
+#ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
+#endif
+
 #if 1
 
 struct consdev *cn_tab = &syscons;
diff -r 50b8757dbf7e -r 3ba932ae7b03 sys/arch/mac68k/mac68k/machdep.c
--- a/sys/arch/mac68k/mac68k/machdep.c  Sat Oct 16 16:57:29 2010 +0000
+++ b/sys/arch/mac68k/mac68k/machdep.c  Sat Oct 16 17:10:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.335 2010/02/08 19:02:30 joerg Exp $      */
+/*     $NetBSD: machdep.c,v 1.336 2010/10/16 17:10:43 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -107,7 +107,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.335 2010/02/08 19:02:30 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.336 2010/10/16 17:10:43 tsutsui Exp $");
 
 #include "opt_adb.h"
 #include "opt_ddb.h"
@@ -142,6 +142,7 @@
 #include <sys/syscallargs.h>
 #include <sys/vnode.h>
 #include <sys/ksyms.h>
+#include <sys/module.h>
 #ifdef KGDB
 #include <sys/kgdb.h>
 #endif
@@ -925,6 +926,16 @@
        return error;
 }
 
+#ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
+#endif
+
 static char *envbuf = NULL;
 
 /*
diff -r 50b8757dbf7e -r 3ba932ae7b03 sys/arch/mvme68k/mvme68k/machdep.c
--- a/sys/arch/mvme68k/mvme68k/machdep.c        Sat Oct 16 16:57:29 2010 +0000
+++ b/sys/arch/mvme68k/mvme68k/machdep.c        Sat Oct 16 17:10:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.143 2010/06/06 04:50:07 mrg Exp $        */
+/*     $NetBSD: machdep.c,v 1.144 2010/10/16 17:10:43 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.143 2010/06/06 04:50:07 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.144 2010/10/16 17:10:43 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_m060sp.h"
@@ -107,6 +107,7 @@
 #include <sys/vnode.h>
 #include <sys/syscallargs.h>
 #include <sys/ksyms.h>
+#include <sys/module.h>
 #include <sys/device.h>
 
 #include "ksyms.h"
@@ -1171,6 +1172,16 @@
     return ENOEXEC;
 }
 
+#ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
+#endif
+
 const uint16_t ipl2psl_table[NIPL] = {
        [IPL_NONE]       = PSL_S | PSL_IPL0,
        [IPL_SOFTCLOCK]  = PSL_S | PSL_IPL1,
diff -r 50b8757dbf7e -r 3ba932ae7b03 sys/arch/next68k/next68k/machdep.c
--- a/sys/arch/next68k/next68k/machdep.c        Sat Oct 16 16:57:29 2010 +0000
+++ b/sys/arch/next68k/next68k/machdep.c        Sat Oct 16 17:10:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.98 2010/02/08 19:02:30 joerg Exp $       */
+/*     $NetBSD: machdep.c,v 1.99 2010/10/16 17:10:44 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1998 Darrin B. Jewell
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.98 2010/02/08 19:02:30 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.99 2010/10/16 17:10:44 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -108,6 +108,7 @@
 #include <sys/vnode.h>
 #include <sys/syscallargs.h>
 #include <sys/ksyms.h>
+#include <sys/module.h>
 #ifdef KGDB
 #include <sys/kgdb.h>
 #endif
@@ -936,3 +937,13 @@
 {
        return ENOEXEC;
 }
+
+#ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
+#endif



Home | Main Index | Thread Index | Old Index