summaryrefslogtreecommitdiff
path: root/arch/x86/machine/param.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-05-26 22:39:31 +0200
committerRichard Braun <rbraun@sceen.net>2017-05-26 22:40:01 +0200
commitcab8846284996df401c5bdaa0088b224e076b510 (patch)
tree884c1dc40cbcf47e763da9c1c470aec73165c0a3 /arch/x86/machine/param.h
parent10f2d5f59a37532fb48cf9d6896efa238c9c6eb5 (diff)
x86: use the new intr module
In particular, the pic and ioapic modules register their respective devices as interrupt controllers. Selection between the legacy XT-PIC and the modern APIC system is made on the availability of ACPI, disregarding the multiprocessor specification entirely. The uart driver is also updated to register devices interrupt handlers.
Diffstat (limited to 'arch/x86/machine/param.h')
-rw-r--r--arch/x86/machine/param.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/machine/param.h b/arch/x86/machine/param.h
index e5e0f0a..6ee11cc 100644
--- a/arch/x86/machine/param.h
+++ b/arch/x86/machine/param.h
@@ -83,6 +83,11 @@
#define STACK_SIZE PAGE_SIZE
/*
+ * Maximum number of available interrupts.
+ */
+#define INTR_TABLE_SIZE 256
+
+/*
* Virtual memory properties.
*/