]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/i386_io_port_list.html
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / man / i386_io_port_list.html
CommitLineData
13fec989
A
1<h2>i386_io_port_list</h2>
2<hr>
3<p>
4<strong>Function</strong> - List the devices that permit target thread to invoke operations.
5<h3>SYNOPSIS</h3>
6<pre>
7<strong>kern_return_t i386_io_port_list</strong>
8 <strong>(thread_act_t</strong> <var>target_act</var>,
9 <strong>device_list_t</strong> <var>device_list</var><strong>);</strong>
10</pre>
11<h3>PARAMETERS</h3>
12<dl>
13<p>
14<dt> <var>target_act</var>
15<dd>
16[in thread send right]
17Thread whose permission list is to be returned.
18<p>
19<dt> <var>device_list</var>
20<dd>
21[out pointer to dynamic array of device send rights]
22Device ports
23permitting I/O.
24</dl>
25<h3>DESCRIPTION</h3>
26<p>
27The <strong>i386_io_port_list</strong> function returns a list of the
28devices named in the
29thread's I/O permission bitmap, namely those permitting I/O instructions to be
30executed against them.
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_remove.html"><strong>i386_io_port_remove<strong></a>.