RTEMS Logo

RTEMS 4.9.2 On-Line Library


Signal Manager Processing an ASR

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

12.3.3: Processing an ASR

Asynchronous signals were designed to provide the capability to generate software interrupts. The processing of software interrupts parallels that of hardware interrupts. As a result, the differences between the formats of ASRs and ISRs is limited to the meaning of the single argument passed to an ASR. The ASR should have the following calling sequence and adhere to Ada calling conventions:

procedure User_Routine (
  Signals : in     RTEMS.Signal_Set
);

When the ASR returns to RTEMS the mode and execution path of the interrupted task (or ASR) is restored to the context prior to entering the ASR.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation