Implement PIT interrupts

This commit is contained in:
2025-08-22 12:37:48 +02:00
parent 9d8849a425
commit 182c6e2956
13 changed files with 354 additions and 145 deletions

11
kernel/hal/x86_64/pit.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef HAL_PIT_H_
#define HAL_PIT_H_
#include <stdint.h>
extern volatile uint32_t PIT_TICKS;
void pit_init(void);
void pit_wait(uint32_t ms);
#endif // HAL_PIT_H_