Mac Developer Library

Developer

IOKitServer.h Reference

Options
Deployment Target:

On This Page

IOKitServer.h Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import Kernel;

Included Headers

  • <IOKit/IOTypes.h>

  • <IOKit/IOKitKeys.h>

  • <IOKit/OSMessageNotification.h>

  • <mach/kmod.h>

Constants

See the Overview section above for header-level documentation.

  • Declaration

    Objective-C

    enum { kIOCatalogGetContents = 1, kIOCatalogGetModuleDemandList = 2, kIOCatalogGetCacheMissList = 3, kIOCatalogGetROMMkextList = 4 };

    Constants

    • kIOCatalogGetContents

      kIOCatalogGetContents

      Returns a snapshot of the database to the caller.

      Available in OS X v10.0 and later.

    Discussion

    user-client flags

  • Declaration

    Objective-C

    enum { kIOCatalogResetDefault = 1 };

    Constants

    • kIOCatalogResetDefault

      kIOCatalogResetDefault

      Removes all entries from IOCatalogue except those used for booting the system.

      Available in OS X v10.0 and later.

    Discussion

    user-client flag

  • Declaration

    Objective-C

    enum { kIOCatalogAddDrivers = 1, kIOCatalogAddDriversNoMatch, kIOCatalogRemoveDrivers, kIOCatalogRemoveDriversNoMatch, kIOCatalogStartMatching, kIOCatalogRemoveKernelLinker, kIOCatalogKextdActive, kIOCatalogKextdFinishedLaunching, kIOCatalogResetDrivers, kIOCatalogResetDriversNoMatch };

    Constants

    • kIOCatalogAddDrivers

      kIOCatalogAddDrivers

      Signals a call to the addDrivers function in IOCatalogue.

      Available in OS X v10.0 and later.

    • kIOCatalogAddDriversNoMatch

      kIOCatalogAddDriversNoMatch

      Signals a call to the addDrivers function in IOCatalogue but does not start a matching thread.

      Available in OS X v10.0 and later.

    • kIOCatalogRemoveDrivers

      kIOCatalogRemoveDrivers

      Signals a call to the removeDrivers function in IOCatalogue.

      Available in OS X v10.0 and later.

    • kIOCatalogRemoveDriversNoMatch

      kIOCatalogRemoveDriversNoMatch

      Signals a call to the removedrivers function in IOCatalogue but does not start a matching thread.

      Available in OS X v10.0 and later.

    • kIOCatalogStartMatching

      kIOCatalogStartMatching

      Signals the IOCatalogue to start an IOService matching thread.

      Available in OS X v10.0 and later.

    • kIOCatalogRemoveKernelLinker

      kIOCatalogRemoveKernelLinker

      Deprecated; does nothing.

      Available in OS X v10.0 and later.

    • kIOCatalogKextdActive

      kIOCatalogKextdActive

      Signals the kernel that kextd is running.

      Available in OS X v10.6 and later.

    • kIOCatalogKextdFinishedLaunching

      kIOCatalogKextdFinishedLaunching

      Signals the IOCatalogue that kextd has finished sending it information at startup.

      Available in OS X v10.5 and later.

    • kIOCatalogResetDrivers

      kIOCatalogResetDrivers

      Resets the IOCatalogue with a new set of personalities.

      Available in OS X v10.7 and later.

    • kIOCatalogResetDriversNoMatch

      kIOCatalogResetDriversNoMatch

      Resets the IOCatalogue with a new set of personalities but does not start a matching thread.

      Available in OS X v10.7 and later.

    Discussion

    user-client flags.

  • Declaration

    Objective-C

    enum { kIOCatalogModuleUnload = 1, kIOCatalogModuleTerminate, kIOCatalogServiceTerminate };

    Constants

    • kIOCatalogModuleUnload

      kIOCatalogModuleUnload

      Terminates all services which depend on a particular module and unloads the module.

      Available in OS X v10.0 and later.

    • kIOCatalogModuleTerminate

      kIOCatalogModuleTerminate

      Terminates all services which depend on a particular module but does not unload the module.

      Available in OS X v10.0 and later.

    • kIOCatalogServiceTerminate

      kIOCatalogServiceTerminate

      Terminates a particular service by name.

      Available in OS X v10.0 and later.

    Discussion

    user-client flags.