|
@@ -154,7 +154,7 @@ typedef struct CPUArchState {
|
|
struct {} end_reset_fields;
|
|
struct {} end_reset_fields;
|
|
|
|
|
|
/* Fields from here on are preserved across CPU reset. */
|
|
/* Fields from here on are preserved across CPU reset. */
|
|
- uint32_t features;
|
|
|
|
|
|
+ uint64_t features;
|
|
} CPUM68KState;
|
|
} CPUM68KState;
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -539,9 +539,9 @@ enum m68k_features {
|
|
M68K_FEATURE_TRAPCC,
|
|
M68K_FEATURE_TRAPCC,
|
|
};
|
|
};
|
|
|
|
|
|
-static inline int m68k_feature(CPUM68KState *env, int feature)
|
|
|
|
|
|
+static inline bool m68k_feature(CPUM68KState *env, int feature)
|
|
{
|
|
{
|
|
- return (env->features & (1u << feature)) != 0;
|
|
|
|
|
|
+ return (env->features & BIT_ULL(feature)) != 0;
|
|
}
|
|
}
|
|
|
|
|
|
void m68k_cpu_list(void);
|
|
void m68k_cpu_list(void);
|