summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2016-03-28 09:43:40 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2016-03-28 09:43:40 +0000
commit7c4e76935ea24c7c3d282a4832f9e65975eb497d (patch)
treeda437e66b5545a8226a5a51a55d5c4f1a0ad52d3 /sys
parent78b127f2fc571a51e817e0f29537a58fbf56f753 (diff)
downloadsrc-test2-7c4e76935ea24c7c3d282a4832f9e65975eb497d.tar.gz
src-test2-7c4e76935ea24c7c3d282a4832f9e65975eb497d.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/x86/include/apicreg.h5
-rw-r--r--sys/x86/include/specialreg.h4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/x86/include/apicreg.h b/sys/x86/include/apicreg.h
index 35630c7d677a..d3cfaaf1369d 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
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
index 5f2c01057ddb..c2d2c59f74c8 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -457,6 +457,7 @@
#define MSR_DRAM_ENERGY_STATUS 0x619
#define MSR_PP0_ENERGY_STATUS 0x639
#define MSR_PP1_ENERGY_STATUS 0x641
+#define MSR_TSC_DEADLINE 0x6e0 /* Writes are not serializing */
/*
* VMX MSRs
@@ -478,7 +479,8 @@
#define MSR_VMX_TRUE_ENTRY_CTLS 0x490
/*
- * X2APIC MSRs
+ * X2APIC MSRs.
+ * Writes are not serializing.
*/
#define MSR_APIC_000 0x800
#define MSR_APIC_ID 0x802