Re: Re (5): Baffled
Re: Re (5): Baffled
- Subject: Re: Re (5): Baffled
- From: Eric Long <email@hidden>
- Date: Fri, 14 Feb 2003 13:26:42 -0800
>
This clears up lots of things. If you don't build clean and
>
transition a driver from a NKE to an IOKit module, then the file that
>
is generated by project builder may not get regenerated. Though I'm
>
still puzzled because that means that the system doesn't know that
>
your module contains IOKit classes. Do you subclass any IOKit
>
classes or do you just use them straight?
I subclass IOService and IOUserClient. I didn't have any problems with it
being loaded and called. Matching worked fine and my client app had no
problem talking to it. Somehow, the unsupported mix was working.
Dean's suggestion to call my NKE start/stop methods from init() and free()
seems to work well. I am concerned about safety if the NKE fails to unload,
but otherwise the process seems good.
Eric
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.