aboutsummaryrefslogtreecommitdiff
path: root/target/arm/translate.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-06-10 14:32:33 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-06-10 14:32:33 +0100
commitcc5e672b85da3dd972cc04cd8020aeb5a60519a8 (patch)
tree615cc878ad97542d7f6f68bbf1bad093d6e68afc /target/arm/translate.h
parent8480e933edf112d3ee775929106a2bdbaf002fbe (diff)
downloadqemu-cc5e672b85da3dd972cc04cd8020aeb5a60519a8.zip
qemu-cc5e672b85da3dd972cc04cd8020aeb5a60519a8.tar.gz
qemu-cc5e672b85da3dd972cc04cd8020aeb5a60519a8.tar.bz2
target/arm: Move gen_exception to translate.c
This function is not required by any other translation file. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220609202901.1177572-16-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/translate.h')
-rw-r--r--target/arm/translate.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/target/arm/translate.h b/target/arm/translate.h
index 8685f55..850bcdc 100644
--- a/target/arm/translate.h
+++ b/target/arm/translate.h
@@ -328,14 +328,6 @@ static inline void gen_ss_advance(DisasContext *s)
}
}
-static inline void gen_exception(int excp, uint32_t syndrome,
- uint32_t target_el)
-{
- gen_helper_exception_with_syndrome_el(cpu_env, tcg_constant_i32(excp),
- tcg_constant_i32(syndrome),
- tcg_constant_i32(target_el));
-}
-
/* Generate an architectural singlestep exception */
static inline void gen_swstep_exception(DisasContext *s, int isv, int ex)
{