mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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> |
||
|---|---|---|
| .. | ||
| signal.c | ||
| target.h | ||
| target_arch.h | ||
| target_arch_cpu.c | ||
| target_arch_cpu.h | ||
| target_arch_elf.h | ||
| target_arch_reg.h | ||
| target_arch_signal.h | ||
| target_arch_sigtramp.h | ||
| target_arch_sysarch.h | ||
| target_arch_thread.h | ||
| target_arch_vmparam.h | ||
| target_syscall.h | ||