kern

diff src/main.c @ 10:b11a86695493

interrupt handling
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 18 Feb 2011 08:42:32 +0200
parents 611b2d66420b
children eaec918de072
line diff
     1.1 --- a/src/main.c	Wed Feb 16 08:01:19 2011 +0200
     1.2 +++ b/src/main.c	Fri Feb 18 08:42:32 2011 +0200
     1.3 @@ -3,6 +3,7 @@
     1.4  #include "term.h"
     1.5  #include <asmops.h>
     1.6  #include "segm.h"
     1.7 +#include "intr.h"
     1.8  
     1.9  /* special keys */
    1.10  enum {
    1.11 @@ -38,6 +39,7 @@
    1.12  	puts("kernel starting up");
    1.13  
    1.14  	init_segm();
    1.15 +	init_intr();
    1.16  
    1.17  	set_text_color(YELLOW);
    1.18  	puts("<initialization code goes here>");