From owner-svn-src-all@FreeBSD.ORG Wed Jan 20 14:17:42 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 5021F106566C; Wed, 20 Jan 2010 14:17:42 +0000 (UTC) (envelope-from neel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 403158FC08; Wed, 20 Jan 2010 14:17:42 +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 o0KEHgwv025187; Wed, 20 Jan 2010 14:17:42 GMT (envelope-from neel@svn.freebsd.org) Received: (from neel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o0KEHgLM025185; Wed, 20 Jan 2010 14:17:42 GMT (envelope-from neel@svn.freebsd.org) Message-Id: <201001201417.o0KEHgLM025185@svn.freebsd.org> From: Neel Natu Date: Wed, 20 Jan 2010 14:17:42 +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: r202697 - 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: Wed, 20 Jan 2010 14:17:42 -0000 Author: neel Date: Wed Jan 20 14:17:41 2010 New Revision: 202697 URL: http://svn.freebsd.org/changeset/base/202697 Log: Make sure that interrupts are enabled when thread0 is running. Approved by: imp (mentor) Modified: head/sys/mips/mips/machdep.c Modified: head/sys/mips/mips/machdep.c ============================================================================== --- head/sys/mips/mips/machdep.c Wed Jan 20 13:50:30 2010 (r202696) +++ head/sys/mips/mips/machdep.c Wed Jan 20 14:17:41 2010 (r202697) @@ -351,7 +351,9 @@ mips_vector_init(void) * Mask all interrupts. Each interrupt will be enabled * when handler is installed for it */ - set_intr_mask (ALL_INT_MASK); + set_intr_mask(ALL_INT_MASK); + enableintr(); + /* Clear BEV in SR so we start handling our own exceptions */ mips_cp0_status_write(mips_cp0_status_read() & ~SR_BOOT_EXC_VEC);