diff options
author | malc <av1474@comtv.ru> | 2009-10-01 22:20:47 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-10-01 22:45:02 +0400 |
commit | 99a0949b720a0936da2052cb9a46db04ffc6db29 (patch) | |
tree | f9e39633853e35b49fc4465337cc196b9650866e /target-mips/translate_init.c | |
parent | bc6291a1b95a2c4c546fde6e5cb4c68366f06649 (diff) |
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the time
being.
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'target-mips/translate_init.c')
-rw-r--r-- | target-mips/translate_init.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index eb35dbad38..7c8519a9c2 100644 --- a/target-mips/translate_init.c +++ b/target-mips/translate_init.c @@ -61,7 +61,7 @@ enum mips_mmu_types { MMU_TYPE_R8000 }; -struct mips_def_t { +struct mips_def { const char *name; int32_t CP0_PRid; int32_t CP0_Config0; @@ -94,7 +94,7 @@ struct mips_def_t { /*****************************************************************************/ /* MIPS CPU definitions */ -static const mips_def_t mips_defs[] = +static const a_mips_def mips_defs[] = { { .name = "4Kc", @@ -416,7 +416,7 @@ static const mips_def_t mips_defs[] = #endif }; -static const mips_def_t *cpu_mips_find_by_name (const char *name) +static const a_mips_def *cpu_mips_find_by_name (const char *name) { int i; @@ -439,19 +439,19 @@ void mips_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)) } #ifndef CONFIG_USER_ONLY -static void no_mmu_init (CPUMIPSState *env, const mips_def_t *def) +static void no_mmu_init (CPUMIPSState *env, const a_mips_def *def) { env->tlb->nb_tlb = 1; env->tlb->map_address = &no_mmu_map_address; } -static void fixed_mmu_init (CPUMIPSState *env, const mips_def_t *def) +static void fixed_mmu_init (CPUMIPSState *env, const a_mips_def *def) { env->tlb->nb_tlb = 1; env->tlb->map_address = &fixed_mmu_map_address; } -static void r4k_mmu_init (CPUMIPSState *env, const mips_def_t *def) +static void r4k_mmu_init (CPUMIPSState *env, const a_mips_def *def) { env->tlb->nb_tlb = 1 + ((def->CP0_Config1 >> CP0C1_MMU) & 63); env->tlb->map_address = &r4k_map_address; @@ -461,7 +461,7 @@ static void r4k_mmu_init (CPUMIPSState *env, const mips_def_t *def) env->tlb->helper_tlbr = r4k_helper_tlbr; } -static void mmu_init (CPUMIPSState *env, const mips_def_t *def) +static void mmu_init (CPUMIPSState *env, const a_mips_def *def) { env->tlb = qemu_mallocz(sizeof(CPUMIPSTLBContext)); @@ -486,7 +486,7 @@ static void mmu_init (CPUMIPSState *env, const mips_def_t *def) } #endif /* CONFIG_USER_ONLY */ -static void fpu_init (CPUMIPSState *env, const mips_def_t *def) +static void fpu_init (CPUMIPSState *env, const a_mips_def *def) { int i; @@ -504,7 +504,7 @@ static void fpu_init (CPUMIPSState *env, const mips_def_t *def) #endif } -static void mvp_init (CPUMIPSState *env, const mips_def_t *def) +static void mvp_init (CPUMIPSState *env, const a_mips_def *def) { env->mvp = qemu_mallocz(sizeof(CPUMIPSMVPContext)); @@ -531,7 +531,7 @@ static void mvp_init (CPUMIPSState *env, const mips_def_t *def) (0x1 << CP0MVPC1_PCP1); } -static int cpu_mips_register (CPUMIPSState *env, const mips_def_t *def) +static int cpu_mips_register (CPUMIPSState *env, const a_mips_def *def) { env->CP0_PRid = def->CP0_PRid; env->CP0_Config0 = def->CP0_Config0; |