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
commit69075c777d0edf08e16fc87aa8cf070a06bc6cc2 (patch)
tree5ce2b219c3d47375ae6a26b9b796da1b6914e692 /target-cris
parent83a7d91ef2a8699697f8ba7984aa03d24d832ce1 (diff)
downloadqemu-69075c777d0edf08e16fc87aa8cf070a06bc6cc2.tar.gz
qemu-69075c777d0edf08e16fc87aa8cf070a06bc6cc2.tar.bz2
qemu-69075c777d0edf08e16fc87aa8cf070a06bc6cc2.zip
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 d9087759d3..8686dbaf2e 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