comparison cos/kernel/kernel.c @ 14:a58904747019

Added asm interrupt handler things, not yet working
author windel
date Mon, 14 Nov 2011 22:45:55 +0100
parents 92ace1ca50a8
children f3e3e0e9c4bc
comparison
equal deleted inserted replaced
13:d07d4701a103 14:a58904747019
127 { 127 {
128 init_screen(); 128 init_screen();
129 clear_screen(); 129 clear_screen();
130 printf("Welcome!\n"); 130 printf("Welcome!\n");
131 printf("sizeof(uint32_t)=%u, sizeof(uint64_t)=%u\n", sizeof(uint32_t), sizeof(uint64_t)); 131 printf("sizeof(uint32_t)=%u, sizeof(uint64_t)=%u\n", sizeof(uint32_t), sizeof(uint64_t));
132
133 printf("Enabling interrupts\n");
134 setupIDT();
132 printf("Entering mainloop!\n"); 135 printf("Entering mainloop!\n");
133 136
134 while (1==1) 137 while (1==1)
135 { 138 {
136 char buffer[70]; 139 char buffer[70];