Page 1 of 1

SB-19: Salvo: Problems with Interrupts in OSIdlingHook()

PostPosted: Wed Oct 15, 2003 9:57 am
by Salvo Tech Support
Applies To

Most Salvo Distributions. Does not apply to ones using HI-TECH PICC, PICC-18 or V8C.

Description of Problem

Interrupts are not enabled in OSIdlingHook().

This occurs because OSSched() is failing to enable interrupts prior to calling OSIdlingHook(). This can cause problems when putting the host processor to sleep from within OSIdlingHook().

Suggested Workaround

Forcibly enable interrupts within OSIdlingHook(), e.g. via OSEi(). It is not necessary to restore the interrupt enable status prior to leaving OSIdlingHook().

Fixed In

v3.2.3

------------------
--------
Salvo Technical Support
Please request all tech support through the Forums.