summaryrefslogtreecommitdiff
path: root/hurd
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 /hurd
parentd5192f3ae0bc49683b16882e47d1bc39607d5363 (diff)
Reverted changes related to io_map_segment.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/ChangeLog6
-rw-r--r--hurd/io.defs35
2 files changed, 13 insertions, 28 deletions
diff --git a/hurd/ChangeLog b/hurd/ChangeLog
index 39f4dc71..72cedf64 100644
--- a/hurd/ChangeLog
+++ b/hurd/ChangeLog
@@ -1,3 +1,7 @@
+1999-09-13 Roland McGrath <roland@baalperazim.frob.com>
+
+ * io.defs: Reverted changes related to io_map_segment.
+
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* io.defs (io_map_segment): New RPC.
@@ -5,7 +9,7 @@
(io_map_cntl, io_get_conch, io_release_conch, io_prenotify,
io_eofnotify, io_postnotify, io_readnotify, io_readsleep,
io_sigio): Label as deprecated.
-
+
Tue May 11 13:38:50 1999 Thomas Bushnell, BSG <tb@mit.edu>
* startup.defs: Doc fixes.
diff --git a/hurd/io.defs b/hurd/io.defs
index 92ce0fa2..75a8f58b 100644
--- a/hurd/io.defs
+++ b/hurd/io.defs
@@ -205,7 +205,14 @@ routine io_server_version (
/* Definitions for mapped io */
-/* This RPC is a deprecated alias for io_map_segment with an INDEX of zero. */
+/* Return objects mapping the data underlying this memory object. If
+ the object can be read then memobjrd will be provided; if the
+ object can be written then memobjwr will be provided. For objects
+ where read data and write data are the same, these objects will be
+ equal, otherwise they will be disjoint. Servers are permitted to
+ implement io_map but not io_map_cntl. Some objects do not provide
+ mapping; they will set none of the ports and return an error. Such
+ objects can still be accessed by io_read and io_write. */
routine io_map (
io_object: io_t;
RPT
@@ -220,7 +227,6 @@ routine io_map (
This call may be unimplemented by some servers; they will return
EOPNOTSUPP.
*/
-/* This call is deprecated. */
routine io_map_cntl (
io_object: io_t;
RPT
@@ -230,7 +236,6 @@ routine io_map_cntl (
should call this function. The server will endeavor to have
USER_HAS_CONCH when this returns, but users should call io_get_it
in a loop for safety. */
-/* This call is deprecated. */
routine io_get_conch (
io_object: io_t RPTLAST);
@@ -243,7 +248,6 @@ routine io_get_conch (
to be updated, the user should call io_release_conch. Upon return,
the conch status might be either USER_COULD_HAVE_CONCH or
USER_HAS_NOT_CONCH. */
-/* This call is deprecated. */
routine io_release_conch (
io_object: io_t RPTLAST);
@@ -253,7 +257,6 @@ routine io_release_conch (
example, to clear the eof condition after it is read once. The
routine should be called while the user has the conch. The user
will keep it upon return. */
-/* This call is deprecated. */
routine io_eofnotify (
io_object: io_t RPTLAST);
@@ -263,7 +266,6 @@ routine io_eofnotify (
size will now permit the write, so it should be re-checked. The
routine should be called while the user has the conch. The user
will keep it upon return. */
-/* This call is deprecated. */
routine io_prenotify (
io_object: io_t;
RPT
@@ -274,7 +276,6 @@ routine io_prenotify (
user needs to call io_postnotify. The routine should be called
while the user has the conch. The user will keep it upon return.
*/
-/* This call is deprecated. */
routine io_postnotify (
io_object: io_t;
RPT
@@ -284,20 +285,17 @@ routine io_postnotify (
/* After moving rd_file_pointer past readnotify_size, the user should
call this routine, while holding the conch. The user will keep the
conch upon return. */
-/* This call is deprecated. */
routine io_readnotify (
io_object: io_t RPTLAST);
/* This routine sleeps until the read_size is increased. The routine
should be called while the user has the conch. The user will keep
it upon return. */
-/* This call is deprecated. */
routine io_readsleep (
io_object: io_t RPTLAST);
/* The shared user has just done some IO, and a signal needs to be
sent for async users. */
-/* This call is deprecated. */
routine io_sigio (
io_object: io_t RPTLAST);
@@ -325,20 +323,3 @@ routine io_identity (
routine io_revoke (
io_object: io_t RPTLAST);
-/* Return objects mapping a portion of the data underlying this memory
- object. Objects in size through 2^64 are supported. Each is divided
- into 2^32 segments, each of which is 2^32 bytes long. INDEX selects
- the segment in question (the high 32 bits).
-
- If the object can be read then memobjrd will be provided; if the
- object can be written then memobjwr will be provided. For objects
- where read data and write data are the same, these objects will be
- equal, otherwise they will be disjoint. Some objects do not
- provide mapping; they will set none of the ports and return an
- error. Such objects can still be accessed by io_read and io_write. */
-routine io_map_segment (
- io_object: io_t;
- RPT
- index: int;
- out memobjrd: mach_port_send_t;
- out memobjwt: mach_port_send_t);