Back to Darwin Xnu

Host Processors

osfmk/man/host_processors.html

latest1.0 KB
Original Source

host_processors


Function - Return a list of send rights representing all processor ports.

SYNOPSIS

**kern\_return\_t host\_processors**** (host\_t **host\_priv,** processor\_port\_array\_t **processor\_list,** host\_priv **processor\_count** );**

PARAMETERS

host_priv[in host-control send right] The control port for the desired host.

processor_list[out pointer to dynamic array of processor send rights] The set of processors existing on host_priv; no particular order is guaranteed.

processor_count[out scalar] The number of ports returned in processor_list.

DESCRIPTION

The host_processors function returns an array of send right ports for each processor existing on host_priv.

RETURN VALUES

Only generic errors apply.

Functions: processor_start, processor_exit, processor_info, processor_control, host_processor_slots.