clock.h (145010) | clock.h (153666) |
---|---|
1/*- 2 * Kernel interface to machine-dependent clock driver. 3 * Garrett Wollman, September 1994. 4 * This file is in the public domain. 5 * | 1/*- 2 * Kernel interface to machine-dependent clock driver. 3 * Garrett Wollman, September 1994. 4 * This file is in the public domain. 5 * |
6 * $FreeBSD: head/sys/i386/include/clock.h 145010 2005-04-13 13:12:12Z nyan $ | 6 * $FreeBSD: head/sys/i386/include/clock.h 153666 2005-12-22 22:16:09Z jhb $ |
7 */ 8 9#ifndef _MACHINE_CLOCK_H_ 10#define _MACHINE_CLOCK_H_ 11 12#ifdef _KERNEL 13/* 14 * i386 to clock driver interface. --- 9 unchanged lines hidden (view full) --- 24extern int timer0_max_count; 25extern uint64_t tsc_freq; 26extern int tsc_is_broken; 27extern int wall_cmos_clock; 28 29/* 30 * Driver to clock driver interface. 31 */ | 7 */ 8 9#ifndef _MACHINE_CLOCK_H_ 10#define _MACHINE_CLOCK_H_ 11 12#ifdef _KERNEL 13/* 14 * i386 to clock driver interface. --- 9 unchanged lines hidden (view full) --- 24extern int timer0_max_count; 25extern uint64_t tsc_freq; 26extern int tsc_is_broken; 27extern int wall_cmos_clock; 28 29/* 30 * Driver to clock driver interface. 31 */ |
32struct clockframe; | |
33 34int acquire_timer2(int mode); 35int release_timer2(void); 36int rtcin(int val); 37int sysbeep(int pitch, int period); 38void timer_restore(void); 39void init_TSC(void); 40void init_TSC_tc(void); 41 42#endif /* _KERNEL */ 43 44#endif /* !_MACHINE_CLOCK_H_ */ | 32 33int acquire_timer2(int mode); 34int release_timer2(void); 35int rtcin(int val); 36int sysbeep(int pitch, int period); 37void timer_restore(void); 38void init_TSC(void); 39void init_TSC_tc(void); 40 41#endif /* _KERNEL */ 42 43#endif /* !_MACHINE_CLOCK_H_ */ |