summaryrefslogtreecommitdiffstats
path: root/sys/x86/include/apicreg.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-03-28 09:43:40 +0000
committerkib <kib@FreeBSD.org>2016-03-28 09:43:40 +0000
commit54481719ca6144e3ab78d35a2e1cc88766291516 (patch)
treeda437e66b5545a8226a5a51a55d5c4f1a0ad52d3 /sys/x86/include/apicreg.h
parent88bdb04f5dfe68e2436ab07e05a5d221b1fd5060 (diff)
downloadFreeBSD-src-54481719ca6144e3ab78d35a2e1cc88766291516.zip
FreeBSD-src-54481719ca6144e3ab78d35a2e1cc88766291516.tar.gz
Add defines for the LAPIC TSC deadline timer mode. The LVT timer mode
field is two-bit, extend the mask. Also add comments about all MSRs writes to which are not serializing. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/x86/include/apicreg.h')
-rw-r--r--sys/x86/include/apicreg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/x86/include/apicreg.h b/sys/x86/include/apicreg.h
index 35630c7..d3cfaaf 100644
--- a/sys/x86/include/apicreg.h
+++ b/sys/x86/include/apicreg.h
@@ -399,10 +399,11 @@ typedef struct IOAPIC ioapic_t;
#define APIC_LVTT_VECTOR 0x000000ff
#define APIC_LVTT_DS 0x00001000
#define APIC_LVTT_M 0x00010000
-#define APIC_LVTT_TM 0x00020000
+#define APIC_LVTT_TM 0x00060000
# define APIC_LVTT_TM_ONE_SHOT 0x00000000
# define APIC_LVTT_TM_PERIODIC 0x00020000
-
+# define APIC_LVTT_TM_TSCDLT 0x00040000
+# define APIC_LVTT_TM_RSRV 0x00060000
/* APIC timer current count */
#define APIC_TIMER_MAX_COUNT 0xffffffff
OpenPOWER on IntegriCloud