From owner-p4-projects@FreeBSD.ORG Thu Jul 20 14:46:09 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BC2AC16A4DE; Thu, 20 Jul 2006 14:46:09 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7561516A4E1 for ; Thu, 20 Jul 2006 14:46:09 +0000 (UTC) (envelope-from ssouhlal@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CC9743D7D for ; Thu, 20 Jul 2006 14:46:09 +0000 (GMT) (envelope-from ssouhlal@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6KEk8Lj009748 for ; Thu, 20 Jul 2006 14:46:09 GMT (envelope-from ssouhlal@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6KEk82k009745 for perforce@freebsd.org; Thu, 20 Jul 2006 14:46:08 GMT (envelope-from ssouhlal@freebsd.org) Date: Thu, 20 Jul 2006 14:46:08 GMT Message-Id: <200607201446.k6KEk82k009745@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to ssouhlal@freebsd.org using -f From: Suleiman Souhlal To: Perforce Change Reviews Cc: Subject: PERFORCE change 101999 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 14:46:10 -0000 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); }