diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-25 10:33:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-26 11:55:46 +0200 |
commit | 0b9f472116eea06f17f4b481918b5d723b40cdd0 (patch) | |
tree | 8e910ff412a31c428ac379f904fdeac1fb6d9efe /cpukit/score/inline/rtems/score | |
parent | score: Create mpci implementation header (diff) | |
download | rtems-0b9f472116eea06f17f4b481918b5d723b40cdd0.tar.bz2 |
score: Move mppkt implementation into mpciimpl.h
Diffstat (limited to 'cpukit/score/inline/rtems/score')
-rw-r--r-- | cpukit/score/inline/rtems/score/mppkt.inl | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/cpukit/score/inline/rtems/score/mppkt.inl b/cpukit/score/inline/rtems/score/mppkt.inl deleted file mode 100644 index 0f9c6b2fcd..0000000000 --- a/cpukit/score/inline/rtems/score/mppkt.inl +++ /dev/null @@ -1,61 +0,0 @@ -/** - * @file - * - * @brief Inlined Routines from the Packet Handler - * - * This package is the implementation of the Packet Handler - * routines which are inlined. - */ - -/* - * COPYRIGHT (c) 1989-2004. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - */ - -#ifndef _RTEMS_SCORE_MPPKT_H -# error "Never use <rtems/score/mppkt.inl> directly; include <rtems/score/mppkt.h> instead." -#endif - -#ifndef _RTEMS_SCORE_MPPKT_INL -#define _RTEMS_SCORE_MPPKT_INL - -/** - * @addtogroup ScoreMPPacket - */ -/**@{**/ - -/** - * This function returns true if the the_packet_class is valid, - * and false otherwise. - * - * @note Check for lower bounds (MP_PACKET_CLASSES_FIRST ) is unnecessary - * because this enum starts at lower bound of zero. - */ - -RTEMS_INLINE_ROUTINE bool _Mp_packet_Is_valid_packet_class ( - MP_packet_Classes the_packet_class -) -{ - return ( the_packet_class <= MP_PACKET_CLASSES_LAST ); -} - -/** - * This function returns true if the the_packet_class is null, - * and false otherwise. - */ - -RTEMS_INLINE_ROUTINE bool _Mp_packet_Is_null ( - MP_packet_Prefix *the_packet -) -{ - return the_packet == NULL; -} - -/** @} */ - -#endif -/* end of include file */ |