]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/i386_io_port_list.html
xnu-792.6.70.tar.gz
[apple/xnu.git] / osfmk / man / i386_io_port_list.html
CommitLineData
9bccf70c 1<h2>i386_io_port_list</h2>\r<hr>\r<p>\r<strong>Function</strong> - List the devices that permit target thread to invoke operations.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t i386_io_port_list</strong>\r <strong>(thread_act_t</strong> <var>target_act</var>,\r <strong>device_list_t</strong> <var>device_list</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 list is to be returned.\r<p>\r<dt> <var>device_list</var> \r<dd>\r[out pointer to dynamic array of device send rights]\rDevice ports\rpermitting I/O.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>i386_io_port_list</strong> function returns a list of the\rdevices named in the \rthread's I/O permission bitmap, namely those permitting I/O instructions to be\rexecuted against them.\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_remove.html"><strong>i386_io_port_remove<strong></a>.\r