cfenollosa_os-tutorial/19-interrupts-irqs/kernel/kernel.c

12 lines
235 B
C
Raw Normal View History

2015-03-17 19:18:06 +00:00
#include "../drivers/screen.h"
#include "util.h"
#include "../cpu/isr.h"
#include "../cpu/idt.h"
void main() {
isr_install();
/* Test the interrupts */
__asm__ __volatile__("int $2");
__asm__ __volatile__("int $3");
}