CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-03-08 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Mar  9 02:04:46 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
Use dmtc0 too.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.23 -r1.1.2.24 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/rmixl/machdep.c
diff -u src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.23 src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.24
--- src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.23	Tue Mar  9 02:02:53 2010
+++ src/sys/arch/evbmips/rmixl/machdep.c	Tue Mar  9 02:04:46 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.1.2.23 2010/03/09 02:02:53 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.1.2.24 2010/03/09 02:04:46 matt Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.23 2010/03/09 02:02:53 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.24 2010/03/09 02:04:46 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_com.h"
@@ -448,7 +448,7 @@
 	/*
 	 * Fix up the exception vector to use COP0 OSSCRATCH0
 	 */
-	__asm __volatile("mtc0 %0,$%1"
+	__asm __volatile("dmtc0 %0,$%1"
 		:: "r"(&cpu_info_store), "n"(MIPS_COP_0_OSSCRATCH));
 	mips_fixup_exceptions(rmixl_fixup_cop0_oscratch);
 #endif



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-03-08 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Mar  9 02:04:46 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
Use dmtc0 too.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.23 -r1.1.2.24 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-03-08 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Mar  9 02:02:53 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
Use dmfc0 k0,cop0_osscratch if _LP64


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.22 -r1.1.2.23 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/rmixl/machdep.c
diff -u src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.22 src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.23
--- src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.22	Sat Feb 27 21:26:28 2010
+++ src/sys/arch/evbmips/rmixl/machdep.c	Tue Mar  9 02:02:53 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.1.2.22 2010/02/27 21:26:28 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.1.2.23 2010/03/09 02:02:53 matt Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.22 2010/02/27 21:26:28 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.23 2010/03/09 02:02:53 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_com.h"
@@ -469,8 +469,11 @@
 	 * relative from the start of struct cpu_info.
 	 */
 
-	/* [0] = mfc0 rX, $22 (OSScratch) */
+	/* [0] = [d]mfc0 rX, $22 (OSScratch) */
 	new_insns[0] = (020 << 26)
+#ifdef _LP64
+	| (1 << 21)		/* double move */
+#endif
 	| (new_insns[0] & 0x001f)
 	| (MIPS_COP_0_OSSCRATCH << 11) | (0 << 0);
 



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-03-08 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Mar  9 02:02:53 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
Use dmfc0 k0,cop0_osscratch if _LP64


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.22 -r1.1.2.23 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/malta

2010-02-28 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Feb 28 23:47:06 UTC 2010

Modified Files:
src/sys/arch/evbmips/malta [matt-nb5-mips64]: machdep.c

Log Message:
Use cpu_startup_common.


To generate a diff of this commit:
cvs rdiff -u -r1.28.10.6 -r1.28.10.7 src/sys/arch/evbmips/malta/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/malta/machdep.c
diff -u src/sys/arch/evbmips/malta/machdep.c:1.28.10.6 src/sys/arch/evbmips/malta/machdep.c:1.28.10.7
--- src/sys/arch/evbmips/malta/machdep.c:1.28.10.6	Sat Feb 27 20:35:13 2010
+++ src/sys/arch/evbmips/malta/machdep.c	Sun Feb 28 23:47:05 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.28.10.6 2010/02/27 20:35:13 snj Exp $	*/
+/*	$NetBSD: machdep.c,v 1.28.10.7 2010/02/28 23:47:05 matt Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.28.10.6 2010/02/27 20:35:13 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.28.10.7 2010/02/28 23:47:05 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -355,37 +355,16 @@
 void
 cpu_startup()
 {
-	vaddr_t minaddr, maxaddr;
-	char pbuf[9];
-
 	/*
-	 * Good {morning,afternoon,evening,night}.
+	 * Do the common startup items.
 	 */
-	printf("%s%s", copyright, version);
-	format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
-	printf("total memory = %s\n", pbuf);
+	cpu_startup_common();
 
 	/*
 	 * Virtual memory is bootstrapped -- notify the bus spaces
 	 * that memory allocation is now safe.
 	 */
 	malta_configuration.mc_mallocsafe = 1;
-
-	minaddr = 0;
-	/*
-	 * Allocate a submap for physio.
-	 */
-	phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
-VM_PHYS_SIZE, 0, FALSE, NULL);
-
-	/*
-	 * (No need to allocate an mbuf cluster submap.  Mbuf clusters
-	 * are allocated via the pool allocator, and we use KSEG to
-	 * map those pages.)
-	 */
-
-	format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free));
-	printf("avail memory = %s\n", pbuf);
 }
 
 int	waittime = -1;



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/malta

