OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [mptests/] [mp05/] [asr.c] - Blame information for rev 373

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  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: asr.c,v 1.2 2001-09-27 12:02:18 chris Exp $
19
 */
20
 
21
#include "system.h"
22
 
23
rtems_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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.