aboutsummaryrefslogtreecommitdiff
path: root/target-mips/helper.c
diff options
context:
space:
mode:
authorJia Liu <proljc@gmail.com>2012-10-24 22:17:02 +0800
committerAurelien Jarno <aurelien@aurel32.net>2012-10-31 20:24:06 +0100
commit853c3240c0753735b82fe80a86123e09234f5448 (patch)
tree30743eba7a8bdf30a60e46bc8e44c8ab3ef74a10 /target-mips/helper.c
parent235eb0158cfb31bb8a7cad7296e2327d7f7349fc (diff)
downloadqemu-853c3240c0753735b82fe80a86123e09234f5448.zip
qemu-853c3240c0753735b82fe80a86123e09234f5448.tar.gz
qemu-853c3240c0753735b82fe80a86123e09234f5448.tar.bz2
target-mips: Add ASE DSP resources access check
Add MIPS ASE DSP resources access check. Signed-off-by: Jia Liu <proljc@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips/helper.c')
-rw-r--r--target-mips/helper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-mips/helper.c b/target-mips/helper.c
index 3b8c696..e877b8d 100644
--- a/target-mips/helper.c
+++ b/target-mips/helper.c
@@ -592,6 +592,9 @@ void do_interrupt (CPUMIPSState *env)
case EXCP_THREAD:
cause = 25;
goto set_EPC;
+ case EXCP_DSPDIS:
+ cause = 26;
+ goto set_EPC;
case EXCP_CACHE:
cause = 30;
if (env->CP0_Status & (1 << CP0St_BEV)) {