aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-m68k/helper.c')
-rw-r--r--target-m68k/helper.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/target-m68k/helper.c b/target-m68k/helper.c
index 2a9f7e6906..9f30a7479d 100644
--- a/target-m68k/helper.c
+++ b/target-m68k/helper.c
@@ -38,14 +38,14 @@ enum m68k_cpuid {
M68K_CPUID_ANY,
};
-typedef struct m68k_def a_m68k_def;
+typedef struct m68k_def_t m68k_def_t;
-struct m68k_def {
+struct m68k_def_t {
const char * name;
enum m68k_cpuid id;
};
-static a_m68k_def m68k_cpu_defs[] = {
+static m68k_def_t m68k_cpu_defs[] = {
{"m5206", M68K_CPUID_M5206},
{"m5208", M68K_CPUID_M5208},
{"cfv4e", M68K_CPUID_CFV4E},
@@ -96,7 +96,7 @@ static void m68k_set_feature(CPUM68KState *env, int feature)
static int cpu_m68k_set_model(CPUM68KState *env, const char *name)
{
- a_m68k_def *def;
+ m68k_def_t *def;
for (def = m68k_cpu_defs; def->name; def++) {
if (strcmp(def->name, name) == 0)
@@ -345,7 +345,7 @@ void m68k_switch_sp(CPUM68KState *env)
/* MMU */
/* TODO: This will need fixing once the MMU is implemented. */
-a_target_phys_addr cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
+target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
{
return addr;
}