freebsd-dev/sys/ia64/include/clock.h
Marcel Moolenaar de09ec92e6 Manually inline handleclock(). There's only a single caller and
handleclock itself is trivial.

While here, replace (itc_frequency+hz/2)/hz with itm_reload for
consistency. There's now a single place where we determine the
ITM reload value.
2003-01-06 00:38:35 +00:00

28 lines
496 B
C

/*
* Kernel interface to machine-dependent clock driver.
* Garrett Wollman, September 1994.
* This file is in the public domain.
*
* $FreeBSD$
*/
#ifndef _MACHINE_CLOCK_H_
#define _MACHINE_CLOCK_H_
#ifdef _KERNEL
extern int disable_rtc_set;
extern int wall_cmos_clock;
extern int adjkerntz;
extern u_int64_t itc_frequency;
extern u_int64_t itm_reload;
int sysbeep(int pitch, int period);
int acquire_timer2(int mode);
int release_timer2(void);
#endif
#endif /* !_MACHINE_CLOCK_H_ */