diff options
author | Richard Braun <rbraun@sceen.net> | 2014-11-17 21:43:54 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-11-17 21:43:54 +0100 |
commit | 43533e334e6ec118651c2c689ddb75adb73d922b (patch) | |
tree | c89e07a929c183eb2cd1bab22c7427042ed4c2f3 /vm/vm_map.h | |
parent | e57af3406e44e769b8f530b3fddc3845d8f15d12 (diff) |
vm/vm_map: minor interface updates
Update interface so that it's closer to the standard mmap() call. Fix
some offset declarations as uint64_t.
Diffstat (limited to 'vm/vm_map.h')
-rw-r--r-- | vm/vm_map.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vm/vm_map.h b/vm/vm_map.h index c68072d..02667bd 100644 --- a/vm/vm_map.h +++ b/vm/vm_map.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2012, 2013 Richard Braun. + * Copyright (c) 2011-2014 Richard Braun. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -93,8 +93,9 @@ struct vm_map { /* * Create a virtual mapping. */ -int vm_map_enter(struct vm_map *map, struct vm_object *object, uint64_t offset, - unsigned long *startp, size_t size, size_t align, int flags); +int vm_map_enter(struct vm_map *map, unsigned long *startp, + size_t size, size_t align, int flags, + struct vm_object *object, uint64_t offset); /* * Remove mappings from start to end. |