[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v16 31/99] target/arm: tcg: add stubs for some helpers for non-tc
From: |
Alex Bennée |
Subject: |
[PATCH v16 31/99] target/arm: tcg: add stubs for some helpers for non-tcg builds |
Date: |
Fri, 4 Jun 2021 16:52:04 +0100 |
From: Claudio Fontana <cfontana@suse.de>
this first armv7m one should go away with proper
configuration changes (only enabling possible boards for KVM).
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
target/arm/tcg/tcg-stubs.c | 16 ++++++++++++++++
target/arm/tcg/meson.build | 3 +++
2 files changed, 19 insertions(+)
create mode 100644 target/arm/tcg/tcg-stubs.c
diff --git a/target/arm/tcg/tcg-stubs.c b/target/arm/tcg/tcg-stubs.c
new file mode 100644
index 0000000000..14220d59a1
--- /dev/null
+++ b/target/arm/tcg/tcg-stubs.c
@@ -0,0 +1,16 @@
+/*
+ * 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"
+
+void write_v7m_exception(CPUARMState *env, uint32_t new_exc)
+{
+ g_assert_not_reached();
+}
diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build
index 3d34723eee..78c34742ec 100644
--- a/target/arm/tcg/meson.build
+++ b/target/arm/tcg/meson.build
@@ -30,6 +30,9 @@ arm_ss.add(when: 'CONFIG_TCG', if_true: files(
'vfp_helper.c',
'crypto_helper.c',
'debug_helper.c',
+
+), if_false: files(
+ 'tcg-stubs.c',
))
arm_ss.add(when: ['TARGET_AARCH64','CONFIG_TCG'], if_true: files(
--
2.20.1
- Re: [PATCH v16 76/99] target/arm: restrict rebuild_hflags_a64 to TARGET_AARCH64, (continued)
- [PATCH v16 92/99] target/arm: remove v7m stub function for !CONFIG_TCG, Alex Bennée, 2021/06/04
- [PATCH v16 82/99] target/arm: move sve_zcr_len_for_el to TARGET_AARCH64-only cpu-sve, Alex Bennée, 2021/06/04
- [PATCH v16 99/99] gitlab: defend the new stripped down arm64 configs, Alex Bennée, 2021/06/04
- [PATCH v16 41/99] target/arm: new cpu32 ARM 32 bit CPU Class, Alex Bennée, 2021/06/04
- [PATCH v16 33/99] target/arm: add temporary stub for arm_rebuild_hflags, Alex Bennée, 2021/06/04
- [PATCH v16 31/99] target/arm: tcg: add stubs for some helpers for non-tcg builds,
Alex Bennée <=
- [PATCH v16 51/99] target/arm: move exception code out of tcg/helper.c, Alex Bennée, 2021/06/04
- [PATCH v16 53/99] target/arm: replace CONFIG_TCG with tcg_enabled, Alex Bennée, 2021/06/04
- [PATCH v16 23/99] target/arm: only build psci for TCG, Alex Bennée, 2021/06/04
- [PATCH v16 68/99] target/arm: move kvm post init initialization to kvm cpu accel, Alex Bennée, 2021/06/04
- [PATCH v16 67/99] target/arm: create kvm cpu accel class, Alex Bennée, 2021/06/04
- [PATCH v16 40/99] target/arm: move aarch64_sync_32_to_64 (and vv) to cpu code, Alex Bennée, 2021/06/04
- [PATCH v16 30/99] target/arm: only perform TCG cpu and machine inits if TCG enabled, Alex Bennée, 2021/06/04