mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-24 00:45:38 +00:00
cpu: Eliminate cpudef_init(), cpudef_setup()
x86_cpudef_init() doesn't do anything anymore, cpudef_init(), cpudef_setup(), and x86_cpudef_init() can be finally removed. Backports commit 3e2c0e062f0963a6b73b0cd1990fad79495463d9 from qemu
This commit is contained in:
parent
956e20ea6b
commit
fee2c27f2b
|
@ -2205,10 +2205,6 @@ void cpu_clear_apic_feature(CPUX86State *env)
|
|||
|
||||
#endif /* !CONFIG_USER_ONLY */
|
||||
|
||||
void x86_cpudef_setup(void)
|
||||
{
|
||||
}
|
||||
|
||||
void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count,
|
||||
uint32_t *eax, uint32_t *ebx,
|
||||
uint32_t *ecx, uint32_t *edx)
|
||||
|
|
|
@ -1211,7 +1211,6 @@ void x86_cpu_exec_exit(CPUState *cpu);
|
|||
|
||||
X86CPU *cpu_x86_create(struct uc_struct *uc, const char *cpu_model, Error **errp);
|
||||
int cpu_x86_exec(struct uc_struct *uc, CPUState *cpu);
|
||||
void x86_cpudef_setup(void);
|
||||
int cpu_x86_support_mca_broadcast(CPUX86State *env);
|
||||
|
||||
int cpu_get_pic_interrupt(CPUX86State *s);
|
||||
|
@ -1391,7 +1390,6 @@ CPUX86State *cpu_x86_init_user(struct uc_struct *uc, const char *cpu_model);
|
|||
#ifdef TARGET_I386
|
||||
#define cpu_exec cpu_x86_exec
|
||||
#define cpu_signal_handler cpu_x86_signal_handler
|
||||
#define cpudef_setup x86_cpudef_setup
|
||||
#endif
|
||||
|
||||
/* MMU modes definitions */
|
||||
|
|
Loading…
Reference in a new issue