aboutsummaryrefslogtreecommitdiff
path: root/target/arm/tcg-stubs.c
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2023-02-17 17:11:30 -0300
committerPeter Maydell <peter.maydell@linaro.org>2023-02-27 13:27:04 +0000
commita3ef070ea9b2d9af95422b38b022f11d8c302d2e (patch)
tree38d8665b089de827e20553c90b037199304c4f31 /target/arm/tcg-stubs.c
parentf0984d4040c328d1c021ae6680479cbbe13c485b (diff)
downloadqemu-a3ef070ea9b2d9af95422b38b022f11d8c302d2e.zip
qemu-a3ef070ea9b2d9af95422b38b022f11d8c302d2e.tar.gz
qemu-a3ef070ea9b2d9af95422b38b022f11d8c302d2e.tar.bz2
target/arm: move helpers to tcg/
Signed-off-by: Claudio Fontana <cfontana@suse.de> Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/tcg-stubs.c')
-rw-r--r--target/arm/tcg-stubs.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/arm/tcg-stubs.c b/target/arm/tcg-stubs.c
new file mode 100644
index 0000000..1a7ddb3
--- /dev/null
+++ b/target/arm/tcg-stubs.c
@@ -0,0 +1,23 @@
+/*
+ * QEMU ARM stubs for some TCG helper functions
+ *
+ * Copyright 2021 SUSE LLC
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
+#include "qemu/osdep.h"
+#include "cpu.h"
+#include "internals.h"
+
+void write_v7m_exception(CPUARMState *env, uint32_t new_exc)
+{
+ g_assert_not_reached();
+}
+
+void raise_exception_ra(CPUARMState *env, uint32_t excp, uint32_t syndrome,
+ uint32_t target_el, uintptr_t ra)
+{
+ g_assert_not_reached();
+}