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: Francis bouchard <email@hidden>
- Date: Thu, 30 May 2002 15:34:49 -0400
Sorry for the confusion, super is actially a custom MatroxIOService that
does housekeeping for all our driver. This class does it.
MatroxIOService public IOService
com_matrox_driver_Effects public MatroxIOService
On 30/05/02 15:33, "Godfrey van der Linden" <email@hidden> wrote:
>
Is IOService the parent of 'com_matrox_driver_Effects'? If so then
>
registerService() is NOT done by IOService.
>
>
Godfrey
>
>
At 14:38 -0400 02-5-30, Francis bouchard wrote:
>
> On 30/05/02 14:33, "Godfrey van der Linden" <email@hidden> wrote:
>
>
>
>> Then call
>
>> at starttime have com_matrox_driver_Effects::start(provider) call
>
>> registerService() just before returning.
>
> Does the fact that calling this function not at the end of the start could
>
> change things ? It is actually done in a base class (derived from IOService)
>
> for our dirvers. So:
>
>
>
> com_matrox_driver_Effects::start(provider)
>
> {
>
> super::start(); // registerService() is done here
>
>
>
> // more stuff
>
> }
>
>
>
> 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.