2010-02-28 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Feb 28 23:47:06 UTC 2010

Modified Files:
src/sys/arch/evbmips/malta [matt-nb5-mips64]: machdep.c

Log Message:
Use cpu_startup_common.


To generate a diff of this commit:
cvs rdiff -u -r1.28.10.6 -r1.28.10.7 src/sys/arch/evbmips/malta/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-02-27 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Feb 27 21:26:28 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
Fix tpyo (missing ;)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.21 -r1.1.2.22 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/rmixl/machdep.c
diff -u src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.21 src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.22
--- src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.21	Sat Feb 27 20:35:14 2010
+++ src/sys/arch/evbmips/rmixl/machdep.c	Sat Feb 27 21:26:28 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.1.2.21 2010/02/27 20:35:14 snj Exp $	*/
+/*	$NetBSD: machdep.c,v 1.1.2.22 2010/02/27 21:26:28 matt Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.21 2010/02/27 20:35:14 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.22 2010/02/27 21:26:28 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_com.h"
@@ -248,7 +248,7 @@
 
 
 #ifdef MULTIPROCESSOR
-static bool rmixl_fixup_cop0_oscratch(int32_t, uint32_t [2])
+static bool rmixl_fixup_cop0_oscratch(int32_t, uint32_t [2]);
 void rmixl_get_wakeup_info(struct rmixl_config *);
 #ifdef MACHDEP_DEBUG
 static void rmixl_wakeup_info_print(volatile rmixlfw_cpu_wakeup_info_t *);



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-02-27 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Feb 27 21:26:28 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
Fix tpyo (missing ;)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.21 -r1.1.2.22 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips

2010-02-27 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Feb 27 20:35:14 UTC 2010

Modified Files:
src/sys/arch/evbmips/malta [matt-nb5-mips64]: machdep.c
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
Fix gimplish.


To generate a diff of this commit:
cvs rdiff -u -r1.28.10.5 -r1.28.10.6 src/sys/arch/evbmips/malta/machdep.c
cvs rdiff -u -r1.1.2.20 -r1.1.2.21 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips

2010-02-27 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Feb 27 20:35:14 UTC 2010

Modified Files:
src/sys/arch/evbmips/malta [matt-nb5-mips64]: machdep.c
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
Fix gimplish.


To generate a diff of this commit:
cvs rdiff -u -r1.28.10.5 -r1.28.10.6 src/sys/arch/evbmips/malta/machdep.c
cvs rdiff -u -r1.1.2.20 -r1.1.2.21 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/malta/machdep.c
diff -u src/sys/arch/evbmips/malta/machdep.c:1.28.10.5 src/sys/arch/evbmips/malta/machdep.c:1.28.10.6
--- src/sys/arch/evbmips/malta/machdep.c:1.28.10.5	Sat Feb 27 08:00:02 2010
+++ src/sys/arch/evbmips/malta/machdep.c	Sat Feb 27 20:35:13 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.28.10.5 2010/02/27 08:00:02 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.28.10.6 2010/02/27 20:35:13 snj Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.28.10.5 2010/02/27 08:00:02 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.28.10.6 2010/02/27 20:35:13 snj Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -333,7 +333,7 @@
 
 #ifdef MULTIPROCESSOR
 	/*
-	 * We can never running on more than one processor but we can dream.
+	 * We can never be running on more than one processor but we can dream.
 	 */
 	mips_fixup_exceptions(mips_fixup_zero_relative);
 #endif

Index: src/sys/arch/evbmips/rmixl/machdep.c
diff -u src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.20 src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.21
--- src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.20	Sat Feb 27 08:00:02 2010
+++ src/sys/arch/evbmips/rmixl/machdep.c	Sat Feb 27 20:35:14 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.1.2.20 2010/02/27 08:00:02 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.1.2.21 2010/02/27 20:35:14 snj Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.20 2010/02/27 08:00:02 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.21 2010/02/27 20:35:14 snj Exp $");
 
 #include "opt_ddb.h"
 #include "opt_com.h"
