summaryrefslogtreecommitdiff
path: root/vm/vm_object.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-06-15 10:18:07 +0200
committerRichard Braun <rbraun@sceen.net>2013-07-06 19:02:10 +0200
commit75a1e4532166e7aeb2c0c3109851d4dd48c25183 (patch)
tree2fa5c822579694dbc7cd407108a65115c8c91a99 /vm/vm_object.h
parent738d08d5e306e67ba443763fd648a393a48c55d4 (diff)
x86 page fault handling
Diffstat (limited to 'vm/vm_object.h')
-rw-r--r--vm/vm_object.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/vm/vm_object.h b/vm/vm_object.h
index 5de636ab..86bd12f5 100644
--- a/vm/vm_object.h
+++ b/vm/vm_object.h
@@ -31,6 +31,7 @@
#include <kern/mutex.h>
#include <kern/rdxtree.h>
#include <kern/stdint.h>
+#include <vm/vm_page.h>
struct vm_object_pager;
@@ -50,8 +51,8 @@ struct vm_object {
struct vm_object_pager {
void (*ref)(struct vm_object *object);
void (*unref)(struct vm_object *object);
- int (*get)(struct vm_object *object, uint64_t offset, struct list *pages,
- int access_prot, int advice);
+ int (*get)(struct vm_object *object, uint64_t offset,
+ struct vm_page **pagep, int access_type, int advice);
};
static inline void