diff options
author | Miles Bader <miles@gnu.org> | 1997-07-17 20:10:25 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-07-17 20:10:25 +0000 |
commit | 499950fff2084508d656146114be898d94b76e2e (patch) | |
tree | 768e8932fc25d5c4faf476b34ca1f3cdc046a80b | |
parent | fb40091783493b5ba05d7900edd834587854dc42 (diff) |
(dev_get_memory_object):
Add PROT arg.
-rw-r--r-- | storeio/dev.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/storeio/dev.h b/storeio/dev.h index a5171c9d..7927f80d 100644 --- a/storeio/dev.h +++ b/storeio/dev.h @@ -1,6 +1,6 @@ /* store `device' I/O - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -71,7 +71,8 @@ void dev_close (struct dev *dev); /* Returns in MEMOBJ the port for a memory object backed by the storage on DEV. Returns 0 or the error code if an error occurred. */ -error_t dev_get_memory_object(struct dev *dev, memory_object_t *memobj); +error_t dev_get_memory_object(struct dev *dev, vm_prot_t prot, + memory_object_t *memobj); /* Try to stop all paging activity on DEV, returning true if we were successful. If NOSYNC is true, then we won't write back any (kernel) |