@@ -464,7 +464,7 @@
 	KASSERT(offset < sizeof(struct cpu_info));
 
 	/*
-	 * Fixup this direct load cpu_info_store to actual get the current
+	 * Fixup this direct load cpu_info_store to actually get the current
 	 * CPU's cpu_info from COP0 OSSCRATCH0 and then fix the load to be
 	 * relative from the start of struct cpu_info.
 	 */



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips

2010-02-27 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Feb 27 08:00:02 UTC 2010

Modified Files:
src/sys/arch/evbmips/malta [matt-nb5-mips64]: machdep.c
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
For MULTIPROCESSOR kernels, enable exception fixups.


To generate a diff of this commit:
cvs rdiff -u -r1.28.10.4 -r1.28.10.5 src/sys/arch/evbmips/malta/machdep.c
cvs rdiff -u -r1.1.2.19 -r1.1.2.20 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/malta/machdep.c
diff -u src/sys/arch/evbmips/malta/machdep.c:1.28.10.4 src/sys/arch/evbmips/malta/machdep.c:1.28.10.5
--- src/sys/arch/evbmips/malta/machdep.c:1.28.10.4	Mon Feb  1 04:17:51 2010
+++ src/sys/arch/evbmips/malta/machdep.c	Sat Feb 27 08:00:02 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.28.10.4 2010/02/01 04:17:51 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.28.10.5 2010/02/27 08:00:02 matt Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.28.10.4 2010/02/01 04:17:51 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.28.10.5 2010/02/27 08:00:02 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -144,6 +144,8 @@
 #include 
 #include 
 
+#include 
+
 #include 
 #include 
 #include 
@@ -328,6 +330,13 @@
 	if (boothowto & RB_KDB)
 		Debugger();
 #endif
+
+#ifdef MULTIPROCESSOR
+	/*
+	 * We can never running on more than one processor but we can dream.
+	 */
+	mips_fixup_exceptions(mips_fixup_zero_relative);
+#endif
 }
 
 void

Index: src/sys/arch/evbmips/rmixl/machdep.c
diff -u src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.19 src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.20
--- src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.19	Mon Feb  1 04:17:51 2010
+++ src/sys/arch/evbmips/rmixl/machdep.c	Sat Feb 27 08:00:02 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.1.2.19 2010/02/01 04:17:51 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.1.2.20 2010/02/27 08:00:02 matt Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.19 2010/02/01 04:17:51 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.20 2010/02/27 08:00:02 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_com.h"
@@ -248,6 +248,7 @@
 
 
 #ifdef MULTIPROCESSOR
+static bool rmixl_fixup_cop0_oscratch(int32_t, uint32_t [2])
 void rmixl_get_wakeup_info(struct rmixl_config *);
 #ifdef MACHDEP_DEBUG
 static void rmixl_wakeup_info_print(volatile rmixlfw_cpu_wakeup_info_t *);
@@ -443,7 +444,42 @@
 	if (boothowto & RB_KDB)
 		Debugger();
 #endif
+#ifdef MULTIPROCESSOR
+	/*
+	 * Fix up the exception vector to use COP0 OSSCRATCH0
+	 */
+	__asm __volatile("mtc0 %0,$%1"
+		:: "r"(&cpu_info_store), "n"(MIPS_COP_0_OSSCRATCH));
+	mips_fixup_exceptions(rmixl_fixup_cop0_oscratch);
+#endif
+}
+
+#ifdef MULTIPROCESSOR
+static bool
+rmixl_fixup_cop0_oscratch(int32_t load_addr, uint32_t new_insns[2])
+{
+	size_t offset = load_addr - (intptr_t)&cpu_info_store;
+
+	KASSERT(MIPS_KSEG0_P(load_addr));
+	KASSERT(offset < sizeof(struct cpu_info));
+
+	/*
+	 * Fixup this direct load cpu_info_store to actual get the current
+	 * CPU's cpu_info from COP0 OSSCRATCH0 and then fix the load to be
+	 * relative from the start of struct cpu_info.
+	 */
+
+	/* [0] = mfc0 rX, $22 (OSScratch) */
+	new_insns[0] = (020 << 26)
+	| (new_insns[0] & 0x001f)
+	| (MIPS_COP_0_OSSCRATCH << 11) | (0 << 0);
+
+	/* [1] = l[dw] rX, offset(rX) */
+	new_insns[1] = (new_insns[1] & 0x) | offset;
+
+	return true;
 }
