#ifndef __PIT_H #define __PIT_H #include #include extern void i86_PitHandler(ISR_stack_regs *r); extern void i86_PitInitialize(int freq); extern unsigned char PitIsInitialized(); extern void PitSetFrequency(int frequency); extern unsigned int PitGetFrequency(); extern TIME ClockGetTime(); extern unsigned int ClockSetTickCount(unsigned int i); extern unsigned int ClockGetTickCount(); extern void i86_SetRTC (const TIME* time); extern void i86_GetRTC(TIME* tim); #endif