source: rtems/testsuites/mptests/mp05/asr.c @ 60b791ad

4.104.114.84.95
Last change on this file since 60b791ad was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 866 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-1998.
12 *  On-Line Applications Research Corporation (OAR).
13 *  Copyright assigned to U.S. Government, 1994.
14 *
15 *  The license and distribution terms for this file may be
16 *  found in the file LICENSE in this distribution or at
17 *  http://www.OARcorp.com/rtems/license.html.
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.