summaryrefslogtreecommitdiff
path: root/target-cris
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-05-04 13:34:31 -0700
committerBlue Swirl <blauwirbel@gmail.com>2011-05-08 16:55:24 +0000
commit85097db6956bc86e2377b63a8309cb8b24d54139 (patch)
tree5ce2b219c3d47375ae6a26b9b796da1b6914e692 /target-cris
parent00a152b48b0b7d9d77842511afcf59b5f25ec554 (diff)
irq: Privatize CPU_INTERRUPT_NMI.
This interrupt name is used by i386, CRIS, and MicroBlaze. Copy the name into each target. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-cris')
-rw-r--r--target-cris/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-cris/cpu.h b/target-cris/cpu.h
index d9087759d..8686dbaf2 100644
--- a/target-cris/cpu.h
+++ b/target-cris/cpu.h
@@ -36,6 +36,9 @@
#define EXCP_IRQ 4
#define EXCP_BREAK 5
+/* CRIS-specific interrupt pending bits. */
+#define CPU_INTERRUPT_NMI CPU_INTERRUPT_TGT_EXT_3
+
/* Register aliases. R0 - R15 */
#define R_FP 8
#define R_SP 14