]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/i386_io_port_remove.html
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / man / i386_io_port_remove.html
CommitLineData
13fec989
A
1<h2>i386_io_port_remove</h2>
2<hr>
3<p>
4<strong>Function</strong> - Disable target thread's ability to invoke operations on the
5specified device.
6<h3>SYNOPSIS</h3>
7<pre>
8<strong>kern_return_t i386_io_port_remove</strong>
9 <strong>(thread_act_t</strong> <var>target_act</var>,
10 <strong>device_t</strong> <var>device</var><strong>);</strong>
11</pre>
12<h3>PARAMETERS</h3>
13<dl>
14<p>
15<dt> <var>target_act</var>
16<dd>
17[in thread send right]
18Thread whose permission bitmap is to be cleared
19<p>
20<dt> <var>device</var>
21<dd>
22[in device send right]
23Device whose permission is to be revoked
24</dl>
25<h3>DESCRIPTION</h3>
26<p>
27The <strong>i386_io_port_remove</strong> function removes the specified
28device from the
29thread's I/O permission bitmap, thereby prohibiting I/O instructions being
30executed against the device.
31<h3>RETURN VALUES</h3>
32<p>
33Only generic errors apply.
34<h3>RELATED INFORMATION</h3>
35<p>
36Functions:
37<a href="i386_io_port_add.html"><strong>i386_io_port_add<strong></a>,
38<a href="i386_io_port_list.html"><strong>i386_io_port_list<strong></a>.