Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/emips/emips Initialize iospace_size instead of iosp...



details:   https://anonhg.NetBSD.org/src/rev/bfb0c64f4d59
branches:  trunk
changeset: 355478:bfb0c64f4d59
user:      he <he%NetBSD.org@localhost>
date:      Sun Jul 30 11:38:57 2017 +0000

description:
Initialize iospace_size instead of iospace (will be overwritten) to 64k.
Brings boot of emips on giano a bit closer, but now it's stuck (hangs).

diffstat:

 sys/arch/emips/emips/machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 55ece0a0bef6 -r bfb0c64f4d59 sys/arch/emips/emips/machdep.c
--- a/sys/arch/emips/emips/machdep.c    Sun Jul 30 05:51:34 2017 +0000
+++ b/sys/arch/emips/emips/machdep.c    Sun Jul 30 11:38:57 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.12 2016/12/22 14:47:54 cherry Exp $      */
+/*     $NetBSD: machdep.c,v 1.13 2017/07/30 11:38:57 he Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.12 2016/12/22 14:47:54 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.13 2017/07/30 11:38:57 he Exp $");
 
 #include "opt_ddb.h"
 
@@ -82,8 +82,8 @@
 #include <ddb/db_extern.h>
 #endif
 
-vaddr_t iospace = 64 * 1024; /* BUGBUG make it an option? */
-vsize_t iospace_size;
+vaddr_t iospace;
+vsize_t iospace_size = 64 * 1024; /* BUGBUG make it an option? */
 
 #include "ksyms.h"
 



Home | Main Index | Thread Index | Old Index