kernel.c 270 B

12345678910111213
  1. #include "../cpu/isr.h"
  2. #include "../cpu/timer.h"
  3. #include "../drivers/keyboard.h"
  4. void main() {
  5. isr_install();
  6. asm volatile("sti");
  7. init_timer(50);
  8. /* Comment out the timer IRQ handler to read
  9. * the keyboard IRQs easier */
  10. init_keyboard();
  11. }