From 2a061ebb71bf7a93d5e7ed71fa13dd7005745965 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 13 Sep 1999 06:35:11 +0000 Subject: Reverted changes related to io_map_segment. --- trans/ChangeLog | 5 +++++ trans/fifo.c | 13 ++++++------- trans/new-fifo.c | 13 ++++++------- trans/null.c | 11 +++++------ 4 files changed, 22 insertions(+), 20 deletions(-) (limited to 'trans') diff --git a/trans/ChangeLog b/trans/ChangeLog index e719385a..15d6dfcb 100644 --- a/trans/ChangeLog +++ b/trans/ChangeLog @@ -1,3 +1,8 @@ +1999-09-13 Roland McGrath + + * fifo.c, null.c, new-fifo.c: Reverted changes related to + io_map_segment. + 1999-09-07 Thomas Bushnell, BSG * null.c (trivfs_S_io_map): Renamed to ... diff --git a/trans/fifo.c b/trans/fifo.c index 61046510..3b62cc21 100644 --- a/trans/fifo.c +++ b/trans/fifo.c @@ -1,6 +1,6 @@ /* A translator for fifos - Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Written by Miles Bader @@ -317,12 +317,11 @@ trivfs_goaway (struct trivfs_control *cntl, int flags) mapping; they will set none of the ports and return an error. Such objects can still be accessed by io_read and io_write. */ error_t -trivfs_S_io_map_segment(struct trivfs_protid *cred, - int index, - memory_object_t *rdobj, - mach_msg_type_name_t *rdtype, - memory_object_t *wrobj, - mach_msg_type_name_t *wrtype) +trivfs_S_io_map(struct trivfs_protid *cred, + memory_object_t *rdobj, + mach_msg_type_name_t *rdtype, + memory_object_t *wrobj, + mach_msg_type_name_t *wrtype) { return EINVAL; } diff --git a/trans/new-fifo.c b/trans/new-fifo.c index 5afefa49..203a7d4d 100644 --- a/trans/new-fifo.c +++ b/trans/new-fifo.c @@ -1,6 +1,6 @@ /* A translator for fifos - Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Written by Miles Bader @@ -499,12 +499,11 @@ trivfs_goaway (struct trivfs_control *fsys, int flags) mapping; they will set none of the ports and return an error. Such objects can still be accessed by io_read and io_write. */ error_t -trivfs_S_io_map_segment(struct trivfs_protid *cred, - int index, - memory_object_t *rdobj, - mach_msg_type_name_t *rdtype, - memory_object_t *wrobj, - mach_msg_type_name_t *wrtype) +trivfs_S_io_map(struct trivfs_protid *cred, + memory_object_t *rdobj, + mach_msg_type_name_t *rdtype, + memory_object_t *wrobj, + mach_msg_type_name_t *wrtype) { return EINVAL; } diff --git a/trans/null.c b/trans/null.c index b0924dbf..2729a639 100644 --- a/trans/null.c +++ b/trans/null.c @@ -99,12 +99,11 @@ trivfs_goaway (struct trivfs_control *fsys, int flags) mapping; they will set none of the ports and return an error. Such objects can still be accessed by io_read and io_write. */ kern_return_t -trivfs_S_io_map_segment(struct trivfs_protid *cred, - int index, - memory_object_t *rdobj, - mach_msg_type_name_t *rdtype, - memory_object_t *wrobj, - mach_msg_type_name_t *wrtype) +trivfs_S_io_map(struct trivfs_protid *cred, + memory_object_t *rdobj, + mach_msg_type_name_t *rdtype, + memory_object_t *wrobj, + mach_msg_type_name_t *wrtype) { return EINVAL; /* XXX should work! */ } -- cgit v1.2.3