implements the PIT
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user