Deleted Added
full compact
pipe.S (111777) pipe.S (115084)
1/* $NetBSD: pipe.S,v 1.1 1995/02/10 17:50:35 cgd Exp $ */
2
3/*
4 * Copyright (c) 1994, 1995 Carnegie-Mellon University.
5 * All rights reserved.
6 *
7 * Author: Chris G. Demetriou
8 *

--- 14 unchanged lines hidden (view full) ---

23 * Carnegie Mellon University
24 * Pittsburgh PA 15213-3890
25 *
26 * any improvements or extensions that they make and grant Carnegie the
27 * rights to redistribute these changes.
28 */
29
30#include <machine/asm.h>
1/* $NetBSD: pipe.S,v 1.1 1995/02/10 17:50:35 cgd Exp $ */
2
3/*
4 * Copyright (c) 1994, 1995 Carnegie-Mellon University.
5 * All rights reserved.
6 *
7 * Author: Chris G. Demetriou
8 *

--- 14 unchanged lines hidden (view full) ---

23 * Carnegie Mellon University
24 * Pittsburgh PA 15213-3890
25 *
26 * any improvements or extensions that they make and grant Carnegie the
27 * rights to redistribute these changes.
28 */
29
30#include <machine/asm.h>
31__FBSDID("$FreeBSD: head/lib/libc/ia64/sys/pipe.S 111777 2003-03-03 01:09:46Z obrien $");
31__FBSDID("$FreeBSD: head/lib/libc/ia64/sys/pipe.S 115084 2003-05-16 21:26:42Z marcel $");
32
33#include "SYS.h"
34
32
33#include "SYS.h"
34
35SYSCALL(pipe)
36 .regstk 1,0,0,0
37 st4 [in0]=ret0,4 ;;
38 st4 [in0]=ret1
39 mov ret0=0
35ENTRY(__sys_pipe, 1)
36 WEAK_ALIAS(pipe, __sys_pipe)
37 WEAK_ALIAS(_pipe, __sys_pipe)
38 st8 [sp]=r32
39 CALLSYS_ERROR(pipe)
40 ld8 r14=[sp]
41 ;;
42 st4 [r14]=ret0,4
43 ;;
44 st4 [r14]=ret1
45 mov ret0=0
40 br.ret.sptk.few rp
46 br.ret.sptk.few rp
41END(pipe)
47END(__sys_pipe)