réplica de
https://github.com/Arnau478/quark.git
synced 2024-06-11 17:16:45 +02:00
12 líneas
222 B
C
12 líneas
222 B
C
|
#include "timer.h"
|
||
|
#include "../arch/i686/isr.h"
|
||
|
#include "../stdio.h"
|
||
|
|
||
|
static void timer_handler(registers *regs){
|
||
|
printf("TICK\n");
|
||
|
}
|
||
|
|
||
|
void timer_initialize(){
|
||
|
i686_isr_register_handler(IRQ(0), timer_handler);
|
||
|
}
|