Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun2/sun2 Support module(7).



details:   https://anonhg.NetBSD.org/src/rev/bbd400c3d666
branches:  trunk
changeset: 745622:bbd400c3d666
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Mar 08 06:06:46 2020 +0000

description:
Support module(7).

diffstat:

 sys/arch/sun2/sun2/machdep.c |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 5845d04bdb83 -r bbd400c3d666 sys/arch/sun2/sun2/machdep.c
--- a/sys/arch/sun2/sun2/machdep.c      Sun Mar 08 06:05:05 2020 +0000
+++ b/sys/arch/sun2/sun2/machdep.c      Sun Mar 08 06:06:46 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.81 2020/03/08 06:05:05 rin Exp $ */
+/*     $NetBSD: machdep.c,v 1.82 2020/03/08 06:06:46 rin Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -149,7 +149,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.81 2020/03/08 06:05:05 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.82 2020/03/08 06:06:46 rin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_fpu_emulate.h"
@@ -172,6 +172,7 @@
 #include <sys/ksyms.h>
 #include <sys/malloc.h>
 #include <sys/mbuf.h>
+#include <sys/module.h>
 #include <sys/mount.h>
 #include <sys/msgbuf.h>
 #include <sys/proc.h>
@@ -1167,3 +1168,13 @@
                return 0;
        return EFAULT;
 }
+
+#ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
+#endif



Home | Main Index | Thread Index | Old Index