From 804ceef34074c661ce6e44cf4a44d88a501a633e Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Tue, 31 Jan 2023 01:08:09 -0500 Subject: Define rpc_vm_size_array_t and rpc_vm_offset_array_t When generating stubs, Mig will will take the vm_size_array_t and define the input request struct using rpc_vm_size_t since the size is variable. This will turn cause a mismatch between types (vm_size_t* vs rpc_vm_size_t*). We could also ask Mig to produce a prototype by using rpc_vm_size_t*, however we would need to change the implementation of the RPC to use rpc_* types anyway since we want to avoid another allocation of the array. Message-Id: --- vm/memory_object_proxy.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'vm/memory_object_proxy.h') diff --git a/vm/memory_object_proxy.h b/vm/memory_object_proxy.h index 97f20b36..8b3f2025 100644 --- a/vm/memory_object_proxy.h +++ b/vm/memory_object_proxy.h @@ -36,12 +36,4 @@ extern kern_return_t memory_object_proxy_lookup (ipc_port_t port, vm_offset_t *start, vm_offset_t *len); -extern kern_return_t -memory_object_create_proxy (ipc_space_t space, vm_prot_t max_protection, - ipc_port_t *object, natural_t object_count, - vm_offset_t *offset, natural_t offset_count, - vm_offset_t *start, natural_t start_count, - vm_size_t *len, natural_t len_count, - ipc_port_t *port); - #endif /* _VM_MEMORY_OBJECT_PROXY_H_ */ -- cgit v1.2.3