* 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)
commit97f669eda91b587c590bb5d0bb185d63c126d7fe
tree82269fe3b8572c13708934292ac80694f8fb2147
parent6a7e5cfe8c15184a6e65769dd05127fe70c9e6d7
* 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