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 We don't have a real rootdev (by d...
details: https://anonhg.NetBSD.org/src/rev/22881bdf6d31
branches: trunk
changeset: 753515:22881bdf6d31
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Mar 31 14:08:33 2010 +0000
description:
We don't have a real rootdev (by default at least), so set it to NODEV.
diffstat:
sys/rump/librump/rumpkern/emul.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 04f1d4a97df9 -r 22881bdf6d31 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c Wed Mar 31 13:33:14 2010 +0000
+++ b/sys/rump/librump/rumpkern/emul.c Wed Mar 31 14:08:33 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emul.c,v 1.123 2010/03/01 11:35:58 pooka Exp $ */
+/* $NetBSD: emul.c,v 1.124 2010/03/31 14:08:33 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.123 2010/03/01 11:35:58 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.124 2010/03/31 14:08:33 pooka Exp $");
#include <sys/param.h>
#include <sys/null.h>
@@ -67,7 +67,7 @@
kmutex_t *proc_lock;
struct lwp lwp0;
struct vnode *rootvp;
-dev_t rootdev;
+dev_t rootdev = NODEV;
int physmem = 256*256; /* 256 * 1024*1024 / 4k, PAGE_SIZE not always set */
int doing_shutdown;
const int schedppq = 1;
Home |
Main Index |
Thread Index |
Old Index