summaryrefslogtreecommitdiffstats
path: root/sys/arm64
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2016-03-02 15:20:42 +0000
committerbz <bz@FreeBSD.org>2016-03-02 15:20:42 +0000
commit983c6646122b6c7333bdf217e6def382ea04744e (patch)
tree2c88a9a1145155e5d0b0e95bffe6f56b757f150b /sys/arm64
parent774a6245596e60bf04f03e8cccab06a3194504f5 (diff)
downloadFreeBSD-src-983c6646122b6c7333bdf217e6def382ea04744e.zip
FreeBSD-src-983c6646122b6c7333bdf217e6def382ea04744e.tar.gz
Force re-routing PCI interrupts (this is for legacy INTx not MSI).
Need this for gem5, but was not needed on real hadrware (yet) as it was always MSI. Reviewed by: andrew, jhb Discovered by: andrew Sponsored by: DARPA/AFRL Differential Revision: https://reviews.freebsd.org/D5494
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/include/param.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm64/include/param.h b/sys/arm64/include/param.h
index 4522012..d4d4955 100644
--- a/sys/arm64/include/param.h
+++ b/sys/arm64/include/param.h
@@ -42,6 +42,8 @@
#define STACKALIGNBYTES (16 - 1)
#define STACKALIGN(p) ((uint64_t)(p) & ~STACKALIGNBYTES)
+#define __PCI_REROUTE_INTERRUPT
+
#ifndef MACHINE
#define MACHINE "arm64"
#endif
OpenPOWER on IntegriCloud