CTAOS v5
This commit is contained in:
@ -50,6 +50,11 @@ void i86_pit_install(int freq)
|
||||
|
||||
}
|
||||
|
||||
TIME i86_pit_get_time()
|
||||
{
|
||||
return _internal_clock;
|
||||
}
|
||||
|
||||
unsigned char i86_pit_is_initialized()
|
||||
{
|
||||
return _pit_init;
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define __PIT_H
|
||||
|
||||
#include<regs.h>
|
||||
extern volatile unsigned int _pit_ticks;
|
||||
extern volatile unsigned int _pit_ticks;
|
||||
extern volatile unsigned int _pit_frequency;
|
||||
extern volatile TIME _internal_clock;
|
||||
|
||||
|
Reference in New Issue
Block a user