Example #1
0
/*
 *  ======== Timer_Module_startup ========
 *  Calls postInit for all statically-created & constructed
 *  timers to initialize them.
 */
Int Core_Module_startup(status)
{
    /* grab Hwi/Swi/Task schedulers */
    /* Task and Swi scheduler is locked by default */
    Core_lock();

    return (Startup_DONE);
}
Example #2
0
/*
 *  ======== notifySpinUnlock ========
 */
Void Core_notifySpinUnlock(UInt key)
{
    /* Acquire inter-core lock */
    Core_lock();

    /* Release notify lock */
    Core_module->notifyLock = FALSE;

    Hwi_restore(key);
}