CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/01/11 12:16:27
Modified files:
sys/arch/alpha/alpha: trap.c
sys/arch/amd64/amd64: trap.c
sys/arch/arm64/arm64: syscall.c
sys/arch/m88k/m88k: trap.c
sys/arch/mips64/mips64: trap.c
sys/arch/powerpc/powerpc: trap.c
sys/arch/powerpc64/powerpc64: syscall.c
sys/arch/riscv64/riscv64: syscall.c
sys/arch/sparc64/sparc64: trap.c
Log message:
Since no system call takes more than 6 arguments, and no more than one
off_t argument, there is no need to process more than 6 arguments on
64-bit platforms and 8 on 32-bit platforms.
Make the syscall argument gathering code simpler by removing never-used code
to fetch more arguments from the stack, and local argument arrays when pointing
to the trap frame does the job.
ok guenther@ jsing@