This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developersguide:newkernelcall [2015/09/20 11:42] sahutd Latest version of minix had already an entry for KERNEL_CALL + 57. This changes SYS_SAMPLE to use KERNEL_CALL + 58. It also updates the macro NR_SYS_CALLS |
developersguide:newkernelcall [2015/09/22 20:18] (current) shawnsustrich Changed line text indicating where user should add sys_sample.c |
||
---|---|---|---|
Line 63: | Line 63: | ||
... | ... | ||
</code> | </code> | ||
- | - Add the SAMPLE service to the system tab: ///usr/src/minix/commands/service/parse.c//; build the updated system tab and install it with //make; make install// from ///usr/src/commands/service/// | + | - Add the SAMPLE service to the system tab: ///usr/src/minix/commands/service/parse.c//; build the updated system tab and install it with //make; make install// from ///usr/src/minix/commands/service/// |
<code> | <code> | ||
... | ... | ||
Line 73: | Line 73: | ||
{ | { | ||
... | ... | ||
- | { "MEMSET", SYS_MEMSET }, | + | { "PADCONF", SYS_PADCONF }, |
{ "SAMPLE", SYS_SAMPLE }, | { "SAMPLE", SYS_SAMPLE }, | ||
{ NULL, 0 } | { NULL, 0 } | ||
Line 96: | Line 96: | ||
LIB= sys | LIB= sys | ||
- | SRCS= \ | + | SRCS+= \ |
... | ... | ||
sys_sample.c \ | sys_sample.c \ |