freebsd-skq/sys/arm
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
..
allwinner Start to rename files with common or generic names to be SoC specific. The 2017-06-04 09:11:14 +00:00
altera/socfpga Add FPGA manager driver for Intel Arria 10. 2017-03-03 14:19:37 +00:00
amlogic/aml8726 Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
annapurna/alpine Start to rename files with common or generic names to be SoC specific. The 2017-06-04 09:11:14 +00:00
arm Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
at91 Split overbloated machep.c to multiple files and do basic cleanup 2017-03-11 07:07:41 +00:00
broadcom/bcm2835 Fix spelling mistake, BCM2835_PASWORD -> BCM2835_PASSWORD 2017-04-03 22:36:45 +00:00
cavium/cns11xx Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
cloudabi32 Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
conf Port the Vybrid code to PLATFORM to help move it into GENERIC. 2017-06-03 20:14:46 +00:00
freescale Start to rename files with common or generic names to be SoC specific. The 2017-06-04 09:11:14 +00:00
include Increase maximum text segment size. 2017-05-19 11:45:14 +00:00
lpc Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
mv Add function to dump PCIE MBUS decoding windows and bars 2017-06-08 16:57:06 +00:00
nvidia Restore original (pre r315760) naming for Tegra SDHCI device. 2017-03-23 08:16:53 +00:00
qemu Make the default FDT implementation of platform_mp_setmaxid use the cpu 2017-03-17 12:45:53 +00:00
ralink [arm] [rt1310] add initial RT1310 SoC code. 2017-05-06 06:14:46 +00:00
rockchip Remake support for SMP kernel on UP cpu: 2017-02-02 06:14:44 +00:00
samsung/exynos Port the Samsung ARM code to use PLATFORM and PLATFORM_SMP. This will help 2017-06-03 20:02:12 +00:00
ti [am335x] Fix HDMI suport for Beaglebone Black 2017-03-30 21:54:57 +00:00
versatile Stop making cpu_initclocks weak when using event timers. A weak symbol 2017-06-03 16:24:17 +00:00
xilinx Port the Xilinx code to use PLATFORM and PLATFORM_SMP. This will help move 2017-06-03 19:11:32 +00:00
xscale Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00