Revision aaed909a exec.c
b/exec.c | ||
---|---|---|
1314 | 1314 |
|
1315 | 1315 |
CPUState *cpu_copy(CPUState *env) |
1316 | 1316 |
{ |
1317 |
#if 0 |
|
1318 |
/* XXX: broken, must be handled by each CPU */ |
|
1317 | 1319 |
CPUState *new_env = cpu_init(); |
1318 | 1320 |
/* preserve chaining and index */ |
1319 | 1321 |
CPUState *next_cpu = new_env->next_cpu; |
... | ... | |
1322 | 1324 |
new_env->next_cpu = next_cpu; |
1323 | 1325 |
new_env->cpu_index = cpu_index; |
1324 | 1326 |
return new_env; |
1327 |
#else |
|
1328 |
return NULL; |
|
1329 |
#endif |
|
1325 | 1330 |
} |
1326 | 1331 |
|
1327 | 1332 |
#if !defined(CONFIG_USER_ONLY) |
Also available in: Unified diff