summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/apicreg.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-01-21 06:01:20 +0000
committerpeter <peter@FreeBSD.org>2005-01-21 06:01:20 +0000
commit8b5a41aeac62532507fcb39413b9f21bf9ba0166 (patch)
treefa0a4aa072559100211bd1335297a0fc44a50865 /sys/amd64/include/apicreg.h
parent63c4d6030676332d662005c8750ef471df3e8bfe (diff)
downloadFreeBSD-src-8b5a41aeac62532507fcb39413b9f21bf9ba0166.zip
FreeBSD-src-8b5a41aeac62532507fcb39413b9f21bf9ba0166.tar.gz
JumboMFi386: use bitmapped IPI handler. Update elcr and default mptable
config handler. Tidy up various local apic initialization.
Diffstat (limited to 'sys/amd64/include/apicreg.h')
-rw-r--r--sys/amd64/include/apicreg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h
index c451b71..d5d5dc3 100644
--- a/sys/amd64/include/apicreg.h
+++ b/sys/amd64/include/apicreg.h
@@ -330,8 +330,13 @@ typedef struct IOAPIC ioapic_t;
#define APIC_LVTT_DS 0x00001000
#define APIC_LVTT_M 0x00010000
#define APIC_LVTT_TM 0x00020000
+# define APIC_LVTT_TM_ONE_SHOT 0x00000000
+# define APIC_LVTT_TM_PERIODIC 0x00020000
+/* APIC timer current count */
+#define APIC_TIMER_MAX_COUNT 0xffffffff
+
/* fields in TDCR */
#define APIC_TDCR_2 0x00
#define APIC_TDCR_4 0x01
OpenPOWER on IntegriCloud