]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/i386_io_port_remove.html
xnu-1504.3.12.tar.gz
[apple/xnu.git] / osfmk / man / i386_io_port_remove.html
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
5 specified 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]
18 Thread whose permission bitmap is to be cleared
19 <p>
20 <dt> <var>device</var>
21 <dd>
22 [in device send right]
23 Device whose permission is to be revoked
24 </dl>
25 <h3>DESCRIPTION</h3>
26 <p>
27 The <strong>i386_io_port_remove</strong> function removes the specified
28 device from the
29 thread's I/O permission bitmap, thereby prohibiting I/O instructions being
30 executed against the device.
31 <h3>RETURN VALUES</h3>
32 <p>
33 Only generic errors apply.
34 <h3>RELATED INFORMATION</h3>
35 <p>
36 Functions:
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>.