summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/clock.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-01-06 01:39:25 +0000
committermarcel <marcel@FreeBSD.org>2003-01-06 01:39:25 +0000
commit584a6a5f1c1ff4637eb78d77a15cc45dd3538bde (patch)
tree54b80167760258f56b21e47614516b58c376b957 /sys/ia64/include/clock.h
parentaf85e6b2d6cbb0bfeb1d71c20e0e67bc98e06938 (diff)
downloadFreeBSD-src-584a6a5f1c1ff4637eb78d77a15cc45dd3538bde.zip
FreeBSD-src-584a6a5f1c1ff4637eb78d77a15cc45dd3538bde.tar.gz
Replace the hardcoding of 255 as the clock interrupt vector with
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).
Diffstat (limited to 'sys/ia64/include/clock.h')
-rw-r--r--sys/ia64/include/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ia64/include/clock.h b/sys/ia64/include/clock.h
index 65673c0..41e3bf6 100644
--- a/sys/ia64/include/clock.h
+++ b/sys/ia64/include/clock.h
@@ -11,6 +11,8 @@
#ifdef _KERNEL
+#define CLOCK_VECTOR 254
+
extern int disable_rtc_set;
extern int wall_cmos_clock;
extern int adjkerntz;
OpenPOWER on IntegriCloud