summaryrefslogtreecommitdiffstats
path: root/cpukit/score/macros/rtems/score/object.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-10-19 19:20:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-10-19 19:20:10 +0000
commit04dba496a650cbd1c4ee04a12d6afa38210bcc02 (patch)
treeceb8b8394815a7285d043569b9733aa49656eb16 /cpukit/score/macros/rtems/score/object.inl
parent2006-10-19 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-04dba496a650cbd1c4ee04a12d6afa38210bcc02.tar.bz2
2006-10-19 Joel Sherrill <joel@OARcorp.com>
* configure.ac, itron/Makefile.am, itron/preinstall.am, posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am, rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am, score/preinstall.am, score/include/rtems/system.h, score/include/rtems/score/chain.h, score/include/rtems/score/thread.h, score/src/chain.c, score/src/coremutexseize.c, score/src/threadget.c: Remove all macro implementations and use only the static inline. Static inline functions are now well supported so there is no reason for duplicate maintenance. * itron/macros/rtems/itron/eventflags.inl, itron/macros/rtems/itron/fmempool.inl, itron/macros/rtems/itron/intr.inl, itron/macros/rtems/itron/mbox.inl, itron/macros/rtems/itron/msgbuffer.inl, itron/macros/rtems/itron/network.inl, itron/macros/rtems/itron/port.inl, itron/macros/rtems/itron/semaphore.inl, itron/macros/rtems/itron/sysmgmt.inl, itron/macros/rtems/itron/task.inl, itron/macros/rtems/itron/time.inl, itron/macros/rtems/itron/vmempool.inl, posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/key.inl, posix/macros/rtems/posix/mqueue.inl, posix/macros/rtems/posix/mutex.inl, posix/macros/rtems/posix/priority.inl, posix/macros/rtems/posix/pthread.inl, posix/macros/rtems/posix/semaphore.inl, posix/macros/rtems/posix/timer.inl, rtems/macros/rtems/rtems/asr.inl, rtems/macros/rtems/rtems/attr.inl, rtems/macros/rtems/rtems/barrier.inl, rtems/macros/rtems/rtems/dpmem.inl, rtems/macros/rtems/rtems/event.inl, rtems/macros/rtems/rtems/eventset.inl, rtems/macros/rtems/rtems/message.inl, rtems/macros/rtems/rtems/modes.inl, rtems/macros/rtems/rtems/options.inl, rtems/macros/rtems/rtems/part.inl, rtems/macros/rtems/rtems/ratemon.inl, rtems/macros/rtems/rtems/region.inl, rtems/macros/rtems/rtems/sem.inl, rtems/macros/rtems/rtems/status.inl, rtems/macros/rtems/rtems/support.inl, rtems/macros/rtems/rtems/tasks.inl, rtems/macros/rtems/rtems/timer.inl, sapi/macros/rtems/extension.inl, score/macros/README, score/macros/rtems/score/address.inl, score/macros/rtems/score/chain.inl, score/macros/rtems/score/corebarrier.inl, score/macros/rtems/score/coremsg.inl, score/macros/rtems/score/coremutex.inl, score/macros/rtems/score/corerwlock.inl, score/macros/rtems/score/coresem.inl, score/macros/rtems/score/corespinlock.inl, score/macros/rtems/score/heap.inl, score/macros/rtems/score/isr.inl, score/macros/rtems/score/mppkt.inl, score/macros/rtems/score/object.inl, score/macros/rtems/score/objectmp.inl, score/macros/rtems/score/priority.inl, score/macros/rtems/score/stack.inl, score/macros/rtems/score/states.inl, score/macros/rtems/score/sysstate.inl, score/macros/rtems/score/thread.inl, score/macros/rtems/score/threadmp.inl, score/macros/rtems/score/tod.inl, score/macros/rtems/score/tqdata.inl, score/macros/rtems/score/userext.inl, score/macros/rtems/score/watchdog.inl, score/macros/rtems/score/wkspace.inl: Removed.
Diffstat (limited to 'cpukit/score/macros/rtems/score/object.inl')
-rw-r--r--cpukit/score/macros/rtems/score/object.inl198
1 files changed, 0 insertions, 198 deletions
diff --git a/cpukit/score/macros/rtems/score/object.inl b/cpukit/score/macros/rtems/score/object.inl
deleted file mode 100644
index 69c8a0a2bf..0000000000
--- a/cpukit/score/macros/rtems/score/object.inl
+++ /dev/null
@@ -1,198 +0,0 @@
-/**
- * @file rtems/score/object.inl
- */
-
-/*
- * This include file contains the macro implementation of all
- * of the inlined routines in the Object Handler.
- *
- * COPYRIGHT (c) 1989-1999.
- * 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.
- *
- * $Id$
- */
-
-#ifndef _RTEMS_SCORE_OBJECT_INL
-#define _RTEMS_SCORE_OBJECT_INL
-
-/*PAGE
- *
- * _Objects_Build_id
- *
- */
-
-#define _Objects_Build_id( _the_api, _the_class, _node, _index ) \
- ( (( (Objects_Id) _the_api ) << OBJECTS_API_START_BIT) | \
- (( (Objects_Id) _the_class ) << OBJECTS_CLASS_START_BIT) | \
- (( (Objects_Id) _node ) << OBJECTS_NODE_START_BIT) | \
- (( (Objects_Id) _index ) << OBJECTS_INDEX_START_BIT) )
-
-/*PAGE
- *
- * _Objects_Get_API
- */
-
-#define _Objects_Get_API( _id ) \
- (Objects_APIs) \
- (((_id) >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS)
-
-/*PAGE
- *
- * _Objects_Get_class
- */
-
-#define _Objects_Get_class( _id ) \
- (uint32_t ) \
- (((_id) >> OBJECTS_CLASS_START_BIT) & OBJECTS_CLASS_VALID_BITS)
-
-/*PAGE
- *
- * _Objects_Get_node
- *
- */
-
-#define _Objects_Get_node( _id ) \
- (((_id) >> OBJECTS_NODE_START_BIT) & OBJECTS_NODE_VALID_BITS)
-
-/*PAGE
- *
- * _Objects_Get_index
- *
- */
-
-#define _Objects_Get_index( _id ) \
- (((_id) >> OBJECTS_INDEX_START_BIT) & OBJECTS_INDEX_VALID_BITS)
-
-/*PAGE
- *
- * _Objects_Is_class_valid
- *
- */
-
-#define _Objects_Is_class_valid( _the_class ) \
- ( (_the_class) /* XXX && (_the_class) <= OBJECTS_CLASSES_LAST */ )
-
-/*PAGE
- *
- * _Objects_Is_local_node
- *
- */
-
-#if defined(RTEMS_MULTIPROCESSING)
-#define _Objects_Is_local_node( _node ) \
- ( (_node) == _Objects_Local_node )
-#endif
-
-/*PAGE
- *
- * _Objects_Is_local_id
- *
- */
-
-#if defined(RTEMS_MULTIPROCESSING)
-#define _Objects_Is_local_id( _id ) \
- _Objects_Is_local_node( _Objects_Get_node(_id) )
-#else
-#define _Objects_Is_local_id( _id ) \
- TRUE
-#endif
-
-/*PAGE
- *
- * _Objects_Are_ids_equal
- *
- */
-
-#define _Objects_Are_ids_equal( _left, _right ) \
- ( (_left) == (_right) )
-
-/*PAGE
- *
- * _Objects_Get_local_object
- *
- */
-
-#define _Objects_Get_local_object( _information, _index ) \
- ( ( (_index) > (_information)->maximum) ? NULL : \
- (_information)->local_table[ (_index) ] )
-
-/*PAGE
- *
- * _Objects_Set_local_object
- *
- */
-
-#define _Objects_Set_local_object( information, index, the_object ) \
- { \
- if ( index <= information->maximum) \
- information->local_table[ index ] = the_object; \
- }
-
-
-/*PAGE
- *
- * _Objects_Get_information
- *
- */
-
-#define _Objects_Get_information( id ) \
- ( \
- ( !_Objects_Is_class_valid( _Objects_Get_class( id ) ) ) ? \
- NULL : \
- _Objects_Information_table[ _Objects_Get_API( id ) ] \
- [ _Objects_Get_class( id ) ] \
- )
-
-/*PAGE
- *
- * _Objects_Open
- *
- */
-
-#define _Objects_Open( _information, _the_object, _name ) \
- do { \
- uint32_t _index; \
- \
- _index = _Objects_Get_index( (_the_object)->id ); \
- (_information)->local_table[ _index ] = (_the_object); \
- \
- if ( (_information)->is_string ) \
- /* _Objects_Copy_name_string( (_name), (_the_object)->name ); */\
- (_the_object)->name = (_name); \
- else \
- /* _Objects_Copy_name_raw( \
- (_name), (_the_object)->name, (_information)->name_length ); */ \
- (_the_object)->name = (_name); \
- } while (0)
-
-/*PAGE
- *
- * _Objects_Close
- *
- */
-
-#define _Objects_Close( _information, _the_object ) \
- do { \
- uint32_t _index; \
- \
- _index = _Objects_Get_index( (_the_object)->id ); \
- (_information)->local_table[ _index ] = (Objects_Control *) NULL; \
- /* _Objects_Clear_name( (_the_object)->name, (_information)->name_length ); */ \
- (_the_object)->name = 0; \
- } while (0)
-
-/*PAGE
- *
- * _Objects_Namespace_remove
- */
-
-#define _Objects_Namespace_remove( _information, _the_object ) \
- (_the_object)->name = 0; \
- /* _Objects_Clear_name( (_the_object)->name, (_information)->name_length ) */
-
-#endif
-/* end of include file */