diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-08-19 18:56:26 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-08-19 19:02:03 +0100 |
commit | 7ea47fe7be86faed4f38f0093ca1226b9b6043eb (patch) | |
tree | ee582e92ffa3c2cf53ea6588bbf86528504d9285 /target-arm/helper.h | |
parent | cc9c1ed14e876d724107fe72f74dcac71a003fbc (diff) | |
download | qemu-7ea47fe7be86faed4f38f0093ca1226b9b6043eb.zip qemu-7ea47fe7be86faed4f38f0093ca1226b9b6043eb.tar.gz qemu-7ea47fe7be86faed4f38f0093ca1226b9b6043eb.tar.bz2 |
target-arm: Implement ARMv8 single-step handling for A64 code
Implement ARMv8 software single-step handling for A64 code:
correctly update the single-step state machine and generate
debug exceptions when stepping A64 code.
This patch has no behavioural change since MDSCR_EL1.SS can't
be set by the guest yet.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-arm/helper.h')
-rw-r--r-- | target-arm/helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/helper.h b/target-arm/helper.h index facfcd2..1d7003b 100644 --- a/target-arm/helper.h +++ b/target-arm/helper.h @@ -64,6 +64,7 @@ DEF_HELPER_3(set_cp_reg64, void, env, ptr, i64) DEF_HELPER_2(get_cp_reg64, i64, env, ptr) DEF_HELPER_3(msr_i_pstate, void, env, i32, i32) +DEF_HELPER_1(clear_pstate_ss, void, env) DEF_HELPER_1(exception_return, void, env) DEF_HELPER_2(get_r13_banked, i32, env, i32) |