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 |
||
---|---|---|
.. | ||
altivec.c | ||
autoconf.c | ||
bcopy.c | ||
bus_machdep.c | ||
busdma_machdep.c | ||
clock.c | ||
copyinout.c | ||
copystr.c | ||
cpu.c | ||
db_disasm.c | ||
db_hwwatch.c | ||
db_interface.c | ||
db_trace.c | ||
dump_machdep.c | ||
elf32_machdep.c | ||
elf64_machdep.c | ||
exec_machdep.c | ||
fpu.c | ||
fuswintr.c | ||
gdb_machdep.c | ||
genassym.c | ||
in_cksum.c | ||
interrupt.c | ||
intr_machdep.c | ||
iommu_if.m | ||
machdep.c | ||
mem.c | ||
mmu_if.m | ||
mp_machdep.c | ||
nexus.c | ||
openpic.c | ||
pic_if.m | ||
platform_if.m | ||
platform.c | ||
pmap_dispatch.c | ||
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 | ||
uio_machdep.c | ||
uma_machdep.c | ||
vm_machdep.c |