This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
OS_Project/Part1/A4/07_timers/kernel/kernel.c

14 lines
272 B
C
Raw Normal View History

2023-09-11 18:28:11 +00:00
#include "../cpu/isr.h"
#include "../cpu/timer.h"
#include "../drivers/keyboard.h"
void _start() {
isr_install();
asm volatile("sti");
init_timer(50);
/* Comment out the timer IRQ handler to read
* the keyboard IRQs easier */
init_keyboard();
}