summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Filippov2014-02-15 16:16:33 +0100
committerMax Filippov2014-11-02 22:51:43 +0100
commitdec71d2d63b766136d5b6ded616dcc3fae18e97d (patch)
treef0bd3e6b1f3ad63be94f8269aad52e3f8d9e5396
parenttcg/mips: fix store softmmu slow path (diff)
downloadqemu-dec71d2d63b766136d5b6ded616dcc3fae18e97d.tar.gz
qemu-dec71d2d63b766136d5b6ded616dcc3fae18e97d.tar.xz
qemu-dec71d2d63b766136d5b6ded616dcc3fae18e97d.zip
target-xtensa: add definition for XTHAL_INTTYPE_PROFILING
There's new interrupt type in the recent Xtensa releases that may appear in configuration overlay. Add definition so that new cores that use it could be automatically imported. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rw-r--r--target-xtensa/cpu.h1
-rw-r--r--target-xtensa/overlay_tool.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/target-xtensa/cpu.h b/target-xtensa/cpu.h
index 9cf52758c7..beb5486fc7 100644
--- a/target-xtensa/cpu.h
+++ b/target-xtensa/cpu.h
@@ -266,6 +266,7 @@ typedef enum {
INTTYPE_TIMER,
INTTYPE_DEBUG,
INTTYPE_WRITE_ERR,
+ INTTYPE_PROFILING,
INTTYPE_MAX
} interrupt_type;
diff --git a/target-xtensa/overlay_tool.h b/target-xtensa/overlay_tool.h
index 4c0de7f06a..5a1353e545 100644
--- a/target-xtensa/overlay_tool.h
+++ b/target-xtensa/overlay_tool.h
@@ -163,6 +163,7 @@
#define XTHAL_INTTYPE_TBD1 INTTYPE_DEBUG
#define XTHAL_INTTYPE_TBD2 INTTYPE_WRITE_ERR
#define XTHAL_INTTYPE_WRITE_ERROR INTTYPE_WRITE_ERR
+#define XTHAL_INTTYPE_PROFILING INTTYPE_PROFILING
#define INTERRUPT(i) { \