aboutsummaryrefslogtreecommitdiff
path: root/sys/x86
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2017-09-08 19:25:11 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2017-09-08 19:25:11 +0000
commit1a92c8402dc5868276ff46f962ff2de657a6c59d (patch)
treefbc3e5001f250929fe2e9615cb1bea6c9bf084c9 /sys/x86
parent5179958a28f4e0ada2859799d8f9a23bfe2aa600 (diff)
downloadsrc-1a92c8402dc5868276ff46f962ff2de657a6c59d.tar.gz
src-1a92c8402dc5868276ff46f962ff2de657a6c59d.zip
Add a constant specifying the min size of the IOAPIC registers window.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
Notes
Notes: svn path=/head/; revision=323324
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/include/apicreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/x86/include/apicreg.h b/sys/x86/include/apicreg.h
index 895d70f6cfd3..d5141bc3db38 100644
--- a/sys/x86/include/apicreg.h
+++ b/sys/x86/include/apicreg.h
@@ -469,6 +469,8 @@ typedef struct IOAPIC ioapic_t;
#define IOAPIC_WINDOW 0x10
#define IOAPIC_EOIR 0x40
+#define IOAPIC_WND_SIZE 0x50
+
/* indexes into IO APIC */
#define IOAPIC_ID 0x00
#define IOAPIC_VER 0x01