• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IORegistry crash (was: Two IOService in the same kext ? )
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IORegistry crash (was: Two IOService in the same kext ? )


  • Subject: Re: IORegistry crash (was: Two IOService in the same kext ? )
  • From: Godfrey van der Linden <email@hidden>
  • Date: Thu, 30 May 2002 11:06:54 -0700

It depends on how you publish your com_matrox_EffectDriver (Note the prefix, this is really important quite a few drivers are going to have effects right?)

How does the 'Effect Driver' get created? How does your FrameBuffer get created? can we see the IOKitPersonalties?

Godfrey

At 13:24 -0400 02-5-30, Francis bouchard wrote:
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: IORegistry crash (was: Two IOService in the same kext ? )
      • From: Shawn Erickson <email@hidden>
References: 
 >IORegistry crash (was: Two IOService in the same kext ? ) (From: Francis bouchard <email@hidden>)

  • Prev by Date: IORegistry crash (was: Two IOService in the same kext ? )
  • Next by Date: Re: IORegistry crash (was: Two IOService in the same kext ? )
  • Previous by thread: IORegistry crash (was: Two IOService in the same kext ? )
  • Next by thread: Re: IORegistry crash (was: Two IOService in the same kext ? )
  • Index(es):
    • Date
    • Thread