Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Manual driver loading/unloading



Currently, my PCI driver matches and loads automatically at boot. However, we are looking at the possibility of changing this behavior such that the driver only loads when the first client actually needs it, and unloads after the last client is done. All access to the driver is through a shared library that is under our control. I assume I need to add some code to that lib to check if the driver is loaded, and if not, find and load the driver, and similarly unload it when the last client exits. Can someone point me to what I have to do to support this?

Thanks,
Jim
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.