Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

int kLdrModCallInit ( PKLDRMOD  pMod,
KUPTR  uHandle 
)

Call the module initializiation function of a mapped module (if any).

Returns:
0 on success or no init function, non-zero on init function failure or invalid pMod.
Parameters:
pMod The module.
uHandle The module handle to use if any of the init functions requires the module handle.

Definition at line 622 of file kLdrMod.c.

References KLDRMOD_VALIDATE, KLDRMODOPS::pfnCallInit, and KLDRMOD::pOps.

Referenced by kldrDyldModCallInit().

{
    KLDRMOD_VALIDATE(pMod);
    return pMod->pOps->pfnCallInit(pMod, uHandle);
}


Generated by  Doxygen 1.6.0   Back to index