diff options
-rw-r--r-- | hw/g364fb.c | 1 | ||||
-rw-r--r-- | hw/mips_jazz.c | 4 | ||||
-rw-r--r-- | hw/rc4030.c | 1 | ||||
-rw-r--r-- | target-mips/op_helper.c | 8 |
4 files changed, 8 insertions, 6 deletions
diff --git a/hw/g364fb.c b/hw/g364fb.c index 64c29889e0..5360bce636 100644 --- a/hw/g364fb.c +++ b/hw/g364fb.c @@ -20,6 +20,7 @@ */ #include "hw.h" +#include "mips.h" #include "console.h" #include "pixel_ops.h" diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index b332a4598e..cdf2196204 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@ -102,12 +102,12 @@ static void audio_init(qemu_irq *pic) } #endif -void espdma_memory_read(void *opaque, uint8_t *buf, int len) +static void espdma_memory_read(void *opaque, uint8_t *buf, int len) { printf("espdma_memory_read(buf %p, len %d) not implemented\n", buf, len); } -void espdma_memory_write(void *opaque, uint8_t *buf, int len) +static void espdma_memory_write(void *opaque, uint8_t *buf, int len) { printf("espdma_memory_write(buf %p, len %d) not implemented\n", buf, len); } diff --git a/hw/rc4030.c b/hw/rc4030.c index 0384cf2722..54f9adfa3e 100644 --- a/hw/rc4030.c +++ b/hw/rc4030.c @@ -23,6 +23,7 @@ */ #include "hw.h" +#include "mips.h" #include "qemu-timer.h" //#define DEBUG_RC4030 diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 390de7bbc1..27f58c2be1 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -1701,7 +1701,7 @@ target_ulong do_ei (void) return t0; } -void debug_pre_eret (void) +static void debug_pre_eret (void) { fprintf(logfile, "ERET: PC " TARGET_FMT_lx " EPC " TARGET_FMT_lx, env->active_tc.PC, env->CP0_EPC); @@ -1712,7 +1712,7 @@ void debug_pre_eret (void) fputs("\n", logfile); } -void debug_post_eret (void) +static void debug_post_eret (void) { fprintf(logfile, " => PC " TARGET_FMT_lx " EPC " TARGET_FMT_lx, env->active_tc.PC, env->CP0_EPC); @@ -2776,7 +2776,7 @@ void do_cmpabs_d_ ## op (uint64_t fdt0, uint64_t fdt1, int cc) \ CLEAR_FP_COND(cc, env->active_fpu); \ } -int float64_is_unordered(int sig, float64 a, float64 b STATUS_PARAM) +static int float64_is_unordered(int sig, float64 a, float64 b STATUS_PARAM) { if (float64_is_signaling_nan(a) || float64_is_signaling_nan(b) || @@ -2834,7 +2834,7 @@ void do_cmpabs_s_ ## op (uint32_t fst0, uint32_t fst1, int cc) \ CLEAR_FP_COND(cc, env->active_fpu); \ } -flag float32_is_unordered(int sig, float32 a, float32 b STATUS_PARAM) +static flag float32_is_unordered(int sig, float32 a, float32 b STATUS_PARAM) { if (float32_is_signaling_nan(a) || float32_is_signaling_nan(b) || |