summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-18 18:15:19 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-18 18:15:19 +0000
commitb9ae8109f2837f92f75454d8f1e47408f001a35d (patch)
tree16adcfb8f3d683d4dff0f13f5f51083787ecc384 /libpager
parent4b3883f47bee621c1179fe5b3463b37527b7af35 (diff)
(pager_return, pager_return_some): New declarations.
Diffstat (limited to 'libpager')
-rw-r--r--libpager/pager.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libpager/pager.h b/libpager/pager.h
index b4ae7739..477bbe93 100644
--- a/libpager/pager.h
+++ b/libpager/pager.h
@@ -79,6 +79,23 @@ pager_flush_some (struct pager *pager,
vm_size_t len,
int wait);
+/* Flush data from the kernel for pager PAGER and force any pending
+ delayed copies. Wait for all pages to be flushed iff WAIT is set.
+ Have the kernel write back modifications. */
+void
+pager_return (struct pager *pager,
+ int wait);
+
+
+/* Flush some data (starting at START, for LEN bytes) for pager PAGER
+ from the kernel. Wait for all pages to be flushed iff WAIT is set.
+ Have the kernel write back modifications. */
+void
+pager_return_some (struct pager *pager,
+ vm_address_t start,
+ vm_size_t len,
+ int wait);
+
/* Change the attributes of the memory object underlying pager PAGER.
Args MAY_CACHE and COPY_STRATEGY are as for
memory_object_change_atributes. Wait for the kernel to report completion