]> git.proxmox.com Git - qemu.git/commitdiff
remove unused stuff from */exec.h
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Jun 2010 07:58:49 +0000 (09:58 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 3 Jul 2010 06:47:13 +0000 (06:47 +0000)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-alpha/exec.h
target-cris/exec.h
target-i386/op_helper.c
target-microblaze/exec.h
target-mips/exec.h
target-mips/op_helper.c

index 66526e24bc6b2f673128cbdbd74294ac79102acb..0fb459da43eb6e11b4c36a2c27b3dc37557fd74e 100644 (file)
@@ -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"
index 728aa8077cbd3d1d8b19ce0b78d83b5e99604055..55776baef057bee8b30b5b454f87e7bae82fbd66 100644 (file)
@@ -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));
index 71331c6c3335bf422cb7626fa390c978b412a86f..c50e818e7264df2918079284c4216a8995da5741 100644 (file)
@@ -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"
index 646701c2142524a6b4effa1b6673c24a12c9e017..db1c99e81341ce326f1b98bfc761a1f9d5124d16 100644 (file)
@@ -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));
index 01e9c4d7a24e637c2892ddd3dd552fc2bb25fd17..a07761d88f3fe0f40b0eafca251a05f51a556efd 100644 (file)
@@ -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 &
index d09d6ed54642299dba4dd7384aa22a6eff9d9d17..8ae510adc1e824d9f8a48aef0a42b53984b2872d 100644 (file)
 #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);