diff options
author | Richard Braun <rbraun@sceen.net> | 2013-06-15 10:18:07 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-07-06 19:02:10 +0200 |
commit | 75a1e4532166e7aeb2c0c3109851d4dd48c25183 (patch) | |
tree | 2fa5c822579694dbc7cd407108a65115c8c91a99 /vm/vm_map.h | |
parent | 738d08d5e306e67ba443763fd648a393a48c55d4 (diff) |
x86 page fault handling
Diffstat (limited to 'vm/vm_map.h')
-rw-r--r-- | vm/vm_map.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vm/vm_map.h b/vm/vm_map.h index 7a2bc44c..d686cb93 100644 --- a/vm/vm_map.h +++ b/vm/vm_map.h @@ -103,6 +103,13 @@ int vm_map_enter(struct vm_map *map, struct vm_object *object, uint64_t offset, void vm_map_remove(struct vm_map *map, unsigned long start, unsigned long end); /* + * Page fault handling. + * + * Access is one of VM_PROT_READ, VM_PROT_WRITE or VM_PROT_EXECUTE. + */ +int vm_map_fault(struct vm_map *map, unsigned long addr, int access); + +/* * Set up the vm_map module. */ void vm_map_setup(void); |