OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [sparc/] [libsys/] [template.S] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
/* 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))

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.