2005-04-16 15:20:36 -07:00
|
|
|
#ifndef _ASM_X8664_HPET_H
|
|
|
|
#define _ASM_X8664_HPET_H 1
|
|
|
|
|
2007-07-21 08:10:16 -07:00
|
|
|
#include <asm-i386/hpet.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-04-07 10:50:18 -07: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 02:28:19 -07: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 18:55:50 -07:00
|
|
|
extern int hpet_use_timer;
|
2007-02-16 02:28:19 -07:00
|
|
|
extern unsigned long hpet_period;
|
|
|
|
extern unsigned long hpet_tick;
|
2006-02-11 18:55:50 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#endif
|