RL-ARM User's Guide

Usage Hints

Here are a few hints to help you if you run into problems when using the RTX kernel.

Function usage

  • Functions that begin with os_ can be called from a task but not from an interrupt service routine.
  • Functions that begin with isr_ can be called from an IRQ interrupt service routine but not from a task.
  • Never call isr_ functions from FIQ (ARM7™, ARM9™) interrupt functions or from the task.
  • Never call tsk_lock() or tsk_unlock() from an interrupt function.
  • Before the kernel starts, never enable any IRQ interrupt that calls isr_ functions.

Because of a two different implementations of RTX Kernel Library further hints depend on the Library version being used: