source: rtems/cpukit/score/macros/rtems/score/isr.inl @ a85d8ec

4.104.114.84.95
Last change on this file since a85d8ec was 89ee0b6, checked in by Joel Sherrill <joel.sherrill@…>, on 11/28/01 at 18:28:24

2001-11-28 Joel Sherrill <joel@…>,

This was tracked as PR91.

  • include/rtems/score/isr.h, inline/rtems/score/isr.inl, macros/rtems/score/isr.inl: Modified to allow any port to provide its own implementation of the macro _ISR_Is_in_progress. If the port overrides this macro, it must provide a non-inlined function implementation.
  • Property mode set to 100644
File size: 741 bytes
Line 
1/*  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$
14 */
15
16#ifndef __ISR_inl
17#define __ISR_inl
18
19/*PAGE
20 *
21 *  _ISR_Is_vector_number_valid
22 *
23 */
24
25#define _ISR_Is_vector_number_valid( _vector ) \
26  ( (_vector) <= CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER )
27
28/*PAGE
29 *
30 *  _ISR_Is_valid_user_handler
31 *
32 */
33
34#define _ISR_Is_valid_user_handler( _handler ) \
35  ((_handler) != NULL)
36
37#endif
38/* end of include file */
Note: See TracBrowser for help on using the repository browser.