Last change
on this file since 588 was
444,
checked in by satin@…, 7 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
388 bytes
|
Line | |
---|
1 | /* system call template */ |
---|
2 | |
---|
3 | /* Lots of system calls are trivial functions, so we build their source files |
---|
4 | from a template. New syscalls can be added simply by editing the |
---|
5 | Makefile! |
---|
6 | |
---|
7 | Usage: Compile this file with "func" set to the name of the syscall. */ |
---|
8 | |
---|
9 | #include "syscallasm.h" |
---|
10 | |
---|
11 | #define concat(a,b) a##b |
---|
12 | #define makesys(a) concat (SYS_, a) |
---|
13 | |
---|
14 | defsyscall (func, makesys(func)) |
---|
Note: See
TracBrowser
for help on using the repository browser.