PERFORCE change 101999 for review

Suleiman Souhlal ssouhlal at FreeBSD.org
Thu Jul 20 14:46:10 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=101999

Change 101999 by ssouhlal at 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);
 }


More information about the p4-projects mailing list