CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/rmixl
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 sys/cdefs.h -__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
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 sys/cdefs.h -__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
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/rmixl
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/rmixl
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/rmixl
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
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/rmixl
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
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/rmixl
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.