1 /*
2 * QEMU ARM stubs for some TCG helper functions
3 *
4 * Copyright 2021 SUSE LLC
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10 #include "qemu/osdep.h"
11 #include "cpu.h"
12 #include "internals.h"
13
write_v7m_exception(CPUARMState * env,uint32_t new_exc)14 void write_v7m_exception(CPUARMState *env, uint32_t new_exc)
15 {
16 g_assert_not_reached();
17 }
18
raise_exception_ra(CPUARMState * env,uint32_t excp,uint32_t syndrome,uint32_t target_el,uintptr_t ra)19 void raise_exception_ra(CPUARMState *env, uint32_t excp, uint32_t syndrome,
20 uint32_t target_el, uintptr_t ra)
21 {
22 g_assert_not_reached();
23 }
24 /* Temporarily while cpu_get_tb_cpu_state() is still in common code */
assert_hflags_rebuild_correctly(CPUARMState * env)25 void assert_hflags_rebuild_correctly(CPUARMState *env)
26 {
27 }
28