From 8642c1b81e0418df066a7960a7426d85a923a253 Mon Sep 17 00:00:00 2001 From: Peter Crosthwaite Date: Sat, 18 Jul 2015 02:40:28 -0700 Subject: target-*: Don't redefine cpu_exec() This function needs to be converted to QOM hook and virtualised for multi-arch. This rename interferes, as cpu-qom will not have access to the renaming causing name divergence. This rename doesn't really do anything anyway so just delete it. Signed-off-by: Peter Crosthwaite Message-Id: <69bd25a8678b8b31b91cd9760c777bed1aafb44e.1437212383.git.crosthwaite.peter@gmail.com> Signed-off-by: Paolo Bonzini Signed-off-by: Peter Crosthwaite --- target-lm32/cpu.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'target-lm32') diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h index 62880f7e4b..4efe98d828 100644 --- a/target-lm32/cpu.h +++ b/target-lm32/cpu.h @@ -236,7 +236,6 @@ static inline lm32_wp_t lm32_wp_type(uint32_t dc, int idx) } LM32CPU *cpu_lm32_init(const char *cpu_model); -int cpu_lm32_exec(CPUState *cpu); /* you can call this signal handler from your SIGBUS and SIGSEGV signal handlers to inform the virtual CPU of exceptions. non zero is returned if the signal was handled by the virtual CPU. */ @@ -257,7 +256,6 @@ bool lm32_cpu_do_semihosting(CPUState *cs); #define cpu_init(cpu_model) CPU(cpu_lm32_init(cpu_model)) #define cpu_list lm32_cpu_list -#define cpu_exec cpu_lm32_exec #define cpu_signal_handler cpu_lm32_signal_handler int lm32_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int rw, -- cgit v1.2.3