Date: Thu, 20 Jul 2006 14:46:08 GMT From: Suleiman Souhlal <ssouhlal@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 101999 for review Message-ID: <200607201446.k6KEk82k009745@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101999 Change 101999 by ssouhlal@ssouhlal-maho on 2006/07/20 14:45:25 Don't set the KX bit in the status register for new threads, since we don't do 64-bit addressing yet. Noticed by: gonzo Affected files ... .. //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#5 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#5 (text+ko) ==== @@ -171,7 +171,7 @@ td->td_pcb = (struct pcb *)(td->td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1; td->td_frame = (struct trapframe *)td->td_pcb - 1; - td->td_pcb->pcb_regs[PCB_REG_SR] = MIPS_SR_KX | MIPS_SR_INT_IE; + td->td_pcb->pcb_regs[PCB_REG_SR] = MIPS_SR_INT_IE; /* Stack pointer. */ td->td_pcb->pcb_regs[PCB_REG_SP] = (register_t)_ALIGN(td->td_frame - 1); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607201446.k6KEk82k009745>