diff options
-rw-r--r-- | include/mach/mach4.defs | 2 | ||||
-rw-r--r-- | vm/vm_map.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/mach/mach4.defs b/include/mach/mach4.defs index 2820bd73..61423a44 100644 --- a/include/mach/mach4.defs +++ b/include/mach/mach4.defs @@ -115,7 +115,7 @@ routine memory_object_create_proxy( /* Gets a proxy to the region that ADDRESS belongs to, starting at the region start, with MAX_PROTECTION and LEN limited by the region ones, and returns it in *PORT. */ -routine vm_region_get_proxy( +routine vm_region_create_proxy( task : task_t; address : vm_address_t; max_protection : vm_prot_t; diff --git a/vm/vm_map.c b/vm/vm_map.c index d082171a..7fe3e141 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -4809,16 +4809,16 @@ kern_return_t vm_region( } /* - * vm_region_get_proxy: + * vm_region_create_proxy: * * Gets a proxy to the region that ADDRESS belongs to, starting at the * region start, with MAX_PROTECTION and LEN limited by the region ones, * and returns it in *PORT. */ kern_return_t -vm_region_get_proxy (task_t task, vm_address_t address, - vm_prot_t max_protection, vm_size_t len, - ipc_port_t *port) +vm_region_create_proxy (task_t task, vm_address_t address, + vm_prot_t max_protection, vm_size_t len, + ipc_port_t *port) { kern_return_t ret; vm_map_entry_t entry, tmp_entry; |