summaryrefslogtreecommitdiffstats
path: root/target-cris
authorRichard Henderson <[email protected]>2011-05-04 20:34:31 (GMT)
committer Blue Swirl <[email protected]>2011-05-08 16:55:24 (GMT)
commit85097db6956bc86e2377b63a8309cb8b24d54139 (patch) (side-by-side diff)
tree5ce2b219c3d47375ae6a26b9b796da1b6914e692 /target-cris
parent00a152b48b0b7d9d77842511afcf59b5f25ec554 (diff)
downloadqemu-kvm-85097db6956bc86e2377b63a8309cb8b24d54139.zip
qemu-kvm-85097db6956bc86e2377b63a8309cb8b24d54139.tar.gz
qemu-kvm-85097db6956bc86e2377b63a8309cb8b24d54139.tar.bz2
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 <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
Diffstat (limited to 'target-cris') (more/less context) (ignore whitespace changes)
-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 d908775..8686dba 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