implements the PIT

This commit is contained in:
2025-06-08 13:22:09 -04:00
parent c6cc318c69
commit ac3dc4d48a
4 changed files with 26 additions and 4 deletions

View File

@ -8,6 +8,7 @@
#include <kernel/x86/idt.h>
#include <kernel/x86/io.h>
#include <kernel/x86/keyb.h>
#include <kernel/x86/pit.h>
#include <kernel/x86/pit.h>
@ -28,6 +29,8 @@ void kmain(void)
init_kb();
init_pit(0x36, PIT_CHANNEL_0, 0);
printf("%f\n", get_time_from_divisor(10));
printf("Entering loop...\n");