mirror of
https://github.com/mborgerson/xemu.git
synced 2026-03-29 19:18:23 +00:00
Allow the call to be compiled out by protecting it with tcg_enabled. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20250707151547.196393-2-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
46 lines
926 B
C
46 lines
926 B
C
/*
|
|
* 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();
|
|
}
|
|
|
|
/* With KVM, we never use float_status, so these can be no-ops */
|
|
void arm_set_default_fp_behaviours(float_status *s)
|
|
{
|
|
}
|
|
|
|
void arm_set_ah_fp_behaviours(float_status *s)
|
|
{
|
|
}
|
|
|
|
uint32_t vfp_get_fpsr_from_host(CPUARMState *env)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void vfp_clear_float_status_exc_flags(CPUARMState *env)
|
|
{
|
|
}
|
|
|
|
void vfp_set_fpcr_to_host(CPUARMState *env, uint32_t val, uint32_t mask)
|
|
{
|
|
}
|