xref: /freebsd/sys/powerpc/include/clock.h (revision d056fa046c6a91b90cd98165face0e42a33a5173)
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$
7  */
8 
9 #ifndef _MACHINE_CLOCK_H_
10 #define	_MACHINE_CLOCK_H_
11 
12 #ifdef _KERNEL
13 
14 extern	int	disable_rtc_set;
15 extern	int	wall_cmos_clock;
16 extern	int	adjkerntz;
17 
18 struct trapframe;
19 
20 int	sysbeep(int pitch, int period);
21 int	acquire_timer2(int mode);
22 int	release_timer2(void);
23 
24 void	decr_intr(struct trapframe *);
25 
26 #endif
27 
28 #endif /* !_MACHINE_CLOCK_H_ */
29