2005-04-16 15:20:36 -07:00
|
|
|
#ifndef _ASM_X8664_HPET_H
|
|
|
|
#define _ASM_X8664_HPET_H 1
|
|
|
|
|
2007-07-21 17:10:16 +02:00
|
|
|
#include <asm-i386/hpet.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-04-07 19:50:18 +02:00
|
|
|
#define HPET_TICK_RATE (HZ * 100000UL)
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
extern int hpet_rtc_timer_init(void);
|
2007-02-16 01:28:19 -08:00
|
|
|
extern int hpet_arch_init(void);
|
|
|
|
extern int hpet_timer_stop_set_go(unsigned long tick);
|
|
|
|
extern int hpet_reenable(void);
|
|
|
|
extern unsigned int hpet_calibrate_tsc(void);
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-02-11 17:55:50 -08:00
|
|
|
extern int hpet_use_timer;
|
2007-02-16 01:28:19 -08:00
|
|
|
extern unsigned long hpet_period;
|
|
|
|
extern unsigned long hpet_tick;
|
2006-02-11 17:55:50 -08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#endif
|