ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference

 


IOKitServer.h

Include Path:

<IOKit/IOKitServer.h>

Path:

/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/IOKitServer.h

Includes:
<IOKit/IOTypes.h>
<IOKit/IOKitKeys.h>
<IOKit/OSMessageNotification.h>
<mach/kmod.h>

Overview

This header contains internal definitions used in communication between the I/O Kit user library and the I/O Kit Catalog.



Enumerations


IOCatalogueGetData


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

Returns a snapshot of the database to the caller.

Discussion
user-client flags


IOCatalogueReset


enum { 
    kIOCatalogResetDefault = 1 
};  
Constants
kIOCatalogResetDefault

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

Discussion
user-client flag


IOCatalogueSendData


enum { 
    kIOCatalogAddDrivers = 1, 
    kIOCatalogAddDriversNoMatch, 
    kIOCatalogRemoveDrivers, 
    kIOCatalogRemoveDriversNoMatch, 
    kIOCatalogStartMatching, 
    kIOCatalogRemoveKernelLinker, 
    kIOCatalogKextdFinishedLaunching 
};  
Constants
kIOCatalogAddDrivers

Signals a call to the addDrivers function in IOCatalogue.

kIOCatalogAddDriversNoMatch

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

kIOCatalogRemoveDrivers

Signals a call to the removeDrivers function in IOCatalogue.

kIOCatalogRemoveDriversNoMatch

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

kIOCatalogStartMatching

Signals the IOCatalogue to start an IOService matching thread.

Discussion
user-client flags.


IOCatalogueTerminate


enum { 
    kIOCatalogModuleUnload = 1, 
    kIOCatalogModuleTerminate, 
    kIOCatalogServiceTerminate 
};  
Constants
kIOCatalogModuleUnload

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

kIOCatalogModuleTerminate

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

kIOCatalogServiceTerminate

Terminates a particular service by name.

Discussion
user-client flags.


IOMakeMatching


enum { 
    kIOServiceMatching = 100, 
    kIOBSDNameMatching = 101, 
    kIOOFPathMatching = 102 
};  
Constants
kIOServiceMatching
kIOBSDNameMatching
kIOOFPathMatching


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2009-02-23