opnsense-src/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 Dump VMX registers into the userland coredump. 2015-01-03 21:06:06 +00:00
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 sys/powerpc: make use of the howmany() macro when available. 2016-04-26 14:44:49 +00:00
copyinout.c Use setjmp() instead of the identical-except-for-having-a-wrong-prototype 2016-01-10 16:42:14 +00:00
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 Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
elf32_machdep.c powerpc: for pointers replace 0 with NULL. 2016-04-15 14:25:13 +00:00
elf64_machdep.c powerpc: for pointers replace 0 with NULL. 2016-04-15 14:25:13 +00:00
exec_machdep.c Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
fpu.c Kernel support for the Vector-Scalar eXtension (VSX) found on the POWER7 2015-02-22 21:40:27 +00:00
fuswintr.c
gdb_machdep.c Let us manage differences of Book-E PowerPC variations i.e. vendor / 2012-05-27 10:25:20 +00:00
genassym.c Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
in_cksum.c
interrupt.c Merge booke and aim interrupt.c files. 2015-07-06 05:08:57 +00:00
intr_machdep.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
iommu_if.m - Change contigmalloc() to use the vm_paddr_t type instead of an unsigned 2012-03-01 19:58:34 +00:00
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 Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
openpic.c Add suspend/resume state saving for OpenPIC on PowerMac. It's likely this 2013-12-21 04:31:54 +00:00
pic_if.m Allow PIC drivers to translate firmware sense codes for themselves. This 2013-10-24 15:37:32 +00:00
platform.c Extend idle support for newer Book-E cores. 2016-01-01 02:47:40 +00:00
platform_if.m Extend idle support for newer Book-E cores. 2016-01-01 02:47:40 +00:00
pmap_dispatch.c Correct pa argument type for pmap_kenter_attr() 2017-05-16 03:31:49 +00:00
ptrace_machdep.c Add Altivec/VMX register support to ptrace. 2015-01-14 07:01:21 +00:00
sc_machdep.c
setjmp.S Remove dead code and dead comments, most notably the implemenation of the 2016-01-10 18:00:01 +00:00
sigcode32.S Align signal stack pointer to 16 bytes. 2016-02-03 01:50:27 +00:00
sigcode64.S Provide support for ELFv2 userland if using a newer compiler (recent clang 2015-12-03 00:10:57 +00:00
stack_machdep.c Add stack_save_td_running(), a function to trace the kernel stack of a 2015-09-11 03:54:37 +00:00
suswintr.c
swtch32.S Save the link register in savectx(). 2015-10-06 01:24:46 +00:00
swtch64.S Make ELFv2 powerpc64 kernels build and run. Loader support will come in a 2015-11-29 07:16:08 +00:00
syncicache.c Provide $FreeBSD$ in the standard way. This fixes the build with clang 3.6. 2015-03-08 16:50:45 +00:00
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 Delete stray clause 3 (Advertising clause) and renumber while i'm 2014-03-11 23:41:35 +00:00
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 Update comments for the MD functions managing contexts for new 2016-06-16 12:05:44 +00:00