]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/i386_io_port_remove.html
xnu-792.6.70.tar.gz
[apple/xnu.git] / osfmk / man / i386_io_port_remove.html
CommitLineData
9bccf70c 1<h2>i386_io_port_remove</h2>\r<hr>\r<p>\r<strong>Function</strong> - Disable target thread's ability to invoke operations on the\rspecified device.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t i386_io_port_remove</strong>\r <strong>(thread_act_t</strong> <var>target_act</var>,\r <strong>device_t</strong> <var>device</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>target_act</var> \r<dd>\r[in thread send right]\rThread whose permission bitmap is to be cleared\r<p>\r<dt> <var>device</var> \r<dd>\r[in device send right]\rDevice whose permission is to be revoked\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>i386_io_port_remove</strong> function removes the specified\rdevice from the \rthread's I/O permission bitmap, thereby prohibiting I/O instructions being\rexecuted against the device.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="i386_io_port_add.html"><strong>i386_io_port_add<strong></a>,\r<a href="i386_io_port_list.html"><strong>i386_io_port_list<strong></a>.\r