Back to Darwin Xnu

Processor Exit

osfmk/man/processor_exit.html

latest1.0 KB
Original Source

processor_exit


Function - Exit a processor.

SYNOPSIS

**kern\_return\_t processor\_exit**** (processor\_t **processor** );**

PARAMETERS

processor[in processor send right] The processor to be controlled.

DESCRIPTION

The processor_exit function allows privileged software to exit a processor in a multi-processor that so allows it. An exited processor is removed from the processor set to which it was assigned and ceases to be active. The interpretation of this operation is machine dependent.

NOTES

This operation is machine dependent. It may do nothing.

CAUTIONS

The ability to restart an exited processor is machine dependent.

RETURN VALUES

KERN_FAILURE The operation was not performed. A likely reason is that it is not supported on this processor.

Functions: processor_control, processor_start, processor_info, host_processors.