diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2014-09-29 18:48:50 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-09-29 18:48:50 +0100 |
commit | e0d6e6a5e799c91b74e157ca2cb7f4d2dbc0d56b (patch) | |
tree | 6398b676b331c3884f78aa8653d73981f8df4e90 /target-arm/helper.c | |
parent | 607d98b81e68a5fe23e553a0b75c0c38346a6d5f (diff) | |
download | qemu-e0d6e6a5e799c91b74e157ca2cb7f4d2dbc0d56b.zip qemu-e0d6e6a5e799c91b74e157ca2cb7f4d2dbc0d56b.tar.gz qemu-e0d6e6a5e799c91b74e157ca2cb7f4d2dbc0d56b.tar.bz2 |
target-arm: A64: Emulate the SMC insn
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1411718914-6608-10-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/helper.c')
-rw-r--r-- | target-arm/helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c index 48f549a..af2d2e6 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -3784,6 +3784,9 @@ unsigned int arm_excp_target_el(CPUState *cs, unsigned int excp_idx) case EXCP_HYP_TRAP: target_el = 2; break; + case EXCP_SMC: + target_el = 3; + break; default: target_el = MAX(cur_el, 1); break; |