aboutsummaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-06-29 09:58:49 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-07-03 06:47:13 +0000
commit83dae09588e4d946a1c5e3916cdb4b6d6126858e (patch)
tree837a27b2d002ee5e13c5a8152a7d879248c6ba00 /target-mips
parent8713f8ffb87a28c94b4f22b9a9ec16c55381187e (diff)
remove unused stuff from */exec.h
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/exec.h8
-rw-r--r--target-mips/op_helper.c7
2 files changed, 6 insertions, 9 deletions
diff --git a/target-mips/exec.h b/target-mips/exec.h
index 01e9c4d7a2..a07761d88f 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 d09d6ed546..8ae510adc1 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);