comparison cos/kernel/kernel.c @ 18:6129643f5c34

Fixed interrupt issue, ds, es, ss, fs and gs were not initialized to 0
author windel
date Sun, 20 Nov 2011 20:35:51 +0100
parents f3e3e0e9c4bc
children f454e3c592dd
comparison
equal deleted inserted replaced
17:f3e3e0e9c4bc 18:6129643f5c34
145 } 145 }
146 146
147 void kmain() 147 void kmain()
148 { 148 {
149 init_screen(); 149 init_screen();
150 clear_screen();
151 printf("Welcome! .. "); 150 printf("Welcome! .. ");
152 151
153 printf("Enabling interrupts .. "); 152 printf("Enabling interrupts .. ");
154 setupIDT(); 153 setupIDT();
155 printf("Entering mainloop!\n"); 154 printf("Entering mainloop!\n");