clock.h (55205) | clock.h (67158) |
---|---|
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/amd64/include/clock.h 55205 1999-12-29 04:46:21Z peter $ | 6 * $FreeBSD: head/sys/amd64/include/clock.h 67158 2000-10-15 09:51:49Z phk $ |
7 */ 8 9#ifndef _MACHINE_CLOCK_H_ 10#define _MACHINE_CLOCK_H_ 11 12#ifdef _KERNEL 13/* 14 * i386 to clock driver interface. --- 11 unchanged lines hidden (view full) --- 26extern int apic_8254_intr; 27#endif 28 29/* 30 * Driver to clock driver interface. 31 */ 32struct clockframe; 33 | 7 */ 8 9#ifndef _MACHINE_CLOCK_H_ 10#define _MACHINE_CLOCK_H_ 11 12#ifdef _KERNEL 13/* 14 * i386 to clock driver interface. --- 11 unchanged lines hidden (view full) --- 26extern int apic_8254_intr; 27#endif 28 29/* 30 * Driver to clock driver interface. 31 */ 32struct clockframe; 33 |
34void DELAY __P((int usec)); | |
35int acquire_timer0 __P((int rate, 36 void (*function)(struct clockframe *frame))); 37int acquire_timer2 __P((int mode)); 38int release_timer0 __P((void)); 39int release_timer2 __P((void)); 40#ifndef PC98 41int rtcin __P((int val)); 42#else 43int acquire_timer1 __P((int mode)); 44int release_timer1 __P((void)); 45#endif 46int sysbeep __P((int pitch, int period)); 47void i8254_restore __P((void)); 48 49#endif /* _KERNEL */ 50 51#endif /* !_MACHINE_CLOCK_H_ */ | 34int acquire_timer0 __P((int rate, 35 void (*function)(struct clockframe *frame))); 36int acquire_timer2 __P((int mode)); 37int release_timer0 __P((void)); 38int release_timer2 __P((void)); 39#ifndef PC98 40int rtcin __P((int val)); 41#else 42int acquire_timer1 __P((int mode)); 43int release_timer1 __P((void)); 44#endif 45int sysbeep __P((int pitch, int period)); 46void i8254_restore __P((void)); 47 48#endif /* _KERNEL */ 49 50#endif /* !_MACHINE_CLOCK_H_ */ |