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 Support rumpkern components and ru...
details: https://anonhg.NetBSD.org/src/rev/a9c584a85879
branches: trunk
changeset: 755610:a9c584a85879
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Jun 12 07:13:54 2010 +0000
description:
Support rumpkern components and rumpkern components depending on vfs init.
diffstat:
sys/rump/librump/rumpkern/rump.c | 9 +++++++--
sys/rump/librump/rumpkern/rump_private.h | 3 ++-
2 files changed, 9 insertions(+), 3 deletions(-)
diffs (51 lines):
diff -r f97dfc389619 -r a9c584a85879 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Sat Jun 12 05:54:05 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Sat Jun 12 07:13:54 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.178 2010/06/10 21:40:42 pooka Exp $ */
+/* $NetBSD: rump.c,v 1.179 2010/06/12 07:13:54 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.178 2010/06/10 21:40:42 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.179 2010/06/12 07:13:54 pooka Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -358,10 +358,15 @@
/* process dso's */
rumpuser_dl_bootstrap(add_linkedin_modules, rump_kernelfsym_load);
+ rump_component_init(RUMP_COMPONENT_KERN);
+
/* these do nothing if not present */
rump_vfs_init();
rump_net_init();
rump_dev_init();
+
+ rump_component_init(RUMP_COMPONENT_KERN_VFS);
+
cold = 0;
/* aieeeedondest */
diff -r f97dfc389619 -r a9c584a85879 sys/rump/librump/rumpkern/rump_private.h
--- a/sys/rump/librump/rumpkern/rump_private.h Sat Jun 12 05:54:05 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump_private.h Sat Jun 12 07:13:54 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_private.h,v 1.51 2010/06/10 21:40:42 pooka Exp $ */
+/* $NetBSD: rump_private.h,v 1.52 2010/06/12 07:13:54 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -64,6 +64,7 @@
RUMP_COMPONENT_DEV,
RUMP_COMPONENT_NET, RUMP_COMPONENT_NET_ROUTE, RUMP_COMPONENT_NET_IF,
RUMP_COMPONENT_VFS,
+ RUMP_COMPONENT_KERN, RUMP_COMPONENT_KERN_VFS,
RUMP_COMPONENT_MAX,
};
struct rump_component {
Home |
Main Index |
Thread Index |
Old Index