RTEMS Logo

RTEMS 4.6.1 On-Line Library


Interrupts Interrupt Levels

PREV UP NEXT Bookshelf RTEMS Porting Guide

5.2: Interrupt Levels

  • Interrupts Interrupt Level Mask
  • Interrupts Obtaining the Current Interrupt Level
  • Interrupts Set the Interrupt Level
  • Interrupts Disable Interrupts
  • Interrupts Enable Interrupts
  • Interrupts Flash Interrupts
  • RTEMS is designed assuming that a CPU family has a level associated with interrupts. Interrupts below the current interrupt level are masked and do not interrupt the CPU until the interrupt level is lowered. This design provides for 256 distinct interrupt levels even though most CPU implementations support far fewer levels. Interrupt level 0 is assumed to map to the hardware settings for all interrupts enabled.

    Over the years that RTEMS has been available, there has been much discussion on how to handle CPU families which support very few interrupt levels such as the i386, PowerPC, and HP-PA RISC. XXX


    PREV UP NEXT Bookshelf RTEMS Porting Guide

    Copyright © 1988-2004 OAR Corporation