|
@@ -24,7 +24,6 @@
|
|
|
#include "migration/vmstate.h"
|
|
|
#ifndef CONFIG_USER_ONLY
|
|
|
#include "hw/core/sysemu-cpu-ops.h"
|
|
|
-#include "exec/address-spaces.h"
|
|
|
#endif
|
|
|
#include "system/accel-ops.h"
|
|
|
#include "system/cpus.h"
|
|
@@ -175,14 +174,6 @@ void cpu_exec_unrealizefn(CPUState *cpu)
|
|
|
accel_cpu_common_unrealize(cpu);
|
|
|
}
|
|
|
|
|
|
-void cpu_exec_initfn(CPUState *cpu)
|
|
|
-{
|
|
|
-#ifndef CONFIG_USER_ONLY
|
|
|
- cpu->memory = get_system_memory();
|
|
|
- object_ref(OBJECT(cpu->memory));
|
|
|
-#endif
|
|
|
-}
|
|
|
-
|
|
|
char *cpu_model_from_type(const char *typename)
|
|
|
{
|
|
|
const char *suffix = "-" CPU_RESOLVING_TYPE;
|