From owner-svn-src-all@FreeBSD.ORG Thu Jan 28 14:03:06 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2ED01065672; Thu, 28 Jan 2010 14:03:06 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 91CE88FC12; Thu, 28 Jan 2010 14:03:06 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o0SE36il059335; Thu, 28 Jan 2010 14:03:06 GMT (envelope-from rrs@svn.freebsd.org) Received: (from rrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o0SE36JR059333; Thu, 28 Jan 2010 14:03:06 GMT (envelope-from rrs@svn.freebsd.org) Message-Id: <201001281403.o0SE36JR059333@svn.freebsd.org> From: Randall Stewart Date: Thu, 28 Jan 2010 14:03:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203114 - head/sys/mips/mips X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2010 14:03:06 -0000 Author: rrs Date: Thu Jan 28 14:03:06 2010 New Revision: 203114 URL: http://svn.freebsd.org/changeset/base/203114 Log: Adds additional hacks for proper bits so that the RMI/XLR has the COP0 and COP2 bits enabled Plus it needs SX too. Thanks again for JC in catching this ;-) Submitted by: JC (jayachandranc@netlogicmicro.com Modified: head/sys/mips/mips/locore.S Modified: head/sys/mips/mips/locore.S ============================================================================== --- head/sys/mips/mips/locore.S Thu Jan 28 14:01:47 2010 (r203113) +++ head/sys/mips/mips/locore.S Thu Jan 28 14:03:06 2010 (r203114) @@ -104,6 +104,12 @@ VECTOR(_locore, unknown) /* Reset these bits */ li t0, ~(MIPS_SR_DE | MIPS_SR_SOFT_RESET | MIPS_SR_ERL | MIPS_SR_EXL | MIPS_SR_INT_IE) +#elif defined (CPU_XLR) + /* Set these bits */ + li t1, (MIPS_SR_COP_2_BIT | MIPS_SR_COP_0_BIT | MIPS_SR_KX) + + /* Reset these bits */ + li t0, ~(MIPS_SR_BEV | MIPS_SR_SOFT_RESET | MIPS_SR_INT_IE) #else /* * t0: Bits to preserve if set: