svn commit: r202697 - head/sys/mips/mips
Neel Natu
neel at FreeBSD.org
Wed Jan 20 14:17:42 UTC 2010
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);
More information about the svn-src-head
mailing list