Re: IORegistry crash (was: Two IOService in the same kext ? )
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:33:14 -0700
Ok then, a few things.
1> The IOProviderClass of the framebuffer MUST be the same as the
IOClass of the EffectDriver, i.e. it is case sensitive.
2> You probabably don't need to have IOPCIMatch in your IOFrameBuffer
personality.
3> Does your effect driver call 'registerService()' on itself?
If I read these personalities correctly you wish to create a 'driver'
stack on top of your 'EffectDriver'. The EffectDriver gets loaded
when it identifies your hardware on the IOPCIDevice nub. Then at
start time you want the Effect driver to load the relevant
FrameBuffer driver. You achieve this by two steps. First setup a
personality for the Framebuffer with a provider class of your
EffectDriver real class name (I usually copy and paste). Then call
at starttime have com_matrox_driver_Effects::start(provider) call
registerService() just before returning.
Godfrey
At 14:18 -0400 02-5-30, Francis bouchard wrote:
can we see the IOKitPersonalties?
IOFrameBuffer:
CFBundleIdentifier com.matrox.driver.Display
IOClass com_matrox_driver_Display
IOMatchCategory IOFrameBuffer
(I don't know what IOMatch is for actually... Taken from sample)
IOPCIMatch 0x... (our hadware) (this works for sure)
IOProviderClass com_matrox_driver_effects
EffectDriver
CFBundleIdentifier com.matrox.driver.Effects
IOClass com_matrox_driver_Effects
IOMatchCategory Something
(I don't know what IOMatch is for actually... Taken from sample)
IOPCIMatch 0x... (our hadware) (this works for sure)
IOProviderClass IOPCIDevice
IOUserClientClass com_matrox_driver_EffectsUserClient
On 30/05/02 14:06, "Godfrey van der Linden" <email@hidden> wrote:
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?)
No. one dirver handles all the effects needs (the different effects are done
in userland... (KEEP OUT of the kernel!)
How does the 'Effect Driver' get created?
Buy the OS ??? At boot time.
How does your FrameBuffer
get created?
Buy the OS ???. At boot time.
Theses are in /System/Library/Extensions
Thanks a lot for taking time
Francis
_______________________________________________
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.