From 0b9f472116eea06f17f4b481918b5d723b40cdd0 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 25 Jul 2013 10:33:41 +0200 Subject: score: Move mppkt implementation into mpciimpl.h --- cpukit/score/inline/rtems/score/mppkt.inl | 61 ------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 cpukit/score/inline/rtems/score/mppkt.inl (limited to 'cpukit/score/inline') 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 directly; include 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 */ -- cgit v1.2.3