aboutsummaryrefslogtreecommitdiff
path: root/target-arm/helper.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-02-26 17:20:06 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-02-26 17:20:06 +0000
commit9cfa0b4e4c3076683b6c528a1a3b43d5a202a497 (patch)
treeee64227b9a748713fab27c7fc75d2812d4fdad5d /target-arm/helper.h
parent4cc35614a056839df8b0675cd16f55e758cd570d (diff)
target-arm: A64: Implement MSR (immediate) instructions
Implement the MSR (immediate) instructions, which can update the PSTATE SP and DAIF fields. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Diffstat (limited to 'target-arm/helper.h')
-rw-r--r--target-arm/helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-arm/helper.h b/target-arm/helper.h
index 19bd620532..4a063c1e40 100644
--- a/target-arm/helper.h
+++ b/target-arm/helper.h
@@ -63,6 +63,8 @@ DEF_HELPER_2(get_cp_reg, i32, env, ptr)
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_2(get_r13_banked, i32, env, i32)
DEF_HELPER_3(set_r13_banked, void, env, i32, i32)