]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/host_processor_slots.html
xnu-344.tar.gz
[apple/xnu.git] / osfmk / man / host_processor_slots.html
CommitLineData
9bccf70c 1<h2>host_processor_slots</h2>\r<hr>\r<p>\r<strong>Function</strong> - Return a list of numbers that map processor slots to active processors.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t host_processor_slots</strong>\r <strong>(host_t</strong> <var>host</var>,\r <strong>processor_slot_t</strong> <var>slots</var>,\r <strong>host</strong> <var>count</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>host</var> \r<dd>\r[in host-name send right]\rThe name (or control) port for the host for \rwhich information is to be obtained.\r<p>\r<dt> <var>slots</var> \r<dd>\r[out array of <var>processor_slot_t</var>]\rAn array of the processor slot numbers \rfor active processors.\r<p>\r<dt> <var>count</var> \r<dd>\r[pointer to in/out scalar]\rOn input, the maximum size of the slots\rbuffer; on output, the number of returned slot numbers.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>host_processor_slots</strong> function returns an array\rof the processor slots\rdefined for the host.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="host_info.html"><strong>host_info</strong></a>,\r<a href="host_processors.html"><strong>host_processors</strong></a>,\r<a href="processor_info.html"><strong>processor_info</strong></a>.\r