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: Shawn Erickson <email@hidden>
- Date: Thu, 30 May 2002 14:00:43 -0700
On Thursday, May 30, 2002, at 12:27 PM, Francis bouchard wrote:
If it can help you, this is where ioreg stops dumping info
...
| | +-o pci-bridge@3 <class IOPCIDevice>
| | | +-o IOPCI2PCIBridge <class IOPCI2PCIBridge>
| | | +-o MTRX,Toucan@0 <class IOPCIDevice>
| | | | +-o com_matrox_driver_MatroxMmgdG400 <class
com_matrox_driver_MatroxMmgdG400>
I've found now that my FrameBuffer loads and start (but still won't
recognize it as a display). I still have the IORegistry crashing (or
ioreg
stop from dumping info)
Not sure about the ioreg issue...
Other investigations I've made:
Detach the FrameBuffer from EffectDriver and use IOPCIDevice and
everything
works fine! ioreg not crashing and a display. But this is not the
correct
way to go since it will create problems when I will do effects...
When your frame buffer driver attaches to your effect driver... how do
things operate? It sounds like the frame buffer it still assuming it is
matching against your hardware. Basically your frame buffer is not
attached to your hardware at this point but to your effect driver.
How do they interact with each other or how do you expect them to
interact?
I believe you need to define and implement how your frame buffer will
interact with your effect driver to carry out operations on your
hardware. Many ways exist...
One way would be to get the PCI nub (instance of IOPCIDevice) from your
effect driver and share your effect driver workloop when accessing your
hardware (assuming you need to synchronize access to your hardware).
Also remember your effect driver would most likely be the one setup to
respond to interrupts from your adapter (unless it doesn't add an
interrupt event source to workloop).
[Or does only your effect driver need interact with your hardware and
your frame buffer ask it do things when needed?]
-Shawn
_______________________________________________
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.