OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [libgloss/] [sparc/] [libsys/] [template.S] - Blame information for rev 345

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 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.