/*******************************************************************************
* Header Files *
*******************************************************************************/
/*******************************************************************************
* Global Variables *
*******************************************************************************/
{
&mod_miscops, /* extern from kernel */
"platform agnostic module"
};
{
MODREV_1, /* loadable module system revision */
{
NULL /* terminate array of linkage structures */
}
};
int _init(void);
int _init(void)
{
/* Disable auto unloading. */
if (pModCtl)
return mod_install(&g_rtModuleStubModLinkage);
}
int _fini(void);
int _fini(void)
{
return mod_remove(&g_rtModuleStubModLinkage);
}
{
}