aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sparc64/template.S
blob: 53d8e778a7cb9b8f581e1bf9112cd7a1e5e6555e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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))