IORegistry crash (was: Two IOService in the same kext ? )
IORegistry crash (was: Two IOService in the same kext ? )
- Subject: IORegistry crash (was: Two IOService in the same kext ? )
- From: Francis bouchard <email@hidden>
- Date: Thu, 30 May 2002 13:24:49 -0400
Sorry for cross posting but I am really desperate.
For the one who followed this thread, here is the status. I would like my
driver model to look like the drawing. My IOFrameBuffer declares an
IOProvicerClass of EffectDriver (which its provider is an IOPCIDevice). This
way My effectDriver which is a service provider for my FrameBuffer gets
loaded before the IOFrameBuffer and the FrameBuffer gets the pointer to the
EffectDriver (its provider through the parameter in the start routine.
But it doesn't work! HELP!!!! How do I make a driver a provider for another
class ??? If I put the IOProviderClass in the bundle settings, my driver won
load (kmod but no init called). A hint is that ioreg or IORegistry crashes!
for some reason, as soos as I try to connect my IOFrameBuffer ot the effect
dirver I seem to break everything up. If I put IOPCIDevice in the
IOProviderClass and "slmost stub my frame buffer" everything is OK.
Francis
On 28/05/02 12:52, "Francis bouchard" <email@hidden> wrote:
>
I agree that I'm more fighting with IOKit than using it. Let's see how my
>
drivers works. Let's try ou my _talent_ for drawing.
>
------ ------------------
>
| OS | | our effects |
>
User Land ------ ------------------
>
________________|____________________________|_________
>
KernelLand | |
>
------------------- ------------------
>
| IOFBUserClient | | EffectDriver |
>
| IOFrameBuffer | | UserClient |
>
------------------- ------------------
>
| |
>
| ------------------
>
|_______________________| EffectDriver |
>
| (IOService) |
>
------------------
_______________________________________________
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.