mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
f0984d4040
commit
a3ef070ea9
|
@ -1,17 +1,9 @@
|
||||||
arm_ss = ss.source_set()
|
arm_ss = ss.source_set()
|
||||||
arm_ss.add(files(
|
arm_ss.add(files(
|
||||||
'cpu.c',
|
'cpu.c',
|
||||||
'crypto_helper.c',
|
|
||||||
'debug_helper.c',
|
'debug_helper.c',
|
||||||
'gdbstub.c',
|
'gdbstub.c',
|
||||||
'helper.c',
|
'helper.c',
|
||||||
'iwmmxt_helper.c',
|
|
||||||
'm_helper.c',
|
|
||||||
'mve_helper.c',
|
|
||||||
'neon_helper.c',
|
|
||||||
'op_helper.c',
|
|
||||||
'tlb_helper.c',
|
|
||||||
'vec_helper.c',
|
|
||||||
'vfp_helper.c',
|
'vfp_helper.c',
|
||||||
'cpu_tcg.c',
|
'cpu_tcg.c',
|
||||||
))
|
))
|
||||||
|
@ -22,11 +14,6 @@ arm_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c', 'kvm64.c'), if_false: fil
|
||||||
arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
|
arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
|
||||||
'cpu64.c',
|
'cpu64.c',
|
||||||
'gdbstub64.c',
|
'gdbstub64.c',
|
||||||
'helper-a64.c',
|
|
||||||
'mte_helper.c',
|
|
||||||
'pauth_helper.c',
|
|
||||||
'sve_helper.c',
|
|
||||||
'sme_helper.c',
|
|
||||||
))
|
))
|
||||||
|
|
||||||
arm_softmmu_ss = ss.source_set()
|
arm_softmmu_ss = ss.source_set()
|
||||||
|
@ -43,6 +30,8 @@ subdir('hvf')
|
||||||
|
|
||||||
if 'CONFIG_TCG' in config_all
|
if 'CONFIG_TCG' in config_all
|
||||||
subdir('tcg')
|
subdir('tcg')
|
||||||
|
else
|
||||||
|
arm_ss.add(files('tcg-stubs.c'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
target_arch += {'arm': arm_ss}
|
target_arch += {'arm': arm_ss}
|
||||||
|
|
|
@ -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();
|
||||||
|
}
|
|
@ -23,10 +23,23 @@ arm_ss.add(files(
|
||||||
'translate-mve.c',
|
'translate-mve.c',
|
||||||
'translate-neon.c',
|
'translate-neon.c',
|
||||||
'translate-vfp.c',
|
'translate-vfp.c',
|
||||||
|
'crypto_helper.c',
|
||||||
|
'iwmmxt_helper.c',
|
||||||
|
'm_helper.c',
|
||||||
|
'mve_helper.c',
|
||||||
|
'neon_helper.c',
|
||||||
|
'op_helper.c',
|
||||||
|
'tlb_helper.c',
|
||||||
|
'vec_helper.c',
|
||||||
))
|
))
|
||||||
|
|
||||||
arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
|
arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
|
||||||
'translate-a64.c',
|
'translate-a64.c',
|
||||||
'translate-sve.c',
|
'translate-sve.c',
|
||||||
'translate-sme.c',
|
'translate-sme.c',
|
||||||
|
'helper-a64.c',
|
||||||
|
'mte_helper.c',
|
||||||
|
'pauth_helper.c',
|
||||||
|
'sme_helper.c',
|
||||||
|
'sve_helper.c',
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in New Issue