Module Name: src
Committed By: matt
Date: Fri May 13 17:30:43 UTC 2011
Modified Files:
src/sys/arch/evbmips/alchemy [matt-nb5-mips64]: machdep.c
src/sys/arch/evbmips/atheros [matt-nb5-mips64]: machdep.c
Log Message:
Update for new mips_vector_init and savectx definitions.
To generate a diff of this commit:
cvs rdiff -u -r1.37.10.5 -r1.37.10.6 src/sys/arch/evbmips/alchemy/machdep.c
cvs rdiff -u -r1.13.10.6 -r1.13.10.7 src/sys/arch/evbmips/atheros/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/alchemy/machdep.c
diff -u src/sys/arch/evbmips/alchemy/machdep.c:1.37.10.5 src/sys/arch/evbmips/alchemy/machdep.c:1.37.10.6
--- src/sys/arch/evbmips/alchemy/machdep.c:1.37.10.5 Sun Mar 21 17:38:33 2010
+++ src/sys/arch/evbmips/alchemy/machdep.c Fri May 13 17:30:43 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.37.10.5 2010/03/21 17:38:33 cliff Exp $ */
+/* $NetBSD: machdep.c,v 1.37.10.6 2011/05/13 17:30:43 matt Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -107,7 +107,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.37.10.5 2010/03/21 17:38:33 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.37.10.6 2011/05/13 17:30:43 matt Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -212,7 +212,7 @@
* functions called during startup.
* Also clears the I+D caches.
*/
- mips_vector_init(NULL);
+ mips_vector_init(NULL, false);
/*
* Set the VM page size.
@@ -426,7 +426,7 @@
const struct alchemy_board *board;
/* Take a snapshot before clobbering any registers. */
- savectx(curlwp->l_addr);
+ savectx(lwp_getpcb(curlwp));
board = board_info();
KASSERT(board != NULL);
Index: src/sys/arch/evbmips/atheros/machdep.c
diff -u src/sys/arch/evbmips/atheros/machdep.c:1.13.10.6 src/sys/arch/evbmips/atheros/machdep.c:1.13.10.7
--- src/sys/arch/evbmips/atheros/machdep.c:1.13.10.6 Sun Mar 21 17:38:34 2010
+++ src/sys/arch/evbmips/atheros/machdep.c Fri May 13 17:30:43 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.13.10.6 2010/03/21 17:38:34 cliff Exp $ */
+/* $NetBSD: machdep.c,v 1.13.10.7 2011/05/13 17:30:43 matt Exp $ */
/*
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -147,7 +147,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.13.10.6 2010/03/21 17:38:34 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.13.10.7 2011/05/13 17:30:43 matt Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -240,7 +240,7 @@
* functions called during startup.
* Also clears the I+D caches.
*/
- mips_vector_init(NULL);
+ mips_vector_init(NULL, false);
/*
* Calibrate timers.
@@ -393,7 +393,7 @@
static int waittime = -1;
/* Take a snapshot before clobbering any registers. */
- savectx(curlwp->l_addr);
+ savectx(lwp_getpcb(curlwp));
/* If "always halt" was specified as a boot flag, obey. */
if (boothowto & RB_HALT)