freebsd-nq/sys/amd64/linux32
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
..
linux32_dummy.c Implement Linux mincore() system call. 2017-03-25 15:47:29 +00:00
linux32_genassym.c Implement vdso - virtual dynamic shared object. Through vdso Linux 2015-05-24 15:28:17 +00:00
linux32_locore.s Update for LINUX32 rename. The assembler didn't complain about undefined 2015-10-29 15:20:47 +00:00
linux32_machdep.c Add linux_preadv() and linux_pwritev() syscalls to Linuxulator. 2017-02-24 20:04:02 +00:00
linux32_proto.h Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_support.s Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
linux32_syscall.h Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_syscalls.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_sysent.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_systrace_args.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_sysvec.c Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
linux32_vdso.lds.s Put linux_platform into the vdso to avoid copying it onto the stack at 2015-05-24 15:30:52 +00:00
linux.h Trying to be more compatible with Linux if.h definitions: 2017-04-08 14:41:39 +00:00
Makefile Don't create pointless backups of generated files in "make sysent". 2016-07-28 21:29:04 +00:00
syscalls.conf Rename remaining linux32 symbols such as linux_sysent[] and 2015-10-22 21:28:20 +00:00
syscalls.master Add UNIMPLEMENTED() placeholder macro for 2017-03-06 18:11:38 +00:00