source: rtems/testsuites/mptests/mp05/asr.c @ 5b6ea7a

4.104.114.84.95
Last change on this file since 5b6ea7a was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 817 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-1999.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.OARcorp.com/rtems/license.html.
17 *
18 *  $Id$
19 */
20
21#include "system.h"
22
23rtems_asr Process_asr(
24    rtems_signal_set signal
25)
26{
27  if ( signal != expected_signal ) {
28     printf(
29       "ERROR: I was expecting signal 0x%.8x got 0x%.8x\n",
30       expected_signal,
31       signal
32     );
33     rtems_fatal_error_occurred( 0xf0000 );
34  }
35  signal_caught = 1;
36}
Note: See TracBrowser for help on using the repository browser.