#include <mach/mach_types.h>
#include <mach/message.h>

/* Routine task_create */
#define MIG_RPC_HAVE___TASK_CREATE_RPC
#define MIG_RPC_REQUEST_ID___TASK_CREATE_RPC 2007
#define MIG_RPC_REPLY_ID___TASK_CREATE_RPC 2107
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __task_create
(
	mach_port_t target_task,
	boolean_t inherit_memory,
	mach_port_t *child_task
);

/* Routine task_terminate */
#define MIG_RPC_HAVE___TASK_TERMINATE_RPC
#define MIG_RPC_REQUEST_ID___TASK_TERMINATE_RPC 2008
#define MIG_RPC_REPLY_ID___TASK_TERMINATE_RPC 2108
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __task_terminate
(
	mach_port_t target_task
);

/* Routine vm_allocate */
#define MIG_RPC_HAVE___VM_ALLOCATE_RPC
#define MIG_RPC_REQUEST_ID___VM_ALLOCATE_RPC 2021
#define MIG_RPC_REPLY_ID___VM_ALLOCATE_RPC 2121
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __vm_allocate
(
	mach_port_t target_task,
	vm_address_t *address,
	vm_size_t size,
	boolean_t anywhere
);

/* Routine vm_deallocate */
#define MIG_RPC_HAVE___VM_DEALLOCATE_RPC
#define MIG_RPC_REQUEST_ID___VM_DEALLOCATE_RPC 2023
#define MIG_RPC_REPLY_ID___VM_DEALLOCATE_RPC 2123
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __vm_deallocate
(
	mach_port_t target_task,
	vm_address_t address,
	vm_size_t size
);

/* Routine task_suspend */
#define MIG_RPC_HAVE___TASK_SUSPEND_RPC
#define MIG_RPC_REQUEST_ID___TASK_SUSPEND_RPC 2056
#define MIG_RPC_REPLY_ID___TASK_SUSPEND_RPC 2156
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __task_suspend
(
	mach_port_t target_task
);

/* Routine task_set_special_port */
#define MIG_RPC_HAVE___TASK_SET_SPECIAL_PORT_RPC
#define MIG_RPC_REQUEST_ID___TASK_SET_SPECIAL_PORT_RPC 2059
#define MIG_RPC_REPLY_ID___TASK_SET_SPECIAL_PORT_RPC 2159
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __task_set_special_port
(
	mach_port_t task,
	int which_port,
	mach_port_t special_port
);

/* Routine vm_map */
#define MIG_RPC_HAVE___VM_MAP_RPC
#define MIG_RPC_REQUEST_ID___VM_MAP_RPC 2089
#define MIG_RPC_REPLY_ID___VM_MAP_RPC 2189
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __vm_map
(
	mach_port_t target_task,
	vm_address_t *address,
	vm_size_t size,
	vm_address_t mask,
	boolean_t anywhere,
	mach_port_t memory_object,
	vm_offset_t offset,
	boolean_t copy,
	vm_prot_t cur_protection,
	vm_prot_t max_protection,
	vm_inherit_t inheritance
);

/* Routine task_create */
#define MIG_RPC_HAVE_TASK_CREATE_RPC
#define MIG_RPC_REQUEST_ID_TASK_CREATE_RPC 2007
#define MIG_RPC_REPLY_ID_TASK_CREATE_RPC 2107
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t task_create
(
	mach_port_t target_task,
	boolean_t inherit_memory,
	mach_port_t *child_task
);

/* Routine task_terminate */
#define MIG_RPC_HAVE_TASK_TERMINATE_RPC
#define MIG_RPC_REQUEST_ID_TASK_TERMINATE_RPC 2008
#define MIG_RPC_REPLY_ID_TASK_TERMINATE_RPC 2108
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t task_terminate
(
	mach_port_t target_task
);

/* Routine vm_allocate */
#define MIG_RPC_HAVE_VM_ALLOCATE_RPC
#define MIG_RPC_REQUEST_ID_VM_ALLOCATE_RPC 2021
#define MIG_RPC_REPLY_ID_VM_ALLOCATE_RPC 2121
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t vm_allocate
(
	mach_port_t target_task,
	vm_address_t *address,
	vm_size_t size,
	boolean_t anywhere
);

/* Routine vm_deallocate */
#define MIG_RPC_HAVE_VM_DEALLOCATE_RPC
#define MIG_RPC_REQUEST_ID_VM_DEALLOCATE_RPC 2023
#define MIG_RPC_REPLY_ID_VM_DEALLOCATE_RPC 2123
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t vm_deallocate
(
	mach_port_t target_task,
	vm_address_t address,
	vm_size_t size
);

/* Routine task_suspend */
#define MIG_RPC_HAVE_TASK_SUSPEND_RPC
#define MIG_RPC_REQUEST_ID_TASK_SUSPEND_RPC 2056
#define MIG_RPC_REPLY_ID_TASK_SUSPEND_RPC 2156
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t task_suspend
(
	mach_port_t target_task
);

/* Routine task_set_special_port */
#define MIG_RPC_HAVE_TASK_SET_SPECIAL_PORT_RPC
#define MIG_RPC_REQUEST_ID_TASK_SET_SPECIAL_PORT_RPC 2059
#define MIG_RPC_REPLY_ID_TASK_SET_SPECIAL_PORT_RPC 2159
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t task_set_special_port
(
	mach_port_t task,
	int which_port,
	mach_port_t special_port
);

