freebsd-nq/sys/amd64/linux
Konstantin Belousov 2d88da2f06 Move struct syscall_args syscall arguments parameters container into
struct thread.

For all architectures, the syscall trap handlers have to allocate the
structure on the stack.  The structure takes 88 bytes on 64bit arches
which is not negligible.  Also, it cannot be easily found by other
code, which e.g. caused duplication of some members of the structure
to struct thread already.  The change removes td_dbg_sc_code and
td_dbg_sc_nargs which were directly copied from syscall_args.

The structure is put into the copied on fork part of the struct thread
to make the syscall arguments information correct in the child after
fork.

This move will also allow several more uses shortly.

Reviewed by:	jhb (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	3 weeks
X-Differential revision:	https://reviews.freebsd.org/D11080
2017-06-12 21:03:23 +00:00
..
linux_dummy.c Implement Linux mincore() system call. 2017-03-25 15:47:29 +00:00
linux_genassym.c
linux_locore.s Add a forgotten in r283424 .eh_frame section with CFI & FDE records to allow 2016-05-09 07:38:47 +00:00
linux_machdep.c Reimplement linux_arch_prctl() as a wrapper around sysarch(2). 2017-02-20 16:13:40 +00:00
linux_proto.h Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_ptrace.c Implement linux version of ptrace(2). It's nowhere near complete, 2017-02-16 13:32:15 +00:00
linux_support.s Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
linux_syscall.h Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_syscalls.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_sysent.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_systrace_args.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_sysvec.c Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
linux_vdso.lds.s
linux.h In r246085 some bits that are MI movied out into headers in compat/linux, 2017-05-28 08:46:57 +00:00
Makefile Don't create pointless backups of generated files in "make sysent". 2016-07-28 21:29:04 +00:00
syscalls.conf
syscalls.master Add UNIMPLEMENTED() placeholder macro for 2017-03-06 18:11:38 +00:00