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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 30 unneback
/*  macros/mppkt.h
2
 *
3
 *  This package is the implementation of the Packet Handler
4
 *  routines which are inlined.
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: mppkt.inl,v 1.2 2001-09-27 11:59:34 chris Exp $
14
 */
15
 
16
#ifndef __MACROS_MP_PACKET_h
17
#define __MACROS_MP_PACKET_h
18
 
19
/*PAGE
20
 *
21
 *  _Mp_packet_Is_valid_packet_class
22
 *
23
 *  NOTE: Check for lower bounds (MP_PACKET_CLASSES_FIRST ) is unnecessary
24
 *        because this enum starts at lower bound of zero.
25
 */
26
 
27
#define _Mp_packet_Is_valid_packet_class( _the_packet_class ) \
28
  ( (_the_packet_class) <= MP_PACKET_CLASSES_LAST )
29
 
30
/*PAGE
31
 *
32
 *  _Mp_packet_Is_null
33
 *
34
 */
35
 
36
#define _Mp_packet_Is_null ( _the_packet ) \
37
  ( (_the_packet) == NULL )
38
 
39
#endif
40
/* end of include file */

powered by: WebSVN 2.1.0

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