summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruebayasi <uebayasi@openbsd.org>2015-07-21 06:19:50 +0000
committeruebayasi <uebayasi@openbsd.org>2015-07-21 06:19:50 +0000
commit96fa4fcb99a148dea211d49ba362161b3eea3400 (patch)
tree44d6d9b79bbb43c5313823e08e846dcde67e4e15
parentbasic macro fixes: Fd -> In, Dv for ioctls, and a few others (diff)
downloadwireguard-openbsd-96fa4fcb99a148dea211d49ba362161b3eea3400.tar.xz
wireguard-openbsd-96fa4fcb99a148dea211d49ba362161b3eea3400.zip
Sync with amd64; add LAPIC timer definitions.
-rw-r--r--sys/arch/i386/include/i82489reg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/include/i82489reg.h b/sys/arch/i386/include/i82489reg.h
index c625de9a0c5..1b90f4f2a4f 100644
--- a/sys/arch/i386/include/i82489reg.h
+++ b/sys/arch/i386/include/i82489reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: i82489reg.h,v 1.3 2008/06/26 05:42:10 ray Exp $ */
+/* $OpenBSD: i82489reg.h,v 1.4 2015/07/21 06:19:50 uebayasi Exp $ */
/* $NetBSD: i82489reg.h,v 1.1.2.1 2000/02/20 16:30:27 sommerfeld Exp $ */
/*-
@@ -113,6 +113,9 @@
# define LAPIC_LVTT_DS 0x00001000
# define LAPIC_LVTT_M 0x00010000
# define LAPIC_LVTT_TM 0x00020000
+# define LAPIC_LVTT_TM_ONESHOT 0x00000000
+# define LAPIC_LVTT_TM_PERIODIC 0x00020000
+# define LAPIC_LVTT_TM_TSCDL 0x00040000
#define LAPIC_PCINT 0x340
#define LAPIC_LVINT0 0x350 /* Loc.vec (LINT0) RW */