Revision d12f4c38 hw/ppc_chrp.c
b/hw/ppc_chrp.c | ||
---|---|---|
330 | 330 |
qemu_register_reset(&cpu_ppc_reset, env); |
331 | 331 |
register_savevm("cpu", 0, 3, cpu_save, cpu_load, env); |
332 | 332 |
|
333 |
/* Default CPU is a generic 74x/75x */ |
|
334 | 333 |
if (cpu_model == NULL) |
335 |
cpu_model = "750"; |
|
336 |
/* XXX: CPU model (or PVR) should be provided on command line */ |
|
337 |
// ppc_find_by_name("750gx", &def); // Linux boot OK |
|
338 |
// ppc_find_by_name("750fx", &def); // Linux boot OK |
|
339 |
/* Linux does not boot on 750cxe (and probably other 750cx based) |
|
340 |
* because it assumes it has 8 IBAT & DBAT pairs as it only have 4. |
|
341 |
*/ |
|
334 |
cpu_model = "default"; |
|
342 | 335 |
ppc_find_by_name(cpu_model, &def); |
343 | 336 |
if (def == NULL) { |
344 | 337 |
cpu_abort(env, "Unable to find PowerPC CPU definition\n"); |
Also available in: Unified diff