Pumpkin, Inc.

Pumpkin User Forums

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

Service Bulletins -- outlining known problems and how to handle them -- are posted here.

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

Postby Salvo Tech Support » Wed Oct 15, 2003 9:57 am

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.

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Return to Service Bulletins

Who is online

Users browsing this forum: No registered users and 1 guest

cron