qemu-cr16/bsd-user
Alex Bennée 903e870f24 plugins/api: split out binary path/start/end/entry code
To move the main api.c to a single build compilation object we need to
start splitting out user and system specific code. As we need to grob
around host headers we move these particular helpers into the *-user
mode directories.

The binary/start/end/entry helpers are all NOPs for system mode.

While using the plugin-api.c.inc trick means we build for both
linux-user and bsd-user the BSD user-mode command line is still
missing -plugin. This can be enabled once we have reliable check-tcg
tests working for the BSDs.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-27-alex.bennee@linaro.org>
2025-03-10 10:30:01 +00:00
..
aarch64 user: Declare cpu_loop() once in 'user/cpu_loop.h' 2024-12-20 17:44:57 +01:00
arm user: Declare cpu_loop() once in 'user/cpu_loop.h' 2024-12-20 17:44:57 +01:00
freebsd bsd-user: Simplify the implementation of execve 2024-07-23 10:50:54 -06:00
host
i386 user: Declare cpu_loop() once in 'user/cpu_loop.h' 2024-12-20 17:44:57 +01:00
include
netbsd exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h' 2024-04-26 17:03:05 +02:00
openbsd exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h' 2024-04-26 17:03:05 +02:00
riscv user: Declare cpu_loop() once in 'user/cpu_loop.h' 2024-12-20 17:44:57 +01:00
x86_64 user: Declare cpu_loop() once in 'user/cpu_loop.h' 2024-12-20 17:44:57 +01:00
bsd-file.h {linux,bsd}-user: Introduce get_task_state() 2024-03-06 12:35:19 +00:00
bsd-mem.c
bsd-mem.h bsd-user: Propagate alignment argument to mmap_find_vma() 2025-03-09 14:54:32 +01:00
bsd-proc.c
bsd-proc.h accel: Introduce AccelClass::cpu_common_[un]realize 2023-10-05 08:55:34 -04:00
bsdload.c
elfcore.c
elfload.c hw/elf_ops: Rename elf_ops.h -> elf_ops.h.inc 2024-04-25 12:48:12 +02:00
errno_defs.h
main.c gdbstub: Allow late attachment 2025-02-10 13:47:59 +00:00
meson.build plugins/api: split out binary path/start/end/entry code 2025-03-10 10:30:01 +00:00
mmap.c bsd-user: Propagate alignment argument to mmap_find_vma() 2025-03-09 14:54:32 +01:00
plugin-api.c plugins/api: split out binary path/start/end/entry code 2025-03-10 10:30:01 +00:00
qemu-bsd.h
qemu.h user: Extract common MMAP API to 'user/mmap.h' 2025-03-09 14:54:32 +01:00
signal-common.h user: Introduce user/signal.h 2025-02-10 13:47:59 +00:00
signal.c user: Prefer cached CpuClass over CPU_GET_CLASS() macro 2025-03-09 17:00:47 +01:00
strace.c exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h' 2024-04-26 17:03:05 +02:00
syscall_defs.h
trace-events
trace.h
uaccess.c