Revision b5ec5ce0 linux-user/main.c
b/linux-user/main.c | ||
---|---|---|
2553 | 2553 |
} |
2554 | 2554 |
|
2555 | 2555 |
cpu_model = NULL; |
2556 |
#if defined(cpudef_setup) |
|
2557 |
cpudef_setup(); /* parse cpu definitions in target config file (TBD) */ |
|
2558 |
#endif |
|
2559 |
|
|
2556 | 2560 |
optind = 1; |
2557 | 2561 |
for(;;) { |
2558 | 2562 |
if (optind >= argc) |
... | ... | |
2624 | 2628 |
cpu_model = argv[optind++]; |
2625 | 2629 |
if (cpu_model == NULL || strcmp(cpu_model, "?") == 0) { |
2626 | 2630 |
/* XXX: implement xxx_cpu_list for targets that still miss it */ |
2627 |
#if defined(cpu_list) |
|
2628 |
cpu_list(stdout, &fprintf);
|
|
2631 |
#if defined(cpu_list_id)
|
|
2632 |
cpu_list_id(stdout, &fprintf, "");
|
|
2629 | 2633 |
#endif |
2630 | 2634 |
exit(1); |
2631 | 2635 |
} |
Also available in: Unified diff