Commit 2cbd949d7acc8381a87ba653ad973aa03e55b475
1 parent
0f3955e2
Common cpu_loop_exit prototype
All archs use the same cpu_loop_exit, so move the prototype in a common header. i386 was carrying a __hidden attribute, but that was empty for this arch anyway. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5820 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
10 changed files
with
1 additions
and
15 deletions
exec-all.h
... | ... | @@ -82,6 +82,7 @@ TranslationBlock *tb_gen_code(CPUState *env, |
82 | 82 | target_ulong pc, target_ulong cs_base, int flags, |
83 | 83 | int cflags); |
84 | 84 | void cpu_exec_init(CPUState *env); |
85 | +void cpu_loop_exit(void); | |
85 | 86 | int page_unprotect(target_ulong address, unsigned long pc, void *puc); |
86 | 87 | void tb_invalidate_phys_page_range(target_phys_addr_t start, target_phys_addr_t end, |
87 | 88 | int is_cpu_write_access); | ... | ... |
target-alpha/cpu.h
... | ... | @@ -409,7 +409,6 @@ int cpu_alpha_signal_handler(int host_signum, void *pinfo, |
409 | 409 | void *puc); |
410 | 410 | int cpu_alpha_mfpr (CPUState *env, int iprn, uint64_t *valp); |
411 | 411 | int cpu_alpha_mtpr (CPUState *env, int iprn, uint64_t val, uint64_t *oldvalp); |
412 | -void cpu_loop_exit (void); | |
413 | 412 | void pal_init (CPUState *env); |
414 | 413 | #if !defined (CONFIG_USER_ONLY) |
415 | 414 | void call_pal (CPUState *env); | ... | ... |
target-arm/exec.h
target-cris/exec.h
... | ... | @@ -45,8 +45,6 @@ int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw, |
45 | 45 | void cpu_cris_flush_flags(CPUCRISState *env, int cc_op); |
46 | 46 | void helper_movec(CPUCRISState *env, int reg, uint32_t val); |
47 | 47 | |
48 | -void cpu_loop_exit(void); | |
49 | - | |
50 | 48 | static inline int cpu_halted(CPUState *env) { |
51 | 49 | if (!env->halted) |
52 | 50 | return 0; | ... | ... |
target-i386/exec.h
... | ... | @@ -72,7 +72,6 @@ void raise_interrupt(int intno, int is_int, int error_code, |
72 | 72 | void raise_exception_err(int exception_index, int error_code); |
73 | 73 | void raise_exception(int exception_index); |
74 | 74 | void do_smm_enter(void); |
75 | -void __hidden cpu_loop_exit(void); | |
76 | 75 | |
77 | 76 | /* n must be a constant to be efficient */ |
78 | 77 | static inline target_long lshift(target_long x, int n) | ... | ... |
target-m68k/exec.h
target-mips/exec.h
... | ... | @@ -29,7 +29,6 @@ int cpu_mips_handle_mmu_fault (CPUState *env, target_ulong address, int rw, |
29 | 29 | void do_interrupt (CPUState *env); |
30 | 30 | void r4k_invalidate_tlb (CPUState *env, int idx, int use_extra); |
31 | 31 | |
32 | -void cpu_loop_exit(void); | |
33 | 32 | void do_raise_exception_err (uint32_t exception, int error_code); |
34 | 33 | void do_raise_exception (uint32_t exception); |
35 | 34 | ... | ... |
target-ppc/cpu.h
target-sh4/exec.h
target-sparc/exec.h