blob: 79bb950f82c5d12205391aeef810ebf1ef583b01 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_X8664_HPET_H
2#define _ASM_X8664_HPET_H 1
3
Thomas Gleixner0655d7c2007-07-21 17:10:16 +02004#include <asm-i386/hpet.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Jordan Hargraveb20367a2006-04-07 19:50:18 +02006#define HPET_TICK_RATE (HZ * 100000UL)
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008extern int hpet_rtc_timer_init(void);
john stultzc37e7bb2007-02-16 01:28:19 -08009extern int hpet_arch_init(void);
10extern int hpet_timer_stop_set_go(unsigned long tick);
11extern int hpet_reenable(void);
12extern unsigned int hpet_calibrate_tsc(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Chris McDermott33042a92006-02-11 17:55:50 -080014extern int hpet_use_timer;
john stultzc37e7bb2007-02-16 01:28:19 -080015extern unsigned long hpet_period;
16extern unsigned long hpet_tick;
Chris McDermott33042a92006-02-11 17:55:50 -080017
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#endif