This API is specific to TCG (already handled by hardware accelerators), so restrict it with #ifdef'ry. Remove unnecessary stubs. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240529155918.6221-1-philmd@linaro.org>
		
			
				
	
	
		
			30 lines
		
	
	
		
			551 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			551 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/tb-flush.h"
 | 
						|
#include "exec/exec-all.h"
 | 
						|
 | 
						|
void tb_flush(CPUState *cpu)
 | 
						|
{
 | 
						|
}
 | 
						|
 | 
						|
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();
 | 
						|
}
 |