8905770b27
G_NORETURN was introduced in glib 2.68, fallback to G_GNUC_NORETURN in glib-compat. Note that this attribute must be placed before the function declaration (bringing a bit of consistency in qemu codebase usage). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20220420132624.2439741-20-marcandre.lureau@redhat.com>
40 lines
806 B
C
40 lines
806 B
C
/*
|
|
* QEMU TCG accelerator stub
|
|
*
|
|
* Copyright Red Hat, Inc. 2013
|
|
*
|
|
* Author: Paolo Bonzini <pbonzini@redhat.com>
|
|
*
|
|
* 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 "exec/exec-all.h"
|
|
|
|
void tb_flush(CPUState *cpu)
|
|
{
|
|
}
|
|
|
|
void tlb_set_dirty(CPUState *cpu, target_ulong vaddr)
|
|
{
|
|
}
|
|
|
|
void *probe_access(CPUArchState *env, target_ulong addr, int size,
|
|
MMUAccessType access_type, int mmu_idx, uintptr_t retaddr)
|
|
{
|
|
/* Handled by hardware accelerator. */
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
G_NORETURN void cpu_loop_exit(CPUState *cpu)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
G_NORETURN void cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|