16.2.11 System state management functions

The following shows the service calls provided by the RI850V4 as the system state management functions.

Table 16-11 System State Management Functions

Service Call

Function

Origin of Service Call

Rotate task precedence

Task, Non-task, Initialization routine

Rotate task precedence

Task, Non-task, Initialization routine

Forced scheduler activation

Task

Reference task ID in the RUNNING state

Task, Non-task, Initialization routine

Reference task ID in the RUNNING state

Task, Non-task, Initialization routine

Lock the CPU

Task, Non-task

Lock the CPU

Task, Non-task

Unlock the CPU

Task, Non-task

Unlock the CPU

Task, Non-task

Reference CPU state

Task, Non-task, Initialization routine

Disable dispatching

Task

Enable dispatching

Task

Reference dispatching state

Task, Non-task, Initialization routine

Reference contexts

Task, Non-task, Initialization routine

Reference dispatching pending state

Task, Non-task, Initialization routine