Next: Processor Control, Up: Processor Interface
The function
host_processors
gets send rights to the processor port for each processor existing on host_priv. This is the privileged port that allows its holder to control a processor.processor_list is an array that is created as a result of this call. The caller may wish to
vm_deallocate
this array when the data is no longer needed. processor_count is set to the number of processors in the processor_list.This function returns
KERN_SUCCESS
if the call succeeded,KERN_INVALID_ARGUMENT
if host_priv is not a privileged host port, andKERN_INVALID_ADDRESS
if processor_count points to inaccessible memory.