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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [libgloss/] [sparc/] [libsys/] [template.S] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/* 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.