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

int kLdrModReload ( PKLDRMOD  pMod  ) 

Reloads all dirty pages in a module previously mapped by kLdrModMap().

The module interpreter may omit code pages if it can safely apply code fixups again in a subsequent kLdrModFixupMapping() call.

The caller is responsible for freeing TLS before calling this function.

Returns:
0 on success, non-zero OS or kLdr status code on failure.
Parameters:
pMod The module.

Definition at line 590 of file kLdrMod.c.

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

Referenced by BasicTestsSubMap2(), and kldrDyldModReload().

{
    KLDRMOD_VALIDATE(pMod);
    return pMod->pOps->pfnReload(pMod);
}


Generated by  Doxygen 1.6.0   Back to index