Subject: adding system calls-
To: 'port-i386@netbsd.org' <port-i386@netbsd.org>
From: Andy Sporner <andy.sporner@networkengines.com>
List: port-i386
Date: 03/15/2000 14:40:49
Hi,

I am trying to add a system call to the kernel and I have
gone against the procedures that exist and I still get a bad
system call and a coredump.

I have added an entry (#304) to syscalls.master, regened
with makesyscall.sh, make cleaned, make depend, and
make to build the kernel.  All this goes well and I moved
the kernel to /netbsd.  I also went into /usr/src/sys and 
did a make includes.

I rebooted the kernel and ran my program which uses
the syscall interface and I get "bad system call".  I have
looked at the header files and appears to be correct.

I have never done this before and I must be missing 
something.  I have studied existing code and I see no
difference..

Help!!!!  :-)


Andy