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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [macros/] [rtems/] [score/] [isr.inl] - Blame information for rev 735

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

Line No. Rev Author Line
1 30 unneback
/*  isr.inl
2
 *
3
 *  This include file contains the macro implementation of all
4
 *  inlined routines in the Interrupt Handler.
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13
 *  $Id: isr.inl,v 1.2 2001-09-27 11:59:34 chris Exp $
14
 */
15
 
16
#ifndef __ISR_inl
17
#define __ISR_inl
18
 
19
/*PAGE
20
 *
21
 *  _ISR_Is_in_progress
22
 *
23
 */
24
 
25
#define _ISR_Is_in_progress() \
26
        (_ISR_Nest_level != 0)
27
 
28
/*PAGE
29
 *
30
 *  _ISR_Is_vector_number_valid
31
 *
32
 */
33
 
34
#define _ISR_Is_vector_number_valid( _vector ) \
35
  ( (_vector) <= CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER )
36
 
37
/*PAGE
38
 *
39
 *  _ISR_Is_valid_user_handler
40
 *
41
 */
42
 
43
#define _ISR_Is_valid_user_handler( _handler ) \
44
  ((_handler) != NULL)
45
 
46
#endif
47
/* end of include file */

powered by: WebSVN 2.1.0

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