OSDN Git Service

* syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
authorHans-Peter Nilsson <hp@axis.com>
Fri, 28 Jan 2005 03:40:54 +0000 (03:40 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 28 Jan 2005 03:40:54 +0000 (03:40 +0000)
commit11e6470641947323ec2efe9620622703000cc338
treecbc413dc1889e410ef446c9adb736f09a2f5b84c
parentaab2df5dda88d5cbac07447e6afd28fc5b5d3fe4
* syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
* callback.c [HAVE_LIMITS_H]: Include limits.h.
   Include libiberty.h.
(os_close, os_read, os_write, os_fstat, os_ftruncate): Support fd
being either end of a pipe.
(os_pipe, os_pipe_empty, os_pipe_nonempty): New functions.
(os_shutdown): Clear pipe state.
(default_callback): Initialize new members.
sim/common/ChangeLog
sim/common/callback.c
sim/common/syscall.c