Changes from tags/syscall-add-simple-foo at r26 to tags/minix3.1.2a-orig at r10
- Location:
- tags/minix3.1.2a-orig/minix
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/minix3.1.2a-orig/minix/include/minix/callnr.h
r26 r10 1 #define NCALLS 9 6/* number of system calls allowed */1 #define NCALLS 95 /* number of system calls allowed */ 2 2 3 3 #define EXIT 1 … … 87 87 #define TRUNCATE 93 /* to FS */ 88 88 #define FTRUNCATE 94 /* to FS */ 89 #define FOO 95 /* to PM */ -
tags/minix3.1.2a-orig/minix/servers/fs/table.c
r26 r10 113 113 do_truncate, /* 93 = truncate */ 114 114 do_ftruncate, /* 94 = truncate */ 115 no_sys, /* 95 = foo */116 115 }; 117 116 /* This should not fail with "array size is negative": */ -
tags/minix3.1.2a-orig/minix/servers/pm/misc.c
r26 r10 428 428 } 429 429 430 PUBLIC int do_foo()431 {432 printf("Foo syscall called!\n");433 return OK;434 } -
tags/minix3.1.2a-orig/minix/servers/pm/proto.h
r26 r10 57 57 58 58 /* misc.c */ 59 _PROTOTYPE( int do_foo, (void) );60 59 _PROTOTYPE( int do_reboot, (void) ); 61 60 _PROTOTYPE( int do_procstat, (void) ); -
tags/minix3.1.2a-orig/minix/servers/pm/table.c
r26 r10 111 111 no_sys, /* 93 = truncate */ 112 112 no_sys, /* 94 = ftruncate */ 113 do_foo, /* 95 = foo */114 113 }; 115 114 /* This should not fail with "array size is negative": */
Note:
See TracChangeset
for help on using the changeset viewer.