]>
Commit | Line | Data |
---|---|---|
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] | |
17 | Thread 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] | |
22 | Device ports | |
23 | permitting I/O. | |
24 | </dl> | |
25 | <h3>DESCRIPTION</h3> | |
26 | <p> | |
27 | The <strong>i386_io_port_list</strong> function returns a list of the | |
28 | devices named in the | |
29 | thread's I/O permission bitmap, namely those permitting I/O instructions to be | |
30 | executed against them. | |
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_remove.html"><strong>i386_io_port_remove<strong></a>. |