Contents

start

During an IOService object's instantiation, starts the IOService object that has been selected to run on the provider.

Declaration

virtual bool start(
 IOService *provider );

Return Value

true if the start was successful; false otherwise (which will cause the instance to be detached and usually freed).

Overview

The start method of an IOService instance is called by its provider when it has been selected (due to its probe score and match category) as the winning client. The client is already attached to the provider when start is called.

Implementations of start must call start on their superclass at an appropriate point. If an implementation of start has already called super::start but subsequently determines that it will fail, it must call super::stop to balance the prior call to super::start and prevent reference leaks.

See Also

Miscellaneous