All these do now is rename the generic exec functions. Remove. Signed-off-by: Peter Crosthwaite <crosthwaite.pe...@gmail.com> --- linux-user/main.c | 2 +- target-microblaze/cpu.h | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c index a113e87..60b5a5f 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -2872,7 +2872,7 @@ void cpu_loop(CPUMBState *env) while (1) { cpu_exec_start(cs); - trapnr = cpu_mb_exec (env); + trapnr = cpu_exec(env); cpu_exec_end(cs); switch (trapnr) { case 0xaa: diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 18071f5..ad3466e 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -274,12 +274,6 @@ struct CPUMBState { void mb_tcg_init(void); MicroBlazeCPU *cpu_mb_init(const char *cpu_model); -int cpu_mb_exec(CPUMBState *s); -/* 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. */ -int cpu_mb_signal_handler(int host_signum, void *pinfo, - void *puc); /* FIXME: MB uses variable pages down to 1K but linux only uses 4k. */ #define TARGET_PAGE_BITS 12 @@ -289,10 +283,6 @@ int cpu_mb_signal_handler(int host_signum, void *pinfo, #define cpu_init(cpu_model) CPU(cpu_mb_init(cpu_model)) -#define cpu_exec cpu_mb_exec -#define cpu_gen_code cpu_mb_gen_code -#define cpu_signal_handler cpu_mb_signal_handler - /* MMU modes definitions */ #define MMU_MODE0_SUFFIX _nommu #define MMU_MODE1_SUFFIX _kernel -- 1.9.1