Subject: CVS commit: syssrc/sys
To: None <source-changes@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 01/23/2002 17:53:00
Module Name:	syssrc
Committed By:	bjh21
Date:		Wed Jan 23 15:52:59 UTC 2002

Modified Files:
	syssrc/sys/arch/arm/arm: linux_syscall.c
	syssrc/sys/compat/linux/arch/arm: files.linux_arm syscalls.master
Added Files:
	syssrc/sys/compat/linux/arch/arm: linux_sys_machdep.c

Log Message:
Add support for the ARM-specific syscalls in ARMLinux.  These are invoked
by SWI numbers above 0x9f0000, but we re-map them down to somewhere just
after the end of the usual syscall range, since NetBSD doesn't handle
sparse syscall arrays well.

The only syscall I've actually implemented in this range is cacheflush(),
which was previously being mapped to fork(), causing ... interesting results.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm/arm/linux_syscall.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/compat/linux/arch/arm/files.linux_arm
cvs rdiff -r0 -r1.1 syssrc/sys/compat/linux/arch/arm/linux_sys_machdep.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/compat/linux/arch/arm/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.