Date: Fri, 6 Oct 1995 23:24:10 -0700 From: Steven Wallace <swallace> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern makesyscalls.sh syscalls.master Message-ID: <199510070624.XAA12469@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
swallace 95/10/06 23:24:09 Modified: sys/kern makesyscalls.sh syscalls.master Log: Add new functionality to makesyscalls.sh: o optional config-file to set vars: sysnames, sysproto, sysproto_h, syshdr, syssw, syshide, syscallprefix, switchname, namesname, sysvec. o change syntax of syscalls.master entry: remove argument count. add pseudo-prototype field defining function name and arguments. o generates correct structure definitions for all system calls in sys/sysproto.h o add type NOARGS: same as STD except do not create structure in sys/sysproto.h o add type NOPROTO: same as STD except do not create structure or function prototype in sys/sysproto.h New functionality provides complete prototype definitions. Usefull for generating files for emulated systems like my new ibcs2 code. Update syscalls.master to reflect new changes. For example, read() entry now looks like: 3 STD POSIX { int ibcs2_read(int fd, char *buf, u_int nbytes); } This is similar to how NetBSD generates these files.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510070624.XAA12469>