Date: Wed, 22 Nov 2006 13:12:43 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 110381 for review Message-ID: <200611221312.kAMDChJh057432@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110381 Change 110381 by gonzo@gonzo_hq on 2006/11/22 13:11:55 o a1 may be changed during pmap_activate call, so don't rely on pre-call value, get it from stack after call. Affected files ... .. //depot/projects/mips2/src/sys/mips/mips/swtch.S#6 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/mips/swtch.S#6 (text+ko) ==== @@ -46,9 +46,9 @@ lw t3, 0(sp) addu sp, 8 - lw t1, TD_MD_PTE0(a1) # a1 = stack_pte[0] - lw t2, TD_MD_PTE1(a1) # a2 = stack_pte[1] - lw v0, TD_MD_REALSTACK(a1) # va = md_realstack + lw t1, TD_MD_PTE0(t3) # a1 = stack_pte[0] + lw t2, TD_MD_PTE1(t3) # a2 = stack_pte[1] + lw v0, TD_MD_REALSTACK(t3) # va = md_realstack li s0, MIPS_KSSEG_START blt v0, s0, resume nop
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611221312.kAMDChJh057432>