qemu-e2k/bsd-user/i386
Paolo Bonzini 63fd8ef080 target/i386: implement SYSCALL/SYSRET in 32-bit emulators
AMD supports both 32-bit and 64-bit SYSCALL/SYSRET, but the TCG only
exposes it for 64-bit targets.  For system emulation just reuse the
helper; for user-mode emulation the ABI is the same as "int $80".

The BSDs does not support any fast system call mechanism in 32-bit
mode so add to bsd-user the same stub that FreeBSD has for 64-bit
compatibility mode.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-06-26 10:23:56 +02:00
..
signal.c bsd-user: Clean up includes 2023-02-08 07:16:23 +01:00
target_arch_cpu.c bsd-user: Clean up includes 2023-02-08 07:16:23 +01:00
target_arch_cpu.h target/i386: implement SYSCALL/SYSRET in 32-bit emulators 2023-06-26 10:23:56 +02:00
target_arch_elf.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
target_arch_reg.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
target_arch_signal.h bsd-user/target_os_signal.h: Move signal prototypes to target_os_ucontext.h 2022-01-07 22:58:51 -07:00
target_arch_sigtramp.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
target_arch_sysarch.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
target_arch_thread.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
target_arch_vmparam.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
target_arch.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
target_syscall.h bsd-user: move strace OS/arch dependent code to host/arch dirs 2021-01-11 14:59:21 +01:00
target.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00