Module Name: src
Committed By: nisimura
Date: Thu Jan 28 01:57:46 UTC 2010
Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: vm_machdep.c
Log Message:
fix a comment to tell register S7 ($23) is used for curlwp pointer.
To generate a diff of this commit:
cvs rdiff -u -r1.121.6.1.2.6 -r1.121.6.1.2.7 \
src/sys/arch/mips/mips/vm_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/mips/mips/vm_machdep.c
diff -u src/sys/arch/mips/mips/vm_machdep.c:1.121.6.1.2.6 src/sys/arch/mips/mips/vm_machdep.c:1.121.6.1.2.7
--- src/sys/arch/mips/mips/vm_machdep.c:1.121.6.1.2.6 Tue Jan 26 21:07:14 2010
+++ src/sys/arch/mips/mips/vm_machdep.c Thu Jan 28 01:57:45 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.121.6.1.2.6 2010/01/26 21:07:14 matt Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.121.6.1.2.7 2010/01/28 01:57:45 nisimura Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -80,7 +80,7 @@
#include "opt_coredump.h"
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.121.6.1.2.6 2010/01/26 21:07:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.121.6.1.2.7 2010/01/28 01:57:45 nisimura Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -173,7 +173,7 @@
pcb = &l2->l_addr->u_pcb;
pcb->pcb_context.val[_L_S0] = (intptr_t)func; /* S0 */
pcb->pcb_context.val[_L_S1] = (intptr_t)arg; /* S1 */
- pcb->pcb_context.val[MIPS_CURLWP_CARD - 16] = (intptr_t)l2; /* S? */
+ pcb->pcb_context.val[MIPS_CURLWP_CARD - 16] = (intptr_t)l2; /* S7 */
pcb->pcb_context.val[_L_SP] = (intptr_t)f; /* SP */
pcb->pcb_context.val[_L_RA] = (intptr_t)lwp_trampoline; /* RA */
#ifdef _LP64
@@ -198,7 +198,7 @@
pcb->pcb_context.val[_L_S0] = (intptr_t)func; /* S0 */
pcb->pcb_context.val[_L_S1] = (intptr_t)arg; /* S1 */
- pcb->pcb_context.val[MIPS_CURLWP_CARD - 16] = (intptr_t)l; /* S? */
+ pcb->pcb_context.val[MIPS_CURLWP_CARD - 16] = (intptr_t)l; /* S7 */
pcb->pcb_context.val[_L_SP] = (intptr_t)f; /* SP */
pcb->pcb_context.val[_L_RA] = (intptr_t)setfunc_trampoline; /* RA */
#ifdef _LP64