Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpdev add some stubs required by raidfram...



details:   https://anonhg.NetBSD.org/src/rev/c59850871d39
branches:  trunk
changeset: 748033:c59850871d39
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat Oct 10 21:10:04 2009 +0000

description:
add some stubs required by raidframe linkage

diffstat:

 sys/rump/librump/rumpdev/rump_dev.c |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r 894e7cc1b63e -r c59850871d39 sys/rump/librump/rumpdev/rump_dev.c
--- a/sys/rump/librump/rumpdev/rump_dev.c       Sat Oct 10 19:05:28 2009 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev.c       Sat Oct 10 21:10:04 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_dev.c,v 1.7 2009/10/02 11:01:53 pooka Exp $       */
+/*     $NetBSD: rump_dev.c,v 1.8 2009/10/10 21:10:04 pooka Exp $       */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.7 2009/10/02 11:01:53 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.8 2009/10/10 21:10:04 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -43,6 +43,8 @@
 
 __weak_alias(rump_device_configuration,nocomponent);
 
+const char *rootspec = "rump0a"; /* usually comes from config */
+
 void
 rump_dev_init(void)
 {
@@ -71,6 +73,13 @@
        KERNEL_UNLOCK_LAST(curlwp);
 }
 
+void
+cpu_rootconf(void)
+{
+
+       panic("%s: unimplemented", __func__);
+}
+
 #ifdef __HAVE_DEVICE_REGISTER
 void
 device_register(struct device *dev, void *v)



Home | Main Index | Thread Index | Old Index