]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>task_get_emulation_vector</h2>\r<hr>\r<p>\r<strong>Function</strong> - Return an array identifying the target task's user-level system call handlers. \r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t task_get_emulation_vector</strong>\r <strong>(task_t</strong> <var>task</var>,\r <strong>int</strong> <var>vector_start</var>,\r <strong>emulation_vector_t</strong> <var>emulation_vector</var>,\r <strong>mach_msg_type_number_t*</strong> <var>emulation_vector_count</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>task</var> \r<dd>\r[in task send right]\rThe port for the task for which the system call\rhandler addresses are desired.\r<p>\r<dt> <var>vector_start</var> \r<dd>\r[out scalar]\rThe syscall number corresponding to the first element of \r<var>emulation_vector</var>.\r<p>\r<dt> <var>emulation_vector</var> \r<dd>\r[out pointer to dynamic array of <strong>vm_address_t</strong>]\rPointer to the returned \rarray of routine entrypoints for the system calls starting with syscall \rnumber <var>vector_start</var>.\r<p>\r<dt> <var>emulation_vector_count</var> \r<dd>\r[out scalar]\rThe number of entries filled by the kernel.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>task_get_emulation_vector</strong> function returns the\ruser-level syscall handler entrypoint addresses.\r<h3>NOTES</h3>\r<p>\rThis interface is machine word length specific because of the\rvirtual addresses in the <var>emulation_vector</var> parameter.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="task_set_emulation_vector.html"><strong>task_set_emulation_vector</strong></a>.\r |