source: rtems/testsuites/mptests/mp05/asr.c @ 8bdcfc4

4.104.114.84.95
Last change on this file since 8bdcfc4 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on May 11, 1995 at 5:39:37 PM

Initial revision

  • Property mode set to 100644
File size: 949 bytes
Line 
1/*  Process_asr
2 *
3 *  This routine performs the processing for task 1's RTEMS_ASR.  It is called
4 *  by an assembly routine which saves the necessary registers.
5 *
6 *  Input parameters:
7 *    signal - signal set
8 *
9 *  Output parameters:  NONE
10 *
11 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
12 *  On-Line Applications Research Corporation (OAR).
13 *  All rights assigned to U.S. Government, 1994.
14 *
15 *  This material may be reproduced by or for the U.S. Government pursuant
16 *  to the copyright license under the clause at DFARS 252.227-7013.  This
17 *  notice must appear in all copies of this file and its derivatives.
18 *
19 *  $Id$
20 */
21
22#include "system.h"
23
24rtems_asr Process_asr(
25    rtems_signal_set signal
26)
27{
28  if ( signal != expected_signal ) {
29     printf(
30       "ERROR: I was expecting signal 0x%.8x got 0x%.8x\n",
31       expected_signal,
32       signal
33     );
34     rtems_fatal_error_occurred( 0xf0000 );
35  }
36  signal_caught = 1;
37}
Note: See TracBrowser for help on using the repository browser.