diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-06-29 09:58:49 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-07-03 06:47:13 +0000 |
commit | 83dae09588e4d946a1c5e3916cdb4b6d6126858e (patch) | |
tree | 837a27b2d002ee5e13c5a8152a7d879248c6ba00 | |
parent | 8713f8ffb87a28c94b4f22b9a9ec16c55381187e (diff) |
remove unused stuff from */exec.h
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | target-alpha/exec.h | 2 | ||||
-rw-r--r-- | target-cris/exec.h | 3 | ||||
-rw-r--r-- | target-i386/op_helper.c | 2 | ||||
-rw-r--r-- | target-microblaze/exec.h | 2 | ||||
-rw-r--r-- | target-mips/exec.h | 8 | ||||
-rw-r--r-- | target-mips/op_helper.c | 7 |
6 files changed, 7 insertions, 17 deletions
diff --git a/target-alpha/exec.h b/target-alpha/exec.h index 66526e24b..0fb459da4 100644 --- a/target-alpha/exec.h +++ b/target-alpha/exec.h @@ -28,8 +28,6 @@ register struct CPUAlphaState *env asm(AREG0); -#define PARAM(n) ((uint64_t)PARAM##n) -#define SPARAM(n) ((int32_t)PARAM##n) #define FP_STATUS (env->fp_status) #include "cpu.h" diff --git a/target-cris/exec.h b/target-cris/exec.h index 728aa8077..55776baef 100644 --- a/target-cris/exec.h +++ b/target-cris/exec.h @@ -28,9 +28,6 @@ register struct CPUCRISState *env asm(AREG0); #include "softmmu_exec.h" #endif -void cpu_cris_flush_flags(CPUCRISState *env, int cc_op); -void helper_movec(CPUCRISState *env, int reg, uint32_t val); - static inline int cpu_has_work(CPUState *env) { return (env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI)); diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index 71331c6c3..c50e818e7 100644 --- a/target-i386/op_helper.c +++ b/target-i386/op_helper.c @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#define CPU_NO_GLOBAL_REGS + #include "exec.h" #include "exec-all.h" #include "host-utils.h" diff --git a/target-microblaze/exec.h b/target-microblaze/exec.h index 646701c21..db1c99e81 100644 --- a/target-microblaze/exec.h +++ b/target-microblaze/exec.h @@ -27,8 +27,6 @@ register struct CPUMBState *env asm(AREG0); #include "softmmu_exec.h" #endif -void cpu_mb_flush_flags(CPUMBState *env, int cc_op); - static inline int cpu_has_work(CPUState *env) { return (env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI)); diff --git a/target-mips/exec.h b/target-mips/exec.h index 01e9c4d7a..a07761d88 100644 --- a/target-mips/exec.h +++ b/target-mips/exec.h @@ -17,14 +17,6 @@ register struct CPUMIPSState *env asm(AREG0); #include "softmmu_exec.h" #endif /* !defined(CONFIG_USER_ONLY) */ -void dump_fpu(CPUState *env); -void fpu_dump_state(CPUState *env, FILE *f, - int (*fpu_fprintf)(FILE *f, const char *fmt, ...), - int flags); - -void cpu_mips_clock_init (CPUState *env); -void cpu_mips_tlb_flush (CPUState *env, int flush_global); - static inline int cpu_has_work(CPUState *env) { return (env->interrupt_request & diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index d09d6ed54..8ae510adc 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -22,6 +22,11 @@ #include "host-utils.h" #include "helper.h" + +#ifndef CONFIG_USER_ONLY +static inline void cpu_mips_tlb_flush (CPUState *env, int flush_global); +#endif + /*****************************************************************************/ /* Exceptions processing helpers */ @@ -1635,7 +1640,7 @@ target_ulong helper_yield(target_ulong arg1) #ifndef CONFIG_USER_ONLY /* TLB management */ -void cpu_mips_tlb_flush (CPUState *env, int flush_global) +static void cpu_mips_tlb_flush (CPUState *env, int flush_global) { /* Flush qemu's TLB and discard all shadowed entries. */ tlb_flush (env, flush_global); |