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

int kLdrModUnmap ( PKLDRMOD  pMod  ) 

Unmaps a module previously mapped by kLdrModMap().

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

Definition at line 704 of file kLdrMod.c.

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

Referenced by BasicTestsSubMap(), kldrDyldModDestroy(), kldrDyldModMap(), and kldrDyldModUnmap().

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


Generated by  Doxygen 1.6.0   Back to index