CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2012/08/06 23:16:54
Modified files: sys/sys : systm.h sys/arch/alpha/alpha: trap.c sys/arch/amd64/amd64: trap.c sys/arch/arm/arm: syscall.c sys/arch/hp300/hp300: trap.c sys/arch/hppa/hppa: trap.c sys/arch/hppa64/hppa64: trap.c sys/arch/i386/i386: trap.c sys/arch/m68k/m68k: m68k_machdep.c sys/arch/m88k/m88k: trap.c sys/arch/mips64/mips64: trap.c sys/arch/mvme68k/mvme68k: trap.c sys/arch/powerpc/powerpc: trap.c sys/arch/sh/sh : trap.c sys/arch/solbourne/solbourne: trap.c sys/arch/sparc/sparc: trap.c sys/arch/sparc64/sparc64: trap.c sys/arch/vax/vax: trap.c sys/kern : kern_xxx.c Added files: sys/sys : syscall_mi.h Log message: Move the common bits of syscall invocation and return handling into an MI file, <sys/syscall_mi.h>, correcting inconsistencies and the handling when copyin() of arguments fails. Tested on i386, amd64, sparc64, and alpha (thanks naddy@) Any issues with other platforms will be fixed in tree. header name from millert@; ok miod@