mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
cbb095815a
CLOCK_VECTOR and define it as 254, not 255. Vector 255 is already in use as the AP wakeup vector on the HP rx2600. This needs to be made more dynamic. The likelyhood of vector 254 being in use is pretty small, but we already have code to assign vectors to IPIs (see sal.c) and it's preobably better to have a centralized "vector manager" that hands out vectors based on some imput (like priority).
30 lines
522 B
C
30 lines
522 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
|
|
|
|
#define CLOCK_VECTOR 254
|
|
|
|
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_ */
|