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 target/arm: Move feature test functions to their own header 2023-10-27 11:44:32 +01:00
freebsd bsd-user: spelling fixes: necesary, agrument, undocummented 2023-11-15 11:09:17 +03:00
host bsd-user: Catch up with sys/param.h requirement for machine/pmap.h 2022-10-26 14:09:17 -06:00
i386 bsd-user: Remove ELF_START_MMAP and image_info.start_mmap 2023-08-28 12:16:18 -06:00
include user: move common-user includes to a subdirectory of {bsd,linux}-user/ 2022-01-12 14:08:29 +01:00
netbsd Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
openbsd Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
x86_64 bsd-user: Remove ELF_START_MMAP and image_info.start_mmap 2023-08-28 12:16:18 -06:00
bsd-file.h bulk: Do not declare function prototypes using 'extern' keyword 2023-08-31 19:47:43 +02:00
bsd-mem.c bsd-user: Implement shmid_ds conversion between host and target. 2023-10-03 17:14:07 -06:00
bsd-mem.h bsd-user: spelling fixes: necesary, agrument, undocummented 2023-11-15 11:09:17 +03:00
bsd-proc.c bsd-user: Get number of cpus. 2023-10-03 17:14:06 -06:00
bsd-proc.h accel: Introduce AccelClass::cpu_common_[un]realize 2023-10-05 08:55:34 -04:00
bsdload.c bsd-user: TARGET_NGROUPS unused in this file, remove 2021-09-10 14:13:06 -06:00
elfcore.c bsd-user: add stubbed out core dump support 2021-09-10 14:13:06 -06:00
elfload.c bsd-user: Remove image_info.start_brk 2023-08-28 12:16:18 -06:00
errno_defs.h bsd-user: spelling fixes 2023-09-20 07:54:34 +03:00
main.c cpu: Add generic cpu_list() 2024-01-05 16:20:14 +01:00
meson.build configure, meson: rename targetos to host_os 2023-12-31 09:11:29 +01:00
mmap.c bsd-user: Implement shmat(2) and shmdt(2) 2023-10-03 17:14:07 -06:00
qemu-bsd.h bsd-user: Declarations for ipc_perm and shmid_ds conversion functions 2023-10-03 17:14:06 -06:00
qemu.h bsd-user: Implement shmat(2) and shmdt(2) 2023-10-03 17:14:07 -06:00
signal-common.h bsd-user: Implement host_to_target_siginfo. 2023-10-03 17:14:06 -06:00
signal.c accel: Introduce AccelClass::cpu_common_[un]realize 2023-10-05 08:55:34 -04:00
strace.c bsd-user: Clean up includes 2023-02-08 07:16:23 +01:00
syscall_defs.h bsd-user: Implment madvise(2) to match the linux-user implementation. 2023-10-03 17:14:07 -06:00
trace-events trace-events: Fix the name of the tracing.rst file 2023-09-08 13:08:51 +03:00
trace.h bsd-user: Add trace events for bsd-user 2022-01-28 15:53:41 -07:00
uaccess.c bsd-user: style tweak: keyword space ( 2021-05-11 11:07:22 -06:00