summaryrefslogtreecommitdiff
path: root/storeio
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-08 08:41:30 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-08 08:41:30 +0000
commit90b15428d6eebdebba07bc8c14a990ced8ef2644 (patch)
tree1167f47ce0f6395e187b9a08218aae5f237ea510 /storeio
parentcdae183ad19a66122f18e688b5d9e4e12c24ef10 (diff)
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* io.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, and accept parameter `index'.
Diffstat (limited to 'storeio')
-rw-r--r--storeio/ChangeLog5
-rw-r--r--storeio/io.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/storeio/ChangeLog b/storeio/ChangeLog
index cecf8304..be4eab62 100644
--- a/storeio/ChangeLog
+++ b/storeio/ChangeLog
@@ -1,3 +1,8 @@
+1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * io.c (trivfs_S_io_map): Renamed to ...
+ (trivfs_S_io_map_segment): ... here, and accept parameter `index'.
+
1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* dev.c (dev_read: ensure_buf): Fix sloppy bugs in last change.
diff --git a/storeio/io.c b/storeio/io.c
index f3a6a732..6acaa205 100644
--- a/storeio/io.c
+++ b/storeio/io.c
@@ -34,11 +34,13 @@
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 (struct trivfs_protid *cred,
+trivfs_S_io_map_segment (struct trivfs_protid *cred, int index,
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)))