feat(kernel): implement Phase 2 - IDT64, 8259 PIC, 100Hz PIT timer & PS/2 keyboard driver
This commit is contained in:
1 parent
eec88c14c0
commit
7251770d7f
16 files changed
+863
-19
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#ifndef AIRLYS_TIMER_H
|
||||
#define AIRLYS_TIMER_H
|
||||
|
||||
#include <airlys/types.h>
|
||||
|
||||
void timer_init(uint32_t frequency_hz);
|
||||
uint64_t timer_get_ticks(void);
|
||||
void timer_sleep(uint32_t ticks);
|
||||
|
||||
#endif /* AIRLYS_TIMER_H */
|
||||
Reference in new issue
Block a user