freebsd-dev/sys/powerpc/powerpc
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
..
altivec.c
autoconf.c
bcopy.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
bus_machdep.c Correct pa argument type for pmap_kenter_attr() 2017-05-16 03:31:49 +00:00
busdma_machdep.c Consistently use device_t 2016-08-09 19:32:06 +00:00
clock.c
copyinout.c
copystr.c
cpu.c Add the SPE feature mask for e500v1 and e500v2 2016-10-29 01:24:30 +00:00
db_disasm.c Fix disassembly by adding back some deleted lines. 2016-12-16 04:47:29 +00:00
db_hwwatch.c
db_interface.c Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
db_trace.c Avoid using non-zero argument for __builtin_frame_address(). 2017-01-23 04:03:12 +00:00
dump_machdep.c
elf32_machdep.c
elf64_machdep.c
exec_machdep.c Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
fpu.c
fuswintr.c
gdb_machdep.c
genassym.c Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
in_cksum.c
interrupt.c
intr_machdep.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
iommu_if.m
machdep.c Use the correct format specifier for physmem chunk sizes. 2016-12-25 20:19:32 +00:00
mem.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mmu_if.m Fix improper use of "its". 2016-11-08 23:59:41 +00:00
mp_machdep.c Replace a number of conflations of mp_ncpus and mp_maxid with either 2016-07-06 14:09:49 +00:00
nexus.c
openpic.c
pic_if.m
platform_if.m
platform.c
pmap_dispatch.c Correct pa argument type for pmap_kenter_attr() 2017-05-16 03:31:49 +00:00
ptrace_machdep.c
sc_machdep.c
setjmp.S
sigcode32.S
sigcode64.S
stack_machdep.c
suswintr.c
swtch32.S
swtch64.S
syncicache.c
sys_machdep.c
trap.c Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
uio_machdep.c
uma_machdep.c All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00
vm_machdep.c