freebsd-dev/sys/mips
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
..
adm5120 Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
alchemy Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
atheros [ar71xx] undo read-after-write to flush; some bus devices dislike this. 2017-05-28 07:44:55 +00:00
beri Switch BERI Programmable Interrupt Controller to INTRNG. 2017-04-18 17:20:03 +00:00
broadcom [mips] [bhnd] Support of old PMU for BMIPS and siba SoC 2017-05-28 12:05:16 +00:00
cavium Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
conf [ar71xx] rename AR724X_BASE -> std.AR724X 2017-05-31 16:32:33 +00:00
gxemul Allow the use of soft-interrupts for sending IPIs. 2016-09-08 17:37:13 +00:00
idt Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
include Make struct syscall_args visible to userspace compilation environment 2017-06-12 20:53:44 +00:00
ingenic Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
malta Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
mediatek [mediatek] [gpio] add PPS / interrupt support. 2017-05-06 06:22:14 +00:00
mips Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
nlm Fix build: include machine/bus.h before uart.h 2017-03-02 17:09:14 +00:00
rmi Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
rt305x Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
sibyte Convert PCIe Hot Plug to using pci_request_feature 2017-02-25 06:11:59 +00:00