Pumpkin, Inc.

Pumpkin User Forums

SB-15: Salvo: Source-Code Builds and OSIdlingHook()

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

SB-15: Salvo: Source-Code Builds and OSIdlingHook()

Postby Salvo Tech Support » Fri Jan 31, 2003 1:19 am

Applies To

Salvo v3.1.0 and earlier only in source-code builds. Library builds are unaffected.

Description of Problem

In a source-code build with OSENABLE_IDLING_HOOK set to FALSE (the default), interrupts will de disabled and never re-enabled in OSSched() as soon as there are no eligible tasks to run (e.g. they are all delayed).

This may manifest itself as an application that appears to start and then is "dead" immediately thereafter, even though the Salvo kernel appears to be running along happily. An inspection of such an application will show that interrupts are now globally disabled.

Suggested Workaround

In source-code builds only, set OSENABLE_IDLING_HOOK to TRUE and define a simple OSIdlingHook() function, e.g.

code:
void OSIdlingHook ( void )
{
;
}

Fixed In

3.1.1

[This message has been edited by Salvo Tech Support (edited January 31, 2003).]

--------
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