aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-03-18 20:26:54 -0400
committerKevin O'Connor <kevin@koconnor.net>2013-03-18 20:26:54 -0400
commitd8388157a2e303dea6d8d1406174c56c50d8d676 (patch)
treee53a7c7e8fbc2cf1e210259f367309525b744fe7 /src/config.h
parent3c3a3fa6522f564873936c75f7dddfbb817d0626 (diff)
downloadseabios-hppa-d8388157a2e303dea6d8d1406174c56c50d8d676.zip
seabios-hppa-d8388157a2e303dea6d8d1406174c56c50d8d676.tar.gz
seabios-hppa-d8388157a2e303dea6d8d1406174c56c50d8d676.tar.bz2
mptable: Use same PCI irqs as ACPI code.
The ACPI code has a hardcoded list of PCI interrupts. Use that same list in the mptable code generation. This will ensure that both tables are in synch - it may also make the mptable easier to generate from QEMU. Also, move the irq0_override lookup outside of the irq loop. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 8b888b9..64e3c92 100644
--- a/src/config.h
+++ b/src/config.h
@@ -53,6 +53,9 @@
#define BUILD_HPET_ADDRESS 0xfed00000
#define BUILD_APIC_ADDR 0xfee00000
+// PCI IRQS
+#define BUILD_PCI_IRQS ((1<<5) | (1<<9) | (1<<10) | (1<<11))
+
// Important real-mode segments
#define SEG_IVT 0x0000
#define SEG_BDA 0x0040