Subject: Adding system calls-
To: '' <>
From: Andy Sporner <>
List: tech-kern
Date: 03/15/2000 15:41:53
> 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, 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