quark/src/kernel/drivers/timer.c

12 líneas
228 B
C
Original Vista normal Històric

2022-06-18 19:19:03 +02:00
#include "timer.h"
#include "../arch/i686/isr.h"
2022-06-19 19:17:15 +02:00
#include "../lib/stdio.h"
2022-06-18 19:19:03 +02:00
static void timer_handler(registers *regs){
2022-06-19 19:08:16 +02:00
//printf("TICK\n");
2022-06-18 19:19:03 +02:00
}
void timer_initialize(){
i686_isr_register_handler(IRQ(0), timer_handler);
}