qemu-e2k/bsd-user
Gavin Shan dfa4753131 cpu: Add generic cpu_list()
Add generic cpu_list() to replace the individual target's implementation
in the subsequent commits. Currently, there are 3 targets with no cpu_list()
implementation: microblaze and nios2. With this applied, those two targets
switch to the generic cpu_list().

[gshan@gshan q]$ ./build/qemu-system-microblaze -cpu ?
Available CPUs:
  microblaze-cpu

[gshan@gshan q]$ ./build/qemu-system-nios2 -cpu ?
Available CPUs:
  nios2-cpu

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231114235628.534334-7-gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2024-01-05 16:20:14 +01:00
..
arm
freebsd
host
i386
include
netbsd
openbsd
x86_64
bsd-file.h
bsd-mem.c
bsd-mem.h
bsd-proc.c
bsd-proc.h
bsdload.c
elfcore.c
elfload.c
errno_defs.h
main.c
meson.build
mmap.c
qemu-bsd.h
qemu.h
signal-common.h
signal.c
strace.c
syscall_defs.h
trace-events
trace.h
uaccess.c