Implement PIT interrupts
This commit is contained in:
11
kernel/hal/x86_64/pit.h
Normal file
11
kernel/hal/x86_64/pit.h
Normal 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_
|
Reference in New Issue
Block a user