xref: /xnu-11417.140.69/tests/vm/vm_parameter_validation_replacement_host_priv.defs (revision 43a90889846e00bfb5cf1d255cdc0a701a1e05a4)
1// declaration of vm_wire in host_priv.defs
2// in 32-bit userspace is incompatible with the kernel's definition
3// rdar://118258929
4
5subsystem KernelServer replacement_host_priv 400;
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_get_boot_info
12skip; // host_reboot
13skip; // host_priv_statistics
14skip; // host_default_memory_manager
15
16routine replacement_vm_wire(
17		host_priv	: host_priv_t;
18		task		: vm_map_t;
19		address		: mach_vm_address_t;  // was vm_address_t
20		size		: mach_vm_size_t;  // was vm_size_t
21		desired_access	: vm_prot_t);
22