mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-27 14:50:23 +00:00
15 lines
392 B
ArmAsm
15 lines
392 B
ArmAsm
|
/* system call template */
|
||
|
|
||
|
/* Lots of system calls are trivial functions, so we build their source files
|
||
|
from a template. New syscalls can be added simply by editing the
|
||
|
Makefile!
|
||
|
|
||
|
Usage: Compile this file with "func" set to the name of the syscall. */
|
||
|
|
||
|
#include "sys/syscallasm.h"
|
||
|
|
||
|
#define concat(a,b) a##b
|
||
|
#define makesys(a) concat (SYS_, a)
|
||
|
|
||
|
defsyscall (func, makesys(func))
|