/* Routine vm_map */
#define MIG_RPC_HAVE_VM_MAP_RPC
#define MIG_RPC_REQUEST_ID_VM_MAP_RPC 2089
#define MIG_RPC_REPLY_ID_VM_MAP_RPC 2189
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t vm_map
(
	mach_port_t target_task,
	vm_address_t *address,
	vm_size_t size,
	vm_address_t mask,
	boolean_t anywhere,
	mach_port_t memory_object,
	vm_offset_t offset,
	boolean_t copy,
	vm_prot_t cur_protection,
	vm_prot_t max_protection,
	vm_inherit_t inheritance
);

/* Routine thread_depress_abort */
#define MIG_RPC_HAVE___THREAD_DEPRESS_ABORT_RPC
#define MIG_RPC_REQUEST_ID___THREAD_DEPRESS_ABORT_RPC 2631
#define MIG_RPC_REPLY_ID___THREAD_DEPRESS_ABORT_RPC 2731
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __thread_depress_abort
(
	mach_port_t thread
);

/* Routine thread_depress_abort */
#define MIG_RPC_HAVE_THREAD_DEPRESS_ABORT_RPC
#define MIG_RPC_REQUEST_ID_THREAD_DEPRESS_ABORT_RPC 2631
#define MIG_RPC_REPLY_ID_THREAD_DEPRESS_ABORT_RPC 2731
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t thread_depress_abort
(
	mach_port_t thread
);

/* Routine mach_port_allocate_name */
#define MIG_RPC_HAVE___MACH_PORT_ALLOCATE_NAME_RPC
#define MIG_RPC_REQUEST_ID___MACH_PORT_ALLOCATE_NAME_RPC 3203
#define MIG_RPC_REPLY_ID___MACH_PORT_ALLOCATE_NAME_RPC 3303
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __mach_port_allocate_name
(
	mach_port_t task,
	mach_port_right_t right,
	mach_port_name_t name
);

/* Routine mach_port_allocate */
#define MIG_RPC_HAVE___MACH_PORT_ALLOCATE_RPC
#define MIG_RPC_REQUEST_ID___MACH_PORT_ALLOCATE_RPC 3204
#define MIG_RPC_REPLY_ID___MACH_PORT_ALLOCATE_RPC 3304
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __mach_port_allocate
(
	mach_port_t task,
	mach_port_right_t right,
	mach_port_name_t *name
);

/* Routine mach_port_deallocate */
#define MIG_RPC_HAVE___MACH_PORT_DEALLOCATE_RPC
#define MIG_RPC_REQUEST_ID___MACH_PORT_DEALLOCATE_RPC 3206
#define MIG_RPC_REPLY_ID___MACH_PORT_DEALLOCATE_RPC 3306
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __mach_port_deallocate
(
	mach_port_t task,
	mach_port_name_t name
);

/* Routine mach_port_insert_right */
#define MIG_RPC_HAVE___MACH_PORT_INSERT_RIGHT_RPC
#define MIG_RPC_REQUEST_ID___MACH_PORT_INSERT_RIGHT_RPC 3215
#define MIG_RPC_REPLY_ID___MACH_PORT_INSERT_RIGHT_RPC 3315
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __mach_port_insert_right
(
	mach_port_t task,
	mach_port_name_t name,
	mach_port_t poly,
	mach_msg_type_name_t polyPoly
);

/* Routine mach_port_allocate_name */
#define MIG_RPC_HAVE_MACH_PORT_ALLOCATE_NAME_RPC
#define MIG_RPC_REQUEST_ID_MACH_PORT_ALLOCATE_NAME_RPC 3203
#define MIG_RPC_REPLY_ID_MACH_PORT_ALLOCATE_NAME_RPC 3303
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t mach_port_allocate_name
(
	mach_port_t task,
	mach_port_right_t right,
	mach_port_name_t name
);

/* Routine mach_port_allocate */
#define MIG_RPC_HAVE_MACH_PORT_ALLOCATE_RPC
#define MIG_RPC_REQUEST_ID_MACH_PORT_ALLOCATE_RPC 3204
#define MIG_RPC_REPLY_ID_MACH_PORT_ALLOCATE_RPC 3304
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t mach_port_allocate
(
	mach_port_t task,
	mach_port_right_t right,
	mach_port_name_t *name
);

/* Routine mach_port_deallocate */
#define MIG_RPC_HAVE_MACH_PORT_DEALLOCATE_RPC
#define MIG_RPC_REQUEST_ID_MACH_PORT_DEALLOCATE_RPC 3206
#define MIG_RPC_REPLY_ID_MACH_PORT_DEALLOCATE_RPC 3306
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t mach_port_deallocate
(
	mach_port_t task,
	mach_port_name_t name
);

/* Routine mach_port_insert_right */
#define MIG_RPC_HAVE_MACH_PORT_INSERT_RIGHT_RPC
#define MIG_RPC_REQUEST_ID_MACH_PORT_INSERT_RIGHT_RPC 3215
#define MIG_RPC_REPLY_ID_MACH_PORT_INSERT_RIGHT_RPC 3315
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t mach_port_insert_right
(
	mach_port_t task,
	mach_port_name_t name,
	mach_port_t poly,
	mach_msg_type_name_t polyPoly
);

