2005-01-07 02:29:27 +00:00
|
|
|
/*-
|
1998-06-10 10:57:29 +00:00
|
|
|
* Kernel interface to machine-dependent clock driver.
|
|
|
|
* Garrett Wollman, September 1994.
|
|
|
|
* This file is in the public domain.
|
|
|
|
*
|
1999-08-28 01:08:13 +00:00
|
|
|
* $FreeBSD$
|
1998-06-10 10:57:29 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MACHINE_CLOCK_H_
|
|
|
|
#define _MACHINE_CLOCK_H_
|
|
|
|
|
1999-12-29 04:46:21 +00:00
|
|
|
#ifdef _KERNEL
|
1998-06-10 10:57:29 +00:00
|
|
|
|
1998-10-06 08:40:18 +00:00
|
|
|
extern int disable_rtc_set;
|
1998-06-10 10:57:29 +00:00
|
|
|
extern int wall_cmos_clock;
|
|
|
|
extern int adjkerntz;
|
|
|
|
|
2002-03-20 23:17:50 +00:00
|
|
|
int sysbeep(int pitch, int period);
|
|
|
|
int acquire_timer2(int mode);
|
|
|
|
int release_timer2(void);
|
1998-06-10 10:57:29 +00:00
|
|
|
|
2001-06-16 07:14:07 +00:00
|
|
|
void decr_intr(struct clockframe *);
|
|
|
|
|
1999-12-29 04:46:21 +00:00
|
|
|
#endif
|
1998-06-10 10:57:29 +00:00
|
|
|
|
|
|
|
#endif /* !_MACHINE_CLOCK_H_ */
|