From 3652ad356bf13abe0963c992cbbda96476d31609 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Sep 1995 14:53:29 +0000 Subject: Minor bug fixes to get all targets compilable and running. The single biggest changes were the expansion of the workspace size macro to include other types of objects and the increase in the minimum stack size for most CPUs. --- cpukit/rtems/macros/rtems/rtems/message.inl | 74 +---------------------------- 1 file changed, 1 insertion(+), 73 deletions(-) (limited to 'cpukit/rtems/macros') diff --git a/cpukit/rtems/macros/rtems/rtems/message.inl b/cpukit/rtems/macros/rtems/rtems/message.inl index ef694fb11a..62b6ac0ceb 100644 --- a/cpukit/rtems/macros/rtems/rtems/message.inl +++ b/cpukit/rtems/macros/rtems/rtems/message.inl @@ -17,66 +17,6 @@ #ifndef __MESSAGE_QUEUE_inl #define __MESSAGE_QUEUE_inl -/*PAGE - * - * _Message_queue_Copy_buffer - */ - -#define _Message_queue_Copy_buffer( _source, _destination, _size ) \ - memcpy( _destination, _source, _size) - -/*PAGE - * - * _Message_queue_Allocate_message_buffer - * - */ - -#define _Message_queue_Allocate_message_buffer( _the_message_queue ) \ - (Message_queue_Buffer_control *) \ - _Chain_Get( &(_the_message_queue)->Inactive_messages ) - -/*PAGE - * - * _Message_queue_Free_message_buffer - * - */ - -#define _Message_queue_Free_message_buffer( _the_message_queue, _the_message ) \ - _Chain_Append( \ - &(_the_message_queue)->Inactive_messages, \ - &(_the_message)->Node \ - ) - -/*PAGE - * - * _Message_queue_Get_pending_message - * - */ - -#define _Message_queue_Get_pending_message( _the_message_queue ) \ - (Message_queue_Buffer_control *) \ - _Chain_Get_unprotected( &(_the_message_queue)->Pending_messages ) - -/*PAGE - * - * _Message_queue_Append - * - */ - -#define _Message_queue_Append( _the_message_queue, _the_message ) \ - _Chain_Append( &(_the_message_queue)->Pending_messages, \ - &(_the_message)->Node ) - -/*PAGE - * - * _Message_queue_Prepend - * - */ - -#define _Message_queue_Prepend( _the_message_queue, _the_message ) \ - _Chain_Prepend( &(_the_message_queue)->Pending_messages, \ - &(_the_message)->Node ) - /*PAGE * * _Message_queue_Is_null @@ -93,19 +33,7 @@ */ #define _Message_queue_Free( _the_message_queue ) \ - do { \ - \ - if ( (_the_message_queue)->message_buffers ) { \ - _Workspace_Free((void *) (_the_message_queue)->message_buffers); \ - (_the_message_queue)->message_buffers = 0; \ - } \ - \ - _Objects_Free( \ - &_Message_queue_Information, \ - &(_the_message_queue)->Object \ - ); \ - } while ( 0 ) - + _Objects_Free( &_Message_queue_Information, &(_the_message_queue)->Object ) /*PAGE * -- cgit v1.2.3