1// declaration of mach_memory_object_memory_entry in mach_host.defs 2// in 32-bit userspace is incompatible with the kernel's definition 3// rdar://117927965 (mach_memory_object_memory_entry() declaration does not match its definition) 4 5subsystem KernelServer replacement_mach_host 200; 6#include <mach/std_types.defs> 7#include <mach/mach_types.defs> 8#include <mach/clock_types.defs> 9#include <mach_debug/mach_debug_types.defs> 10 11skip; // host_info 12skip; // host_kernel_version 13skip; // host_page_size 14 15routine replacement_mach_memory_object_memory_entry( 16 host :host_t; 17 internal :boolean_t; 18 size :mach_vm_size_t; // was vm_size_t 19 permission :vm_prot_t; 20 pager :memory_object_t; 21 out entry_handle :mach_port_move_send_t); 22 23