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 Now that we have a big devsw_conv0...
details: https://anonhg.NetBSD.org/src/rev/59a19e042464
branches: trunk
changeset: 754464:59a19e042464
user: pooka <pooka%NetBSD.org@localhost>
date: Sat May 01 09:00:06 2010 +0000
description:
Now that we have a big devsw_conv0, need at least as many entries
in devsw as the highest device number in the conv table. Do a
"good for a hundred years" guess now, fix properly later.
diffstat:
sys/rump/librump/rumpkern/emul.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (40 lines):
diff -r f0917f0fdd3c -r 59a19e042464 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c Sat May 01 08:35:52 2010 +0000
+++ b/sys/rump/librump/rumpkern/emul.c Sat May 01 09:00:06 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emul.c,v 1.134 2010/04/30 20:54:17 pooka Exp $ */
+/* $NetBSD: emul.c,v 1.135 2010/05/01 09:00:06 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.134 2010/04/30 20:54:17 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.135 2010/05/01 09:00:06 pooka Exp $");
#include <sys/param.h>
#include <sys/null.h>
@@ -75,15 +75,15 @@
int boothowto = AB_SILENT;
struct tty *constty;
-const struct bdevsw *bdevsw0[1];
+const struct bdevsw *bdevsw0[255];
const struct bdevsw **bdevsw = bdevsw0;
-const int sys_cdevsws = 0;
-int max_cdevsws = 1;
+const int sys_cdevsws = 255;
+int max_cdevsws = 255;
-const struct cdevsw *cdevsw0[1];
+const struct cdevsw *cdevsw0[255];
const struct cdevsw **cdevsw = cdevsw0;
-const int sys_bdevsws = 0;
-int max_bdevsws = 1;
+const int sys_bdevsws = 255;
+int max_bdevsws = 255;
int mem_no = 2;
Home |
Main Index |
Thread Index |
Old Index