+#endif /* MULTIPROCESSOR */
 
 /*
  * ram_seg_resv - cut reserved regions out of segs, fragmenting as needed



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips

2010-02-27 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Feb 27 08:00:02 UTC 2010

Modified Files:
src/sys/arch/evbmips/malta [matt-nb5-mips64]: machdep.c
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
For MULTIPROCESSOR kernels, enable exception fixups.


To generate a diff of this commit:
cvs rdiff -u -r1.28.10.4 -r1.28.10.5 src/sys/arch/evbmips/malta/machdep.c
cvs rdiff -u -r1.1.2.19 -r1.1.2.20 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2010-01-28 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Fri Jan 29 00:36:04 UTC 2010

Modified Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: XLSATX

Log Message:
- add option MEMLIMIT, can be used to limit max memory address used


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/arch/evbmips/conf/XLSATX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-28 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Fri Jan 29 00:22:27 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
- rmiclfw_psb_versions[] is replaced by rmiclfw_psb_id[]
  which now lists type to distinguish between RMI and Dell
  firmware variants
- use MEMLIMIT to limit max mem addr given to uvm


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.17 -r1.1.2.18 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-23 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Sun Jan 24 05:34:20 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
- move firmware info stuff into struct rmixl_config


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.16 -r1.1.2.17 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2010-01-23 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Sun Jan 24 05:27:47 UTC 2010

Added Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: XLSATX64.MP

Log Message:
add MP config wrapper for XLSATX64


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/evbmips/conf/XLSATX64.MP

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-21 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Fri Jan 22 07:58:52 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
- memsize and related now uint64_t to handle >4GB mem
- if MULTIPROCESSOR do not 'disable all threads except #0' or
  'set single MMU Thread Mode'


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.15 -r1.1.2.16 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 20 20:20:59 UTC 2010

Added Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: MALTA64.MP

Log Message:
Test kernel for MIPS kernel preemption work.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/evbmips/conf/MALTA64.MP

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-16 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Sun Jan 17 00:02:00 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
- get cpu wakeup info from firmware
- reserve the cpu_wakeup_info shared memory area from uvm
- initialize cpu_model from mycpu->cpu_name
- dont disable all non-0 threads if MULTIPROCESSOR


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.13 -r1.1.2.14 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-16 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Sat Jan 16 23:50:33 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: autoconf.h

Log Message:
- add struct mainbus_softc
- struct mainbus_attach_args loses ma_core, gets ma_node


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/evbmips/rmixl/autoconf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2010-01-16 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Sat Jan 16 23:49:32 UTC 2010

Modified Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: files.rmixl

Log Message:
- remove mainbus locator 'core', add mainbus locator 'node'
- cpucore and cpu config info moved to arch/mips/conf/files.rmixl


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/arch/evbmips/conf/files.rmixl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2010-01-16 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Sat Jan 16 23:49:10 UTC 2010

Modified Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: XLSATX

Log Message:
- cpunode attaches to mainbus
- cpucore and obio now attache to cpunode


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/arch/evbmips/conf/XLSATX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-13 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Wed Jan 13 09:41:53 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: cpu.c

Log Message:
- attach at cpucore
- match multiple cpus (RMI "threads")
- print of cpu freq and call to cpu_identify() moved to parent


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/evbmips/rmixl/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2010-01-13 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Wed Jan 13 09:41:32 UTC 2010

Modified Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: files.rmixl

Log Message:
- mainbus gets 'core' locator, loses (unused) 'addr' locator
- attach cpucore at mainbus
- attach cpu at cpucore


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/arch/evbmips/conf/files.rmixl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2010-01-13 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Wed Jan 13 09:40:56 UTC 2010

Modified Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: XLSATX

Log Message:
- attach cpucore at mainbus
- attach cpu at cpucore


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/arch/evbmips/conf/XLSATX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-13 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Wed Jan 13 09:40:35 UTC 2010

Added Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: cpucore.c cpucorevar.h

Log Message:
- add driver to represent processor core(s) in device tree


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/evbmips/rmixl/cpucore.c \
src/sys/arch/evbmips/rmixl/cpucorevar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-13 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Wed Jan 13 09:40:09 UTC 2010

Added Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: autoconf.h

Log Message:
- add autoconf.h, need mainbus_atach_args


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/evbmips/rmixl/autoconf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips

2010-01-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 13 01:53:19 UTC 2010

Modified Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: files.adm5120
files.alchemy files.atheros files.malta
Added Files:
src/sys/arch/evbmips/evbmips [matt-nb5-mips64]: cpu.c
Removed Files:
src/sys/arch/evbmips/adm5120 [matt-nb5-mips64]: cpu.c
src/sys/arch/evbmips/alchemy [matt-nb5-mips64]: cpu.c
src/sys/arch/evbmips/atheros [matt-nb5-mips64]: cpu.c
src/sys/arch/evbmips/malta [matt-nb5-mips64]: cpu.c

Log Message:
Use a common cpu.c for evbmips single cpu machines


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 src/sys/arch/evbmips/adm5120/cpu.c
cvs rdiff -u -r1.7 -r0 src/sys/arch/evbmips/alchemy/cpu.c
cvs rdiff -u -r1.3 -r0 src/sys/arch/evbmips/atheros/cpu.c
cvs rdiff -u -r1.5 -r1.5.28.1 src/sys/arch/evbmips/conf/files.adm5120
cvs rdiff -u -r1.9 -r1.9.28.1 src/sys/arch/evbmips/conf/files.alchemy
cvs rdiff -u -r1.6 -r1.6.28.1 src/sys/arch/evbmips/conf/files.atheros
cvs rdiff -u -r1.15.28.1 -r1.15.28.2 src/sys/arch/evbmips/conf/files.malta
cvs rdiff -u -r0 -r1.2.4.2 src/sys/arch/evbmips/evbmips/cpu.c
cvs rdiff -u -r1.7 -r0 src/sys/arch/evbmips/malta/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2010-01-12 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Tue Jan 12 08:18:23 UTC 2010

Modified Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: XLSATX

Log Message:
comment out options MEMSIZE; just use the mem we get from firmware map.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/evbmips/conf/XLSATX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-08 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Fri Jan  8 08:01:23 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
- if the firmware version is unknown, we use MEMSIZE instead of
  maps prpovided by firmware; if MEMSIZE if nt configure, print
  error message are halt; if would defer until consinit
  then we could panic.
- fix seg count when MEMSIZE is used to constrain memory  obtained from 
firmware maps
- cast physmem to to uint64_t before applying ctob() when passing
  bytes count to format_bytes()


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/include

2010-01-05 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan  6 04:24:38 UTC 2010

Modified Files:
src/sys/arch/evbmips/include [matt-nb5-mips64]: vmparam.h

Log Message:
Fix typo: VMFREE* -> VM_FREE*


To generate a diff of this commit:
cvs rdiff -u -r1.1.142.3 -r1.1.142.4 src/sys/arch/evbmips/include/vmparam.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl

2010-01-03 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Sun Jan  3 08:37:15 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
- rmixl_reset() now uses RESET bit in RMIXL_GPIO_RESET register to reboot


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2009-08-26 Thread David Young
On Wed, Aug 26, 2009 at 04:47:29AM +, Matt Thomas wrote:
> Module Name:  src
> Committed By: matt
> Date: Wed Aug 26 04:47:29 UTC 2009
> 
> Modified Files:
>   src/sys/arch/evbmips/conf [matt-nb5-mips64]: MALTA32 MALTA64
> 
> Log Message:
> Add no ath* since we have no Atheros HAL for mips64

We only have the source code, these days :-)

Dave

-- 
David Young OJC Technologies
dyo...@ojctech.com  Urbana, IL * (217) 278-3933