kern

diff src/intr.c @ 27:7795225808b3

moved enable_intr out of init_intr and after the kernel initialization is completed
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 09 Apr 2011 07:22:27 +0300
parents eaec918de072
children a2c6110bd24b 06172322fb76
line diff
     1.1 --- a/src/intr.c	Sat Apr 09 07:14:06 2011 +0300
     1.2 +++ b/src/intr.c	Sat Apr 09 07:22:27 2011 +0300
     1.3 @@ -95,9 +95,6 @@
     1.4  	 * setting up the maping of IRQs [0, 15] to interrupts [32, 47]
     1.5  	 */
     1.6  	init_pic(IRQ_OFFSET);
     1.7 -
     1.8 -	/* we're done setting up, enable interrupts before returning */
     1.9 -	enable_intr();
    1.10  }
    1.11  
    1.12  /* set an interrupt handler function for a particular interrupt */