File:  [DVB] / dietlibc / sparc / pipe.S
Revision 1.4: download - view: text, annotated - select for diffs
Thu May 15 15:17:10 2003 UTC (21 years ago) by sanjiyan
Branches: MAIN
CVS tags: HEAD
- removing "<arch>/mmap.*" where no arch-specific impementation is needed.
  (added "syscalls.s/mmap.S")

- fixing the vsyscall in the dynamic library... (self made problem)

- removing warning in "res_query.c"

- changing type of stream-mutex to recursive

- sparc/sparc64: shrink of the unified syscall and the special syscalls
  (fork/pipe) to use the "unified_syscall_error_handler"

#include <dietfeatures.h>
#include "syscalls.h"

.text
.global pipe
pipe:
	mov	%o0, %o2
	mov	__NR_pipe, %g1
	ta	0x10
	bcs	__unified_syscall_error_handler
	nop
	st	%o0, [ %o2 ]
	st	%o1, [ %o2 + 4 ]
	retl
	mov	%g0, %o0


LinuxTV legacy CVS <linuxtv.org/cvs>