summaryrefslogtreecommitdiff
path: root/storeio
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-09-13 06:35:11 +0000
committerRoland McGrath <roland@gnu.org>1999-09-13 06:35:11 +0000
commit2a061ebb71bf7a93d5e7ed71fa13dd7005745965 (patch)
treec03dbbcdb1ab820ed98049bf3ad866ca4125ae2c /storeio
parentd5192f3ae0bc49683b16882e47d1bc39607d5363 (diff)
Reverted changes related to io_map_segment.
Diffstat (limited to 'storeio')
-rw-r--r--storeio/ChangeLog4
-rw-r--r--storeio/io.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/storeio/ChangeLog b/storeio/ChangeLog
index be4eab62..14a134d1 100644
--- a/storeio/ChangeLog
+++ b/storeio/ChangeLog
@@ -1,3 +1,7 @@
+1999-09-13 Roland McGrath <roland@baalperazim.frob.com>
+
+ * io.c: Reverted changes related to io_map_segment.
+
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* io.c (trivfs_S_io_map): Renamed to ...
diff --git a/storeio/io.c b/storeio/io.c
index 6acaa205..f3a6a732 100644
--- a/storeio/io.c
+++ b/storeio/io.c
@@ -34,13 +34,11 @@
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,
+trivfs_S_io_map (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
memory_object_t *rd_obj, mach_msg_type_name_t *rd_type,
memory_object_t *wr_obj, mach_msg_type_name_t *wr_type)
{
- assert (index == 0); /* XXX */
-
if (! cred)
return EOPNOTSUPP;
else if (! (cred->po->openmodes & (O_READ|O_WRITE)))