RTEMS 4.10.2
Annotated Report
Tue Dec 13 16:41:30 2011

00100200 <_Barrier_Manager_initialization>:                           
#include <rtems/rtems/support.h>                                      
#include <rtems/score/object.h>                                       
#include <rtems/rtems/barrier.h>                                      
                                                                      
void _Barrier_Manager_initialization(void)                            
{                                                                     
  100200:	55                   	push   %ebp                           
  100201:	89 e5                	mov    %esp,%ebp                      
}                                                                     
  100203:	c9                   	leave                                 
  100204:	c3                   	ret                                   
                                                                      

00117a0c <_CORE_message_queue_Broadcast>: Objects_Id id __attribute__((unused)), CORE_message_queue_API_mp_support_callout api_message_queue_mp_support __attribute__((unused)), #endif uint32_t *count ) {
  117a0c:	55                   	push   %ebp                           
  117a0d:	89 e5                	mov    %esp,%ebp                      
  117a0f:	57                   	push   %edi                           
  117a10:	56                   	push   %esi                           
  117a11:	53                   	push   %ebx                           
  117a12:	83 ec 1c             	sub    $0x1c,%esp                     
  117a15:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
  117a18:	b8 01 00 00 00       	mov    $0x1,%eax                      
  117a1d:	8b 55 10             	mov    0x10(%ebp),%edx                
  117a20:	3b 53 4c             	cmp    0x4c(%ebx),%edx                
  117a23:	77 4c                	ja     117a71 <_CORE_message_queue_Broadcast+0x65><== NEVER TAKEN
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
  117a25:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
   *  NOTE: This check is critical because threads can block on       
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
  117a2c:	83 7b 48 00          	cmpl   $0x0,0x48(%ebx)                
  117a30:	74 23                	je     117a55 <_CORE_message_queue_Broadcast+0x49>
    *count = 0;                                                       
  117a32:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  117a35:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  117a3b:	eb 32                	jmp    117a6f <_CORE_message_queue_Broadcast+0x63>
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
  117a3d:	ff 45 e4             	incl   -0x1c(%ebp)                    
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  117a40:	8b 42 2c             	mov    0x2c(%edx),%eax                
  117a43:	89 c7                	mov    %eax,%edi                      
  117a45:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  117a48:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  117a4b:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
  117a4d:	8b 42 28             	mov    0x28(%edx),%eax                
  117a50:	8b 55 10             	mov    0x10(%ebp),%edx                
  117a53:	89 10                	mov    %edx,(%eax)                    
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
  117a55:	83 ec 0c             	sub    $0xc,%esp                      
  117a58:	53                   	push   %ebx                           
  117a59:	e8 b2 20 00 00       	call   119b10 <_Thread_queue_Dequeue> 
  117a5e:	89 c2                	mov    %eax,%edx                      
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
  117a60:	83 c4 10             	add    $0x10,%esp                     
  117a63:	85 c0                	test   %eax,%eax                      
  117a65:	75 d6                	jne    117a3d <_CORE_message_queue_Broadcast+0x31>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  117a67:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  117a6a:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  117a6d:	89 10                	mov    %edx,(%eax)                    
  117a6f:	31 c0                	xor    %eax,%eax                      
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
  117a71:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  117a74:	5b                   	pop    %ebx                           
  117a75:	5e                   	pop    %esi                           
  117a76:	5f                   	pop    %edi                           
  117a77:	c9                   	leave                                 
  117a78:	c3                   	ret                                   
                                                                      

00112894 <_CORE_message_queue_Initialize>: CORE_message_queue_Control *the_message_queue, CORE_message_queue_Attributes *the_message_queue_attributes, uint32_t maximum_pending_messages, size_t maximum_message_size ) {
  112894:	55                   	push   %ebp                           
  112895:	89 e5                	mov    %esp,%ebp                      
  112897:	57                   	push   %edi                           
  112898:	56                   	push   %esi                           
  112899:	53                   	push   %ebx                           
  11289a:	83 ec 0c             	sub    $0xc,%esp                      
  11289d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1128a0:	8b 75 10             	mov    0x10(%ebp),%esi                
  1128a3:	8b 55 14             	mov    0x14(%ebp),%edx                
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  1128a6:	89 73 44             	mov    %esi,0x44(%ebx)                
  the_message_queue->number_of_pending_messages = 0;                  
  1128a9:	c7 43 48 00 00 00 00 	movl   $0x0,0x48(%ebx)                
  the_message_queue->maximum_message_size       = maximum_message_size;
  1128b0:	89 53 4c             	mov    %edx,0x4c(%ebx)                
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
  1128b3:	89 d0                	mov    %edx,%eax                      
  1128b5:	f6 c2 03             	test   $0x3,%dl                       
  1128b8:	74 0a                	je     1128c4 <_CORE_message_queue_Initialize+0x30>
    allocated_message_size += sizeof(uint32_t);                       
  1128ba:	8d 42 04             	lea    0x4(%edx),%eax                 
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  1128bd:	83 e0 fc             	and    $0xfffffffc,%eax               
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
  1128c0:	39 d0                	cmp    %edx,%eax                      
  1128c2:	72 5f                	jb     112923 <_CORE_message_queue_Initialize+0x8f><== NEVER TAKEN
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
  1128c4:	8d 78 10             	lea    0x10(%eax),%edi                
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
  1128c7:	89 fa                	mov    %edi,%edx                      
  1128c9:	0f af d6             	imul   %esi,%edx                      
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
  1128cc:	39 c2                	cmp    %eax,%edx                      
  1128ce:	72 53                	jb     112923 <_CORE_message_queue_Initialize+0x8f><== NEVER TAKEN
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
  1128d0:	83 ec 0c             	sub    $0xc,%esp                      
  1128d3:	52                   	push   %edx                           
  1128d4:	e8 4f 25 00 00       	call   114e28 <_Workspace_Allocate>   
  1128d9:	89 43 5c             	mov    %eax,0x5c(%ebx)                
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
  1128dc:	83 c4 10             	add    $0x10,%esp                     
  1128df:	85 c0                	test   %eax,%eax                      
  1128e1:	74 40                	je     112923 <_CORE_message_queue_Initialize+0x8f>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
  1128e3:	57                   	push   %edi                           
  1128e4:	56                   	push   %esi                           
  1128e5:	50                   	push   %eax                           
  1128e6:	8d 43 60             	lea    0x60(%ebx),%eax                
  1128e9:	50                   	push   %eax                           
  1128ea:	e8 ed 4a 00 00       	call   1173dc <_Chain_Initialize>     
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  1128ef:	8d 43 54             	lea    0x54(%ebx),%eax                
  1128f2:	89 43 50             	mov    %eax,0x50(%ebx)                
  the_chain->permanent_null = NULL;                                   
  1128f5:	c7 43 54 00 00 00 00 	movl   $0x0,0x54(%ebx)                
  the_chain->last           = _Chain_Head(the_chain);                 
  1128fc:	8d 43 50             	lea    0x50(%ebx),%eax                
  1128ff:	89 43 58             	mov    %eax,0x58(%ebx)                
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
  112902:	6a 06                	push   $0x6                           
  112904:	68 80 00 00 00       	push   $0x80                          
  112909:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  11290c:	83 38 01             	cmpl   $0x1,(%eax)                    
  11290f:	0f 94 c0             	sete   %al                            
  112912:	0f b6 c0             	movzbl %al,%eax                       
  112915:	50                   	push   %eax                           
  112916:	53                   	push   %ebx                           
  112917:	e8 20 1c 00 00       	call   11453c <_Thread_queue_Initialize>
  11291c:	b0 01                	mov    $0x1,%al                       
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
  11291e:	83 c4 20             	add    $0x20,%esp                     
  112921:	eb 02                	jmp    112925 <_CORE_message_queue_Initialize+0x91>
  112923:	31 c0                	xor    %eax,%eax                      
}                                                                     
  112925:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112928:	5b                   	pop    %ebx                           
  112929:	5e                   	pop    %esi                           
  11292a:	5f                   	pop    %edi                           
  11292b:	c9                   	leave                                 
  11292c:	c3                   	ret                                   
                                                                      

00112930 <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
  112930:	55                   	push   %ebp                           
  112931:	89 e5                	mov    %esp,%ebp                      
  112933:	57                   	push   %edi                           
  112934:	56                   	push   %esi                           
  112935:	53                   	push   %ebx                           
  112936:	83 ec 2c             	sub    $0x2c,%esp                     
  112939:	8b 45 08             	mov    0x8(%ebp),%eax                 
  11293c:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  11293f:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  112942:	8b 55 10             	mov    0x10(%ebp),%edx                
  112945:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  112948:	8b 7d 14             	mov    0x14(%ebp),%edi                
  11294b:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  11294e:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  112951:	8a 55 18             	mov    0x18(%ebp),%dl                 
  112954:	88 55 db             	mov    %dl,-0x25(%ebp)                
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  112957:	8b 0d b4 d3 12 00    	mov    0x12d3b4,%ecx                  
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  11295d:	c7 41 34 00 00 00 00 	movl   $0x0,0x34(%ecx)                
  _ISR_Disable( level );                                              
  112964:	9c                   	pushf                                 
  112965:	fa                   	cli                                   
  112966:	8f 45 e4             	popl   -0x1c(%ebp)                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  112969:	8b 50 50             	mov    0x50(%eax),%edx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  11296c:	8d 58 54             	lea    0x54(%eax),%ebx                
  11296f:	39 da                	cmp    %ebx,%edx                      
  112971:	74 47                	je     1129ba <_CORE_message_queue_Seize+0x8a>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  112973:	8b 32                	mov    (%edx),%esi                    
  the_chain->first    = new_first;                                    
  112975:	89 70 50             	mov    %esi,0x50(%eax)                
  new_first->previous = _Chain_Head(the_chain);                       
  112978:	8d 58 50             	lea    0x50(%eax),%ebx                
  11297b:	89 5e 04             	mov    %ebx,0x4(%esi)                 
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
  11297e:	85 d2                	test   %edx,%edx                      
  112980:	74 38                	je     1129ba <_CORE_message_queue_Seize+0x8a><== NEVER TAKEN
    the_message_queue->number_of_pending_messages -= 1;               
  112982:	ff 48 48             	decl   0x48(%eax)                     
    _ISR_Enable( level );                                             
  112985:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  112988:	9d                   	popf                                  
                                                                      
    *size_p = the_message->Contents.size;                             
  112989:	8b 4a 08             	mov    0x8(%edx),%ecx                 
  11298c:	89 0f                	mov    %ecx,(%edi)                    
    _Thread_Executing->Wait.count =                                   
  11298e:	8b 0d b4 d3 12 00    	mov    0x12d3b4,%ecx                  
  112994:	c7 41 24 00 00 00 00 	movl   $0x0,0x24(%ecx)                
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  11299b:	8d 72 0c             	lea    0xc(%edx),%esi                 
  11299e:	8b 0f                	mov    (%edi),%ecx                    
  1129a0:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  1129a3:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
RTEMS_INLINE_ROUTINE void _CORE_message_queue_Free_message_buffer (   
  CORE_message_queue_Control        *the_message_queue,               
  CORE_message_queue_Buffer_control *the_message                      
)                                                                     
{                                                                     
  _Chain_Append( &the_message_queue->Inactive_messages, &the_message->Node );
  1129a5:	89 55 0c             	mov    %edx,0xc(%ebp)                 
  1129a8:	83 c0 60             	add    $0x60,%eax                     
  1129ab:	89 45 08             	mov    %eax,0x8(%ebp)                 
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
  1129ae:	83 c4 2c             	add    $0x2c,%esp                     
  1129b1:	5b                   	pop    %ebx                           
  1129b2:	5e                   	pop    %esi                           
  1129b3:	5f                   	pop    %edi                           
  1129b4:	c9                   	leave                                 
  1129b5:	e9 5a fe ff ff       	jmp    112814 <_Chain_Append>         
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
  1129ba:	80 7d db 00          	cmpb   $0x0,-0x25(%ebp)               
  1129be:	75 13                	jne    1129d3 <_CORE_message_queue_Seize+0xa3>
    _ISR_Enable( level );                                             
  1129c0:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1129c3:	9d                   	popf                                  
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
  1129c4:	c7 41 34 04 00 00 00 	movl   $0x4,0x34(%ecx)                
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
  1129cb:	83 c4 2c             	add    $0x2c,%esp                     
  1129ce:	5b                   	pop    %ebx                           
  1129cf:	5e                   	pop    %esi                           
  1129d0:	5f                   	pop    %edi                           
  1129d1:	c9                   	leave                                 
  1129d2:	c3                   	ret                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
  1129d3:	c7 40 30 01 00 00 00 	movl   $0x1,0x30(%eax)                
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
    return;                                                           
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
  1129da:	89 41 44             	mov    %eax,0x44(%ecx)                
  executing->Wait.id = id;                                            
  1129dd:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  1129e0:	89 51 20             	mov    %edx,0x20(%ecx)                
  executing->Wait.return_argument_second.mutable_object = buffer;     
  1129e3:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  1129e6:	89 51 2c             	mov    %edx,0x2c(%ecx)                
  executing->Wait.return_argument = size_p;                           
  1129e9:	89 79 28             	mov    %edi,0x28(%ecx)                
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
  1129ec:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1129ef:	9d                   	popf                                  
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
  1129f0:	c7 45 10 e0 45 11 00 	movl   $0x1145e0,0x10(%ebp)           
  1129f7:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  1129fa:	89 55 0c             	mov    %edx,0xc(%ebp)                 
  1129fd:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  112a00:	83 c4 2c             	add    $0x2c,%esp                     
  112a03:	5b                   	pop    %ebx                           
  112a04:	5e                   	pop    %esi                           
  112a05:	5f                   	pop    %edi                           
  112a06:	c9                   	leave                                 
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
  112a07:	e9 24 19 00 00       	jmp    114330 <_Thread_queue_Enqueue_with_handler>
                                                                      

0010afcd <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
  10afcd:	55                   	push   %ebp                           
  10afce:	89 e5                	mov    %esp,%ebp                      
  10afd0:	53                   	push   %ebx                           
  10afd1:	83 ec 14             	sub    $0x14,%esp                     
  10afd4:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10afd7:	8a 55 10             	mov    0x10(%ebp),%dl                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
  10afda:	a1 90 56 12 00       	mov    0x125690,%eax                  
  10afdf:	85 c0                	test   %eax,%eax                      
  10afe1:	74 19                	je     10affc <_CORE_mutex_Seize+0x2f>
  10afe3:	84 d2                	test   %dl,%dl                        
  10afe5:	74 15                	je     10affc <_CORE_mutex_Seize+0x2f><== NEVER TAKEN
  10afe7:	83 3d 28 58 12 00 01 	cmpl   $0x1,0x125828                  
  10afee:	76 0c                	jbe    10affc <_CORE_mutex_Seize+0x2f>
  10aff0:	53                   	push   %ebx                           
  10aff1:	6a 13                	push   $0x13                          
  10aff3:	6a 00                	push   $0x0                           
  10aff5:	6a 00                	push   $0x0                           
  10aff7:	e8 c4 05 00 00       	call   10b5c0 <_Internal_error_Occurred>
  10affc:	51                   	push   %ecx                           
  10affd:	51                   	push   %ecx                           
  10affe:	8d 45 18             	lea    0x18(%ebp),%eax                
  10b001:	50                   	push   %eax                           
  10b002:	53                   	push   %ebx                           
  10b003:	88 55 f4             	mov    %dl,-0xc(%ebp)                 
  10b006:	e8 79 47 00 00       	call   10f784 <_CORE_mutex_Seize_interrupt_trylock>
  10b00b:	83 c4 10             	add    $0x10,%esp                     
  10b00e:	85 c0                	test   %eax,%eax                      
  10b010:	8a 55 f4             	mov    -0xc(%ebp),%dl                 
  10b013:	74 48                	je     10b05d <_CORE_mutex_Seize+0x90>
  10b015:	84 d2                	test   %dl,%dl                        
  10b017:	75 12                	jne    10b02b <_CORE_mutex_Seize+0x5e>
  10b019:	ff 75 18             	pushl  0x18(%ebp)                     
  10b01c:	9d                   	popf                                  
  10b01d:	a1 4c 57 12 00       	mov    0x12574c,%eax                  
  10b022:	c7 40 34 01 00 00 00 	movl   $0x1,0x34(%eax)                
  10b029:	eb 32                	jmp    10b05d <_CORE_mutex_Seize+0x90>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
  10b02b:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
  10b032:	a1 4c 57 12 00       	mov    0x12574c,%eax                  
  10b037:	89 58 44             	mov    %ebx,0x44(%eax)                
  10b03a:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10b03d:	89 50 20             	mov    %edx,0x20(%eax)                
  10b040:	a1 90 56 12 00       	mov    0x125690,%eax                  
  10b045:	40                   	inc    %eax                           
  10b046:	a3 90 56 12 00       	mov    %eax,0x125690                  
  10b04b:	ff 75 18             	pushl  0x18(%ebp)                     
  10b04e:	9d                   	popf                                  
  10b04f:	50                   	push   %eax                           
  10b050:	50                   	push   %eax                           
  10b051:	ff 75 14             	pushl  0x14(%ebp)                     
  10b054:	53                   	push   %ebx                           
  10b055:	e8 26 ff ff ff       	call   10af80 <_CORE_mutex_Seize_interrupt_blocking>
  10b05a:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10b05d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b060:	c9                   	leave                                 
  10b061:	c3                   	ret                                   
                                                                      

0010f784 <_CORE_mutex_Seize_interrupt_trylock>: #if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__) int _CORE_mutex_Seize_interrupt_trylock( CORE_mutex_Control *the_mutex, ISR_Level *level_p ) {
  10f784:	55                   	push   %ebp                           
  10f785:	89 e5                	mov    %esp,%ebp                      
  10f787:	53                   	push   %ebx                           
  10f788:	83 ec 04             	sub    $0x4,%esp                      
  10f78b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10f78e:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  10f791:	8b 15 4c 57 12 00    	mov    0x12574c,%edx                  
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  10f797:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
  10f79e:	83 78 50 00          	cmpl   $0x0,0x50(%eax)                
  10f7a2:	74 7a                	je     10f81e <_CORE_mutex_Seize_interrupt_trylock+0x9a>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
  10f7a4:	c7 40 50 00 00 00 00 	movl   $0x0,0x50(%eax)                
    the_mutex->holder     = executing;                                
  10f7ab:	89 50 5c             	mov    %edx,0x5c(%eax)                
    the_mutex->holder_id  = executing->Object.id;                     
  10f7ae:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  10f7b1:	89 58 60             	mov    %ebx,0x60(%eax)                
    the_mutex->nest_count = 1;                                        
  10f7b4:	c7 40 54 01 00 00 00 	movl   $0x1,0x54(%eax)                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority(            
  CORE_mutex_Attributes *the_attribute                                
)                                                                     
{                                                                     
  return the_attribute->discipline == CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
  10f7bb:	8b 58 48             	mov    0x48(%eax),%ebx                
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
    the_mutex->nest_count = 1;                                        
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
  10f7be:	83 fb 02             	cmp    $0x2,%ebx                      
  10f7c1:	74 05                	je     10f7c8 <_CORE_mutex_Seize_interrupt_trylock+0x44>
  10f7c3:	83 fb 03             	cmp    $0x3,%ebx                      
  10f7c6:	75 75                	jne    10f83d <_CORE_mutex_Seize_interrupt_trylock+0xb9>
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
  10f7c8:	ff 42 1c             	incl   0x1c(%edx)                     
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
  10f7cb:	83 fb 03             	cmp    $0x3,%ebx                      
  10f7ce:	75 6d                	jne    10f83d <_CORE_mutex_Seize_interrupt_trylock+0xb9>
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
  10f7d0:	8b 5a 14             	mov    0x14(%edx),%ebx                
      if ( current == ceiling ) {                                     
  10f7d3:	3b 58 4c             	cmp    0x4c(%eax),%ebx                
  10f7d6:	74 65                	je     10f83d <_CORE_mutex_Seize_interrupt_trylock+0xb9>
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
  10f7d8:	76 2a                	jbe    10f804 <_CORE_mutex_Seize_interrupt_trylock+0x80>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10f7da:	8b 15 90 56 12 00    	mov    0x125690,%edx                  
  10f7e0:	42                   	inc    %edx                           
  10f7e1:	89 15 90 56 12 00    	mov    %edx,0x125690                  
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
  10f7e7:	ff 31                	pushl  (%ecx)                         
  10f7e9:	9d                   	popf                                  
        _Thread_Change_priority(                                      
  10f7ea:	52                   	push   %edx                           
  10f7eb:	6a 00                	push   $0x0                           
  10f7ed:	ff 70 4c             	pushl  0x4c(%eax)                     
  10f7f0:	ff 70 5c             	pushl  0x5c(%eax)                     
  10f7f3:	e8 9c c5 ff ff       	call   10bd94 <_Thread_Change_priority>
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
  10f7f8:	e8 34 ca ff ff       	call   10c231 <_Thread_Enable_dispatch>
  10f7fd:	31 c0                	xor    %eax,%eax                      
  10f7ff:	83 c4 10             	add    $0x10,%esp                     
  10f802:	eb 45                	jmp    10f849 <_CORE_mutex_Seize_interrupt_trylock+0xc5>
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
  10f804:	c7 42 34 06 00 00 00 	movl   $0x6,0x34(%edx)                
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
  10f80b:	c7 40 50 01 00 00 00 	movl   $0x1,0x50(%eax)                
        the_mutex->nest_count = 0;     /* undo locking above */       
  10f812:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
        executing->resource_count--;   /* undo locking above */       
  10f819:	ff 4a 1c             	decl   0x1c(%edx)                     
  10f81c:	eb 1f                	jmp    10f83d <_CORE_mutex_Seize_interrupt_trylock+0xb9>
  /*                                                                  
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
  10f81e:	8b 58 5c             	mov    0x5c(%eax),%ebx                
  10f821:	39 d3                	cmp    %edx,%ebx                      
  10f823:	75 1f                	jne    10f844 <_CORE_mutex_Seize_interrupt_trylock+0xc0>
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
  10f825:	8b 50 40             	mov    0x40(%eax),%edx                
  10f828:	85 d2                	test   %edx,%edx                      
  10f82a:	74 05                	je     10f831 <_CORE_mutex_Seize_interrupt_trylock+0xad>
  10f82c:	4a                   	dec    %edx                           
  10f82d:	75 15                	jne    10f844 <_CORE_mutex_Seize_interrupt_trylock+0xc0><== ALWAYS TAKEN
  10f82f:	eb 05                	jmp    10f836 <_CORE_mutex_Seize_interrupt_trylock+0xb2><== NOT EXECUTED
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
  10f831:	ff 40 54             	incl   0x54(%eax)                     
  10f834:	eb 07                	jmp    10f83d <_CORE_mutex_Seize_interrupt_trylock+0xb9>
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
  10f836:	c7 43 34 02 00 00 00 	movl   $0x2,0x34(%ebx)                <== NOT EXECUTED
        _ISR_Enable( *level_p );                                      
  10f83d:	ff 31                	pushl  (%ecx)                         
  10f83f:	9d                   	popf                                  
  10f840:	31 c0                	xor    %eax,%eax                      
  10f842:	eb 05                	jmp    10f849 <_CORE_mutex_Seize_interrupt_trylock+0xc5>
  10f844:	b8 01 00 00 00       	mov    $0x1,%eax                      
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
  10f849:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f84c:	c9                   	leave                                 
  10f84d:	c3                   	ret                                   
                                                                      

0010b190 <_CORE_semaphore_Surrender>: CORE_semaphore_Status _CORE_semaphore_Surrender( CORE_semaphore_Control *the_semaphore, Objects_Id id, CORE_semaphore_API_mp_support_callout api_semaphore_mp_support ) {
  10b190:	55                   	push   %ebp                           
  10b191:	89 e5                	mov    %esp,%ebp                      
  10b193:	53                   	push   %ebx                           
  10b194:	83 ec 10             	sub    $0x10,%esp                     
  10b197:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
  10b19a:	53                   	push   %ebx                           
  10b19b:	e8 18 14 00 00       	call   10c5b8 <_Thread_queue_Dequeue> 
  10b1a0:	89 c2                	mov    %eax,%edx                      
  10b1a2:	83 c4 10             	add    $0x10,%esp                     
  10b1a5:	31 c0                	xor    %eax,%eax                      
  10b1a7:	85 d2                	test   %edx,%edx                      
  10b1a9:	75 15                	jne    10b1c0 <_CORE_semaphore_Surrender+0x30>
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
  10b1ab:	9c                   	pushf                                 
  10b1ac:	fa                   	cli                                   
  10b1ad:	59                   	pop    %ecx                           
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
  10b1ae:	8b 53 48             	mov    0x48(%ebx),%edx                
  10b1b1:	b0 04                	mov    $0x4,%al                       
  10b1b3:	3b 53 40             	cmp    0x40(%ebx),%edx                
  10b1b6:	73 06                	jae    10b1be <_CORE_semaphore_Surrender+0x2e><== NEVER TAKEN
        the_semaphore->count += 1;                                    
  10b1b8:	42                   	inc    %edx                           
  10b1b9:	89 53 48             	mov    %edx,0x48(%ebx)                
  10b1bc:	30 c0                	xor    %al,%al                        
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  10b1be:	51                   	push   %ecx                           
  10b1bf:	9d                   	popf                                  
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
  10b1c0:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b1c3:	c9                   	leave                                 
  10b1c4:	c3                   	ret                                   
                                                                      

00100208 <_Dual_ported_memory_Manager_initialization>: #include <rtems/rtems/status.h> #include <rtems/rtems/types.h> #include <rtems/rtems/dpmem.h> void _Dual_ported_memory_Manager_initialization(void) {
  100208:	55                   	push   %ebp                           
  100209:	89 e5                	mov    %esp,%ebp                      
}                                                                     
  10020b:	c9                   	leave                                 
  10020c:	c3                   	ret                                   
                                                                      

00100210 <_Event_Manager_initialization>: #include <rtems/score/states.h> #include <rtems/score/thread.h> #include <rtems/score/interr.h> void _Event_Manager_initialization(void) {
  100210:	55                   	push   %ebp                           
  100211:	89 e5                	mov    %esp,%ebp                      
}                                                                     
  100213:	c9                   	leave                                 
  100214:	c3                   	ret                                   
                                                                      

0010a088 <_Event_Seize>: rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out ) {
  10a088:	55                   	push   %ebp                           
  10a089:	89 e5                	mov    %esp,%ebp                      
  10a08b:	57                   	push   %edi                           
  10a08c:	56                   	push   %esi                           
  10a08d:	53                   	push   %ebx                           
  10a08e:	83 ec 1c             	sub    $0x1c,%esp                     
  10a091:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10a094:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10a097:	8b 55 10             	mov    0x10(%ebp),%edx                
  10a09a:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10a09d:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
  10a0a0:	8b 1d 4c 57 12 00    	mov    0x12574c,%ebx                  
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
  10a0a6:	c7 43 34 00 00 00 00 	movl   $0x0,0x34(%ebx)                
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  10a0ad:	8b bb f0 00 00 00    	mov    0xf0(%ebx),%edi                
                                                                      
  _ISR_Disable( level );                                              
  10a0b3:	9c                   	pushf                                 
  10a0b4:	fa                   	cli                                   
  10a0b5:	8f 45 e4             	popl   -0x1c(%ebp)                    
  pending_events = api->pending_events;                               
  10a0b8:	8b 17                	mov    (%edi),%edx                    
  10a0ba:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
  10a0bd:	21 c2                	and    %eax,%edx                      
  10a0bf:	74 1b                	je     10a0dc <_Event_Seize+0x54>     
  10a0c1:	39 c2                	cmp    %eax,%edx                      
  10a0c3:	74 08                	je     10a0cd <_Event_Seize+0x45>     
  10a0c5:	f7 c6 02 00 00 00    	test   $0x2,%esi                      
  10a0cb:	74 0f                	je     10a0dc <_Event_Seize+0x54>     <== NEVER TAKEN
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
    api->pending_events =                                             
  10a0cd:	89 d0                	mov    %edx,%eax                      
  10a0cf:	f7 d0                	not    %eax                           
  10a0d1:	23 45 e0             	and    -0x20(%ebp),%eax               
  10a0d4:	89 07                	mov    %eax,(%edi)                    
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
  10a0d6:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10a0d9:	9d                   	popf                                  
  10a0da:	eb 13                	jmp    10a0ef <_Event_Seize+0x67>     
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
  10a0dc:	f7 c6 01 00 00 00    	test   $0x1,%esi                      
  10a0e2:	74 12                	je     10a0f6 <_Event_Seize+0x6e>     
    _ISR_Enable( level );                                             
  10a0e4:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10a0e7:	9d                   	popf                                  
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
  10a0e8:	c7 43 34 0d 00 00 00 	movl   $0xd,0x34(%ebx)                
    *event_out = seized_events;                                       
  10a0ef:	89 11                	mov    %edx,(%ecx)                    
    return;                                                           
  10a0f1:	e9 91 00 00 00       	jmp    10a187 <_Event_Seize+0xff>     
   *  set properly when we are marked as in the event critical section.
   *                                                                  
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
  10a0f6:	89 73 30             	mov    %esi,0x30(%ebx)                
  executing->Wait.count             = (uint32_t) event_in;            
  10a0f9:	89 43 24             	mov    %eax,0x24(%ebx)                
  executing->Wait.return_argument   = event_out;                      
  10a0fc:	89 4b 28             	mov    %ecx,0x28(%ebx)                
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
  10a0ff:	c7 05 24 59 12 00 01 	movl   $0x1,0x125924                  
  10a106:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10a109:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10a10c:	9d                   	popf                                  
                                                                      
  if ( ticks ) {                                                      
  10a10d:	83 7d dc 00          	cmpl   $0x0,-0x24(%ebp)               
  10a111:	74 34                	je     10a147 <_Event_Seize+0xbf>     
    _Watchdog_Initialize(                                             
  10a113:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10a116:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10a11d:	c7 43 64 c0 a2 10 00 	movl   $0x10a2c0,0x64(%ebx)           
  the_watchdog->id        = id;                                       
  10a124:	89 43 68             	mov    %eax,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10a127:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10a12e:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10a131:	89 43 54             	mov    %eax,0x54(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10a134:	52                   	push   %edx                           
  10a135:	52                   	push   %edx                           
  10a136:	8d 43 48             	lea    0x48(%ebx),%eax                
  10a139:	50                   	push   %eax                           
  10a13a:	68 6c 57 12 00       	push   $0x12576c                      
  10a13f:	e8 60 2e 00 00       	call   10cfa4 <_Watchdog_Insert>      
  10a144:	83 c4 10             	add    $0x10,%esp                     
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
  10a147:	50                   	push   %eax                           
  10a148:	50                   	push   %eax                           
  10a149:	68 00 01 00 00       	push   $0x100                         
  10a14e:	53                   	push   %ebx                           
  10a14f:	e8 b4 28 00 00       	call   10ca08 <_Thread_Set_state>     
                                                                      
  _ISR_Disable( level );                                              
  10a154:	9c                   	pushf                                 
  10a155:	fa                   	cli                                   
  10a156:	5a                   	pop    %edx                           
                                                                      
  sync_state = _Event_Sync_state;                                     
  10a157:	a1 24 59 12 00       	mov    0x125924,%eax                  
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  10a15c:	c7 05 24 59 12 00 00 	movl   $0x0,0x125924                  
  10a163:	00 00 00                                                    
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
  10a166:	83 c4 10             	add    $0x10,%esp                     
  10a169:	83 f8 01             	cmp    $0x1,%eax                      
  10a16c:	75 04                	jne    10a172 <_Event_Seize+0xea>     
    _ISR_Enable( level );                                             
  10a16e:	52                   	push   %edx                           
  10a16f:	9d                   	popf                                  
  10a170:	eb 15                	jmp    10a187 <_Event_Seize+0xff>     
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
  10a172:	89 55 10             	mov    %edx,0x10(%ebp)                
  10a175:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10a178:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  10a17b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a17e:	5b                   	pop    %ebx                           
  10a17f:	5e                   	pop    %esi                           
  10a180:	5f                   	pop    %edi                           
  10a181:	c9                   	leave                                 
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
  10a182:	e9 c1 1b 00 00       	jmp    10bd48 <_Thread_blocking_operation_Cancel>
}                                                                     
  10a187:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a18a:	5b                   	pop    %ebx                           
  10a18b:	5e                   	pop    %esi                           
  10a18c:	5f                   	pop    %edi                           
  10a18d:	c9                   	leave                                 
  10a18e:	c3                   	ret                                   
                                                                      

0010a1dc <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
  10a1dc:	55                   	push   %ebp                           
  10a1dd:	89 e5                	mov    %esp,%ebp                      
  10a1df:	57                   	push   %edi                           
  10a1e0:	56                   	push   %esi                           
  10a1e1:	53                   	push   %ebx                           
  10a1e2:	83 ec 2c             	sub    $0x2c,%esp                     
  10a1e5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_event_set     event_condition;                                
  rtems_event_set     seized_events;                                  
  rtems_option        option_set;                                     
  RTEMS_API_Control  *api;                                            
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
  10a1e8:	8b bb f0 00 00 00    	mov    0xf0(%ebx),%edi                
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
  10a1ee:	8b 43 30             	mov    0x30(%ebx),%eax                
  10a1f1:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  10a1f4:	9c                   	pushf                                 
  10a1f5:	fa                   	cli                                   
  10a1f6:	58                   	pop    %eax                           
  pending_events  = api->pending_events;                              
  10a1f7:	8b 17                	mov    (%edi),%edx                    
  10a1f9:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
  10a1fc:	8b 73 24             	mov    0x24(%ebx),%esi                
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
  10a1ff:	21 f2                	and    %esi,%edx                      
  10a201:	0f 84 ac 00 00 00    	je     10a2b3 <_Event_Surrender+0xd7> 
                                                                      
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
  10a207:	8b 0d 28 57 12 00    	mov    0x125728,%ecx                  
  10a20d:	85 c9                	test   %ecx,%ecx                      
  10a20f:	74 47                	je     10a258 <_Event_Surrender+0x7c> 
  10a211:	3b 1d 4c 57 12 00    	cmp    0x12574c,%ebx                  
  10a217:	75 3f                	jne    10a258 <_Event_Surrender+0x7c> 
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
  10a219:	8b 0d 24 59 12 00    	mov    0x125924,%ecx                  
                                                                      
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
  10a21f:	83 f9 02             	cmp    $0x2,%ecx                      
  10a222:	74 09                	je     10a22d <_Event_Surrender+0x51> <== NEVER TAKEN
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
  10a224:	8b 0d 24 59 12 00    	mov    0x125924,%ecx                  
                                                                      
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
  10a22a:	49                   	dec    %ecx                           
  10a22b:	75 2b                	jne    10a258 <_Event_Surrender+0x7c> 
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
  10a22d:	39 f2                	cmp    %esi,%edx                      
  10a22f:	74 06                	je     10a237 <_Event_Surrender+0x5b> 
  10a231:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  10a235:	74 7c                	je     10a2b3 <_Event_Surrender+0xd7> <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
  10a237:	89 d6                	mov    %edx,%esi                      
  10a239:	f7 d6                	not    %esi                           
  10a23b:	23 75 d4             	and    -0x2c(%ebp),%esi               
  10a23e:	89 37                	mov    %esi,(%edi)                    
      the_thread->Wait.count = 0;                                     
  10a240:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  10a247:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  10a24a:	89 11                	mov    %edx,(%ecx)                    
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
  10a24c:	c7 05 24 59 12 00 03 	movl   $0x3,0x125924                  
  10a253:	00 00 00                                                    
  10a256:	eb 5b                	jmp    10a2b3 <_Event_Surrender+0xd7> 
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
  10a258:	f6 43 11 01          	testb  $0x1,0x11(%ebx)                
  10a25c:	74 55                	je     10a2b3 <_Event_Surrender+0xd7> 
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
  10a25e:	39 f2                	cmp    %esi,%edx                      
  10a260:	74 06                	je     10a268 <_Event_Surrender+0x8c> 
  10a262:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  10a266:	74 4b                	je     10a2b3 <_Event_Surrender+0xd7> <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
  10a268:	89 d6                	mov    %edx,%esi                      
  10a26a:	f7 d6                	not    %esi                           
  10a26c:	23 75 d4             	and    -0x2c(%ebp),%esi               
  10a26f:	89 37                	mov    %esi,(%edi)                    
      the_thread->Wait.count = 0;                                     
  10a271:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  10a278:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  10a27b:	89 11                	mov    %edx,(%ecx)                    
                                                                      
      _ISR_Flash( level );                                            
  10a27d:	50                   	push   %eax                           
  10a27e:	9d                   	popf                                  
  10a27f:	fa                   	cli                                   
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
  10a280:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  10a284:	74 06                	je     10a28c <_Event_Surrender+0xb0> 
        _ISR_Enable( level );                                         
  10a286:	50                   	push   %eax                           
  10a287:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10a288:	51                   	push   %ecx                           
  10a289:	51                   	push   %ecx                           
  10a28a:	eb 17                	jmp    10a2a3 <_Event_Surrender+0xc7> 
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
  10a28c:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
  10a293:	50                   	push   %eax                           
  10a294:	9d                   	popf                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
  10a295:	83 ec 0c             	sub    $0xc,%esp                      
  10a298:	8d 43 48             	lea    0x48(%ebx),%eax                
  10a29b:	50                   	push   %eax                           
  10a29c:	e8 17 2e 00 00       	call   10d0b8 <_Watchdog_Remove>      
  10a2a1:	58                   	pop    %eax                           
  10a2a2:	5a                   	pop    %edx                           
  10a2a3:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10a2a8:	53                   	push   %ebx                           
  10a2a9:	e8 06 1c 00 00       	call   10beb4 <_Thread_Clear_state>   
  10a2ae:	83 c4 10             	add    $0x10,%esp                     
  10a2b1:	eb 02                	jmp    10a2b5 <_Event_Surrender+0xd9> 
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
  10a2b3:	50                   	push   %eax                           
  10a2b4:	9d                   	popf                                  
}                                                                     
  10a2b5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a2b8:	5b                   	pop    %ebx                           
  10a2b9:	5e                   	pop    %esi                           
  10a2ba:	5f                   	pop    %edi                           
  10a2bb:	c9                   	leave                                 
  10a2bc:	c3                   	ret                                   
                                                                      

0010a2c0 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
  10a2c0:	55                   	push   %ebp                           
  10a2c1:	89 e5                	mov    %esp,%ebp                      
  10a2c3:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10a2c6:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10a2c9:	50                   	push   %eax                           
  10a2ca:	ff 75 08             	pushl  0x8(%ebp)                      
  10a2cd:	e8 82 1f 00 00       	call   10c254 <_Thread_Get>           
  switch ( location ) {                                               
  10a2d2:	83 c4 10             	add    $0x10,%esp                     
  10a2d5:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10a2d9:	75 49                	jne    10a324 <_Event_Timeout+0x64>   <== NEVER TAKEN
       *                                                              
       *  If it is not satisfied, then it is "nothing happened" and   
       *  this is the "timeout" transition.  After a request is satisfied,
       *  a timeout is not allowed to occur.                          
       */                                                             
      _ISR_Disable( level );                                          
  10a2db:	9c                   	pushf                                 
  10a2dc:	fa                   	cli                                   
  10a2dd:	5a                   	pop    %edx                           
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
  10a2de:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
        if ( _Thread_Is_executing( the_thread ) ) {                   
  10a2e5:	3b 05 4c 57 12 00    	cmp    0x12574c,%eax                  
  10a2eb:	75 13                	jne    10a300 <_Event_Timeout+0x40>   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
  10a2ed:	8b 0d 24 59 12 00    	mov    0x125924,%ecx                  
  10a2f3:	49                   	dec    %ecx                           
  10a2f4:	75 0a                	jne    10a300 <_Event_Timeout+0x40>   <== ALWAYS TAKEN
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
  10a2f6:	c7 05 24 59 12 00 02 	movl   $0x2,0x125924                  <== NOT EXECUTED
  10a2fd:	00 00 00                                                    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
  10a300:	c7 40 34 06 00 00 00 	movl   $0x6,0x34(%eax)                
      _ISR_Enable( level );                                           
  10a307:	52                   	push   %edx                           
  10a308:	9d                   	popf                                  
  10a309:	52                   	push   %edx                           
  10a30a:	52                   	push   %edx                           
  10a30b:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10a310:	50                   	push   %eax                           
  10a311:	e8 9e 1b 00 00       	call   10beb4 <_Thread_Clear_state>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10a316:	a1 90 56 12 00       	mov    0x125690,%eax                  
  10a31b:	48                   	dec    %eax                           
  10a31c:	a3 90 56 12 00       	mov    %eax,0x125690                  
  10a321:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  10a324:	c9                   	leave                                 
  10a325:	c3                   	ret                                   
                                                                      

00100248 <_Extension_Manager_initialization>: #include <rtems/score/thread.h> #include <rtems/extension.h> #include <rtems/score/interr.h> void _Extension_Manager_initialization(void) {
  100248:	55                   	push   %ebp                           
  100249:	89 e5                	mov    %esp,%ebp                      
}                                                                     
  10024b:	c9                   	leave                                 
  10024c:	c3                   	ret                                   
                                                                      

0010f8ac <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
  10f8ac:	55                   	push   %ebp                           
  10f8ad:	89 e5                	mov    %esp,%ebp                      
  10f8af:	57                   	push   %edi                           
  10f8b0:	56                   	push   %esi                           
  10f8b1:	53                   	push   %ebx                           
  10f8b2:	83 ec 2c             	sub    $0x2c,%esp                     
  10f8b5:	8b 75 08             	mov    0x8(%ebp),%esi                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
  10f8b8:	8b 4e 08             	mov    0x8(%esi),%ecx                 
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  10f8bb:	8b 46 10             	mov    0x10(%esi),%eax                
  10f8be:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
  10f8c1:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f8c4:	83 c0 04             	add    $0x4,%eax                      
  10f8c7:	89 45 cc             	mov    %eax,-0x34(%ebp)               
  10f8ca:	0f 82 2f 01 00 00    	jb     10f9ff <_Heap_Allocate_aligned_with_boundary+0x153>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
  10f8d0:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10f8d4:	74 18                	je     10f8ee <_Heap_Allocate_aligned_with_boundary+0x42>
    if ( boundary < alloc_size ) {                                    
  10f8d6:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f8d9:	39 45 14             	cmp    %eax,0x14(%ebp)                
  10f8dc:	0f 82 1d 01 00 00    	jb     10f9ff <_Heap_Allocate_aligned_with_boundary+0x153>
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
  10f8e2:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10f8e6:	75 06                	jne    10f8ee <_Heap_Allocate_aligned_with_boundary+0x42>
  10f8e8:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10f8eb:	89 45 10             	mov    %eax,0x10(%ebp)                
  10f8ee:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
  10f8f5:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10f8f8:	83 c0 07             	add    $0x7,%eax                      
  10f8fb:	89 45 c8             	mov    %eax,-0x38(%ebp)               
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
  10f8fe:	c7 45 d8 04 00 00 00 	movl   $0x4,-0x28(%ebp)               
  10f905:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f908:	29 45 d8             	sub    %eax,-0x28(%ebp)               
  10f90b:	89 f7                	mov    %esi,%edi                      
  10f90d:	e9 ba 00 00 00       	jmp    10f9cc <_Heap_Allocate_aligned_with_boundary+0x120>
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
  10f912:	ff 45 e4             	incl   -0x1c(%ebp)                    
    /*                                                                
     * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
     * field.  Thus the value is about one unit larger than the real block
     * size.  The greater than operator takes this into account.      
     */                                                               
    if ( block->size_and_flag > block_size_floor ) {                  
  10f915:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  10f918:	3b 5d cc             	cmp    -0x34(%ebp),%ebx               
  10f91b:	0f 86 a8 00 00 00    	jbe    10f9c9 <_Heap_Allocate_aligned_with_boundary+0x11d>
      if ( alignment == 0 ) {                                         
  10f921:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10f925:	8d 41 08             	lea    0x8(%ecx),%eax                 
  10f928:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  10f92b:	75 07                	jne    10f934 <_Heap_Allocate_aligned_with_boundary+0x88>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10f92d:	89 c3                	mov    %eax,%ebx                      
  10f92f:	e9 91 00 00 00       	jmp    10f9c5 <_Heap_Allocate_aligned_with_boundary+0x119>
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  10f934:	8b 47 14             	mov    0x14(%edi),%eax                
  10f937:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
  10f93a:	83 e3 fe             	and    $0xfffffffe,%ebx               
  10f93d:	8d 1c 19             	lea    (%ecx,%ebx,1),%ebx             
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
  10f940:	8b 75 c8             	mov    -0x38(%ebp),%esi               
  10f943:	29 c6                	sub    %eax,%esi                      
  10f945:	01 de                	add    %ebx,%esi                      
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
  10f947:	03 5d d8             	add    -0x28(%ebp),%ebx               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10f94a:	89 d8                	mov    %ebx,%eax                      
  10f94c:	31 d2                	xor    %edx,%edx                      
  10f94e:	f7 75 10             	divl   0x10(%ebp)                     
  10f951:	29 d3                	sub    %edx,%ebx                      
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
  10f953:	39 f3                	cmp    %esi,%ebx                      
  10f955:	76 0b                	jbe    10f962 <_Heap_Allocate_aligned_with_boundary+0xb6>
  10f957:	89 f0                	mov    %esi,%eax                      
  10f959:	31 d2                	xor    %edx,%edx                      
  10f95b:	f7 75 10             	divl   0x10(%ebp)                     
  10f95e:	89 f3                	mov    %esi,%ebx                      
  10f960:	29 d3                	sub    %edx,%ebx                      
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
  10f962:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10f966:	74 3f                	je     10f9a7 <_Heap_Allocate_aligned_with_boundary+0xfb>
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
    alloc_begin = _Heap_Align_down( alloc_begin_ceiling, alignment ); 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
  10f968:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f96b:	8d 34 03             	lea    (%ebx,%eax,1),%esi             
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
  10f96e:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10f971:	03 45 0c             	add    0xc(%ebp),%eax                 
  10f974:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  10f977:	eb 19                	jmp    10f992 <_Heap_Allocate_aligned_with_boundary+0xe6>
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
  10f979:	3b 55 d0             	cmp    -0x30(%ebp),%edx               
  10f97c:	72 4b                	jb     10f9c9 <_Heap_Allocate_aligned_with_boundary+0x11d>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
  10f97e:	89 d3                	mov    %edx,%ebx                      
  10f980:	2b 5d 0c             	sub    0xc(%ebp),%ebx                 
  10f983:	89 d8                	mov    %ebx,%eax                      
  10f985:	31 d2                	xor    %edx,%edx                      
  10f987:	f7 75 10             	divl   0x10(%ebp)                     
  10f98a:	29 d3                	sub    %edx,%ebx                      
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
  10f98c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f98f:	8d 34 03             	lea    (%ebx,%eax,1),%esi             
  10f992:	89 f0                	mov    %esi,%eax                      
  10f994:	31 d2                	xor    %edx,%edx                      
  10f996:	f7 75 14             	divl   0x14(%ebp)                     
  10f999:	89 f0                	mov    %esi,%eax                      
  10f99b:	29 d0                	sub    %edx,%eax                      
  10f99d:	89 c2                	mov    %eax,%edx                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
  10f99f:	39 f0                	cmp    %esi,%eax                      
  10f9a1:	73 04                	jae    10f9a7 <_Heap_Allocate_aligned_with_boundary+0xfb>
  10f9a3:	39 c3                	cmp    %eax,%ebx                      
  10f9a5:	72 d2                	jb     10f979 <_Heap_Allocate_aligned_with_boundary+0xcd>
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
  10f9a7:	3b 5d dc             	cmp    -0x24(%ebp),%ebx               
  10f9aa:	72 1d                	jb     10f9c9 <_Heap_Allocate_aligned_with_boundary+0x11d>
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
  10f9ac:	be f8 ff ff ff       	mov    $0xfffffff8,%esi               
  10f9b1:	29 ce                	sub    %ecx,%esi                      
  10f9b3:	01 de                	add    %ebx,%esi                      
  10f9b5:	89 d8                	mov    %ebx,%eax                      
  10f9b7:	31 d2                	xor    %edx,%edx                      
  10f9b9:	f7 75 e0             	divl   -0x20(%ebp)                    
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
  10f9bc:	29 d6                	sub    %edx,%esi                      
  10f9be:	74 05                	je     10f9c5 <_Heap_Allocate_aligned_with_boundary+0x119>
  10f9c0:	3b 75 d4             	cmp    -0x2c(%ebp),%esi               
  10f9c3:	72 04                	jb     10f9c9 <_Heap_Allocate_aligned_with_boundary+0x11d>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
  10f9c5:	85 db                	test   %ebx,%ebx                      
  10f9c7:	75 11                	jne    10f9da <_Heap_Allocate_aligned_with_boundary+0x12e><== ALWAYS TAKEN
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
  10f9c9:	8b 49 08             	mov    0x8(%ecx),%ecx                 
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
  10f9cc:	39 f9                	cmp    %edi,%ecx                      
  10f9ce:	0f 85 3e ff ff ff    	jne    10f912 <_Heap_Allocate_aligned_with_boundary+0x66>
  10f9d4:	89 fe                	mov    %edi,%esi                      
  10f9d6:	31 db                	xor    %ebx,%ebx                      
  10f9d8:	eb 16                	jmp    10f9f0 <_Heap_Allocate_aligned_with_boundary+0x144>
  10f9da:	89 fe                	mov    %edi,%esi                      
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
  10f9dc:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f9df:	01 47 4c             	add    %eax,0x4c(%edi)                
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
  10f9e2:	ff 75 0c             	pushl  0xc(%ebp)                      
  10f9e5:	53                   	push   %ebx                           
  10f9e6:	51                   	push   %ecx                           
  10f9e7:	57                   	push   %edi                           
  10f9e8:	e8 f7 ba ff ff       	call   10b4e4 <_Heap_Block_allocate>  
  10f9ed:	83 c4 10             	add    $0x10,%esp                     
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  10f9f0:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f9f3:	39 46 44             	cmp    %eax,0x44(%esi)                
  10f9f6:	73 03                	jae    10f9fb <_Heap_Allocate_aligned_with_boundary+0x14f>
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  10f9f8:	89 46 44             	mov    %eax,0x44(%esi)                
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
  10f9fb:	89 d8                	mov    %ebx,%eax                      
  10f9fd:	eb 02                	jmp    10fa01 <_Heap_Allocate_aligned_with_boundary+0x155>
  10f9ff:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10fa01:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fa04:	5b                   	pop    %ebx                           
  10fa05:	5e                   	pop    %esi                           
  10fa06:	5f                   	pop    %edi                           
  10fa07:	c9                   	leave                                 
  10fa08:	c3                   	ret                                   
                                                                      

00112d04 <_Heap_Extend>: Heap_Control *heap, void *area_begin_ptr, uintptr_t area_size, uintptr_t *amount_extended ) {
  112d04:	55                   	push   %ebp                           
  112d05:	89 e5                	mov    %esp,%ebp                      
  112d07:	56                   	push   %esi                           
  112d08:	53                   	push   %ebx                           
  112d09:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  112d0c:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  112d0f:	8b 71 1c             	mov    0x1c(%ecx),%esi                
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
  uintptr_t extend_size = 0;                                          
  Heap_Block *const last_block = heap->last_block;                    
  112d12:	8b 59 24             	mov    0x24(%ecx),%ebx                
   *    5. non-contiguous higher address    (NOT SUPPORTED)           
   *                                                                  
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
  112d15:	39 f2                	cmp    %esi,%edx                      
  112d17:	73 0a                	jae    112d23 <_Heap_Extend+0x1f>     
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  112d19:	b8 01 00 00 00       	mov    $0x1,%eax                      
  112d1e:	3b 51 18             	cmp    0x18(%ecx),%edx                
  112d21:	73 5f                	jae    112d82 <_Heap_Extend+0x7e>     
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
    return HEAP_EXTEND_ERROR; /* case 3 */                            
  } else if ( area_begin != heap_area_end ) {                         
  112d23:	b8 02 00 00 00       	mov    $0x2,%eax                      
  112d28:	39 f2                	cmp    %esi,%edx                      
  112d2a:	75 56                	jne    112d82 <_Heap_Extend+0x7e>     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
  112d2c:	03 55 10             	add    0x10(%ebp),%edx                
   *  Currently only case 4 should make it to this point.             
   *  The basic trick is to make the extend area look like a used     
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
  112d2f:	89 51 1c             	mov    %edx,0x1c(%ecx)                
                                                                      
  extend_size = new_heap_area_end                                     
  112d32:	29 da                	sub    %ebx,%edx                      
  112d34:	8d 72 f8             	lea    -0x8(%edx),%esi                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  112d37:	89 f0                	mov    %esi,%eax                      
  112d39:	31 d2                	xor    %edx,%edx                      
  112d3b:	f7 71 10             	divl   0x10(%ecx)                     
  112d3e:	29 d6                	sub    %edx,%esi                      
    - (uintptr_t) last_block - HEAP_BLOCK_HEADER_SIZE;                
  extend_size = _Heap_Align_down( extend_size, heap->page_size );     
                                                                      
  *amount_extended = extend_size;                                     
  112d40:	8b 45 14             	mov    0x14(%ebp),%eax                
  112d43:	89 30                	mov    %esi,(%eax)                    
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
  112d45:	31 c0                	xor    %eax,%eax                      
  112d47:	3b 71 14             	cmp    0x14(%ecx),%esi                
  112d4a:	72 36                	jb     112d82 <_Heap_Extend+0x7e>     <== NEVER TAKEN
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  112d4c:	8d 14 1e             	lea    (%esi,%ebx,1),%edx             
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
  112d4f:	8b 43 04             	mov    0x4(%ebx),%eax                 
  112d52:	83 e0 01             	and    $0x1,%eax                      
  112d55:	09 f0                	or     %esi,%eax                      
  112d57:	89 43 04             	mov    %eax,0x4(%ebx)                 
    Heap_Block *const new_last_block = _Heap_Block_at( last_block, extend_size );
                                                                      
    _Heap_Block_set_size( last_block, extend_size );                  
                                                                      
    new_last_block->size_and_flag =                                   
  112d5a:	8b 41 20             	mov    0x20(%ecx),%eax                
  112d5d:	29 d0                	sub    %edx,%eax                      
  112d5f:	83 c8 01             	or     $0x1,%eax                      
  112d62:	89 42 04             	mov    %eax,0x4(%edx)                 
      ((uintptr_t) heap->first_block - (uintptr_t) new_last_block)    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
  112d65:	89 51 24             	mov    %edx,0x24(%ecx)                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
  112d68:	01 71 2c             	add    %esi,0x2c(%ecx)                
    ++stats->used_blocks;                                             
  112d6b:	ff 41 40             	incl   0x40(%ecx)                     
    --stats->frees; /* Do not count subsequent call as actual free() */
  112d6e:	ff 49 50             	decl   0x50(%ecx)                     
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
  112d71:	50                   	push   %eax                           
  112d72:	50                   	push   %eax                           
  112d73:	83 c3 08             	add    $0x8,%ebx                      
  112d76:	53                   	push   %ebx                           
  112d77:	51                   	push   %ecx                           
  112d78:	e8 67 b1 ff ff       	call   10dee4 <_Heap_Free>            
  112d7d:	31 c0                	xor    %eax,%eax                      
  112d7f:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
  112d82:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  112d85:	5b                   	pop    %ebx                           
  112d86:	5e                   	pop    %esi                           
  112d87:	c9                   	leave                                 
  112d88:	c3                   	ret                                   
                                                                      

0010fa0c <_Heap_Free>: #include <rtems/system.h> #include <rtems/score/sysstate.h> #include <rtems/score/heap.h> bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
  10fa0c:	55                   	push   %ebp                           
  10fa0d:	89 e5                	mov    %esp,%ebp                      
  10fa0f:	57                   	push   %edi                           
  10fa10:	56                   	push   %esi                           
  10fa11:	53                   	push   %ebx                           
  10fa12:	83 ec 14             	sub    $0x14,%esp                     
  10fa15:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10fa18:	8b 45 0c             	mov    0xc(%ebp),%eax                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
  10fa1b:	8d 58 f8             	lea    -0x8(%eax),%ebx                
  10fa1e:	31 d2                	xor    %edx,%edx                      
  10fa20:	f7 71 10             	divl   0x10(%ecx)                     
  10fa23:	29 d3                	sub    %edx,%ebx                      
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  10fa25:	8b 41 20             	mov    0x20(%ecx),%eax                
  10fa28:	89 45 f0             	mov    %eax,-0x10(%ebp)               
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  10fa2b:	31 c0                	xor    %eax,%eax                      
  10fa2d:	3b 5d f0             	cmp    -0x10(%ebp),%ebx               
  10fa30:	72 08                	jb     10fa3a <_Heap_Free+0x2e>       
  10fa32:	31 c0                	xor    %eax,%eax                      
  10fa34:	39 59 24             	cmp    %ebx,0x24(%ecx)                
  10fa37:	0f 93 c0             	setae  %al                            
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
  10fa3a:	85 c0                	test   %eax,%eax                      
  10fa3c:	0f 84 2d 01 00 00    	je     10fb6f <_Heap_Free+0x163>      
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
  10fa42:	8b 7b 04             	mov    0x4(%ebx),%edi                 
  10fa45:	89 fa                	mov    %edi,%edx                      
  10fa47:	83 e2 fe             	and    $0xfffffffe,%edx               
  10fa4a:	89 55 e0             	mov    %edx,-0x20(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10fa4d:	8d 04 13             	lea    (%ebx,%edx,1),%eax             
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  10fa50:	31 f6                	xor    %esi,%esi                      
  10fa52:	3b 45 f0             	cmp    -0x10(%ebp),%eax               
  10fa55:	72 0e                	jb     10fa65 <_Heap_Free+0x59>       <== NEVER TAKEN
  10fa57:	39 41 24             	cmp    %eax,0x24(%ecx)                
  10fa5a:	0f 93 c2             	setae  %dl                            
  10fa5d:	89 d6                	mov    %edx,%esi                      
  10fa5f:	81 e6 ff 00 00 00    	and    $0xff,%esi                     
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
  10fa65:	85 f6                	test   %esi,%esi                      
  10fa67:	0f 84 02 01 00 00    	je     10fb6f <_Heap_Free+0x163>      <== NEVER TAKEN
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
  10fa6d:	8b 70 04             	mov    0x4(%eax),%esi                 
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
  10fa70:	f7 c6 01 00 00 00    	test   $0x1,%esi                      
  10fa76:	0f 84 f3 00 00 00    	je     10fb6f <_Heap_Free+0x163>      <== NEVER TAKEN
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
  10fa7c:	83 e6 fe             	and    $0xfffffffe,%esi               
  10fa7f:	89 75 e8             	mov    %esi,-0x18(%ebp)               
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
  10fa82:	8b 51 24             	mov    0x24(%ecx),%edx                
  10fa85:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  10fa88:	31 f6                	xor    %esi,%esi                      
  10fa8a:	39 d0                	cmp    %edx,%eax                      
  10fa8c:	74 0d                	je     10fa9b <_Heap_Free+0x8f>       
  10fa8e:	8b 55 e8             	mov    -0x18(%ebp),%edx               
  10fa91:	8b 74 10 04          	mov    0x4(%eax,%edx,1),%esi          
  10fa95:	83 e6 01             	and    $0x1,%esi                      
  10fa98:	83 f6 01             	xor    $0x1,%esi                      
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
  10fa9b:	83 e7 01             	and    $0x1,%edi                      
  10fa9e:	75 64                	jne    10fb04 <_Heap_Free+0xf8>       
    uintptr_t const prev_size = block->prev_size;                     
  10faa0:	8b 13                	mov    (%ebx),%edx                    
  10faa2:	89 55 ec             	mov    %edx,-0x14(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10faa5:	29 d3                	sub    %edx,%ebx                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  10faa7:	31 ff                	xor    %edi,%edi                      
  10faa9:	3b 5d f0             	cmp    -0x10(%ebp),%ebx               
  10faac:	72 0e                	jb     10fabc <_Heap_Free+0xb0>       <== NEVER TAKEN
  10faae:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)               
  10fab1:	0f 93 c2             	setae  %dl                            
  10fab4:	89 d7                	mov    %edx,%edi                      
  10fab6:	81 e7 ff 00 00 00    	and    $0xff,%edi                     
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
  10fabc:	85 ff                	test   %edi,%edi                      
  10fabe:	0f 84 ab 00 00 00    	je     10fb6f <_Heap_Free+0x163>      <== NEVER TAKEN
      return( false );                                                
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
  10fac4:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10fac8:	0f 84 a1 00 00 00    	je     10fb6f <_Heap_Free+0x163>      <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
  10face:	89 f2                	mov    %esi,%edx                      
  10fad0:	84 d2                	test   %dl,%dl                        
  10fad2:	74 1a                	je     10faee <_Heap_Free+0xe2>       
      uintptr_t const size = block_size + prev_size + next_block_size;
  10fad4:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  10fad7:	03 75 e8             	add    -0x18(%ebp),%esi               
  10fada:	03 75 ec             	add    -0x14(%ebp),%esi               
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  10fadd:	8b 78 08             	mov    0x8(%eax),%edi                 
  Heap_Block *prev = block->prev;                                     
  10fae0:	8b 40 0c             	mov    0xc(%eax),%eax                 
                                                                      
  prev->next = next;                                                  
  10fae3:	89 78 08             	mov    %edi,0x8(%eax)                 
  next->prev = prev;                                                  
  10fae6:	89 47 0c             	mov    %eax,0xc(%edi)                 
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
  10fae9:	ff 49 38             	decl   0x38(%ecx)                     
  10faec:	eb 34                	jmp    10fb22 <_Heap_Free+0x116>      
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
  10faee:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  10faf1:	03 75 ec             	add    -0x14(%ebp),%esi               
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  10faf4:	89 f7                	mov    %esi,%edi                      
  10faf6:	83 cf 01             	or     $0x1,%edi                      
  10faf9:	89 7b 04             	mov    %edi,0x4(%ebx)                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
  10fafc:	83 60 04 fe          	andl   $0xfffffffe,0x4(%eax)          
      next_block->prev_size = size;                                   
  10fb00:	89 30                	mov    %esi,(%eax)                    
  10fb02:	eb 5b                	jmp    10fb5f <_Heap_Free+0x153>      
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
  10fb04:	89 f2                	mov    %esi,%edx                      
  10fb06:	84 d2                	test   %dl,%dl                        
  10fb08:	74 25                	je     10fb2f <_Heap_Free+0x123>      
    uintptr_t const size = block_size + next_block_size;              
  10fb0a:	8b 75 e8             	mov    -0x18(%ebp),%esi               
  10fb0d:	03 75 e0             	add    -0x20(%ebp),%esi               
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  10fb10:	8b 78 08             	mov    0x8(%eax),%edi                 
  Heap_Block *prev = old_block->prev;                                 
  10fb13:	8b 40 0c             	mov    0xc(%eax),%eax                 
                                                                      
  new_block->next = next;                                             
  10fb16:	89 7b 08             	mov    %edi,0x8(%ebx)                 
  new_block->prev = prev;                                             
  10fb19:	89 43 0c             	mov    %eax,0xc(%ebx)                 
                                                                      
  next->prev = new_block;                                             
  10fb1c:	89 5f 0c             	mov    %ebx,0xc(%edi)                 
  prev->next = new_block;                                             
  10fb1f:	89 58 08             	mov    %ebx,0x8(%eax)                 
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
  10fb22:	89 f0                	mov    %esi,%eax                      
  10fb24:	83 c8 01             	or     $0x1,%eax                      
  10fb27:	89 43 04             	mov    %eax,0x4(%ebx)                 
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
  10fb2a:	89 34 33             	mov    %esi,(%ebx,%esi,1)             
  10fb2d:	eb 30                	jmp    10fb5f <_Heap_Free+0x153>      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
  10fb2f:	8b 71 08             	mov    0x8(%ecx),%esi                 
                                                                      
  new_block->next = next;                                             
  10fb32:	89 73 08             	mov    %esi,0x8(%ebx)                 
  new_block->prev = block_before;                                     
  10fb35:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  block_before->next = new_block;                                     
  10fb38:	89 59 08             	mov    %ebx,0x8(%ecx)                 
  next->prev = new_block;                                             
  10fb3b:	89 5e 0c             	mov    %ebx,0xc(%esi)                 
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
  10fb3e:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  10fb41:	83 ce 01             	or     $0x1,%esi                      
  10fb44:	89 73 04             	mov    %esi,0x4(%ebx)                 
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  10fb47:	83 60 04 fe          	andl   $0xfffffffe,0x4(%eax)          
    next_block->prev_size = block_size;                               
  10fb4b:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10fb4e:	89 10                	mov    %edx,(%eax)                    
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
  10fb50:	8b 41 38             	mov    0x38(%ecx),%eax                
  10fb53:	40                   	inc    %eax                           
  10fb54:	89 41 38             	mov    %eax,0x38(%ecx)                
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  10fb57:	39 41 3c             	cmp    %eax,0x3c(%ecx)                
  10fb5a:	73 03                	jae    10fb5f <_Heap_Free+0x153>      
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
      stats->max_free_blocks = stats->free_blocks;                    
  10fb5c:	89 41 3c             	mov    %eax,0x3c(%ecx)                
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  10fb5f:	ff 49 40             	decl   0x40(%ecx)                     
  ++stats->frees;                                                     
  10fb62:	ff 41 50             	incl   0x50(%ecx)                     
  stats->free_size += block_size;                                     
  10fb65:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10fb68:	01 41 30             	add    %eax,0x30(%ecx)                
  10fb6b:	b0 01                	mov    $0x1,%al                       
                                                                      
  return( true );                                                     
  10fb6d:	eb 02                	jmp    10fb71 <_Heap_Free+0x165>      
  10fb6f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10fb71:	83 c4 14             	add    $0x14,%esp                     
  10fb74:	5b                   	pop    %ebx                           
  10fb75:	5e                   	pop    %esi                           
  10fb76:	5f                   	pop    %edi                           
  10fb77:	c9                   	leave                                 
  10fb78:	c3                   	ret                                   
                                                                      

0011d494 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
  11d494:	55                   	push   %ebp                           
  11d495:	89 e5                	mov    %esp,%ebp                      
  11d497:	56                   	push   %esi                           
  11d498:	53                   	push   %ebx                           
  11d499:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11d49c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
  11d49f:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  11d4a2:	89 f0                	mov    %esi,%eax                      
  11d4a4:	31 d2                	xor    %edx,%edx                      
  11d4a6:	f7 73 10             	divl   0x10(%ebx)                     
  11d4a9:	29 d1                	sub    %edx,%ecx                      
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  11d4ab:	8b 53 20             	mov    0x20(%ebx),%edx                
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  11d4ae:	31 c0                	xor    %eax,%eax                      
  11d4b0:	39 d1                	cmp    %edx,%ecx                      
  11d4b2:	72 08                	jb     11d4bc <_Heap_Size_of_alloc_area+0x28>
  11d4b4:	31 c0                	xor    %eax,%eax                      
  11d4b6:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11d4b9:	0f 93 c0             	setae  %al                            
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
  Heap_Block *block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
  11d4bc:	85 c0                	test   %eax,%eax                      
  11d4be:	74 2e                	je     11d4ee <_Heap_Size_of_alloc_area+0x5a>
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  11d4c0:	8b 41 04             	mov    0x4(%ecx),%eax                 
  11d4c3:	83 e0 fe             	and    $0xfffffffe,%eax               
  11d4c6:	01 c1                	add    %eax,%ecx                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  11d4c8:	31 c0                	xor    %eax,%eax                      
  11d4ca:	39 d1                	cmp    %edx,%ecx                      
  11d4cc:	72 08                	jb     11d4d6 <_Heap_Size_of_alloc_area+0x42><== NEVER TAKEN
  11d4ce:	31 c0                	xor    %eax,%eax                      
  11d4d0:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11d4d3:	0f 93 c0             	setae  %al                            
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
  11d4d6:	85 c0                	test   %eax,%eax                      
  11d4d8:	74 14                	je     11d4ee <_Heap_Size_of_alloc_area+0x5a><== NEVER TAKEN
  11d4da:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  11d4de:	74 0e                	je     11d4ee <_Heap_Size_of_alloc_area+0x5a><== NEVER TAKEN
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
  11d4e0:	29 f1                	sub    %esi,%ecx                      
  11d4e2:	8d 51 04             	lea    0x4(%ecx),%edx                 
  11d4e5:	8b 45 10             	mov    0x10(%ebp),%eax                
  11d4e8:	89 10                	mov    %edx,(%eax)                    
  11d4ea:	b0 01                	mov    $0x1,%al                       
                                                                      
  return true;                                                        
  11d4ec:	eb 02                	jmp    11d4f0 <_Heap_Size_of_alloc_area+0x5c>
  11d4ee:	31 c0                	xor    %eax,%eax                      
}                                                                     
  11d4f0:	5b                   	pop    %ebx                           
  11d4f1:	5e                   	pop    %esi                           
  11d4f2:	c9                   	leave                                 
  11d4f3:	c3                   	ret                                   
                                                                      

0010bfb9 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
  10bfb9:	55                   	push   %ebp                           
  10bfba:	89 e5                	mov    %esp,%ebp                      
  10bfbc:	57                   	push   %edi                           
  10bfbd:	56                   	push   %esi                           
  10bfbe:	53                   	push   %ebx                           
  10bfbf:	83 ec 4c             	sub    $0x4c,%esp                     
  10bfc2:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10bfc5:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  uintptr_t const page_size = heap->page_size;                        
  10bfc8:	8b 4f 10             	mov    0x10(%edi),%ecx                
  uintptr_t const min_block_size = heap->min_block_size;              
  10bfcb:	8b 47 14             	mov    0x14(%edi),%eax                
  10bfce:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  Heap_Block *const last_block = heap->last_block;                    
  10bfd1:	8b 57 24             	mov    0x24(%edi),%edx                
  10bfd4:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  Heap_Block *block = heap->first_block;                              
  10bfd7:	8b 5f 20             	mov    0x20(%edi),%ebx                
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
  10bfda:	c7 45 e4 cb c2 10 00 	movl   $0x10c2cb,-0x1c(%ebp)          
  10bfe1:	80 7d 10 00          	cmpb   $0x0,0x10(%ebp)                
  10bfe5:	75 07                	jne    10bfee <_Heap_Walk+0x35>       
  10bfe7:	c7 45 e4 b4 bf 10 00 	movl   $0x10bfb4,-0x1c(%ebp)          
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
  10bfee:	83 3d 90 73 12 00 03 	cmpl   $0x3,0x127390                  
  10bff5:	0f 85 c6 02 00 00    	jne    10c2c1 <_Heap_Walk+0x308>      <== NEVER TAKEN
  Heap_Block *const first_free_block = _Heap_Free_list_first( heap ); 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
                                                                      
  (*printer)(                                                         
  10bffb:	50                   	push   %eax                           
  10bffc:	ff 77 0c             	pushl  0xc(%edi)                      
  10bfff:	ff 77 08             	pushl  0x8(%edi)                      
  10c002:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10c005:	53                   	push   %ebx                           
  10c006:	ff 77 1c             	pushl  0x1c(%edi)                     
  10c009:	ff 77 18             	pushl  0x18(%edi)                     
  10c00c:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10c00f:	51                   	push   %ecx                           
  10c010:	68 b4 01 12 00       	push   $0x1201b4                      
  10c015:	6a 00                	push   $0x0                           
  10c017:	56                   	push   %esi                           
  10c018:	89 4d bc             	mov    %ecx,-0x44(%ebp)               
  10c01b:	ff 55 e4             	call   *-0x1c(%ebp)                   
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
  10c01e:	83 c4 30             	add    $0x30,%esp                     
  10c021:	8b 4d bc             	mov    -0x44(%ebp),%ecx               
  10c024:	85 c9                	test   %ecx,%ecx                      
  10c026:	75 0b                	jne    10c033 <_Heap_Walk+0x7a>       
    (*printer)( source, true, "page size is zero\n" );                
  10c028:	53                   	push   %ebx                           
  10c029:	68 45 02 12 00       	push   $0x120245                      
  10c02e:	e9 5b 02 00 00       	jmp    10c28e <_Heap_Walk+0x2d5>      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
  10c033:	f6 c1 03             	test   $0x3,%cl                       
  10c036:	74 0b                	je     10c043 <_Heap_Walk+0x8a>       
    (*printer)(                                                       
  10c038:	51                   	push   %ecx                           
  10c039:	68 58 02 12 00       	push   $0x120258                      
  10c03e:	e9 4b 02 00 00       	jmp    10c28e <_Heap_Walk+0x2d5>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
  10c043:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10c046:	31 d2                	xor    %edx,%edx                      
  10c048:	f7 f1                	div    %ecx                           
  10c04a:	85 d2                	test   %edx,%edx                      
  10c04c:	74 0d                	je     10c05b <_Heap_Walk+0xa2>       
    (*printer)(                                                       
  10c04e:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10c051:	68 76 02 12 00       	push   $0x120276                      
  10c056:	e9 33 02 00 00       	jmp    10c28e <_Heap_Walk+0x2d5>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10c05b:	8d 43 08             	lea    0x8(%ebx),%eax                 
  10c05e:	31 d2                	xor    %edx,%edx                      
  10c060:	f7 f1                	div    %ecx                           
  10c062:	85 d2                	test   %edx,%edx                      
  10c064:	74 0b                	je     10c071 <_Heap_Walk+0xb8>       
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
  10c066:	53                   	push   %ebx                           
  10c067:	68 9a 02 12 00       	push   $0x12029a                      
  10c06c:	e9 1d 02 00 00       	jmp    10c28e <_Heap_Walk+0x2d5>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
  10c071:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10c075:	75 0b                	jne    10c082 <_Heap_Walk+0xc9>       
    (*printer)(                                                       
  10c077:	51                   	push   %ecx                           
  10c078:	68 cb 02 12 00       	push   $0x1202cb                      
  10c07d:	e9 0c 02 00 00       	jmp    10c28e <_Heap_Walk+0x2d5>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
  10c082:	8b 03                	mov    (%ebx),%eax                    
  10c084:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10c087:	39 c8                	cmp    %ecx,%eax                      
  10c089:	74 0f                	je     10c09a <_Heap_Walk+0xe1>       
    (*printer)(                                                       
  10c08b:	83 ec 0c             	sub    $0xc,%esp                      
  10c08e:	51                   	push   %ecx                           
  10c08f:	50                   	push   %eax                           
  10c090:	68 f9 02 12 00       	push   $0x1202f9                      
  10c095:	e9 3d 01 00 00       	jmp    10c1d7 <_Heap_Walk+0x21e>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
  10c09a:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10c09d:	8b 42 04             	mov    0x4(%edx),%eax                 
  10c0a0:	83 e0 fe             	and    $0xfffffffe,%eax               
  10c0a3:	f6 44 02 04 01       	testb  $0x1,0x4(%edx,%eax,1)          
  10c0a8:	75 0b                	jne    10c0b5 <_Heap_Walk+0xfc>       
    (*printer)(                                                       
  10c0aa:	52                   	push   %edx                           
  10c0ab:	68 24 03 12 00       	push   $0x120324                      
  10c0b0:	e9 d9 01 00 00       	jmp    10c28e <_Heap_Walk+0x2d5>      
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10c0b5:	8b 4f 10             	mov    0x10(%edi),%ecx                
  10c0b8:	89 4d d8             	mov    %ecx,-0x28(%ebp)               
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
  10c0bb:	8b 4f 08             	mov    0x8(%edi),%ecx                 
  10c0be:	89 7d e0             	mov    %edi,-0x20(%ebp)               
  10c0c1:	eb 6a                	jmp    10c12d <_Heap_Walk+0x174>      
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  10c0c3:	31 c0                	xor    %eax,%eax                      
  10c0c5:	39 4f 20             	cmp    %ecx,0x20(%edi)                
  10c0c8:	77 08                	ja     10c0d2 <_Heap_Walk+0x119>      
  10c0ca:	31 c0                	xor    %eax,%eax                      
  10c0cc:	39 4f 24             	cmp    %ecx,0x24(%edi)                
  10c0cf:	0f 93 c0             	setae  %al                            
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
  10c0d2:	85 c0                	test   %eax,%eax                      
  10c0d4:	75 0b                	jne    10c0e1 <_Heap_Walk+0x128>      
      (*printer)(                                                     
  10c0d6:	51                   	push   %ecx                           
  10c0d7:	68 39 03 12 00       	push   $0x120339                      
  10c0dc:	e9 ad 01 00 00       	jmp    10c28e <_Heap_Walk+0x2d5>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10c0e1:	8d 41 08             	lea    0x8(%ecx),%eax                 
  10c0e4:	31 d2                	xor    %edx,%edx                      
  10c0e6:	f7 75 d8             	divl   -0x28(%ebp)                    
  10c0e9:	85 d2                	test   %edx,%edx                      
  10c0eb:	74 0b                	je     10c0f8 <_Heap_Walk+0x13f>      
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
  10c0ed:	51                   	push   %ecx                           
  10c0ee:	68 59 03 12 00       	push   $0x120359                      
  10c0f3:	e9 96 01 00 00       	jmp    10c28e <_Heap_Walk+0x2d5>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10c0f8:	8b 41 04             	mov    0x4(%ecx),%eax                 
  10c0fb:	83 e0 fe             	and    $0xfffffffe,%eax               
  10c0fe:	f6 44 01 04 01       	testb  $0x1,0x4(%ecx,%eax,1)          
  10c103:	74 0b                	je     10c110 <_Heap_Walk+0x157>      
      (*printer)(                                                     
  10c105:	51                   	push   %ecx                           
  10c106:	68 89 03 12 00       	push   $0x120389                      
  10c10b:	e9 7e 01 00 00       	jmp    10c28e <_Heap_Walk+0x2d5>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
  10c110:	8b 41 0c             	mov    0xc(%ecx),%eax                 
  10c113:	3b 45 e0             	cmp    -0x20(%ebp),%eax               
  10c116:	74 0f                	je     10c127 <_Heap_Walk+0x16e>      
      (*printer)(                                                     
  10c118:	83 ec 0c             	sub    $0xc,%esp                      
  10c11b:	50                   	push   %eax                           
  10c11c:	51                   	push   %ecx                           
  10c11d:	68 a5 03 12 00       	push   $0x1203a5                      
  10c122:	e9 b0 00 00 00       	jmp    10c1d7 <_Heap_Walk+0x21e>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
  10c127:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10c12a:	8b 49 08             	mov    0x8(%ecx),%ecx                 
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
  10c12d:	39 f9                	cmp    %edi,%ecx                      
  10c12f:	75 92                	jne    10c0c3 <_Heap_Walk+0x10a>      
  10c131:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  10c134:	e9 7f 01 00 00       	jmp    10c2b8 <_Heap_Walk+0x2ff>      
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
  10c139:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10c13c:	89 c1                	mov    %eax,%ecx                      
  10c13e:	83 e1 fe             	and    $0xfffffffe,%ecx               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10c141:	8d 34 0b             	lea    (%ebx,%ecx,1),%esi             
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
                                                                      
    if ( prev_used ) {                                                
  10c144:	a8 01                	test   $0x1,%al                       
  10c146:	74 0c                	je     10c154 <_Heap_Walk+0x19b>      
      (*printer)(                                                     
  10c148:	83 ec 0c             	sub    $0xc,%esp                      
  10c14b:	51                   	push   %ecx                           
  10c14c:	53                   	push   %ebx                           
  10c14d:	68 d7 03 12 00       	push   $0x1203d7                      
  10c152:	eb 0b                	jmp    10c15f <_Heap_Walk+0x1a6>      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
  10c154:	50                   	push   %eax                           
  10c155:	50                   	push   %eax                           
  10c156:	ff 33                	pushl  (%ebx)                         
  10c158:	51                   	push   %ecx                           
  10c159:	53                   	push   %ebx                           
  10c15a:	68 ee 03 12 00       	push   $0x1203ee                      
  10c15f:	6a 00                	push   $0x0                           
  10c161:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10c164:	89 4d bc             	mov    %ecx,-0x44(%ebp)               
  10c167:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10c16a:	83 c4 20             	add    $0x20,%esp                     
  10c16d:	8b 4d bc             	mov    -0x44(%ebp),%ecx               
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  10c170:	31 c0                	xor    %eax,%eax                      
  10c172:	39 77 20             	cmp    %esi,0x20(%edi)                
  10c175:	77 08                	ja     10c17f <_Heap_Walk+0x1c6>      <== NEVER TAKEN
  10c177:	31 c0                	xor    %eax,%eax                      
  10c179:	39 77 24             	cmp    %esi,0x24(%edi)                
  10c17c:	0f 93 c0             	setae  %al                            
        block_size,                                                   
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
  10c17f:	85 c0                	test   %eax,%eax                      
  10c181:	75 11                	jne    10c194 <_Heap_Walk+0x1db>      
  10c183:	89 f1                	mov    %esi,%ecx                      
  10c185:	8b 75 e0             	mov    -0x20(%ebp),%esi               
      (*printer)(                                                     
  10c188:	83 ec 0c             	sub    $0xc,%esp                      
  10c18b:	51                   	push   %ecx                           
  10c18c:	53                   	push   %ebx                           
  10c18d:	68 13 04 12 00       	push   $0x120413                      
  10c192:	eb 43                	jmp    10c1d7 <_Heap_Walk+0x21e>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
  10c194:	89 c8                	mov    %ecx,%eax                      
  10c196:	31 d2                	xor    %edx,%edx                      
  10c198:	f7 75 d4             	divl   -0x2c(%ebp)                    
  10c19b:	85 d2                	test   %edx,%edx                      
  10c19d:	74 0f                	je     10c1ae <_Heap_Walk+0x1f5>      
  10c19f:	8b 75 e0             	mov    -0x20(%ebp),%esi               
      (*printer)(                                                     
  10c1a2:	83 ec 0c             	sub    $0xc,%esp                      
  10c1a5:	51                   	push   %ecx                           
  10c1a6:	53                   	push   %ebx                           
  10c1a7:	68 40 04 12 00       	push   $0x120440                      
  10c1ac:	eb 29                	jmp    10c1d7 <_Heap_Walk+0x21e>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
  10c1ae:	3b 4d dc             	cmp    -0x24(%ebp),%ecx               
  10c1b1:	73 11                	jae    10c1c4 <_Heap_Walk+0x20b>      
  10c1b3:	8b 75 e0             	mov    -0x20(%ebp),%esi               
      (*printer)(                                                     
  10c1b6:	57                   	push   %edi                           
  10c1b7:	57                   	push   %edi                           
  10c1b8:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10c1bb:	51                   	push   %ecx                           
  10c1bc:	53                   	push   %ebx                           
  10c1bd:	68 6e 04 12 00       	push   $0x12046e                      
  10c1c2:	eb 13                	jmp    10c1d7 <_Heap_Walk+0x21e>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
  10c1c4:	39 de                	cmp    %ebx,%esi                      
  10c1c6:	77 1f                	ja     10c1e7 <_Heap_Walk+0x22e>      
  10c1c8:	89 f1                	mov    %esi,%ecx                      
  10c1ca:	8b 75 e0             	mov    -0x20(%ebp),%esi               
      (*printer)(                                                     
  10c1cd:	83 ec 0c             	sub    $0xc,%esp                      
  10c1d0:	51                   	push   %ecx                           
  10c1d1:	53                   	push   %ebx                           
  10c1d2:	68 99 04 12 00       	push   $0x120499                      
  10c1d7:	6a 01                	push   $0x1                           
  10c1d9:	56                   	push   %esi                           
  10c1da:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10c1dd:	31 c0                	xor    %eax,%eax                      
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
  10c1df:	83 c4 20             	add    $0x20,%esp                     
  10c1e2:	e9 dc 00 00 00       	jmp    10c2c3 <_Heap_Walk+0x30a>      
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
  10c1e7:	f6 46 04 01          	testb  $0x1,0x4(%esi)                 
  10c1eb:	0f 85 c5 00 00 00    	jne    10c2b6 <_Heap_Walk+0x2fd>      
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
  10c1f1:	8b 47 08             	mov    0x8(%edi),%eax                 
  10c1f4:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
  10c1f7:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10c1fa:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
  10c1fd:	83 e2 fe             	and    $0xfffffffe,%edx               
  10c200:	89 55 cc             	mov    %edx,-0x34(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10c203:	01 da                	add    %ebx,%edx                      
  10c205:	89 55 c8             	mov    %edx,-0x38(%ebp)               
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
  10c208:	8b 4b 08             	mov    0x8(%ebx),%ecx                 
  10c20b:	89 4d b4             	mov    %ecx,-0x4c(%ebp)               
  return _Heap_Free_list_head(heap)->next;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
  10c20e:	ba cd 04 12 00       	mov    $0x1204cd,%edx                 
  10c213:	3b 4f 0c             	cmp    0xc(%edi),%ecx                 
  10c216:	74 0e                	je     10c226 <_Heap_Walk+0x26d>      
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  10c218:	ba d7 04 12 00       	mov    $0x1204d7,%edx                 
  10c21d:	39 f9                	cmp    %edi,%ecx                      
  10c21f:	74 05                	je     10c226 <_Heap_Walk+0x26d>      
  10c221:	ba 01 01 12 00       	mov    $0x120101,%edx                 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
  10c226:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  10c229:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  10c22c:	b8 e1 04 12 00       	mov    $0x1204e1,%eax                 
  10c231:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10c234:	39 4d d8             	cmp    %ecx,-0x28(%ebp)               
  10c237:	74 0f                	je     10c248 <_Heap_Walk+0x28f>      
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
  10c239:	b8 ec 04 12 00       	mov    $0x1204ec,%eax                 
  10c23e:	39 7d d8             	cmp    %edi,-0x28(%ebp)               
  10c241:	74 05                	je     10c248 <_Heap_Walk+0x28f>      
  10c243:	b8 01 01 12 00       	mov    $0x120101,%eax                 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
  10c248:	52                   	push   %edx                           
  10c249:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10c24c:	50                   	push   %eax                           
  10c24d:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10c250:	53                   	push   %ebx                           
  10c251:	68 f6 04 12 00       	push   $0x1204f6                      
  10c256:	6a 00                	push   $0x0                           
  10c258:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10c25b:	ff 55 e4             	call   *-0x1c(%ebp)                   
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
  10c25e:	8b 55 c8             	mov    -0x38(%ebp),%edx               
  10c261:	8b 02                	mov    (%edx),%eax                    
  10c263:	83 c4 20             	add    $0x20,%esp                     
  10c266:	39 45 cc             	cmp    %eax,-0x34(%ebp)               
  10c269:	74 14                	je     10c27f <_Heap_Walk+0x2c6>      
  10c26b:	8b 75 e0             	mov    -0x20(%ebp),%esi               
    (*printer)(                                                       
  10c26e:	51                   	push   %ecx                           
  10c26f:	52                   	push   %edx                           
  10c270:	50                   	push   %eax                           
  10c271:	ff 75 cc             	pushl  -0x34(%ebp)                    
  10c274:	53                   	push   %ebx                           
  10c275:	68 22 05 12 00       	push   $0x120522                      
  10c27a:	e9 58 ff ff ff       	jmp    10c1d7 <_Heap_Walk+0x21e>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
  10c27f:	f6 45 c4 01          	testb  $0x1,-0x3c(%ebp)               
  10c283:	75 16                	jne    10c29b <_Heap_Walk+0x2e2>      
  10c285:	8b 75 e0             	mov    -0x20(%ebp),%esi               
    (*printer)(                                                       
  10c288:	53                   	push   %ebx                           
  10c289:	68 5b 05 12 00       	push   $0x12055b                      
  10c28e:	6a 01                	push   $0x1                           
  10c290:	56                   	push   %esi                           
  10c291:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10c294:	31 c0                	xor    %eax,%eax                      
  10c296:	83 c4 10             	add    $0x10,%esp                     
  10c299:	eb 28                	jmp    10c2c3 <_Heap_Walk+0x30a>      
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
  10c29b:	8b 47 08             	mov    0x8(%edi),%eax                 
  10c29e:	eb 07                	jmp    10c2a7 <_Heap_Walk+0x2ee>      
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( free_block == block ) {                                      
  10c2a0:	39 d8                	cmp    %ebx,%eax                      
  10c2a2:	74 12                	je     10c2b6 <_Heap_Walk+0x2fd>      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
  10c2a4:	8b 40 08             	mov    0x8(%eax),%eax                 
)                                                                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
  10c2a7:	39 f8                	cmp    %edi,%eax                      
  10c2a9:	75 f5                	jne    10c2a0 <_Heap_Walk+0x2e7>      
  10c2ab:	8b 75 e0             	mov    -0x20(%ebp),%esi               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
  10c2ae:	53                   	push   %ebx                           
  10c2af:	68 8a 05 12 00       	push   $0x12058a                      
  10c2b4:	eb d8                	jmp    10c28e <_Heap_Walk+0x2d5>      
)                                                                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
  10c2b6:	89 f3                	mov    %esi,%ebx                      
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
  10c2b8:	3b 5d d0             	cmp    -0x30(%ebp),%ebx               
  10c2bb:	0f 85 78 fe ff ff    	jne    10c139 <_Heap_Walk+0x180>      
  10c2c1:	b0 01                	mov    $0x1,%al                       
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10c2c3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c2c6:	5b                   	pop    %ebx                           
  10c2c7:	5e                   	pop    %esi                           
  10c2c8:	5f                   	pop    %edi                           
  10c2c9:	c9                   	leave                                 
  10c2ca:	c3                   	ret                                   
                                                                      

0010b5c0 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10b5c0:	55                   	push   %ebp                           
  10b5c1:	89 e5                	mov    %esp,%ebp                      
  10b5c3:	53                   	push   %ebx                           
  10b5c4:	83 ec 08             	sub    $0x8,%esp                      
  10b5c7:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b5ca:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10b5cd:	8b 5d 10             	mov    0x10(%ebp),%ebx                
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  10b5d0:	a3 34 57 12 00       	mov    %eax,0x125734                  
  _Internal_errors_What_happened.is_internal = is_internal;           
  10b5d5:	88 15 38 57 12 00    	mov    %dl,0x125738                   
  _Internal_errors_What_happened.the_error   = the_error;             
  10b5db:	89 1d 3c 57 12 00    	mov    %ebx,0x12573c                  
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
  10b5e1:	53                   	push   %ebx                           
  10b5e2:	0f b6 d2             	movzbl %dl,%edx                       
  10b5e5:	52                   	push   %edx                           
  10b5e6:	50                   	push   %eax                           
  10b5e7:	e8 9b 18 00 00       	call   10ce87 <_User_extensions_Fatal>
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
  10b5ec:	c7 05 28 58 12 00 05 	movl   $0x5,0x125828                  <== NOT EXECUTED
  10b5f3:	00 00 00                                                    
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
  10b5f6:	fa                   	cli                                   <== NOT EXECUTED
  10b5f7:	89 d8                	mov    %ebx,%eax                      <== NOT EXECUTED
  10b5f9:	f4                   	hlt                                   <== NOT EXECUTED
  10b5fa:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10b5fd:	eb fe                	jmp    10b5fd <_Internal_error_Occurred+0x3d><== NOT EXECUTED
                                                                      

00100218 <_Message_queue_Manager_initialization>: #include <rtems/score/thread.h> #include <rtems/score/wkspace.h> #include <rtems/score/interr.h> void _Message_queue_Manager_initialization(void) {
  100218:	55                   	push   %ebp                           
  100219:	89 e5                	mov    %esp,%ebp                      
}                                                                     
  10021b:	c9                   	leave                                 
  10021c:	c3                   	ret                                   
                                                                      

0010b658 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
  10b658:	55                   	push   %ebp                           
  10b659:	89 e5                	mov    %esp,%ebp                      
  10b65b:	56                   	push   %esi                           
  10b65c:	53                   	push   %ebx                           
  10b65d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
   *  If the application is using the optional manager stubs and      
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
  10b660:	31 c9                	xor    %ecx,%ecx                      
  10b662:	83 7b 18 00          	cmpl   $0x0,0x18(%ebx)                
  10b666:	74 53                	je     10b6bb <_Objects_Allocate+0x63><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  OK.  The manager should be initialized and configured to have objects.
   *  With any luck, it is safe to attempt to allocate an object.     
   */                                                                 
  the_object = (Objects_Control *) _Chain_Get( &information->Inactive );
  10b668:	8d 73 20             	lea    0x20(%ebx),%esi                
  10b66b:	83 ec 0c             	sub    $0xc,%esp                      
  10b66e:	56                   	push   %esi                           
  10b66f:	e8 ac f7 ff ff       	call   10ae20 <_Chain_Get>            
  10b674:	89 c1                	mov    %eax,%ecx                      
                                                                      
  if ( information->auto_extend ) {                                   
  10b676:	83 c4 10             	add    $0x10,%esp                     
  10b679:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10b67d:	74 3c                	je     10b6bb <_Objects_Allocate+0x63>
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
  10b67f:	85 c0                	test   %eax,%eax                      
  10b681:	75 1a                	jne    10b69d <_Objects_Allocate+0x45>
      _Objects_Extend_information( information );                     
  10b683:	83 ec 0c             	sub    $0xc,%esp                      
  10b686:	53                   	push   %ebx                           
  10b687:	e8 60 00 00 00       	call   10b6ec <_Objects_Extend_information>
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
  10b68c:	89 34 24             	mov    %esi,(%esp)                    
  10b68f:	e8 8c f7 ff ff       	call   10ae20 <_Chain_Get>            
  10b694:	89 c1                	mov    %eax,%ecx                      
    }                                                                 
                                                                      
    if ( the_object ) {                                               
  10b696:	83 c4 10             	add    $0x10,%esp                     
  10b699:	85 c0                	test   %eax,%eax                      
  10b69b:	74 1e                	je     10b6bb <_Objects_Allocate+0x63>
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
  10b69d:	0f b7 41 08          	movzwl 0x8(%ecx),%eax                 
  10b6a1:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10b6a5:	29 d0                	sub    %edx,%eax                      
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
  10b6a7:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10b6ab:	31 d2                	xor    %edx,%edx                      
  10b6ad:	f7 f6                	div    %esi                           
  10b6af:	c1 e0 02             	shl    $0x2,%eax                      
  10b6b2:	03 43 30             	add    0x30(%ebx),%eax                
  10b6b5:	ff 08                	decl   (%eax)                         
      information->inactive--;                                        
  10b6b7:	66 ff 4b 2c          	decw   0x2c(%ebx)                     
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
  10b6bb:	89 c8                	mov    %ecx,%eax                      
  10b6bd:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b6c0:	5b                   	pop    %ebx                           
  10b6c1:	5e                   	pop    %esi                           
  10b6c2:	c9                   	leave                                 
  10b6c3:	c3                   	ret                                   
                                                                      

0010b6ec <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
  10b6ec:	55                   	push   %ebp                           
  10b6ed:	89 e5                	mov    %esp,%ebp                      
  10b6ef:	57                   	push   %edi                           
  10b6f0:	56                   	push   %esi                           
  10b6f1:	53                   	push   %ebx                           
  10b6f2:	83 ec 4c             	sub    $0x4c,%esp                     
  10b6f5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. The block variable ends up set
   *  to block_count + 1 if the table needs to be extended.           
   */                                                                 
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10b6f8:	0f b7 43 08          	movzwl 0x8(%ebx),%eax                 
  10b6fc:	89 45 c8             	mov    %eax,-0x38(%ebp)               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
  10b6ff:	8b 4b 34             	mov    0x34(%ebx),%ecx                
  10b702:	85 c9                	test   %ecx,%ecx                      
  10b704:	75 0e                	jne    10b714 <_Objects_Extend_information+0x28>
  10b706:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10b709:	c7 45 cc 00 00 00 00 	movl   $0x0,-0x34(%ebp)               
  10b710:	31 d2                	xor    %edx,%edx                      
  10b712:	eb 31                	jmp    10b745 <_Objects_Extend_information+0x59>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
  10b714:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10b718:	8b 43 10             	mov    0x10(%ebx),%eax                
  10b71b:	31 d2                	xor    %edx,%edx                      
  10b71d:	66 f7 f6             	div    %si                            
  10b720:	0f b7 d0             	movzwl %ax,%edx                       
  10b723:	8b 7d c8             	mov    -0x38(%ebp),%edi               
  10b726:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
  10b729:	c7 45 cc 00 00 00 00 	movl   $0x0,-0x34(%ebp)               
  10b730:	31 c0                	xor    %eax,%eax                      
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10b732:	eb 0a                	jmp    10b73e <_Objects_Extend_information+0x52>
      if ( information->object_blocks[ block ] == NULL )              
  10b734:	83 3c 81 00          	cmpl   $0x0,(%ecx,%eax,4)             
  10b738:	74 08                	je     10b742 <_Objects_Extend_information+0x56>
  10b73a:	01 75 d4             	add    %esi,-0x2c(%ebp)               
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10b73d:	40                   	inc    %eax                           
  10b73e:	39 d0                	cmp    %edx,%eax                      
  10b740:	72 f2                	jb     10b734 <_Objects_Extend_information+0x48>
  10b742:	89 45 cc             	mov    %eax,-0x34(%ebp)               
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
  10b745:	0f b7 43 14          	movzwl 0x14(%ebx),%eax                
  10b749:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10b74d:	8d 0c 08             	lea    (%eax,%ecx,1),%ecx             
  10b750:	89 4d b8             	mov    %ecx,-0x48(%ebp)               
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
  10b753:	81 f9 ff ff 00 00    	cmp    $0xffff,%ecx                   
  10b759:	0f 87 db 01 00 00    	ja     10b93a <_Objects_Extend_information+0x24e><== NEVER TAKEN
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  10b75f:	0f af 43 18          	imul   0x18(%ebx),%eax                
  if ( information->auto_extend ) {                                   
  10b763:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10b767:	74 1e                	je     10b787 <_Objects_Extend_information+0x9b>
    new_object_block = _Workspace_Allocate( block_size );             
  10b769:	83 ec 0c             	sub    $0xc,%esp                      
  10b76c:	50                   	push   %eax                           
  10b76d:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10b770:	e8 3f 1a 00 00       	call   10d1b4 <_Workspace_Allocate>   
  10b775:	89 45 bc             	mov    %eax,-0x44(%ebp)               
    if ( !new_object_block )                                          
  10b778:	83 c4 10             	add    $0x10,%esp                     
  10b77b:	85 c0                	test   %eax,%eax                      
  10b77d:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  10b780:	75 1a                	jne    10b79c <_Objects_Extend_information+0xb0>
  10b782:	e9 b3 01 00 00       	jmp    10b93a <_Objects_Extend_information+0x24e>
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
  10b787:	83 ec 0c             	sub    $0xc,%esp                      
  10b78a:	50                   	push   %eax                           
  10b78b:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10b78e:	e8 f5 19 00 00       	call   10d188 <_Workspace_Allocate_or_fatal_error>
  10b793:	89 45 bc             	mov    %eax,-0x44(%ebp)               
  10b796:	83 c4 10             	add    $0x10,%esp                     
  10b799:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  }                                                                   
                                                                      
  /*                                                                  
   *  If the index_base is the maximum we need to grow the tables.    
   */                                                                 
  if (index_base >= information->maximum ) {                          
  10b79c:	0f b7 43 10          	movzwl 0x10(%ebx),%eax                
  10b7a0:	39 45 d4             	cmp    %eax,-0x2c(%ebp)               
  10b7a3:	0f 82 14 01 00 00    	jb     10b8bd <_Objects_Extend_information+0x1d1>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
  10b7a9:	8d 72 01             	lea    0x1(%edx),%esi                 
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
  10b7ac:	83 ec 0c             	sub    $0xc,%esp                      
  10b7af:	8b 4d b8             	mov    -0x48(%ebp),%ecx               
  10b7b2:	03 4d c8             	add    -0x38(%ebp),%ecx               
  10b7b5:	8d 04 76             	lea    (%esi,%esi,2),%eax             
  10b7b8:	8d 04 01             	lea    (%ecx,%eax,1),%eax             
  10b7bb:	c1 e0 02             	shl    $0x2,%eax                      
  10b7be:	50                   	push   %eax                           
  10b7bf:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10b7c2:	e8 ed 19 00 00       	call   10d1b4 <_Workspace_Allocate>   
                                                                      
    if ( !object_blocks ) {                                           
  10b7c7:	83 c4 10             	add    $0x10,%esp                     
  10b7ca:	85 c0                	test   %eax,%eax                      
  10b7cc:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  10b7cf:	75 13                	jne    10b7e4 <_Objects_Extend_information+0xf8>
      _Workspace_Free( new_object_block );                            
  10b7d1:	83 ec 0c             	sub    $0xc,%esp                      
  10b7d4:	ff 75 bc             	pushl  -0x44(%ebp)                    
  10b7d7:	e8 f1 19 00 00       	call   10d1cd <_Workspace_Free>       
      return;                                                         
  10b7dc:	83 c4 10             	add    $0x10,%esp                     
  10b7df:	e9 56 01 00 00       	jmp    10b93a <_Objects_Extend_information+0x24e>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
  10b7e4:	8d 0c b0             	lea    (%eax,%esi,4),%ecx             
  10b7e7:	89 4d c0             	mov    %ecx,-0x40(%ebp)               
  10b7ea:	8d 34 f0             	lea    (%eax,%esi,8),%esi             
  10b7ed:	89 75 c4             	mov    %esi,-0x3c(%ebp)               
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
  10b7f0:	0f b7 73 10          	movzwl 0x10(%ebx),%esi                
  10b7f4:	31 c9                	xor    %ecx,%ecx                      
  10b7f6:	3b 75 c8             	cmp    -0x38(%ebp),%esi               
  10b7f9:	76 3e                	jbe    10b839 <_Objects_Extend_information+0x14d>
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
  10b7fb:	8d 34 95 00 00 00 00 	lea    0x0(,%edx,4),%esi              
  10b802:	89 75 d0             	mov    %esi,-0x30(%ebp)               
  10b805:	8b 73 34             	mov    0x34(%ebx),%esi                
  10b808:	89 c7                	mov    %eax,%edi                      
  10b80a:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  10b80d:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
  10b80f:	8b 73 30             	mov    0x30(%ebx),%esi                
  10b812:	8b 7d c0             	mov    -0x40(%ebp),%edi               
  10b815:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  10b818:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
  10b81a:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10b81e:	03 4d c8             	add    -0x38(%ebp),%ecx               
  10b821:	c1 e1 02             	shl    $0x2,%ecx                      
  10b824:	8b 73 1c             	mov    0x1c(%ebx),%esi                
  10b827:	8b 7d c4             	mov    -0x3c(%ebp),%edi               
  10b82a:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  10b82c:	eb 10                	jmp    10b83e <_Objects_Extend_information+0x152>
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
  10b82e:	8b 7d c4             	mov    -0x3c(%ebp),%edi               
  10b831:	c7 04 8f 00 00 00 00 	movl   $0x0,(%edi,%ecx,4)             
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
  10b838:	41                   	inc    %ecx                           
  10b839:	3b 4d c8             	cmp    -0x38(%ebp),%ecx               
  10b83c:	72 f0                	jb     10b82e <_Objects_Extend_information+0x142>
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
  10b83e:	c7 04 90 00 00 00 00 	movl   $0x0,(%eax,%edx,4)             
    inactive_per_block[block_count] = 0;                              
  10b845:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10b848:	c7 04 91 00 00 00 00 	movl   $0x0,(%ecx,%edx,4)             
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
  10b84f:	0f b7 53 14          	movzwl 0x14(%ebx),%edx                
  10b853:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  10b856:	01 d6                	add    %edx,%esi                      
  10b858:	8b 7d d4             	mov    -0x2c(%ebp),%edi               
  10b85b:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  10b85e:	8d 0c ba             	lea    (%edx,%edi,4),%ecx             
  10b861:	89 fa                	mov    %edi,%edx                      
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10b863:	eb 0a                	jmp    10b86f <_Objects_Extend_information+0x183>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
  10b865:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)                    
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
  10b86b:	42                   	inc    %edx                           
  10b86c:	83 c1 04             	add    $0x4,%ecx                      
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10b86f:	39 f2                	cmp    %esi,%edx                      
  10b871:	72 f2                	jb     10b865 <_Objects_Extend_information+0x179>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
  10b873:	9c                   	pushf                                 
  10b874:	fa                   	cli                                   
  10b875:	5e                   	pop    %esi                           
                                                                      
    old_tables = information->object_blocks;                          
  10b876:	8b 53 34             	mov    0x34(%ebx),%edx                
                                                                      
    information->object_blocks = object_blocks;                       
  10b879:	89 43 34             	mov    %eax,0x34(%ebx)                
    information->inactive_per_block = inactive_per_block;             
  10b87c:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10b87f:	89 4b 30             	mov    %ecx,0x30(%ebx)                
    information->local_table = local_table;                           
  10b882:	8b 7d c4             	mov    -0x3c(%ebp),%edi               
  10b885:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
    information->maximum = (Objects_Maximum) maximum;                 
  10b888:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  10b88b:	66 89 43 10          	mov    %ax,0x10(%ebx)                 
    information->maximum_id = _Objects_Build_id(                      
  10b88f:	8b 03                	mov    (%ebx),%eax                    
  10b891:	c1 e0 18             	shl    $0x18,%eax                     
  10b894:	0d 00 00 01 00       	or     $0x10000,%eax                  
  10b899:	0f b7 4b 04          	movzwl 0x4(%ebx),%ecx                 
  10b89d:	c1 e1 1b             	shl    $0x1b,%ecx                     
  10b8a0:	09 c8                	or     %ecx,%eax                      
  10b8a2:	0f b7 4d b8          	movzwl -0x48(%ebp),%ecx               
  10b8a6:	09 c8                	or     %ecx,%eax                      
  10b8a8:	89 43 0c             	mov    %eax,0xc(%ebx)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
  10b8ab:	56                   	push   %esi                           
  10b8ac:	9d                   	popf                                  
                                                                      
    if ( old_tables )                                                 
  10b8ad:	85 d2                	test   %edx,%edx                      
  10b8af:	74 0c                	je     10b8bd <_Objects_Extend_information+0x1d1>
      _Workspace_Free( old_tables );                                  
  10b8b1:	83 ec 0c             	sub    $0xc,%esp                      
  10b8b4:	52                   	push   %edx                           
  10b8b5:	e8 13 19 00 00       	call   10d1cd <_Workspace_Free>       
  10b8ba:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
  10b8bd:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  10b8c0:	c1 e2 02             	shl    $0x2,%edx                      
  10b8c3:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10b8c6:	8b 43 34             	mov    0x34(%ebx),%eax                
  10b8c9:	8b 75 bc             	mov    -0x44(%ebp),%esi               
  10b8cc:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  10b8cf:	89 34 88             	mov    %esi,(%eax,%ecx,4)             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
  10b8d2:	ff 73 18             	pushl  0x18(%ebx)                     
  10b8d5:	0f b7 53 14          	movzwl 0x14(%ebx),%edx                
  10b8d9:	52                   	push   %edx                           
  10b8da:	ff 34 88             	pushl  (%eax,%ecx,4)                  
  10b8dd:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10b8e0:	50                   	push   %eax                           
  10b8e1:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  10b8e4:	e8 37 3d 00 00       	call   10f620 <_Chain_Initialize>     
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10b8e9:	8d 7b 20             	lea    0x20(%ebx),%edi                
  10b8ec:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  10b8ef:	eb 23                	jmp    10b914 <_Objects_Extend_information+0x228>
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
  10b8f1:	8b 13                	mov    (%ebx),%edx                    
  10b8f3:	c1 e2 18             	shl    $0x18,%edx                     
  10b8f6:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
  10b8fc:	0f b7 4b 04          	movzwl 0x4(%ebx),%ecx                 
  10b900:	c1 e1 1b             	shl    $0x1b,%ecx                     
  10b903:	09 ca                	or     %ecx,%edx                      
  10b905:	09 f2                	or     %esi,%edx                      
  10b907:	89 50 08             	mov    %edx,0x8(%eax)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10b90a:	52                   	push   %edx                           
  10b90b:	52                   	push   %edx                           
  10b90c:	50                   	push   %eax                           
  10b90d:	57                   	push   %edi                           
  10b90e:	e8 d1 f4 ff ff       	call   10ade4 <_Chain_Append>         
                                                                      
    index++;                                                          
  10b913:	46                   	inc    %esi                           
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
  10b914:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10b917:	89 04 24             	mov    %eax,(%esp)                    
  10b91a:	e8 01 f5 ff ff       	call   10ae20 <_Chain_Get>            
  10b91f:	83 c4 10             	add    $0x10,%esp                     
  10b922:	85 c0                	test   %eax,%eax                      
  10b924:	75 cb                	jne    10b8f1 <_Objects_Extend_information+0x205>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  10b926:	8b 43 30             	mov    0x30(%ebx),%eax                
  10b929:	0f b7 53 14          	movzwl 0x14(%ebx),%edx                
  10b92d:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  10b930:	89 14 08             	mov    %edx,(%eax,%ecx,1)             
  information->inactive =                                             
  10b933:	8b 43 14             	mov    0x14(%ebx),%eax                
  10b936:	66 01 43 2c          	add    %ax,0x2c(%ebx)                 
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
  10b93a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b93d:	5b                   	pop    %ebx                           
  10b93e:	5e                   	pop    %esi                           
  10b93f:	5f                   	pop    %edi                           
  10b940:	c9                   	leave                                 
  10b941:	c3                   	ret                                   
                                                                      

0010b9d4 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint32_t the_class ) {
  10b9d4:	55                   	push   %ebp                           
  10b9d5:	89 e5                	mov    %esp,%ebp                      
  10b9d7:	56                   	push   %esi                           
  10b9d8:	53                   	push   %ebx                           
  10b9d9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b9dc:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
  10b9df:	85 db                	test   %ebx,%ebx                      
  10b9e1:	74 2d                	je     10ba10 <_Objects_Get_information+0x3c>
                                                                      
  /*                                                                  
   *  This call implicitly validates the_api so we do not call        
   *  _Objects_Is_api_valid above here.                               
   */                                                                 
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
  10b9e3:	83 ec 0c             	sub    $0xc,%esp                      
  10b9e6:	56                   	push   %esi                           
  10b9e7:	e8 90 41 00 00       	call   10fb7c <_Objects_API_maximum_class>
  if ( the_class_api_maximum == 0 )                                   
  10b9ec:	83 c4 10             	add    $0x10,%esp                     
  10b9ef:	85 c0                	test   %eax,%eax                      
  10b9f1:	74 1d                	je     10ba10 <_Objects_Get_information+0x3c>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
  10b9f3:	39 c3                	cmp    %eax,%ebx                      
  10b9f5:	77 19                	ja     10ba10 <_Objects_Get_information+0x3c>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10b9f7:	8b 04 b5 64 56 12 00 	mov    0x125664(,%esi,4),%eax         
  10b9fe:	85 c0                	test   %eax,%eax                      
  10ba00:	74 0e                	je     10ba10 <_Objects_Get_information+0x3c><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
  10ba02:	8b 04 98             	mov    (%eax,%ebx,4),%eax             
  if ( !info )                                                        
  10ba05:	85 c0                	test   %eax,%eax                      
  10ba07:	74 09                	je     10ba12 <_Objects_Get_information+0x3e><== NEVER TAKEN
   *  In a multprocessing configuration, we may access remote objects.
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
  10ba09:	66 83 78 10 00       	cmpw   $0x0,0x10(%eax)                
  10ba0e:	75 02                	jne    10ba12 <_Objects_Get_information+0x3e>
  10ba10:	31 c0                	xor    %eax,%eax                      
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
  10ba12:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ba15:	5b                   	pop    %ebx                           
  10ba16:	5e                   	pop    %esi                           
  10ba17:	c9                   	leave                                 
  10ba18:	c3                   	ret                                   
                                                                      

00118ef0 <_Objects_Get_no_protection>: Objects_Control *_Objects_Get_no_protection( Objects_Information *information, Objects_Id id, Objects_Locations *location ) {
  118ef0:	55                   	push   %ebp                           
  118ef1:	89 e5                	mov    %esp,%ebp                      
  118ef3:	53                   	push   %ebx                           
  118ef4:	8b 55 08             	mov    0x8(%ebp),%edx                 
  118ef7:	8b 4d 10             	mov    0x10(%ebp),%ecx                
                                                                      
  /*                                                                  
   * You can't just extract the index portion or you can get tricked  
   * by a value between 1 and maximum.                                
   */                                                                 
  index = id - information->minimum_id + 1;                           
  118efa:	b8 01 00 00 00       	mov    $0x1,%eax                      
  118eff:	2b 42 08             	sub    0x8(%edx),%eax                 
  118f02:	03 45 0c             	add    0xc(%ebp),%eax                 
                                                                      
  if ( information->maximum >= index ) {                              
  118f05:	0f b7 5a 10          	movzwl 0x10(%edx),%ebx                
  118f09:	39 c3                	cmp    %eax,%ebx                      
  118f0b:	72 12                	jb     118f1f <_Objects_Get_no_protection+0x2f>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
  118f0d:	8b 52 1c             	mov    0x1c(%edx),%edx                
  118f10:	8b 04 82             	mov    (%edx,%eax,4),%eax             
  118f13:	85 c0                	test   %eax,%eax                      
  118f15:	74 08                	je     118f1f <_Objects_Get_no_protection+0x2f><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
  118f17:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)                    
      return the_object;                                              
  118f1d:	eb 08                	jmp    118f27 <_Objects_Get_no_protection+0x37>
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
  118f1f:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)                    
  118f25:	31 c0                	xor    %eax,%eax                      
  return NULL;                                                        
}                                                                     
  118f27:	5b                   	pop    %ebx                           
  118f28:	c9                   	leave                                 
  118f29:	c3                   	ret                                   
                                                                      

0010f06c <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
  10f06c:	55                   	push   %ebp                           
  10f06d:	89 e5                	mov    %esp,%ebp                      
  10f06f:	83 ec 18             	sub    $0x18,%esp                     
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10f072:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10f075:	85 c0                	test   %eax,%eax                      
  10f077:	75 08                	jne    10f081 <_Objects_Id_to_name+0x15>
  10f079:	a1 28 0b 13 00       	mov    0x130b28,%eax                  
  10f07e:	8b 40 08             	mov    0x8(%eax),%eax                 
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
  10f081:	89 c2                	mov    %eax,%edx                      
  10f083:	c1 ea 18             	shr    $0x18,%edx                     
  10f086:	83 e2 07             	and    $0x7,%edx                      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
  10f089:	8d 4a ff             	lea    -0x1(%edx),%ecx                
  10f08c:	83 f9 03             	cmp    $0x3,%ecx                      
  10f08f:	77 32                	ja     10f0c3 <_Objects_Id_to_name+0x57>
  10f091:	eb 37                	jmp    10f0ca <_Objects_Id_to_name+0x5e>
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
  10f093:	89 c1                	mov    %eax,%ecx                      
  10f095:	c1 e9 1b             	shr    $0x1b,%ecx                     
  10f098:	8b 14 8a             	mov    (%edx,%ecx,4),%edx             
  if ( !information )                                                 
  10f09b:	85 d2                	test   %edx,%edx                      
  10f09d:	74 24                	je     10f0c3 <_Objects_Id_to_name+0x57><== NEVER TAKEN
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  10f09f:	51                   	push   %ecx                           
  10f0a0:	8d 4d f4             	lea    -0xc(%ebp),%ecx                
  10f0a3:	51                   	push   %ecx                           
  10f0a4:	50                   	push   %eax                           
  10f0a5:	52                   	push   %edx                           
  10f0a6:	e8 69 ff ff ff       	call   10f014 <_Objects_Get>          
  if ( !the_object )                                                  
  10f0ab:	83 c4 10             	add    $0x10,%esp                     
  10f0ae:	85 c0                	test   %eax,%eax                      
  10f0b0:	74 11                	je     10f0c3 <_Objects_Id_to_name+0x57>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  10f0b2:	8b 50 0c             	mov    0xc(%eax),%edx                 
  10f0b5:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f0b8:	89 10                	mov    %edx,(%eax)                    
  _Thread_Enable_dispatch();                                          
  10f0ba:	e8 86 07 00 00       	call   10f845 <_Thread_Enable_dispatch>
  10f0bf:	31 c0                	xor    %eax,%eax                      
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
  10f0c1:	eb 05                	jmp    10f0c8 <_Objects_Id_to_name+0x5c>
  10f0c3:	b8 03 00 00 00       	mov    $0x3,%eax                      
}                                                                     
  10f0c8:	c9                   	leave                                 
  10f0c9:	c3                   	ret                                   
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10f0ca:	8b 14 95 40 0a 13 00 	mov    0x130a40(,%edx,4),%edx         
  10f0d1:	85 d2                	test   %edx,%edx                      
  10f0d3:	75 be                	jne    10f093 <_Objects_Id_to_name+0x27>
  10f0d5:	eb ec                	jmp    10f0c3 <_Objects_Id_to_name+0x57>
                                                                      

0010bac4 <_Objects_Initialize_information>: , bool supports_global, Objects_Thread_queue_Extract_callout extract #endif ) {
  10bac4:	55                   	push   %ebp                           
  10bac5:	89 e5                	mov    %esp,%ebp                      
  10bac7:	57                   	push   %edi                           
  10bac8:	56                   	push   %esi                           
  10bac9:	53                   	push   %ebx                           
  10baca:	83 ec 1c             	sub    $0x1c,%esp                     
  10bacd:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10bad0:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10bad3:	8b 75 10             	mov    0x10(%ebp),%esi                
  10bad6:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  10bad9:	8b 4d 20             	mov    0x20(%ebp),%ecx                
  10badc:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10badf:	0f b7 7d 18          	movzwl 0x18(%ebp),%edi                
  uint32_t                maximum_per_allocation;                     
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t              index;                                      
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  10bae3:	89 10                	mov    %edx,(%eax)                    
  information->the_class          = the_class;                        
  10bae5:	66 89 70 04          	mov    %si,0x4(%eax)                  
  information->size               = size;                             
  10bae9:	89 78 18             	mov    %edi,0x18(%eax)                
  information->local_table        = 0;                                
  10baec:	c7 40 1c 00 00 00 00 	movl   $0x0,0x1c(%eax)                
  information->inactive_per_block = 0;                                
  10baf3:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  information->object_blocks      = 0;                                
  10bafa:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  information->inactive           = 0;                                
  10bb01:	66 c7 40 2c 00 00    	movw   $0x0,0x2c(%eax)                
                                                                      
  /*                                                                  
   *  Set the maximum value to 0. It will be updated when objects are 
   *  added to the inactive set from _Objects_Extend_information()    
   */                                                                 
  information->maximum = 0;                                           
  10bb07:	66 c7 40 10 00 00    	movw   $0x0,0x10(%eax)                
                                                                      
  /*                                                                  
   *  Register this Object Class in the Object Information Table.     
   */                                                                 
  _Objects_Information_table[ the_api ][ the_class ] = information;   
  10bb0d:	8b 3c 95 64 56 12 00 	mov    0x125664(,%edx,4),%edi         
  10bb14:	89 04 b7             	mov    %eax,(%edi,%esi,4)             
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  10bb17:	89 df                	mov    %ebx,%edi                      
  10bb19:	c1 ef 1f             	shr    $0x1f,%edi                     
  _Objects_Information_table[ the_api ][ the_class ] = information;   
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
  10bb1c:	89 f9                	mov    %edi,%ecx                      
  10bb1e:	88 48 12             	mov    %cl,0x12(%eax)                 
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  maximum_per_allocation = maximum & ~OBJECTS_UNLIMITED_OBJECTS;      
  10bb21:	89 d9                	mov    %ebx,%ecx                      
  10bb23:	81 e1 ff ff ff 7f    	and    $0x7fffffff,%ecx               
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
  10bb29:	85 ff                	test   %edi,%edi                      
  10bb2b:	74 10                	je     10bb3d <_Objects_Initialize_information+0x79>
  10bb2d:	85 c9                	test   %ecx,%ecx                      
  10bb2f:	75 0c                	jne    10bb3d <_Objects_Initialize_information+0x79>
    _Internal_error_Occurred(                                         
  10bb31:	50                   	push   %eax                           
  10bb32:	6a 14                	push   $0x14                          
  10bb34:	6a 01                	push   $0x1                           
  10bb36:	6a 00                	push   $0x0                           
  10bb38:	e8 83 fa ff ff       	call   10b5c0 <_Internal_error_Occurred>
  }                                                                   
                                                                      
  /*                                                                  
   *  The allocation unit is the maximum value                        
   */                                                                 
  information->allocation_size = maximum_per_allocation;              
  10bb3d:	66 89 48 14          	mov    %cx,0x14(%eax)                 
                                                                      
  /*                                                                  
   *  Provide a null local table entry for the case of any empty table.
   */                                                                 
  information->local_table = &null_local_table;                       
  10bb41:	c7 40 1c 38 53 12 00 	movl   $0x125338,0x1c(%eax)           
                                                                      
  /*                                                                  
   *  Calculate minimum and maximum Id's                              
   */                                                                 
  minimum_index = (maximum_per_allocation == 0) ? 0 : 1;              
  information->minimum_id =                                           
  10bb48:	c1 e2 18             	shl    $0x18,%edx                     
  10bb4b:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
  10bb51:	c1 e6 1b             	shl    $0x1b,%esi                     
  10bb54:	09 f2                	or     %esi,%edx                      
  10bb56:	85 c9                	test   %ecx,%ecx                      
  10bb58:	0f 95 c3             	setne  %bl                            
  10bb5b:	89 de                	mov    %ebx,%esi                      
  10bb5d:	81 e6 ff 00 00 00    	and    $0xff,%esi                     
  10bb63:	09 f2                	or     %esi,%edx                      
  10bb65:	89 50 08             	mov    %edx,0x8(%eax)                 
  /*                                                                  
   *  Calculate the maximum name length                               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
  10bb68:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bb6b:	f6 c2 03             	test   $0x3,%dl                       
  10bb6e:	74 06                	je     10bb76 <_Objects_Initialize_information+0xb2><== ALWAYS TAKEN
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
  10bb70:	83 c2 04             	add    $0x4,%edx                      <== NOT EXECUTED
  10bb73:	83 e2 fc             	and    $0xfffffffc,%edx               <== NOT EXECUTED
                  ~(OBJECTS_NAME_ALIGNMENT-1);                        
                                                                      
  information->name_length = name_length;                             
  10bb76:	66 89 50 38          	mov    %dx,0x38(%eax)                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  10bb7a:	8d 50 24             	lea    0x24(%eax),%edx                
  10bb7d:	89 50 20             	mov    %edx,0x20(%eax)                
  the_chain->permanent_null = NULL;                                   
  10bb80:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
  the_chain->last           = _Chain_Head(the_chain);                 
  10bb87:	8d 50 20             	lea    0x20(%eax),%edx                
  10bb8a:	89 50 28             	mov    %edx,0x28(%eax)                
  _Chain_Initialize_empty( &information->Inactive );                  
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
  if ( maximum_per_allocation ) {                                     
  10bb8d:	85 c9                	test   %ecx,%ecx                      
  10bb8f:	74 0f                	je     10bba0 <_Objects_Initialize_information+0xdc>
    /*                                                                
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
    _Objects_Extend_information( information );                       
  10bb91:	89 45 08             	mov    %eax,0x8(%ebp)                 
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10bb94:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bb97:	5b                   	pop    %ebx                           
  10bb98:	5e                   	pop    %esi                           
  10bb99:	5f                   	pop    %edi                           
  10bb9a:	c9                   	leave                                 
    /*                                                                
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
    _Objects_Extend_information( information );                       
  10bb9b:	e9 4c fb ff ff       	jmp    10b6ec <_Objects_Extend_information>
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10bba0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bba3:	5b                   	pop    %ebx                           
  10bba4:	5e                   	pop    %esi                           
  10bba5:	5f                   	pop    %edi                           
  10bba6:	c9                   	leave                                 
  10bba7:	c3                   	ret                                   
                                                                      

00100220 <_Partition_Manager_initialization>: #include <rtems/rtems/part.h> #include <rtems/score/thread.h> #include <rtems/score/interr.h> void _Partition_Manager_initialization(void) {
  100220:	55                   	push   %ebp                           
  100221:	89 e5                	mov    %esp,%ebp                      
}                                                                     
  100223:	c9                   	leave                                 
  100224:	c3                   	ret                                   
                                                                      

0010f3e2 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
  10f3e2:	55                   	push   %ebp                           
  10f3e3:	89 e5                	mov    %esp,%ebp                      
  10f3e5:	57                   	push   %edi                           
  10f3e6:	56                   	push   %esi                           
  10f3e7:	53                   	push   %ebx                           
  10f3e8:	83 ec 1c             	sub    $0x1c,%esp                     
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  10f3eb:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10f3ee:	8b 98 f0 00 00 00    	mov    0xf0(%eax),%ebx                
  if ( !api )                                                         
  10f3f4:	85 db                	test   %ebx,%ebx                      
  10f3f6:	74 45                	je     10f43d <_RTEMS_tasks_Post_switch_extension+0x5b><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
  10f3f8:	9c                   	pushf                                 
  10f3f9:	fa                   	cli                                   
  10f3fa:	58                   	pop    %eax                           
    signal_set = asr->signals_posted;                                 
  10f3fb:	8b 7b 14             	mov    0x14(%ebx),%edi                
    asr->signals_posted = 0;                                          
  10f3fe:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
  _ISR_Enable( level );                                               
  10f405:	50                   	push   %eax                           
  10f406:	9d                   	popf                                  
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
  10f407:	85 ff                	test   %edi,%edi                      
  10f409:	74 32                	je     10f43d <_RTEMS_tasks_Post_switch_extension+0x5b><== NEVER TAKEN
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
  10f40b:	ff 43 1c             	incl   0x1c(%ebx)                     
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
  10f40e:	50                   	push   %eax                           
  10f40f:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10f412:	56                   	push   %esi                           
  10f413:	68 ff ff 00 00       	push   $0xffff                        
  10f418:	ff 73 10             	pushl  0x10(%ebx)                     
  10f41b:	e8 b0 20 00 00       	call   1114d0 <rtems_task_mode>       
                                                                      
  (*asr->handler)( signal_set );                                      
  10f420:	89 3c 24             	mov    %edi,(%esp)                    
  10f423:	ff 53 0c             	call   *0xc(%ebx)                     
                                                                      
  asr->nest_level -= 1;                                               
  10f426:	ff 4b 1c             	decl   0x1c(%ebx)                     
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
  10f429:	83 c4 0c             	add    $0xc,%esp                      
  10f42c:	56                   	push   %esi                           
  10f42d:	68 ff ff 00 00       	push   $0xffff                        
  10f432:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10f435:	e8 96 20 00 00       	call   1114d0 <rtems_task_mode>       
  10f43a:	83 c4 10             	add    $0x10,%esp                     
                                                                      
}                                                                     
  10f43d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f440:	5b                   	pop    %ebx                           
  10f441:	5e                   	pop    %esi                           
  10f442:	5f                   	pop    %edi                           
  10f443:	c9                   	leave                                 
  10f444:	c3                   	ret                                   
                                                                      

00100240 <_Rate_monotonic_Manager_initialization>: #include <rtems/rtems/types.h> #include <rtems/rtems/ratemon.h> void _Rate_monotonic_Manager_initialization(void) {
  100240:	55                   	push   %ebp                           
  100241:	89 e5                	mov    %esp,%ebp                      
}                                                                     
  100243:	c9                   	leave                                 
  100244:	c3                   	ret                                   
                                                                      

0013a768 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
  13a768:	55                   	push   %ebp                           
  13a769:	89 e5                	mov    %esp,%ebp                      
  13a76b:	53                   	push   %ebx                           
  13a76c:	83 ec 18             	sub    $0x18,%esp                     
  13a76f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  13a772:	50                   	push   %eax                           
  13a773:	ff 75 08             	pushl  0x8(%ebp)                      
  13a776:	68 f8 7f 16 00       	push   $0x167ff8                      
  13a77b:	e8 58 7e fd ff       	call   1125d8 <_Objects_Get>          
  13a780:	89 c3                	mov    %eax,%ebx                      
  /*                                                                  
   *  When we get here, the Timer is already off the chain so we do not
   *  have to worry about that -- hence no _Watchdog_Remove().        
   */                                                                 
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
  13a782:	83 c4 10             	add    $0x10,%esp                     
  13a785:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  13a789:	75 64                	jne    13a7ef <_Rate_monotonic_Timeout+0x87><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
  13a78b:	8b 40 40             	mov    0x40(%eax),%eax                
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
  13a78e:	f6 40 11 40          	testb  $0x40,0x11(%eax)               
  13a792:	74 18                	je     13a7ac <_Rate_monotonic_Timeout+0x44>
            the_thread->Wait.id == the_period->Object.id ) {          
  13a794:	8b 50 20             	mov    0x20(%eax),%edx                
  13a797:	3b 53 08             	cmp    0x8(%ebx),%edx                 
  13a79a:	75 10                	jne    13a7ac <_Rate_monotonic_Timeout+0x44>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  13a79c:	52                   	push   %edx                           
  13a79d:	52                   	push   %edx                           
  13a79e:	68 f8 ff 03 10       	push   $0x1003fff8                    
  13a7a3:	50                   	push   %eax                           
  13a7a4:	e8 27 83 fd ff       	call   112ad0 <_Thread_Clear_state>   
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  13a7a9:	59                   	pop    %ecx                           
  13a7aa:	eb 10                	jmp    13a7bc <_Rate_monotonic_Timeout+0x54>
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
  13a7ac:	83 7b 38 01          	cmpl   $0x1,0x38(%ebx)                
  13a7b0:	75 2b                	jne    13a7dd <_Rate_monotonic_Timeout+0x75>
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
  13a7b2:	c7 43 38 03 00 00 00 	movl   $0x3,0x38(%ebx)                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  13a7b9:	83 ec 0c             	sub    $0xc,%esp                      
  13a7bc:	53                   	push   %ebx                           
  13a7bd:	e8 52 fc ff ff       	call   13a414 <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  13a7c2:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  13a7c5:	89 43 1c             	mov    %eax,0x1c(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  13a7c8:	58                   	pop    %eax                           
  13a7c9:	5a                   	pop    %edx                           
  13a7ca:	83 c3 10             	add    $0x10,%ebx                     
  13a7cd:	53                   	push   %ebx                           
  13a7ce:	68 80 7c 16 00       	push   $0x167c80                      
  13a7d3:	e8 14 94 fd ff       	call   113bec <_Watchdog_Insert>      
  13a7d8:	83 c4 10             	add    $0x10,%esp                     
  13a7db:	eb 07                	jmp    13a7e4 <_Rate_monotonic_Timeout+0x7c>
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
  13a7dd:	c7 43 38 04 00 00 00 	movl   $0x4,0x38(%ebx)                
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  13a7e4:	a1 a4 7b 16 00       	mov    0x167ba4,%eax                  
  13a7e9:	48                   	dec    %eax                           
  13a7ea:	a3 a4 7b 16 00       	mov    %eax,0x167ba4                  
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  13a7ef:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  13a7f2:	c9                   	leave                                 
  13a7f3:	c3                   	ret                                   
                                                                      

00100228 <_Region_Manager_initialization>: #include <rtems/score/states.h> #include <rtems/score/thread.h> #include <rtems/score/interr.h> void _Region_Manager_initialization(void) {
  100228:	55                   	push   %ebp                           
  100229:	89 e5                	mov    %esp,%ebp                      
}                                                                     
  10022b:	c9                   	leave                                 
  10022c:	c3                   	ret                                   
                                                                      

0010b120 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
  10b120:	55                   	push   %ebp                           
  10b121:	89 e5                	mov    %esp,%ebp                      
  10b123:	53                   	push   %ebx                           
  10b124:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  10b127:	8b 1d 04 42 12 00    	mov    0x124204,%ebx                  
  if ((!the_tod)                                  ||                  
  10b12d:	85 c9                	test   %ecx,%ecx                      
  10b12f:	74 59                	je     10b18a <_TOD_Validate+0x6a>    <== NEVER TAKEN
      (the_tod->ticks  >= ticks_per_second)       ||                  
  10b131:	b8 40 42 0f 00       	mov    $0xf4240,%eax                  
  10b136:	31 d2                	xor    %edx,%edx                      
  10b138:	f7 f3                	div    %ebx                           
  10b13a:	39 41 18             	cmp    %eax,0x18(%ecx)                
  10b13d:	73 4b                	jae    10b18a <_TOD_Validate+0x6a>    
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
  10b13f:	83 79 14 3b          	cmpl   $0x3b,0x14(%ecx)               
  10b143:	77 45                	ja     10b18a <_TOD_Validate+0x6a>    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
  10b145:	83 79 10 3b          	cmpl   $0x3b,0x10(%ecx)               
  10b149:	77 3f                	ja     10b18a <_TOD_Validate+0x6a>    
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
  10b14b:	83 79 0c 17          	cmpl   $0x17,0xc(%ecx)                
  10b14f:	77 39                	ja     10b18a <_TOD_Validate+0x6a>    
      (the_tod->month  == 0)                      ||                  
  10b151:	8b 41 04             	mov    0x4(%ecx),%eax                 
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10b154:	85 c0                	test   %eax,%eax                      
  10b156:	74 32                	je     10b18a <_TOD_Validate+0x6a>    <== NEVER TAKEN
  10b158:	83 f8 0c             	cmp    $0xc,%eax                      
  10b15b:	77 2d                	ja     10b18a <_TOD_Validate+0x6a>    
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
  10b15d:	8b 19                	mov    (%ecx),%ebx                    
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10b15f:	81 fb c3 07 00 00    	cmp    $0x7c3,%ebx                    
  10b165:	76 23                	jbe    10b18a <_TOD_Validate+0x6a>    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
  10b167:	8b 51 08             	mov    0x8(%ecx),%edx                 
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10b16a:	85 d2                	test   %edx,%edx                      
  10b16c:	74 1c                	je     10b18a <_TOD_Validate+0x6a>    <== NEVER TAKEN
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
  10b16e:	80 e3 03             	and    $0x3,%bl                       
  10b171:	75 09                	jne    10b17c <_TOD_Validate+0x5c>    
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  10b173:	8b 04 85 a0 19 12 00 	mov    0x1219a0(,%eax,4),%eax         
  10b17a:	eb 07                	jmp    10b183 <_TOD_Validate+0x63>    
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
  10b17c:	8b 04 85 6c 19 12 00 	mov    0x12196c(,%eax,4),%eax         
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  10b183:	39 c2                	cmp    %eax,%edx                      
  10b185:	0f 96 c0             	setbe  %al                            
  10b188:	eb 02                	jmp    10b18c <_TOD_Validate+0x6c>    
  10b18a:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  10b18c:	5b                   	pop    %ebx                           
  10b18d:	c9                   	leave                                 
  10b18e:	c3                   	ret                                   
                                                                      

0010bd94 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
  10bd94:	55                   	push   %ebp                           
  10bd95:	89 e5                	mov    %esp,%ebp                      
  10bd97:	57                   	push   %edi                           
  10bd98:	56                   	push   %esi                           
  10bd99:	53                   	push   %ebx                           
  10bd9a:	83 ec 28             	sub    $0x28,%esp                     
  10bd9d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10bda0:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10bda3:	8a 45 10             	mov    0x10(%ebp),%al                 
  10bda6:	88 45 e7             	mov    %al,-0x19(%ebp)                
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
  10bda9:	8b 73 10             	mov    0x10(%ebx),%esi                
  /*                                                                  
   * Set a transient state for the thread so it is pulled off the Ready chains.
   * This will prevent it from being scheduled no matter what happens in an
   * ISR.                                                             
   */                                                                 
  _Thread_Set_transient( the_thread );                                
  10bdac:	53                   	push   %ebx                           
  10bdad:	e8 22 0d 00 00       	call   10cad4 <_Thread_Set_transient> 
                                                                      
  /*                                                                  
   *  Do not bother recomputing all the priority related information if
   *  we are not REALLY changing priority.                            
   */                                                                 
 if ( the_thread->current_priority != new_priority )                  
  10bdb2:	83 c4 10             	add    $0x10,%esp                     
  10bdb5:	39 7b 14             	cmp    %edi,0x14(%ebx)                
  10bdb8:	74 0c                	je     10bdc6 <_Thread_Change_priority+0x32>
    _Thread_Set_priority( the_thread, new_priority );                 
  10bdba:	50                   	push   %eax                           
  10bdbb:	50                   	push   %eax                           
  10bdbc:	57                   	push   %edi                           
  10bdbd:	53                   	push   %ebx                           
  10bdbe:	e8 dd 0b 00 00       	call   10c9a0 <_Thread_Set_priority>  
  10bdc3:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _ISR_Disable( level );                                              
  10bdc6:	9c                   	pushf                                 
  10bdc7:	fa                   	cli                                   
  10bdc8:	59                   	pop    %ecx                           
                                                                      
  /*                                                                  
   *  If the thread has more than STATES_TRANSIENT set, then it is blocked,
   *  If it is blocked on a thread queue, then we need to requeue it. 
   */                                                                 
  state = the_thread->current_state;                                  
  10bdc9:	8b 43 10             	mov    0x10(%ebx),%eax                
  if ( state != STATES_TRANSIENT ) {                                  
  10bdcc:	83 f8 04             	cmp    $0x4,%eax                      
  10bdcf:	74 2f                	je     10be00 <_Thread_Change_priority+0x6c>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
  10bdd1:	83 e6 04             	and    $0x4,%esi                      
  10bdd4:	75 08                	jne    10bdde <_Thread_Change_priority+0x4a><== NEVER TAKEN
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
  10bdd6:	89 c2                	mov    %eax,%edx                      
  10bdd8:	83 e2 fb             	and    $0xfffffffb,%edx               
  10bddb:	89 53 10             	mov    %edx,0x10(%ebx)                
    _ISR_Enable( level );                                             
  10bdde:	51                   	push   %ecx                           
  10bddf:	9d                   	popf                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
  10bde0:	a9 e0 be 03 00       	test   $0x3bee0,%eax                  
  10bde5:	0f 84 c0 00 00 00    	je     10beab <_Thread_Change_priority+0x117>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
  10bdeb:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10bdee:	8b 43 44             	mov    0x44(%ebx),%eax                
  10bdf1:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  _ISR_Enable( level );                                               
}                                                                     
  10bdf4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bdf7:	5b                   	pop    %ebx                           
  10bdf8:	5e                   	pop    %esi                           
  10bdf9:	5f                   	pop    %edi                           
  10bdfa:	c9                   	leave                                 
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
  10bdfb:	e9 18 0b 00 00       	jmp    10c918 <_Thread_queue_Requeue> 
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
  10be00:	83 e6 04             	and    $0x4,%esi                      
  10be03:	75 53                	jne    10be58 <_Thread_Change_priority+0xc4><== NEVER TAKEN
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
  10be05:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10be0c:	8b 83 90 00 00 00    	mov    0x90(%ebx),%eax                
  10be12:	66 8b 93 96 00 00 00 	mov    0x96(%ebx),%dx                 
  10be19:	66 09 10             	or     %dx,(%eax)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10be1c:	66 a1 40 57 12 00    	mov    0x125740,%ax                   
  10be22:	0b 83 94 00 00 00    	or     0x94(%ebx),%eax                
  10be28:	66 a3 40 57 12 00    	mov    %ax,0x125740                   
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
  10be2e:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  10be32:	8b 83 8c 00 00 00    	mov    0x8c(%ebx),%eax                
  10be38:	74 0e                	je     10be48 <_Thread_Change_priority+0xb4>
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  10be3a:	89 43 04             	mov    %eax,0x4(%ebx)                 
  before_node           = after_node->next;                           
  10be3d:	8b 10                	mov    (%eax),%edx                    
  after_node->next      = the_node;                                   
  10be3f:	89 18                	mov    %ebx,(%eax)                    
  the_node->next        = before_node;                                
  10be41:	89 13                	mov    %edx,(%ebx)                    
  before_node->previous = the_node;                                   
  10be43:	89 5a 04             	mov    %ebx,0x4(%edx)                 
  10be46:	eb 10                	jmp    10be58 <_Thread_Change_priority+0xc4>
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  10be48:	8d 50 04             	lea    0x4(%eax),%edx                 
  10be4b:	89 13                	mov    %edx,(%ebx)                    
  old_last_node       = the_chain->last;                              
  10be4d:	8b 50 08             	mov    0x8(%eax),%edx                 
  the_chain->last     = the_node;                                     
  10be50:	89 58 08             	mov    %ebx,0x8(%eax)                 
  old_last_node->next = the_node;                                     
  10be53:	89 1a                	mov    %ebx,(%edx)                    
  the_node->previous  = old_last_node;                                
  10be55:	89 53 04             	mov    %edx,0x4(%ebx)                 
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
  10be58:	51                   	push   %ecx                           
  10be59:	9d                   	popf                                  
  10be5a:	fa                   	cli                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void )   
{                                                                     
  Priority_Bit_map_control minor;                                     
  Priority_Bit_map_control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  10be5b:	66 8b 1d 40 57 12 00 	mov    0x125740,%bx                   
  10be62:	31 c0                	xor    %eax,%eax                      
  10be64:	89 c2                	mov    %eax,%edx                      
  10be66:	66 0f bc d3          	bsf    %bx,%dx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10be6a:	0f b7 d2             	movzwl %dx,%edx                       
  10be6d:	66 8b 9c 12 b8 57 12 	mov    0x1257b8(%edx,%edx,1),%bx      
  10be74:	00                                                          
  10be75:	66 0f bc c3          	bsf    %bx,%ax                        
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
  10be79:	c1 e2 04             	shl    $0x4,%edx                      
  10be7c:	0f b7 c0             	movzwl %ax,%eax                       
  10be7f:	01 c2                	add    %eax,%edx                      
  10be81:	6b d2 0c             	imul   $0xc,%edx,%edx                 
  10be84:	8b 1d 58 56 12 00    	mov    0x125658,%ebx                  
  10be8a:	8b 14 1a             	mov    (%edx,%ebx,1),%edx             
  10be8d:	89 15 1c 57 12 00    	mov    %edx,0x12571c                  
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
  10be93:	a1 4c 57 12 00       	mov    0x12574c,%eax                  
   *  We altered the set of thread priorities.  So let's figure out   
   *  who is the heir and if we need to switch to them.               
   */                                                                 
  _Thread_Calculate_heir();                                           
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
  10be98:	39 d0                	cmp    %edx,%eax                      
  10be9a:	74 0d                	je     10bea9 <_Thread_Change_priority+0x115>
       _Thread_Executing->is_preemptible )                            
  10be9c:	80 78 75 00          	cmpb   $0x0,0x75(%eax)                
  10bea0:	74 07                	je     10bea9 <_Thread_Change_priority+0x115>
    _Context_Switch_necessary = true;                                 
  10bea2:	c6 05 5c 57 12 00 01 	movb   $0x1,0x12575c                  
  _ISR_Enable( level );                                               
  10bea9:	51                   	push   %ecx                           
  10beaa:	9d                   	popf                                  
}                                                                     
  10beab:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10beae:	5b                   	pop    %ebx                           
  10beaf:	5e                   	pop    %esi                           
  10beb0:	5f                   	pop    %edi                           
  10beb1:	c9                   	leave                                 
  10beb2:	c3                   	ret                                   
                                                                      

0010beb4 <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
  10beb4:	55                   	push   %ebp                           
  10beb5:	89 e5                	mov    %esp,%ebp                      
  10beb7:	53                   	push   %ebx                           
  10beb8:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10bebb:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10bebe:	9c                   	pushf                                 
  10bebf:	fa                   	cli                                   
  10bec0:	59                   	pop    %ecx                           
    current_state = the_thread->current_state;                        
  10bec1:	8b 58 10             	mov    0x10(%eax),%ebx                
                                                                      
    if ( current_state & state ) {                                    
  10bec4:	85 da                	test   %ebx,%edx                      
  10bec6:	74 71                	je     10bf39 <_Thread_Clear_state+0x85>
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
  10bec8:	f7 d2                	not    %edx                           
  10beca:	21 da                	and    %ebx,%edx                      
      current_state =                                                 
  10becc:	89 50 10             	mov    %edx,0x10(%eax)                
      the_thread->current_state = _States_Clear( state, current_state );
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
  10becf:	85 d2                	test   %edx,%edx                      
  10bed1:	75 66                	jne    10bf39 <_Thread_Clear_state+0x85>
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10bed3:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10bed9:	66 8b 98 96 00 00 00 	mov    0x96(%eax),%bx                 
  10bee0:	66 09 1a             	or     %bx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10bee3:	66 8b 15 40 57 12 00 	mov    0x125740,%dx                   
  10beea:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  10bef0:	66 89 15 40 57 12 00 	mov    %dx,0x125740                   
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  10bef7:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  10befd:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10bf00:	89 18                	mov    %ebx,(%eax)                    
  old_last_node       = the_chain->last;                              
  10bf02:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10bf05:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10bf08:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10bf0a:	89 58 04             	mov    %ebx,0x4(%eax)                 
                                                                      
        _ISR_Flash( level );                                          
  10bf0d:	51                   	push   %ecx                           
  10bf0e:	9d                   	popf                                  
  10bf0f:	fa                   	cli                                   
         *    a context switch.                                       
         *  Pseudo-ISR case:                                          
         *    Even if the thread isn't preemptible, if the new heir is
         *    a pseudo-ISR system task, we need to do a context switch.
         */                                                           
        if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
  10bf10:	8b 50 14             	mov    0x14(%eax),%edx                
  10bf13:	8b 1d 1c 57 12 00    	mov    0x12571c,%ebx                  
  10bf19:	3b 53 14             	cmp    0x14(%ebx),%edx                
  10bf1c:	73 1b                	jae    10bf39 <_Thread_Clear_state+0x85>
          _Thread_Heir = the_thread;                                  
  10bf1e:	a3 1c 57 12 00       	mov    %eax,0x12571c                  
          if ( _Thread_Executing->is_preemptible ||                   
  10bf23:	a1 4c 57 12 00       	mov    0x12574c,%eax                  
  10bf28:	80 78 75 00          	cmpb   $0x0,0x75(%eax)                
  10bf2c:	75 04                	jne    10bf32 <_Thread_Clear_state+0x7e>
  10bf2e:	85 d2                	test   %edx,%edx                      
  10bf30:	75 07                	jne    10bf39 <_Thread_Clear_state+0x85><== ALWAYS TAKEN
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
  10bf32:	c6 05 5c 57 12 00 01 	movb   $0x1,0x12575c                  
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
  10bf39:	51                   	push   %ecx                           
  10bf3a:	9d                   	popf                                  
}                                                                     
  10bf3b:	5b                   	pop    %ebx                           
  10bf3c:	c9                   	leave                                 
  10bf3d:	c3                   	ret                                   
                                                                      

0010c0b4 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10c0b4:	55                   	push   %ebp                           
  10c0b5:	89 e5                	mov    %esp,%ebp                      
  10c0b7:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10c0ba:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c0bd:	50                   	push   %eax                           
  10c0be:	ff 75 08             	pushl  0x8(%ebp)                      
  10c0c1:	e8 8e 01 00 00       	call   10c254 <_Thread_Get>           
  switch ( location ) {                                               
  10c0c6:	83 c4 10             	add    $0x10,%esp                     
  10c0c9:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10c0cd:	75 1b                	jne    10c0ea <_Thread_Delay_ended+0x36><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
  10c0cf:	52                   	push   %edx                           
  10c0d0:	52                   	push   %edx                           
  10c0d1:	68 18 00 00 10       	push   $0x10000018                    
  10c0d6:	50                   	push   %eax                           
  10c0d7:	e8 d8 fd ff ff       	call   10beb4 <_Thread_Clear_state>   
  10c0dc:	a1 90 56 12 00       	mov    0x125690,%eax                  
  10c0e1:	48                   	dec    %eax                           
  10c0e2:	a3 90 56 12 00       	mov    %eax,0x125690                  
  10c0e7:	83 c4 10             	add    $0x10,%esp                     
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10c0ea:	c9                   	leave                                 
  10c0eb:	c3                   	ret                                   
                                                                      

0010c0ec <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
  10c0ec:	55                   	push   %ebp                           
  10c0ed:	89 e5                	mov    %esp,%ebp                      
  10c0ef:	57                   	push   %edi                           
  10c0f0:	56                   	push   %esi                           
  10c0f1:	53                   	push   %ebx                           
  10c0f2:	83 ec 1c             	sub    $0x1c,%esp                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  10c0f5:	8b 1d 4c 57 12 00    	mov    0x12574c,%ebx                  
  _ISR_Disable( level );                                              
  10c0fb:	9c                   	pushf                                 
  10c0fc:	fa                   	cli                                   
  10c0fd:	58                   	pop    %eax                           
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
  10c0fe:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
  10c101:	e9 f1 00 00 00       	jmp    10c1f7 <_Thread_Dispatch+0x10b>
    heir = _Thread_Heir;                                              
  10c106:	8b 35 1c 57 12 00    	mov    0x12571c,%esi                  
    _Thread_Dispatch_disable_level = 1;                               
  10c10c:	c7 05 90 56 12 00 01 	movl   $0x1,0x125690                  
  10c113:	00 00 00                                                    
    _Context_Switch_necessary = false;                                
  10c116:	c6 05 5c 57 12 00 00 	movb   $0x0,0x12575c                  
    _Thread_Executing = heir;                                         
  10c11d:	89 35 4c 57 12 00    	mov    %esi,0x12574c                  
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
  10c123:	83 7e 7c 01          	cmpl   $0x1,0x7c(%esi)                
  10c127:	75 09                	jne    10c132 <_Thread_Dispatch+0x46> 
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
  10c129:	8b 15 5c 56 12 00    	mov    0x12565c,%edx                  
  10c12f:	89 56 78             	mov    %edx,0x78(%esi)                
    _ISR_Enable( level );                                             
  10c132:	50                   	push   %eax                           
  10c133:	9d                   	popf                                  
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
  10c134:	83 ec 0c             	sub    $0xc,%esp                      
  10c137:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10c13a:	50                   	push   %eax                           
  10c13b:	e8 10 37 00 00       	call   10f850 <_TOD_Get_uptime>       
        _Timestamp_Subtract(                                          
  10c140:	83 c4 0c             	add    $0xc,%esp                      
  10c143:	57                   	push   %edi                           
  10c144:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10c147:	50                   	push   %eax                           
  10c148:	68 54 57 12 00       	push   $0x125754                      
  10c14d:	e8 ee 0b 00 00       	call   10cd40 <_Timespec_Subtract>    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
  10c152:	58                   	pop    %eax                           
  10c153:	5a                   	pop    %edx                           
  10c154:	57                   	push   %edi                           
  10c155:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  10c15b:	50                   	push   %eax                           
  10c15c:	e8 af 0b 00 00       	call   10cd10 <_Timespec_Add_to>      
        _Thread_Time_of_last_context_switch = uptime;                 
  10c161:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10c164:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10c167:	a3 54 57 12 00       	mov    %eax,0x125754                  
  10c16c:	89 15 58 57 12 00    	mov    %edx,0x125758                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
  10c172:	a1 18 57 12 00       	mov    0x125718,%eax                  
  10c177:	83 c4 10             	add    $0x10,%esp                     
  10c17a:	85 c0                	test   %eax,%eax                      
  10c17c:	74 10                	je     10c18e <_Thread_Dispatch+0xa2> <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
  10c17e:	8b 10                	mov    (%eax),%edx                    
  10c180:	89 93 ec 00 00 00    	mov    %edx,0xec(%ebx)                
      *_Thread_libc_reent = heir->libc_reent;                         
  10c186:	8b 96 ec 00 00 00    	mov    0xec(%esi),%edx                
  10c18c:	89 10                	mov    %edx,(%eax)                    
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
  10c18e:	51                   	push   %ecx                           
  10c18f:	51                   	push   %ecx                           
  10c190:	56                   	push   %esi                           
  10c191:	53                   	push   %ebx                           
  10c192:	e8 d9 0d 00 00       	call   10cf70 <_User_extensions_Thread_switch>
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
  10c197:	58                   	pop    %eax                           
  10c198:	5a                   	pop    %edx                           
  10c199:	81 c6 d0 00 00 00    	add    $0xd0,%esi                     
  10c19f:	56                   	push   %esi                           
  10c1a0:	8d 83 d0 00 00 00    	lea    0xd0(%ebx),%eax                
  10c1a6:	50                   	push   %eax                           
  10c1a7:	e8 84 10 00 00       	call   10d230 <_CPU_Context_switch>   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
  10c1ac:	83 c4 10             	add    $0x10,%esp                     
  10c1af:	83 bb e8 00 00 00 00 	cmpl   $0x0,0xe8(%ebx)                
  10c1b6:	74 36                	je     10c1ee <_Thread_Dispatch+0x102>
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
RTEMS_INLINE_ROUTINE bool _Thread_Is_allocated_fp (                   
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Allocated_fp );                      
  10c1b8:	a1 14 57 12 00       	mov    0x125714,%eax                  
  10c1bd:	39 c3                	cmp    %eax,%ebx                      
  10c1bf:	74 2d                	je     10c1ee <_Thread_Dispatch+0x102>
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
  10c1c1:	85 c0                	test   %eax,%eax                      
  10c1c3:	74 11                	je     10c1d6 <_Thread_Dispatch+0xea> 
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
  10c1c5:	83 ec 0c             	sub    $0xc,%esp                      
  10c1c8:	05 e8 00 00 00       	add    $0xe8,%eax                     
  10c1cd:	50                   	push   %eax                           
  10c1ce:	e8 91 10 00 00       	call   10d264 <_CPU_Context_save_fp>  
  10c1d3:	83 c4 10             	add    $0x10,%esp                     
      _Context_Restore_fp( &executing->fp_context );                  
  10c1d6:	83 ec 0c             	sub    $0xc,%esp                      
  10c1d9:	8d 83 e8 00 00 00    	lea    0xe8(%ebx),%eax                
  10c1df:	50                   	push   %eax                           
  10c1e0:	e8 89 10 00 00       	call   10d26e <_CPU_Context_restore_fp>
      _Thread_Allocated_fp = executing;                               
  10c1e5:	89 1d 14 57 12 00    	mov    %ebx,0x125714                  
  10c1eb:	83 c4 10             	add    $0x10,%esp                     
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
  10c1ee:	8b 1d 4c 57 12 00    	mov    0x12574c,%ebx                  
                                                                      
    _ISR_Disable( level );                                            
  10c1f4:	9c                   	pushf                                 
  10c1f5:	fa                   	cli                                   
  10c1f6:	58                   	pop    %eax                           
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
  10c1f7:	8a 15 5c 57 12 00    	mov    0x12575c,%dl                   
  10c1fd:	84 d2                	test   %dl,%dl                        
  10c1ff:	0f 85 01 ff ff ff    	jne    10c106 <_Thread_Dispatch+0x1a> 
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
  _Thread_Dispatch_disable_level = 0;                                 
  10c205:	c7 05 90 56 12 00 00 	movl   $0x0,0x125690                  
  10c20c:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10c20f:	50                   	push   %eax                           
  10c210:	9d                   	popf                                  
                                                                      
  if ( _Thread_Do_post_task_switch_extension ||                       
  10c211:	83 3d 30 57 12 00 00 	cmpl   $0x0,0x125730                  
  10c218:	75 06                	jne    10c220 <_Thread_Dispatch+0x134><== NEVER TAKEN
       executing->do_post_task_switch_extension ) {                   
  10c21a:	80 7b 74 00          	cmpb   $0x0,0x74(%ebx)                
  10c21e:	74 09                	je     10c229 <_Thread_Dispatch+0x13d>
    executing->do_post_task_switch_extension = false;                 
  10c220:	c6 43 74 00          	movb   $0x0,0x74(%ebx)                
    _API_extensions_Run_postswitch();                                 
  10c224:	e8 a6 ea ff ff       	call   10accf <_API_extensions_Run_postswitch>
  }                                                                   
                                                                      
}                                                                     
  10c229:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c22c:	5b                   	pop    %ebx                           
  10c22d:	5e                   	pop    %esi                           
  10c22e:	5f                   	pop    %edi                           
  10c22f:	c9                   	leave                                 
  10c230:	c3                   	ret                                   
                                                                      

001116d8 <_Thread_Evaluate_mode>: * * XXX */ bool _Thread_Evaluate_mode( void ) {
  1116d8:	55                   	push   %ebp                           
  1116d9:	89 e5                	mov    %esp,%ebp                      
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
  1116db:	a1 4c 57 12 00       	mov    0x12574c,%eax                  
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
  1116e0:	83 78 10 00          	cmpl   $0x0,0x10(%eax)                
  1116e4:	75 0e                	jne    1116f4 <_Thread_Evaluate_mode+0x1c><== NEVER TAKEN
  1116e6:	3b 05 1c 57 12 00    	cmp    0x12571c,%eax                  
  1116ec:	74 11                	je     1116ff <_Thread_Evaluate_mode+0x27>
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
  1116ee:	80 78 75 00          	cmpb   $0x0,0x75(%eax)                
  1116f2:	74 0b                	je     1116ff <_Thread_Evaluate_mode+0x27><== NEVER TAKEN
    _Context_Switch_necessary = true;                                 
  1116f4:	c6 05 5c 57 12 00 01 	movb   $0x1,0x12575c                  
  1116fb:	b0 01                	mov    $0x1,%al                       
    return true;                                                      
  1116fd:	eb 02                	jmp    111701 <_Thread_Evaluate_mode+0x29>
  1116ff:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
  111701:	c9                   	leave                                 
  111702:	c3                   	ret                                   
                                                                      

00111704 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
  111704:	55                   	push   %ebp                           
  111705:	89 e5                	mov    %esp,%ebp                      
  111707:	53                   	push   %ebx                           
  111708:	83 ec 14             	sub    $0x14,%esp                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
  11170b:	8b 1d 4c 57 12 00    	mov    0x12574c,%ebx                  
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  111711:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  _ISR_Set_level(level);                                              
  111717:	85 c0                	test   %eax,%eax                      
  111719:	74 03                	je     11171e <_Thread_Handler+0x1a>  
  11171b:	fa                   	cli                                   
  11171c:	eb 01                	jmp    11171f <_Thread_Handler+0x1b>  
  11171e:	fb                   	sti                                   
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
  11171f:	a0 48 53 12 00       	mov    0x125348,%al                   
  111724:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    doneConstructors = 1;                                             
  111727:	c6 05 48 53 12 00 01 	movb   $0x1,0x125348                  
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
  11172e:	83 bb e8 00 00 00 00 	cmpl   $0x0,0xe8(%ebx)                
  111735:	74 24                	je     11175b <_Thread_Handler+0x57>  
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
RTEMS_INLINE_ROUTINE bool _Thread_Is_allocated_fp (                   
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Allocated_fp );                      
  111737:	a1 14 57 12 00       	mov    0x125714,%eax                  
  11173c:	39 c3                	cmp    %eax,%ebx                      
  11173e:	74 1b                	je     11175b <_Thread_Handler+0x57>  
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
  111740:	85 c0                	test   %eax,%eax                      
  111742:	74 11                	je     111755 <_Thread_Handler+0x51>  
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
  111744:	83 ec 0c             	sub    $0xc,%esp                      
  111747:	05 e8 00 00 00       	add    $0xe8,%eax                     
  11174c:	50                   	push   %eax                           
  11174d:	e8 12 bb ff ff       	call   10d264 <_CPU_Context_save_fp>  
  111752:	83 c4 10             	add    $0x10,%esp                     
        _Thread_Allocated_fp = executing;                             
  111755:	89 1d 14 57 12 00    	mov    %ebx,0x125714                  
  /*                                                                  
   * Take care that 'begin' extensions get to complete before         
   * 'switch' extensions can run.  This means must keep dispatch      
   * disabled until all 'begin' extensions complete.                  
   */                                                                 
  _User_extensions_Thread_begin( executing );                         
  11175b:	83 ec 0c             	sub    $0xc,%esp                      
  11175e:	53                   	push   %ebx                           
  11175f:	e8 c0 b6 ff ff       	call   10ce24 <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
  111764:	e8 c8 aa ff ff       	call   10c231 <_Thread_Enable_dispatch>
    /*                                                                
     *  _init could be a weak symbol and we SHOULD test it but it isn't
     *  in any configuration I know of and it generates a warning on every
     *  RTEMS target configuration.  --joel (12 May 2007)             
     */                                                               
    if (!doneCons) /* && (volatile void *)_init) */ {                 
  111769:	83 c4 10             	add    $0x10,%esp                     
  11176c:	80 7d f7 00          	cmpb   $0x0,-0x9(%ebp)                
  111770:	75 05                	jne    111777 <_Thread_Handler+0x73>  
      INIT_NAME ();                                                   
  111772:	e8 89 bf 00 00       	call   11d700 <__start_set_sysctl_set>
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  111777:	83 bb a0 00 00 00 00 	cmpl   $0x0,0xa0(%ebx)                
  11177e:	75 15                	jne    111795 <_Thread_Handler+0x91>  <== NEVER TAKEN
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
  111780:	83 ec 0c             	sub    $0xc,%esp                      
  111783:	ff b3 a8 00 00 00    	pushl  0xa8(%ebx)                     
  111789:	ff 93 9c 00 00 00    	call   *0x9c(%ebx)                    
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
  11178f:	89 43 28             	mov    %eax,0x28(%ebx)                
  111792:	83 c4 10             	add    $0x10,%esp                     
   *  was placed in return_argument.  This assumed that if it returned
   *  anything (which is not supporting in all APIs), then it would be
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
  111795:	83 ec 0c             	sub    $0xc,%esp                      
  111798:	53                   	push   %ebx                           
  111799:	e8 b7 b6 ff ff       	call   10ce55 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
  11179e:	83 c4 0c             	add    $0xc,%esp                      
  1117a1:	6a 06                	push   $0x6                           
  1117a3:	6a 01                	push   $0x1                           
  1117a5:	6a 00                	push   $0x0                           
  1117a7:	e8 14 9e ff ff       	call   10b5c0 <_Internal_error_Occurred>
                                                                      

0010c2c8 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
  10c2c8:	55                   	push   %ebp                           
  10c2c9:	89 e5                	mov    %esp,%ebp                      
  10c2cb:	57                   	push   %edi                           
  10c2cc:	56                   	push   %esi                           
  10c2cd:	53                   	push   %ebx                           
  10c2ce:	83 ec 24             	sub    $0x24,%esp                     
  10c2d1:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c2d4:	8b 75 14             	mov    0x14(%ebp),%esi                
  10c2d7:	8a 55 18             	mov    0x18(%ebp),%dl                 
  10c2da:	8a 45 20             	mov    0x20(%ebp),%al                 
  10c2dd:	88 45 e7             	mov    %al,-0x19(%ebp)                
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
  10c2e0:	c7 83 f0 00 00 00 00 	movl   $0x0,0xf0(%ebx)                
  10c2e7:	00 00 00                                                    
  10c2ea:	c7 83 f4 00 00 00 00 	movl   $0x0,0xf4(%ebx)                
  10c2f1:	00 00 00                                                    
  10c2f4:	c7 83 f8 00 00 00 00 	movl   $0x0,0xf8(%ebx)                
  10c2fb:	00 00 00                                                    
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
  10c2fe:	c7 83 ec 00 00 00 00 	movl   $0x0,0xec(%ebx)                
  10c305:	00 00 00                                                    
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
  10c308:	56                   	push   %esi                           
  10c309:	53                   	push   %ebx                           
  10c30a:	88 55 e0             	mov    %dl,-0x20(%ebp)                
  10c30d:	e8 36 08 00 00       	call   10cb48 <_Thread_Stack_Allocate>
    if ( !actual_stack_size || actual_stack_size < stack_size )       
  10c312:	83 c4 10             	add    $0x10,%esp                     
  10c315:	39 f0                	cmp    %esi,%eax                      
  10c317:	8a 55 e0             	mov    -0x20(%ebp),%dl                
  10c31a:	72 04                	jb     10c320 <_Thread_Initialize+0x58>
  10c31c:	85 c0                	test   %eax,%eax                      
  10c31e:	75 07                	jne    10c327 <_Thread_Initialize+0x5f><== ALWAYS TAKEN
  10c320:	31 c0                	xor    %eax,%eax                      
  10c322:	e9 b9 01 00 00       	jmp    10c4e0 <_Thread_Initialize+0x218>
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
  10c327:	8b 8b cc 00 00 00    	mov    0xcc(%ebx),%ecx                
  10c32d:	89 8b c4 00 00 00    	mov    %ecx,0xc4(%ebx)                
  the_stack->size = size;                                             
  10c333:	89 83 c0 00 00 00    	mov    %eax,0xc0(%ebx)                
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
  10c339:	31 ff                	xor    %edi,%edi                      
  10c33b:	84 d2                	test   %dl,%dl                        
  10c33d:	74 19                	je     10c358 <_Thread_Initialize+0x90>
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
  10c33f:	83 ec 0c             	sub    $0xc,%esp                      
  10c342:	6a 6c                	push   $0x6c                          
  10c344:	e8 6b 0e 00 00       	call   10d1b4 <_Workspace_Allocate>   
  10c349:	89 c7                	mov    %eax,%edi                      
      if ( !fp_area )                                                 
  10c34b:	83 c4 10             	add    $0x10,%esp                     
  10c34e:	31 f6                	xor    %esi,%esi                      
  10c350:	85 c0                	test   %eax,%eax                      
  10c352:	0f 84 02 01 00 00    	je     10c45a <_Thread_Initialize+0x192>
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
  10c358:	89 bb e8 00 00 00    	mov    %edi,0xe8(%ebx)                
    the_thread->Start.fp_context = fp_area;                           
  10c35e:	89 bb c8 00 00 00    	mov    %edi,0xc8(%ebx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c364:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10c36b:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
  the_watchdog->id        = id;                                       
  10c372:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10c379:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c380:	a1 2c 57 12 00       	mov    0x12572c,%eax                  
  10c385:	31 f6                	xor    %esi,%esi                      
  10c387:	85 c0                	test   %eax,%eax                      
  10c389:	74 1d                	je     10c3a8 <_Thread_Initialize+0xe0>
    extensions_area = _Workspace_Allocate(                            
  10c38b:	83 ec 0c             	sub    $0xc,%esp                      
  10c38e:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax              
  10c395:	50                   	push   %eax                           
  10c396:	e8 19 0e 00 00       	call   10d1b4 <_Workspace_Allocate>   
  10c39b:	89 c6                	mov    %eax,%esi                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
  10c39d:	83 c4 10             	add    $0x10,%esp                     
  10c3a0:	85 c0                	test   %eax,%eax                      
  10c3a2:	0f 84 b2 00 00 00    	je     10c45a <_Thread_Initialize+0x192>
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10c3a8:	89 b3 fc 00 00 00    	mov    %esi,0xfc(%ebx)                
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
  10c3ae:	85 f6                	test   %esi,%esi                      
  10c3b0:	74 1c                	je     10c3ce <_Thread_Initialize+0x106>
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
  10c3b2:	8b 0d 2c 57 12 00    	mov    0x12572c,%ecx                  
  10c3b8:	31 c0                	xor    %eax,%eax                      
  10c3ba:	eb 0e                	jmp    10c3ca <_Thread_Initialize+0x102>
      the_thread->extensions[i] = NULL;                               
  10c3bc:	8b 93 fc 00 00 00    	mov    0xfc(%ebx),%edx                
  10c3c2:	c7 04 82 00 00 00 00 	movl   $0x0,(%edx,%eax,4)             
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
  10c3c9:	40                   	inc    %eax                           
  10c3ca:	39 c8                	cmp    %ecx,%eax                      
  10c3cc:	76 ee                	jbe    10c3bc <_Thread_Initialize+0xf4>
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  10c3ce:	8a 45 e7             	mov    -0x19(%ebp),%al                
  10c3d1:	88 83 ac 00 00 00    	mov    %al,0xac(%ebx)                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  10c3d7:	8b 45 24             	mov    0x24(%ebp),%eax                
  10c3da:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)                
  the_thread->Start.budget_callout   = budget_callout;                
  10c3e0:	8b 45 28             	mov    0x28(%ebp),%eax                
  10c3e3:	89 83 b4 00 00 00    	mov    %eax,0xb4(%ebx)                
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
  10c3e9:	8b 45 2c             	mov    0x2c(%ebp),%eax                
  10c3ec:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  10c3f2:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)                
  the_thread->Wait.queue              = NULL;                         
  10c3f9:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  the_thread->resource_count          = 0;                            
  10c400:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  10c407:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c40a:	89 43 18             	mov    %eax,0x18(%ebx)                
  the_thread->Start.initial_priority  = priority;                     
  10c40d:	89 83 bc 00 00 00    	mov    %eax,0xbc(%ebx)                
  _Thread_Set_priority( the_thread, priority );                       
  10c413:	52                   	push   %edx                           
  10c414:	52                   	push   %edx                           
  10c415:	50                   	push   %eax                           
  10c416:	53                   	push   %ebx                           
  10c417:	e8 84 05 00 00       	call   10c9a0 <_Thread_Set_priority>  
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
  10c41c:	c7 83 84 00 00 00 00 	movl   $0x0,0x84(%ebx)                
  10c423:	00 00 00                                                    
  10c426:	c7 83 88 00 00 00 00 	movl   $0x0,0x88(%ebx)                
  10c42d:	00 00 00                                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c430:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10c434:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c437:	8b 40 1c             	mov    0x1c(%eax),%eax                
  10c43a:	89 1c 90             	mov    %ebx,(%eax,%edx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10c43d:	8b 45 30             	mov    0x30(%ebp),%eax                
  10c440:	89 43 0c             	mov    %eax,0xc(%ebx)                 
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
  10c443:	89 1c 24             	mov    %ebx,(%esp)                    
  10c446:	e8 79 0a 00 00       	call   10cec4 <_User_extensions_Thread_create>
  10c44b:	88 c2                	mov    %al,%dl                        
  if ( extension_status )                                             
  10c44d:	83 c4 10             	add    $0x10,%esp                     
  10c450:	b0 01                	mov    $0x1,%al                       
  10c452:	84 d2                	test   %dl,%dl                        
  10c454:	0f 85 86 00 00 00    	jne    10c4e0 <_Thread_Initialize+0x218>
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
  10c45a:	8b 83 ec 00 00 00    	mov    0xec(%ebx),%eax                
  10c460:	85 c0                	test   %eax,%eax                      
  10c462:	74 0c                	je     10c470 <_Thread_Initialize+0x1a8>
    _Workspace_Free( the_thread->libc_reent );                        
  10c464:	83 ec 0c             	sub    $0xc,%esp                      
  10c467:	50                   	push   %eax                           
  10c468:	e8 60 0d 00 00       	call   10d1cd <_Workspace_Free>       
  10c46d:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10c470:	8b 83 f0 00 00 00    	mov    0xf0(%ebx),%eax                
  10c476:	85 c0                	test   %eax,%eax                      
  10c478:	74 0c                	je     10c486 <_Thread_Initialize+0x1be>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c47a:	83 ec 0c             	sub    $0xc,%esp                      
  10c47d:	50                   	push   %eax                           
  10c47e:	e8 4a 0d 00 00       	call   10d1cd <_Workspace_Free>       
  10c483:	83 c4 10             	add    $0x10,%esp                     
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10c486:	8b 83 f4 00 00 00    	mov    0xf4(%ebx),%eax                
  10c48c:	85 c0                	test   %eax,%eax                      
  10c48e:	74 0c                	je     10c49c <_Thread_Initialize+0x1d4><== ALWAYS TAKEN
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c490:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10c493:	50                   	push   %eax                           <== NOT EXECUTED
  10c494:	e8 34 0d 00 00       	call   10d1cd <_Workspace_Free>       <== NOT EXECUTED
  10c499:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10c49c:	8b 83 f8 00 00 00    	mov    0xf8(%ebx),%eax                
  10c4a2:	85 c0                	test   %eax,%eax                      
  10c4a4:	74 0c                	je     10c4b2 <_Thread_Initialize+0x1ea><== ALWAYS TAKEN
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c4a6:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10c4a9:	50                   	push   %eax                           <== NOT EXECUTED
  10c4aa:	e8 1e 0d 00 00       	call   10d1cd <_Workspace_Free>       <== NOT EXECUTED
  10c4af:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
  10c4b2:	85 f6                	test   %esi,%esi                      
  10c4b4:	74 0c                	je     10c4c2 <_Thread_Initialize+0x1fa>
    (void) _Workspace_Free( extensions_area );                        
  10c4b6:	83 ec 0c             	sub    $0xc,%esp                      
  10c4b9:	56                   	push   %esi                           
  10c4ba:	e8 0e 0d 00 00       	call   10d1cd <_Workspace_Free>       
  10c4bf:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
  10c4c2:	85 ff                	test   %edi,%edi                      
  10c4c4:	74 0c                	je     10c4d2 <_Thread_Initialize+0x20a>
      (void) _Workspace_Free( fp_area );                              
  10c4c6:	83 ec 0c             	sub    $0xc,%esp                      
  10c4c9:	57                   	push   %edi                           
  10c4ca:	e8 fe 0c 00 00       	call   10d1cd <_Workspace_Free>       
  10c4cf:	83 c4 10             	add    $0x10,%esp                     
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  10c4d2:	83 ec 0c             	sub    $0xc,%esp                      
  10c4d5:	53                   	push   %ebx                           
  10c4d6:	e8 bd 06 00 00       	call   10cb98 <_Thread_Stack_Free>    
  10c4db:	31 c0                	xor    %eax,%eax                      
  return false;                                                       
  10c4dd:	83 c4 10             	add    $0x10,%esp                     
                                                                      
                                                                      
}                                                                     
  10c4e0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c4e3:	5b                   	pop    %ebx                           
  10c4e4:	5e                   	pop    %esi                           
  10c4e5:	5f                   	pop    %edi                           
  10c4e6:	c9                   	leave                                 
  10c4e7:	c3                   	ret                                   
                                                                      

0010fe90 <_Thread_Reset_timeslice>: * ready chain * select heir */ void _Thread_Reset_timeslice( void ) {
  10fe90:	55                   	push   %ebp                           
  10fe91:	89 e5                	mov    %esp,%ebp                      
  10fe93:	56                   	push   %esi                           
  10fe94:	53                   	push   %ebx                           
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
  10fe95:	a1 4c 57 12 00       	mov    0x12574c,%eax                  
  ready     = executing->ready;                                       
  10fe9a:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  _ISR_Disable( level );                                              
  10fea0:	9c                   	pushf                                 
  10fea1:	fa                   	cli                                   
  10fea2:	59                   	pop    %ecx                           
    if ( _Chain_Has_only_one_node( ready ) ) {                        
  10fea3:	8b 1a                	mov    (%edx),%ebx                    
  10fea5:	3b 5a 08             	cmp    0x8(%edx),%ebx                 
  10fea8:	74 33                	je     10fedd <_Thread_Reset_timeslice+0x4d>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10feaa:	8b 30                	mov    (%eax),%esi                    
  previous       = the_node->previous;                                
  10feac:	8b 58 04             	mov    0x4(%eax),%ebx                 
  next->previous = previous;                                          
  10feaf:	89 5e 04             	mov    %ebx,0x4(%esi)                 
  previous->next = next;                                              
  10feb2:	89 33                	mov    %esi,(%ebx)                    
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  10feb4:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10feb7:	89 18                	mov    %ebx,(%eax)                    
  old_last_node       = the_chain->last;                              
  10feb9:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10febc:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10febf:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10fec1:	89 58 04             	mov    %ebx,0x4(%eax)                 
      return;                                                         
    }                                                                 
    _Chain_Extract_unprotected( &executing->Object.Node );            
    _Chain_Append_unprotected( ready, &executing->Object.Node );      
                                                                      
  _ISR_Flash( level );                                                
  10fec4:	51                   	push   %ecx                           
  10fec5:	9d                   	popf                                  
  10fec6:	fa                   	cli                                   
                                                                      
    if ( _Thread_Is_heir( executing ) )                               
  10fec7:	3b 05 1c 57 12 00    	cmp    0x12571c,%eax                  
  10fecd:	75 07                	jne    10fed6 <_Thread_Reset_timeslice+0x46><== NEVER TAKEN
      _Thread_Heir = (Thread_Control *) ready->first;                 
  10fecf:	8b 02                	mov    (%edx),%eax                    
  10fed1:	a3 1c 57 12 00       	mov    %eax,0x12571c                  
                                                                      
    _Context_Switch_necessary = true;                                 
  10fed6:	c6 05 5c 57 12 00 01 	movb   $0x1,0x12575c                  
                                                                      
  _ISR_Enable( level );                                               
  10fedd:	51                   	push   %ecx                           
  10fede:	9d                   	popf                                  
}                                                                     
  10fedf:	5b                   	pop    %ebx                           
  10fee0:	5e                   	pop    %esi                           
  10fee1:	c9                   	leave                                 
  10fee2:	c3                   	ret                                   
                                                                      

0010f7b0 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
  10f7b0:	55                   	push   %ebp                           
  10f7b1:	89 e5                	mov    %esp,%ebp                      
  10f7b3:	53                   	push   %ebx                           
  10f7b4:	8b 45 08             	mov    0x8(%ebp),%eax                 
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10f7b7:	9c                   	pushf                                 
  10f7b8:	fa                   	cli                                   
  10f7b9:	59                   	pop    %ecx                           
      _ISR_Enable( level );                                           
      return;                                                         
    }                                                                 
  #endif                                                              
                                                                      
  current_state = the_thread->current_state;                          
  10f7ba:	8b 50 10             	mov    0x10(%eax),%edx                
  if ( current_state & STATES_SUSPENDED ) {                           
  10f7bd:	f6 c2 02             	test   $0x2,%dl                       
  10f7c0:	74 70                	je     10f832 <_Thread_Resume+0x82>   <== NEVER TAKEN
  10f7c2:	83 e2 fd             	and    $0xfffffffd,%edx               
    current_state =                                                   
  10f7c5:	89 50 10             	mov    %edx,0x10(%eax)                
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
  10f7c8:	85 d2                	test   %edx,%edx                      
  10f7ca:	75 66                	jne    10f832 <_Thread_Resume+0x82>   
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10f7cc:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10f7d2:	66 8b 98 96 00 00 00 	mov    0x96(%eax),%bx                 
  10f7d9:	66 09 1a             	or     %bx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10f7dc:	66 8b 15 50 89 12 00 	mov    0x128950,%dx                   
  10f7e3:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  10f7e9:	66 89 15 50 89 12 00 	mov    %dx,0x128950                   
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  10f7f0:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  10f7f6:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10f7f9:	89 18                	mov    %ebx,(%eax)                    
  old_last_node       = the_chain->last;                              
  10f7fb:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10f7fe:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10f801:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10f803:	89 58 04             	mov    %ebx,0x4(%eax)                 
                                                                      
      _ISR_Flash( level );                                            
  10f806:	51                   	push   %ecx                           
  10f807:	9d                   	popf                                  
  10f808:	fa                   	cli                                   
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
  10f809:	8b 50 14             	mov    0x14(%eax),%edx                
  10f80c:	8b 1d 2c 89 12 00    	mov    0x12892c,%ebx                  
  10f812:	3b 53 14             	cmp    0x14(%ebx),%edx                
  10f815:	73 1b                	jae    10f832 <_Thread_Resume+0x82>   
        _Thread_Heir = the_thread;                                    
  10f817:	a3 2c 89 12 00       	mov    %eax,0x12892c                  
        if ( _Thread_Executing->is_preemptible ||                     
  10f81c:	a1 5c 89 12 00       	mov    0x12895c,%eax                  
  10f821:	80 78 75 00          	cmpb   $0x0,0x75(%eax)                
  10f825:	75 04                	jne    10f82b <_Thread_Resume+0x7b>   
  10f827:	85 d2                	test   %edx,%edx                      
  10f829:	75 07                	jne    10f832 <_Thread_Resume+0x82>   <== ALWAYS TAKEN
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
  10f82b:	c6 05 6c 89 12 00 01 	movb   $0x1,0x12896c                  
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10f832:	51                   	push   %ecx                           
  10f833:	9d                   	popf                                  
}                                                                     
  10f834:	5b                   	pop    %ebx                           
  10f835:	c9                   	leave                                 
  10f836:	c3                   	ret                                   
                                                                      

0010ccb0 <_Thread_Yield_processor>: * ready chain * select heir */ void _Thread_Yield_processor( void ) {
  10ccb0:	55                   	push   %ebp                           
  10ccb1:	89 e5                	mov    %esp,%ebp                      
  10ccb3:	56                   	push   %esi                           
  10ccb4:	53                   	push   %ebx                           
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
  10ccb5:	a1 4c 57 12 00       	mov    0x12574c,%eax                  
  ready     = executing->ready;                                       
  10ccba:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  _ISR_Disable( level );                                              
  10ccc0:	9c                   	pushf                                 
  10ccc1:	fa                   	cli                                   
  10ccc2:	59                   	pop    %ecx                           
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
  10ccc3:	8b 1a                	mov    (%edx),%ebx                    
  10ccc5:	3b 5a 08             	cmp    0x8(%edx),%ebx                 
  10ccc8:	74 2e                	je     10ccf8 <_Thread_Yield_processor+0x48>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10ccca:	8b 30                	mov    (%eax),%esi                    
  previous       = the_node->previous;                                
  10cccc:	8b 58 04             	mov    0x4(%eax),%ebx                 
  next->previous = previous;                                          
  10cccf:	89 5e 04             	mov    %ebx,0x4(%esi)                 
  previous->next = next;                                              
  10ccd2:	89 33                	mov    %esi,(%ebx)                    
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  10ccd4:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10ccd7:	89 18                	mov    %ebx,(%eax)                    
  old_last_node       = the_chain->last;                              
  10ccd9:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10ccdc:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10ccdf:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10cce1:	89 58 04             	mov    %ebx,0x4(%eax)                 
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
  10cce4:	51                   	push   %ecx                           
  10cce5:	9d                   	popf                                  
  10cce6:	fa                   	cli                                   
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
  10cce7:	3b 05 1c 57 12 00    	cmp    0x12571c,%eax                  
  10cced:	75 11                	jne    10cd00 <_Thread_Yield_processor+0x50><== NEVER TAKEN
        _Thread_Heir = (Thread_Control *) ready->first;               
  10ccef:	8b 02                	mov    (%edx),%eax                    
  10ccf1:	a3 1c 57 12 00       	mov    %eax,0x12571c                  
  10ccf6:	eb 08                	jmp    10cd00 <_Thread_Yield_processor+0x50>
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
  10ccf8:	3b 05 1c 57 12 00    	cmp    0x12571c,%eax                  
  10ccfe:	74 07                	je     10cd07 <_Thread_Yield_processor+0x57><== ALWAYS TAKEN
      _Context_Switch_necessary = true;                               
  10cd00:	c6 05 5c 57 12 00 01 	movb   $0x1,0x12575c                  
                                                                      
  _ISR_Enable( level );                                               
  10cd07:	51                   	push   %ecx                           
  10cd08:	9d                   	popf                                  
}                                                                     
  10cd09:	5b                   	pop    %ebx                           
  10cd0a:	5e                   	pop    %esi                           
  10cd0b:	c9                   	leave                                 
  10cd0c:	c3                   	ret                                   
                                                                      

0010c748 <_Thread_queue_Enqueue_priority>: Thread_blocking_operation_States _Thread_queue_Enqueue_priority ( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, ISR_Level *level_p ) {
  10c748:	55                   	push   %ebp                           
  10c749:	89 e5                	mov    %esp,%ebp                      
  10c74b:	57                   	push   %edi                           
  10c74c:	56                   	push   %esi                           
  10c74d:	53                   	push   %ebx                           
  10c74e:	83 ec 10             	sub    $0x10,%esp                     
  10c751:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10c754:	8b 45 0c             	mov    0xc(%ebp),%eax                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  10c757:	8d 50 3c             	lea    0x3c(%eax),%edx                
  10c75a:	89 50 38             	mov    %edx,0x38(%eax)                
  the_chain->permanent_null = NULL;                                   
  10c75d:	c7 40 3c 00 00 00 00 	movl   $0x0,0x3c(%eax)                
  the_chain->last           = _Chain_Head(the_chain);                 
  10c764:	8d 50 38             	lea    0x38(%eax),%edx                
  10c767:	89 50 40             	mov    %edx,0x40(%eax)                
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  10c76a:	8b 58 14             	mov    0x14(%eax),%ebx                
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  10c76d:	89 de                	mov    %ebx,%esi                      
  10c76f:	c1 ee 06             	shr    $0x6,%esi                      
  10c772:	6b f6 0c             	imul   $0xc,%esi,%esi                 
  10c775:	8d 34 31             	lea    (%ecx,%esi,1),%esi             
  block_state  = the_thread_queue->state;                             
  10c778:	8b 79 38             	mov    0x38(%ecx),%edi                
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
  10c77b:	f6 c3 20             	test   $0x20,%bl                      
  10c77e:	75 65                	jne    10c7e5 <_Thread_queue_Enqueue_priority+0x9d>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10c780:	8d 56 04             	lea    0x4(%esi),%edx                 
  10c783:	89 55 e8             	mov    %edx,-0x18(%ebp)               
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  10c786:	9c                   	pushf                                 
  10c787:	fa                   	cli                                   
  10c788:	8f 45 f0             	popl   -0x10(%ebp)                    
  search_thread = (Thread_Control *) header->first;                   
  10c78b:	8b 16                	mov    (%esi),%edx                    
  10c78d:	c7 45 ec ff ff ff ff 	movl   $0xffffffff,-0x14(%ebp)        
  10c794:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10c797:	eb 1f                	jmp    10c7b8 <_Thread_queue_Enqueue_priority+0x70>
    search_priority = search_thread->current_priority;                
  10c799:	8b 72 14             	mov    0x14(%edx),%esi                
  10c79c:	89 75 ec             	mov    %esi,-0x14(%ebp)               
    if ( priority <= search_priority )                                
  10c79f:	39 f3                	cmp    %esi,%ebx                      
  10c7a1:	76 1a                	jbe    10c7bd <_Thread_queue_Enqueue_priority+0x75>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c7a3:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c7a6:	9d                   	popf                                  
  10c7a7:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c7a8:	85 7a 10             	test   %edi,0x10(%edx)                
  10c7ab:	75 09                	jne    10c7b6 <_Thread_queue_Enqueue_priority+0x6e><== ALWAYS TAKEN
  10c7ad:	8b 75 e4             	mov    -0x1c(%ebp),%esi               <== NOT EXECUTED
      _ISR_Enable( level );                                           
  10c7b0:	ff 75 f0             	pushl  -0x10(%ebp)                    <== NOT EXECUTED
  10c7b3:	9d                   	popf                                  <== NOT EXECUTED
      goto restart_forward_search;                                    
  10c7b4:	eb d0                	jmp    10c786 <_Thread_queue_Enqueue_priority+0x3e><== NOT EXECUTED
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  10c7b6:	8b 12                	mov    (%edx),%edx                    
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10c7b8:	3b 55 e8             	cmp    -0x18(%ebp),%edx               
  10c7bb:	75 dc                	jne    10c799 <_Thread_queue_Enqueue_priority+0x51>
  10c7bd:	8b 75 f0             	mov    -0x10(%ebp),%esi               
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c7c0:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c7c4:	0f 85 9e 00 00 00    	jne    10c868 <_Thread_queue_Enqueue_priority+0x120>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c7ca:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c7d1:	3b 5d ec             	cmp    -0x14(%ebp),%ebx               
  10c7d4:	74 7b                	je     10c851 <_Thread_queue_Enqueue_priority+0x109>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
  10c7d6:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10c7d9:	89 10                	mov    %edx,(%eax)                    
  the_node->previous     = previous_node;                             
  10c7db:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c7de:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c7e0:	89 42 04             	mov    %eax,0x4(%edx)                 
  10c7e3:	eb 5e                	jmp    10c843 <_Thread_queue_Enqueue_priority+0xfb>
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
  10c7e5:	0f b6 15 14 17 12 00 	movzbl 0x121714,%edx                  
  10c7ec:	42                   	inc    %edx                           
  10c7ed:	89 55 ec             	mov    %edx,-0x14(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  10c7f0:	9c                   	pushf                                 
  10c7f1:	fa                   	cli                                   
  10c7f2:	8f 45 f0             	popl   -0x10(%ebp)                    
  search_thread = (Thread_Control *) header->last;                    
  10c7f5:	8b 56 08             	mov    0x8(%esi),%edx                 
  10c7f8:	89 75 e8             	mov    %esi,-0x18(%ebp)               
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10c7fb:	eb 20                	jmp    10c81d <_Thread_queue_Enqueue_priority+0xd5>
    search_priority = search_thread->current_priority;                
  10c7fd:	8b 72 14             	mov    0x14(%edx),%esi                
  10c800:	89 75 ec             	mov    %esi,-0x14(%ebp)               
    if ( priority >= search_priority )                                
  10c803:	39 f3                	cmp    %esi,%ebx                      
  10c805:	73 1b                	jae    10c822 <_Thread_queue_Enqueue_priority+0xda>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c807:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c80a:	9d                   	popf                                  
  10c80b:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c80c:	85 7a 10             	test   %edi,0x10(%edx)                
  10c80f:	75 09                	jne    10c81a <_Thread_queue_Enqueue_priority+0xd2>
  10c811:	8b 75 e8             	mov    -0x18(%ebp),%esi               
      _ISR_Enable( level );                                           
  10c814:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c817:	9d                   	popf                                  
      goto restart_reverse_search;                                    
  10c818:	eb cb                	jmp    10c7e5 <_Thread_queue_Enqueue_priority+0x9d>
    }                                                                 
    search_thread = (Thread_Control *)                                
  10c81a:	8b 52 04             	mov    0x4(%edx),%edx                 
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10c81d:	3b 55 e8             	cmp    -0x18(%ebp),%edx               
  10c820:	75 db                	jne    10c7fd <_Thread_queue_Enqueue_priority+0xb5>
  10c822:	8b 75 f0             	mov    -0x10(%ebp),%esi               
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c825:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c829:	75 3d                	jne    10c868 <_Thread_queue_Enqueue_priority+0x120>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c82b:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c832:	3b 5d ec             	cmp    -0x14(%ebp),%ebx               
  10c835:	74 1a                	je     10c851 <_Thread_queue_Enqueue_priority+0x109>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  10c837:	8b 1a                	mov    (%edx),%ebx                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  10c839:	89 18                	mov    %ebx,(%eax)                    
  the_node->previous      = search_node;                              
  10c83b:	89 50 04             	mov    %edx,0x4(%eax)                 
  search_node->next       = the_node;                                 
  10c83e:	89 02                	mov    %eax,(%edx)                    
  next_node->previous    = the_node;                                  
  10c840:	89 43 04             	mov    %eax,0x4(%ebx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c843:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c846:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c849:	9d                   	popf                                  
  10c84a:	b8 01 00 00 00       	mov    $0x1,%eax                      
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
  10c84f:	eb 1f                	jmp    10c870 <_Thread_queue_Enqueue_priority+0x128>
  10c851:	83 c2 3c             	add    $0x3c,%edx                     
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
  10c854:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10c857:	89 10                	mov    %edx,(%eax)                    
  the_node->previous     = previous_node;                             
  10c859:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c85c:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c85e:	89 42 04             	mov    %eax,0x4(%edx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c861:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c864:	56                   	push   %esi                           
  10c865:	9d                   	popf                                  
  10c866:	eb e2                	jmp    10c84a <_Thread_queue_Enqueue_priority+0x102>
   *  For example, the blocking thread could have been given          
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  10c868:	8b 45 10             	mov    0x10(%ebp),%eax                
  10c86b:	89 30                	mov    %esi,(%eax)                    
  return the_thread_queue->sync_state;                                
  10c86d:	8b 41 30             	mov    0x30(%ecx),%eax                
}                                                                     
  10c870:	83 c4 10             	add    $0x10,%esp                     
  10c873:	5b                   	pop    %ebx                           
  10c874:	5e                   	pop    %esi                           
  10c875:	5f                   	pop    %edi                           
  10c876:	c9                   	leave                                 
  10c877:	c3                   	ret                                   
                                                                      

0010c918 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  10c918:	55                   	push   %ebp                           
  10c919:	89 e5                	mov    %esp,%ebp                      
  10c91b:	57                   	push   %edi                           
  10c91c:	56                   	push   %esi                           
  10c91d:	53                   	push   %ebx                           
  10c91e:	83 ec 1c             	sub    $0x1c,%esp                     
  10c921:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10c924:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
  10c927:	85 f6                	test   %esi,%esi                      
  10c929:	74 36                	je     10c961 <_Thread_queue_Requeue+0x49><== NEVER TAKEN
                                                                      
  /*                                                                  
   * If queueing by FIFO, there is nothing to do. This only applies to
   * priority blocking discipline.                                    
   */                                                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
  10c92b:	83 7e 34 01          	cmpl   $0x1,0x34(%esi)                
  10c92f:	75 30                	jne    10c961 <_Thread_queue_Requeue+0x49><== NEVER TAKEN
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
  10c931:	9c                   	pushf                                 
  10c932:	fa                   	cli                                   
  10c933:	5b                   	pop    %ebx                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  10c934:	f7 47 10 e0 be 03 00 	testl  $0x3bee0,0x10(%edi)            
  10c93b:	74 22                	je     10c95f <_Thread_queue_Requeue+0x47><== NEVER TAKEN
  10c93d:	c7 46 30 01 00 00 00 	movl   $0x1,0x30(%esi)                
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
  10c944:	50                   	push   %eax                           
  10c945:	6a 01                	push   $0x1                           
  10c947:	57                   	push   %edi                           
  10c948:	56                   	push   %esi                           
  10c949:	e8 aa 33 00 00       	call   10fcf8 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
  10c94e:	83 c4 0c             	add    $0xc,%esp                      
  10c951:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c954:	50                   	push   %eax                           
  10c955:	57                   	push   %edi                           
  10c956:	56                   	push   %esi                           
  10c957:	e8 ec fd ff ff       	call   10c748 <_Thread_queue_Enqueue_priority>
  10c95c:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
    _ISR_Enable( level );                                             
  10c95f:	53                   	push   %ebx                           
  10c960:	9d                   	popf                                  
  }                                                                   
}                                                                     
  10c961:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c964:	5b                   	pop    %ebx                           
  10c965:	5e                   	pop    %esi                           
  10c966:	5f                   	pop    %edi                           
  10c967:	c9                   	leave                                 
  10c968:	c3                   	ret                                   
                                                                      

0010c96c <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10c96c:	55                   	push   %ebp                           
  10c96d:	89 e5                	mov    %esp,%ebp                      
  10c96f:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10c972:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c975:	50                   	push   %eax                           
  10c976:	ff 75 08             	pushl  0x8(%ebp)                      
  10c979:	e8 d6 f8 ff ff       	call   10c254 <_Thread_Get>           
  switch ( location ) {                                               
  10c97e:	83 c4 10             	add    $0x10,%esp                     
  10c981:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10c985:	75 17                	jne    10c99e <_Thread_queue_Timeout+0x32><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
  10c987:	83 ec 0c             	sub    $0xc,%esp                      
  10c98a:	50                   	push   %eax                           
  10c98b:	e8 14 34 00 00       	call   10fda4 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10c990:	a1 90 56 12 00       	mov    0x125690,%eax                  
  10c995:	48                   	dec    %eax                           
  10c996:	a3 90 56 12 00       	mov    %eax,0x125690                  
  10c99b:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10c99e:	c9                   	leave                                 
  10c99f:	c3                   	ret                                   
                                                                      

00100238 <_Timer_Manager_initialization>: #include <rtems/rtems/types.h> #include <rtems/rtems/timer.h> void _Timer_Manager_initialization(void) {
  100238:	55                   	push   %ebp                           
  100239:	89 e5                	mov    %esp,%ebp                      
}                                                                     
  10023b:	c9                   	leave                                 
  10023c:	c3                   	ret                                   
                                                                      

0011721c <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
  11721c:	55                   	push   %ebp                           
  11721d:	89 e5                	mov    %esp,%ebp                      
  11721f:	57                   	push   %edi                           
  117220:	56                   	push   %esi                           
  117221:	53                   	push   %ebx                           
  117222:	83 ec 4c             	sub    $0x4c,%esp                     
  117225:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  117228:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  11722b:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  11722e:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  117231:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  the_chain->permanent_null = NULL;                                   
  117234:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  the_chain->last           = _Chain_Head(the_chain);                 
  11723b:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  11723e:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  117241:	8d 55 d4             	lea    -0x2c(%ebp),%edx               
  117244:	89 55 b0             	mov    %edx,-0x50(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  117247:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  the_chain->permanent_null = NULL;                                   
  11724a:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  the_chain->last           = _Chain_Head(the_chain);                 
  117251:	89 75 d8             	mov    %esi,-0x28(%ebp)               
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  117254:	8d 53 30             	lea    0x30(%ebx),%edx                
  117257:	89 55 c0             	mov    %edx,-0x40(%ebp)               
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
  11725a:	8d 7b 68             	lea    0x68(%ebx),%edi                
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
  11725d:	8d 4b 08             	lea    0x8(%ebx),%ecx                 
  117260:	89 4d b8             	mov    %ecx,-0x48(%ebp)               
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  117263:	8d 53 40             	lea    0x40(%ebx),%edx                
  117266:	89 55 bc             	mov    %edx,-0x44(%ebp)               
{                                                                     
  /*                                                                  
   *  Afterwards all timer inserts are directed to this chain and the interval
   *  and TOD chains will be no more modified by other parties.       
   */                                                                 
  ts->insert_chain = insert_chain;                                    
  117269:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  11726c:	89 4b 78             	mov    %ecx,0x78(%ebx)                
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
  11726f:	a1 b0 e6 13 00       	mov    0x13e6b0,%eax                  
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  117274:	8b 53 3c             	mov    0x3c(%ebx),%edx                
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  117277:	89 43 3c             	mov    %eax,0x3c(%ebx)                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  11727a:	51                   	push   %ecx                           
  11727b:	8d 4d d0             	lea    -0x30(%ebp),%ecx               
  11727e:	51                   	push   %ecx                           
  11727f:	29 d0                	sub    %edx,%eax                      
  117281:	50                   	push   %eax                           
  117282:	ff 75 c0             	pushl  -0x40(%ebp)                    
  117285:	e8 3a 35 00 00       	call   11a7c4 <_Watchdog_Adjust_to_chain>
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  11728a:	a1 f4 e5 13 00       	mov    0x13e5f4,%eax                  
  11728f:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
  117292:	8b 43 74             	mov    0x74(%ebx),%eax                
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
  117295:	83 c4 10             	add    $0x10,%esp                     
  117298:	39 45 c4             	cmp    %eax,-0x3c(%ebp)               
  11729b:	76 13                	jbe    1172b0 <_Timer_server_Body+0x94>
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
  11729d:	52                   	push   %edx                           
  11729e:	8d 55 d0             	lea    -0x30(%ebp),%edx               
  1172a1:	52                   	push   %edx                           
  1172a2:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  1172a5:	29 c1                	sub    %eax,%ecx                      
  1172a7:	51                   	push   %ecx                           
  1172a8:	57                   	push   %edi                           
  1172a9:	e8 16 35 00 00       	call   11a7c4 <_Watchdog_Adjust_to_chain>
  1172ae:	eb 0f                	jmp    1172bf <_Timer_server_Body+0xa3>
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
  1172b0:	73 10                	jae    1172c2 <_Timer_server_Body+0xa6>
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  1172b2:	51                   	push   %ecx                           
  1172b3:	2b 45 c4             	sub    -0x3c(%ebp),%eax               
  1172b6:	50                   	push   %eax                           
  1172b7:	6a 01                	push   $0x1                           
  1172b9:	57                   	push   %edi                           
  1172ba:	e8 99 34 00 00       	call   11a758 <_Watchdog_Adjust>      
  1172bf:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  1172c2:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  1172c5:	89 43 74             	mov    %eax,0x74(%ebx)                
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
  1172c8:	8b 43 78             	mov    0x78(%ebx),%eax                
  1172cb:	83 ec 0c             	sub    $0xc,%esp                      
  1172ce:	50                   	push   %eax                           
  1172cf:	e8 dc 06 00 00       	call   1179b0 <_Chain_Get>            
                                                                      
    if ( timer == NULL ) {                                            
  1172d4:	83 c4 10             	add    $0x10,%esp                     
  1172d7:	85 c0                	test   %eax,%eax                      
  1172d9:	74 29                	je     117304 <_Timer_server_Body+0xe8><== ALWAYS TAKEN
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  1172db:	8b 50 38             	mov    0x38(%eax),%edx                <== NOT EXECUTED
  1172de:	83 fa 01             	cmp    $0x1,%edx                      <== NOT EXECUTED
  1172e1:	75 0b                	jne    1172ee <_Timer_server_Body+0xd2><== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  1172e3:	52                   	push   %edx                           <== NOT EXECUTED
  1172e4:	52                   	push   %edx                           <== NOT EXECUTED
  1172e5:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  1172e8:	50                   	push   %eax                           <== NOT EXECUTED
  1172e9:	ff 75 c0             	pushl  -0x40(%ebp)                    <== NOT EXECUTED
  1172ec:	eb 0c                	jmp    1172fa <_Timer_server_Body+0xde><== NOT EXECUTED
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  1172ee:	83 fa 03             	cmp    $0x3,%edx                      <== NOT EXECUTED
  1172f1:	75 d5                	jne    1172c8 <_Timer_server_Body+0xac><== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  1172f3:	51                   	push   %ecx                           <== NOT EXECUTED
  1172f4:	51                   	push   %ecx                           <== NOT EXECUTED
  1172f5:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  1172f8:	50                   	push   %eax                           <== NOT EXECUTED
  1172f9:	57                   	push   %edi                           <== NOT EXECUTED
  1172fa:	e8 4d 35 00 00       	call   11a84c <_Watchdog_Insert>      <== NOT EXECUTED
  1172ff:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  117302:	eb c4                	jmp    1172c8 <_Timer_server_Body+0xac><== NOT EXECUTED
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
  117304:	9c                   	pushf                                 
  117305:	fa                   	cli                                   
  117306:	58                   	pop    %eax                           
    if ( _Chain_Is_empty( insert_chain ) ) {                          
  117307:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  11730a:	39 55 dc             	cmp    %edx,-0x24(%ebp)               
  11730d:	75 13                	jne    117322 <_Timer_server_Body+0x106><== NEVER TAKEN
      ts->insert_chain = NULL;                                        
  11730f:	c7 43 78 00 00 00 00 	movl   $0x0,0x78(%ebx)                
      _ISR_Enable( level );                                           
  117316:	50                   	push   %eax                           
  117317:	9d                   	popf                                  
  _Chain_Initialize_empty( &fire_chain );                             
                                                                      
  while ( true ) {                                                    
    _Timer_server_Get_watchdogs_that_fire_now( ts, &insert_chain, &fire_chain );
                                                                      
    if ( !_Chain_Is_empty( &fire_chain ) ) {                          
  117318:	8b 4d b0             	mov    -0x50(%ebp),%ecx               
  11731b:	39 4d d0             	cmp    %ecx,-0x30(%ebp)               
  11731e:	75 09                	jne    117329 <_Timer_server_Body+0x10d>
  117320:	eb 3e                	jmp    117360 <_Timer_server_Body+0x144>
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
  117322:	50                   	push   %eax                           <== NOT EXECUTED
  117323:	9d                   	popf                                  <== NOT EXECUTED
  117324:	e9 46 ff ff ff       	jmp    11726f <_Timer_server_Body+0x53><== NOT EXECUTED
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
  117329:	9c                   	pushf                                 
  11732a:	fa                   	cli                                   
  11732b:	5a                   	pop    %edx                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  11732c:	8b 45 d0             	mov    -0x30(%ebp),%eax               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
  11732f:	3b 45 b0             	cmp    -0x50(%ebp),%eax               
  117332:	74 25                	je     117359 <_Timer_server_Body+0x13d>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  117334:	8b 08                	mov    (%eax),%ecx                    
  the_chain->first    = new_first;                                    
  117336:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  new_first->previous = _Chain_Head(the_chain);                       
  117339:	89 71 04             	mov    %esi,0x4(%ecx)                 
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
  11733c:	85 c0                	test   %eax,%eax                      
  11733e:	74 19                	je     117359 <_Timer_server_Body+0x13d><== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
  117340:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
          _ISR_Enable( level );                                       
  117347:	52                   	push   %edx                           
  117348:	9d                   	popf                                  
        /*                                                            
         *  The timer server may block here and wait for resources or time.
         *  The system watchdogs are inactive and will remain inactive since
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
  117349:	52                   	push   %edx                           
  11734a:	52                   	push   %edx                           
  11734b:	ff 70 24             	pushl  0x24(%eax)                     
  11734e:	ff 70 20             	pushl  0x20(%eax)                     
  117351:	ff 50 1c             	call   *0x1c(%eax)                    
      }                                                               
  117354:	83 c4 10             	add    $0x10,%esp                     
  117357:	eb d0                	jmp    117329 <_Timer_server_Body+0x10d>
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
  117359:	52                   	push   %edx                           
  11735a:	9d                   	popf                                  
  11735b:	e9 09 ff ff ff       	jmp    117269 <_Timer_server_Body+0x4d>
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
  117360:	c6 43 7c 00          	movb   $0x0,0x7c(%ebx)                
  117364:	a1 64 e5 13 00       	mov    0x13e564,%eax                  
  117369:	40                   	inc    %eax                           
  11736a:	a3 64 e5 13 00       	mov    %eax,0x13e564                  
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
  11736f:	50                   	push   %eax                           
  117370:	50                   	push   %eax                           
  117371:	6a 08                	push   $0x8                           
  117373:	ff 33                	pushl  (%ebx)                         
  117375:	e8 f2 2c 00 00       	call   11a06c <_Thread_Set_state>     
        _Timer_server_Reset_interval_system_watchdog( ts );           
  11737a:	89 d8                	mov    %ebx,%eax                      
  11737c:	e8 0f fe ff ff       	call   117190 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
  117381:	89 d8                	mov    %ebx,%eax                      
  117383:	e8 4e fe ff ff       	call   1171d6 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
  117388:	e8 d0 23 00 00       	call   11975d <_Thread_Enable_dispatch>
                                                                      
      ts->active = true;                                              
  11738d:	c6 43 7c 01          	movb   $0x1,0x7c(%ebx)                
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
  117391:	59                   	pop    %ecx                           
  117392:	ff 75 b8             	pushl  -0x48(%ebp)                    
  117395:	e8 c6 35 00 00       	call   11a960 <_Watchdog_Remove>      
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  11739a:	5a                   	pop    %edx                           
  11739b:	ff 75 bc             	pushl  -0x44(%ebp)                    
  11739e:	e8 bd 35 00 00       	call   11a960 <_Watchdog_Remove>      
  1173a3:	83 c4 10             	add    $0x10,%esp                     
  1173a6:	e9 be fe ff ff       	jmp    117269 <_Timer_server_Body+0x4d>
                                                                      

001173ab <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
  1173ab:	55                   	push   %ebp                           
  1173ac:	89 e5                	mov    %esp,%ebp                      
  1173ae:	57                   	push   %edi                           
  1173af:	56                   	push   %esi                           
  1173b0:	53                   	push   %ebx                           
  1173b1:	83 ec 2c             	sub    $0x2c,%esp                     
  1173b4:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1173b7:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  if ( ts->insert_chain == NULL ) {                                   
  1173ba:	8b 53 78             	mov    0x78(%ebx),%edx                
  1173bd:	85 d2                	test   %edx,%edx                      
  1173bf:	0f 85 e6 00 00 00    	jne    1174ab <_Timer_server_Schedule_operation_method+0x100><== NEVER TAKEN
  1173c5:	8b 15 64 e5 13 00    	mov    0x13e564,%edx                  
  1173cb:	42                   	inc    %edx                           
  1173cc:	89 15 64 e5 13 00    	mov    %edx,0x13e564                  
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  1173d2:	8b 50 38             	mov    0x38(%eax),%edx                
  1173d5:	83 fa 01             	cmp    $0x1,%edx                      
  1173d8:	75 5a                	jne    117434 <_Timer_server_Schedule_operation_method+0x89>
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  1173da:	9c                   	pushf                                 
  1173db:	fa                   	cli                                   
  1173dc:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = _Watchdog_Ticks_since_boot;                            
  1173df:	8b 0d b0 e6 13 00    	mov    0x13e6b0,%ecx                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
  1173e5:	8b 73 3c             	mov    0x3c(%ebx),%esi                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  1173e8:	8b 53 30             	mov    0x30(%ebx),%edx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  1173eb:	8d 7b 34             	lea    0x34(%ebx),%edi                
  1173ee:	39 fa                	cmp    %edi,%edx                      
  1173f0:	74 19                	je     11740b <_Timer_server_Schedule_operation_method+0x60>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
  1173f2:	89 cf                	mov    %ecx,%edi                      
  1173f4:	29 f7                	sub    %esi,%edi                      
  1173f6:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
  1173f9:	8b 7a 10             	mov    0x10(%edx),%edi                
      if (delta_interval > delta) {                                   
  1173fc:	31 f6                	xor    %esi,%esi                      
  1173fe:	3b 7d e4             	cmp    -0x1c(%ebp),%edi               
  117401:	76 05                	jbe    117408 <_Timer_server_Schedule_operation_method+0x5d>
        delta_interval -= delta;                                      
  117403:	89 fe                	mov    %edi,%esi                      
  117405:	2b 75 e4             	sub    -0x1c(%ebp),%esi               
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  117408:	89 72 10             	mov    %esi,0x10(%edx)                
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
  11740b:	89 4b 3c             	mov    %ecx,0x3c(%ebx)                
    _ISR_Enable( level );                                             
  11740e:	ff 75 e0             	pushl  -0x20(%ebp)                    
  117411:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  117412:	57                   	push   %edi                           
  117413:	57                   	push   %edi                           
  117414:	83 c0 10             	add    $0x10,%eax                     
  117417:	50                   	push   %eax                           
  117418:	8d 43 30             	lea    0x30(%ebx),%eax                
  11741b:	50                   	push   %eax                           
  11741c:	e8 2b 34 00 00       	call   11a84c <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  117421:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  117424:	83 c4 10             	add    $0x10,%esp                     
  117427:	84 c0                	test   %al,%al                        
  117429:	75 74                	jne    11749f <_Timer_server_Schedule_operation_method+0xf4>
      _Timer_server_Reset_interval_system_watchdog( ts );             
  11742b:	89 d8                	mov    %ebx,%eax                      
  11742d:	e8 5e fd ff ff       	call   117190 <_Timer_server_Reset_interval_system_watchdog>
  117432:	eb 6b                	jmp    11749f <_Timer_server_Schedule_operation_method+0xf4>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  117434:	83 fa 03             	cmp    $0x3,%edx                      
  117437:	75 66                	jne    11749f <_Timer_server_Schedule_operation_method+0xf4>
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  117439:	9c                   	pushf                                 
  11743a:	fa                   	cli                                   
  11743b:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
  11743e:	8b 0d f4 e5 13 00    	mov    0x13e5f4,%ecx                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
  117444:	8b 53 74             	mov    0x74(%ebx),%edx                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  117447:	8b 73 68             	mov    0x68(%ebx),%esi                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  11744a:	8d 7b 6c             	lea    0x6c(%ebx),%edi                
  11744d:	39 fe                	cmp    %edi,%esi                      
  11744f:	74 27                	je     117478 <_Timer_server_Schedule_operation_method+0xcd>
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
  117451:	8b 7e 10             	mov    0x10(%esi),%edi                
  117454:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
      if ( snapshot > last_snapshot ) {                               
  117457:	39 d1                	cmp    %edx,%ecx                      
  117459:	76 15                	jbe    117470 <_Timer_server_Schedule_operation_method+0xc5>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
  11745b:	89 cf                	mov    %ecx,%edi                      
  11745d:	29 d7                	sub    %edx,%edi                      
  11745f:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
        if (delta_interval > delta) {                                 
  117462:	31 d2                	xor    %edx,%edx                      
  117464:	39 7d d4             	cmp    %edi,-0x2c(%ebp)               
  117467:	76 0c                	jbe    117475 <_Timer_server_Schedule_operation_method+0xca><== NEVER TAKEN
          delta_interval -= delta;                                    
  117469:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  11746c:	29 fa                	sub    %edi,%edx                      
  11746e:	eb 05                	jmp    117475 <_Timer_server_Schedule_operation_method+0xca>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
  117470:	03 55 d4             	add    -0x2c(%ebp),%edx               
        delta_interval += delta;                                      
  117473:	29 ca                	sub    %ecx,%edx                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  117475:	89 56 10             	mov    %edx,0x10(%esi)                
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
  117478:	89 4b 74             	mov    %ecx,0x74(%ebx)                
    _ISR_Enable( level );                                             
  11747b:	ff 75 e0             	pushl  -0x20(%ebp)                    
  11747e:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  11747f:	56                   	push   %esi                           
  117480:	56                   	push   %esi                           
  117481:	83 c0 10             	add    $0x10,%eax                     
  117484:	50                   	push   %eax                           
  117485:	8d 43 68             	lea    0x68(%ebx),%eax                
  117488:	50                   	push   %eax                           
  117489:	e8 be 33 00 00       	call   11a84c <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  11748e:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  117491:	83 c4 10             	add    $0x10,%esp                     
  117494:	84 c0                	test   %al,%al                        
  117496:	75 07                	jne    11749f <_Timer_server_Schedule_operation_method+0xf4>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
  117498:	89 d8                	mov    %ebx,%eax                      
  11749a:	e8 37 fd ff ff       	call   1171d6 <_Timer_server_Reset_tod_system_watchdog>
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
  }                                                                   
}                                                                     
  11749f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1174a2:	5b                   	pop    %ebx                           
  1174a3:	5e                   	pop    %esi                           
  1174a4:	5f                   	pop    %edi                           
  1174a5:	c9                   	leave                                 
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
  1174a6:	e9 b2 22 00 00       	jmp    11975d <_Thread_Enable_dispatch>
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
  1174ab:	8b 53 78             	mov    0x78(%ebx),%edx                <== NOT EXECUTED
  1174ae:	89 45 0c             	mov    %eax,0xc(%ebp)                 <== NOT EXECUTED
  1174b1:	89 55 08             	mov    %edx,0x8(%ebp)                 <== NOT EXECUTED
  }                                                                   
}                                                                     
  1174b4:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  1174b7:	5b                   	pop    %ebx                           <== NOT EXECUTED
  1174b8:	5e                   	pop    %esi                           <== NOT EXECUTED
  1174b9:	5f                   	pop    %edi                           <== NOT EXECUTED
  1174ba:	c9                   	leave                                 <== NOT EXECUTED
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
  1174bb:	e9 b4 04 00 00       	jmp    117974 <_Chain_Append>         <== NOT EXECUTED
                                                                      

0010ce55 <_User_extensions_Thread_exitted>: void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
  10ce55:	55                   	push   %ebp                           
  10ce56:	89 e5                	mov    %esp,%ebp                      
  10ce58:	56                   	push   %esi                           
  10ce59:	53                   	push   %ebx                           
  10ce5a:	8b 75 08             	mov    0x8(%ebp),%esi                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10ce5d:	8b 1d a8 58 12 00    	mov    0x1258a8,%ebx                  
  10ce63:	eb 13                	jmp    10ce78 <_User_extensions_Thread_exitted+0x23>
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
  10ce65:	8b 43 2c             	mov    0x2c(%ebx),%eax                
  10ce68:	85 c0                	test   %eax,%eax                      
  10ce6a:	74 09                	je     10ce75 <_User_extensions_Thread_exitted+0x20>
      (*the_extension->Callouts.thread_exitted)( executing );         
  10ce6c:	83 ec 0c             	sub    $0xc,%esp                      
  10ce6f:	56                   	push   %esi                           
  10ce70:	ff d0                	call   *%eax                          
  10ce72:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
  10ce75:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
  10ce78:	81 fb a0 58 12 00    	cmp    $0x1258a0,%ebx                 
  10ce7e:	75 e5                	jne    10ce65 <_User_extensions_Thread_exitted+0x10>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
      (*the_extension->Callouts.thread_exitted)( executing );         
  }                                                                   
}                                                                     
  10ce80:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ce83:	5b                   	pop    %ebx                           
  10ce84:	5e                   	pop    %esi                           
  10ce85:	c9                   	leave                                 
  10ce86:	c3                   	ret                                   
                                                                      

0010e7b0 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
  10e7b0:	55                   	push   %ebp                           
  10e7b1:	89 e5                	mov    %esp,%ebp                      
  10e7b3:	57                   	push   %edi                           
  10e7b4:	56                   	push   %esi                           
  10e7b5:	53                   	push   %ebx                           
  10e7b6:	83 ec 1c             	sub    $0x1c,%esp                     
  10e7b9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e7bc:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10e7bf:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  10e7c2:	9c                   	pushf                                 
  10e7c3:	fa                   	cli                                   
  10e7c4:	58                   	pop    %eax                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10e7c5:	8b 16                	mov    (%esi),%edx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e7c7:	8d 4e 04             	lea    0x4(%esi),%ecx                 
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
  10e7ca:	39 ca                	cmp    %ecx,%edx                      
  10e7cc:	74 44                	je     10e812 <_Watchdog_Adjust+0x62> 
    switch ( direction ) {                                            
  10e7ce:	85 ff                	test   %edi,%edi                      
  10e7d0:	74 3c                	je     10e80e <_Watchdog_Adjust+0x5e> 
  10e7d2:	4f                   	dec    %edi                           
  10e7d3:	75 3d                	jne    10e812 <_Watchdog_Adjust+0x62> <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
  10e7d5:	01 5a 10             	add    %ebx,0x10(%edx)                
        break;                                                        
  10e7d8:	eb 38                	jmp    10e812 <_Watchdog_Adjust+0x62> 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
  10e7da:	8b 16                	mov    (%esi),%edx                    
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  10e7dc:	8b 7a 10             	mov    0x10(%edx),%edi                
  10e7df:	39 fb                	cmp    %edi,%ebx                      
  10e7e1:	73 07                	jae    10e7ea <_Watchdog_Adjust+0x3a> 
            _Watchdog_First( header )->delta_interval -= units;       
  10e7e3:	29 df                	sub    %ebx,%edi                      
  10e7e5:	89 7a 10             	mov    %edi,0x10(%edx)                
            break;                                                    
  10e7e8:	eb 28                	jmp    10e812 <_Watchdog_Adjust+0x62> 
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
  10e7ea:	c7 42 10 01 00 00 00 	movl   $0x1,0x10(%edx)                
                                                                      
            _ISR_Enable( level );                                     
  10e7f1:	50                   	push   %eax                           
  10e7f2:	9d                   	popf                                  
                                                                      
            _Watchdog_Tickle( header );                               
  10e7f3:	83 ec 0c             	sub    $0xc,%esp                      
  10e7f6:	56                   	push   %esi                           
  10e7f7:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10e7fa:	e8 99 01 00 00       	call   10e998 <_Watchdog_Tickle>      
                                                                      
            _ISR_Disable( level );                                    
  10e7ff:	9c                   	pushf                                 
  10e800:	fa                   	cli                                   
  10e801:	58                   	pop    %eax                           
                                                                      
            if ( _Chain_Is_empty( header ) )                          
  10e802:	83 c4 10             	add    $0x10,%esp                     
  10e805:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10e808:	39 0e                	cmp    %ecx,(%esi)                    
  10e80a:	74 06                	je     10e812 <_Watchdog_Adjust+0x62> 
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
  10e80c:	29 fb                	sub    %edi,%ebx                      
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  10e80e:	85 db                	test   %ebx,%ebx                      
  10e810:	75 c8                	jne    10e7da <_Watchdog_Adjust+0x2a> <== ALWAYS TAKEN
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10e812:	50                   	push   %eax                           
  10e813:	9d                   	popf                                  
                                                                      
}                                                                     
  10e814:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e817:	5b                   	pop    %ebx                           
  10e818:	5e                   	pop    %esi                           
  10e819:	5f                   	pop    %edi                           
  10e81a:	c9                   	leave                                 
  10e81b:	c3                   	ret                                   
                                                                      

0010d0b8 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
  10d0b8:	55                   	push   %ebp                           
  10d0b9:	89 e5                	mov    %esp,%ebp                      
  10d0bb:	56                   	push   %esi                           
  10d0bc:	53                   	push   %ebx                           
  10d0bd:	8b 55 08             	mov    0x8(%ebp),%edx                 
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  10d0c0:	9c                   	pushf                                 
  10d0c1:	fa                   	cli                                   
  10d0c2:	5e                   	pop    %esi                           
  previous_state = the_watchdog->state;                               
  10d0c3:	8b 42 08             	mov    0x8(%edx),%eax                 
  switch ( previous_state ) {                                         
  10d0c6:	83 f8 01             	cmp    $0x1,%eax                      
  10d0c9:	74 09                	je     10d0d4 <_Watchdog_Remove+0x1c> 
  10d0cb:	72 44                	jb     10d111 <_Watchdog_Remove+0x59> 
  10d0cd:	83 f8 03             	cmp    $0x3,%eax                      
  10d0d0:	77 3f                	ja     10d111 <_Watchdog_Remove+0x59> <== NEVER TAKEN
  10d0d2:	eb 09                	jmp    10d0dd <_Watchdog_Remove+0x25> 
                                                                      
      /*                                                              
       *  It is not actually on the chain so just change the state and
       *  the Insert operation we interrupted will be aborted.        
       */                                                             
      the_watchdog->state = WATCHDOG_INACTIVE;                        
  10d0d4:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
      break;                                                          
  10d0db:	eb 34                	jmp    10d111 <_Watchdog_Remove+0x59> 
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
  10d0dd:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next(                
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) the_watchdog->Node.next );            
  10d0e4:	8b 0a                	mov    (%edx),%ecx                    
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
  10d0e6:	83 39 00             	cmpl   $0x0,(%ecx)                    
  10d0e9:	74 06                	je     10d0f1 <_Watchdog_Remove+0x39> 
        next_watchdog->delta_interval += the_watchdog->delta_interval;
  10d0eb:	8b 5a 10             	mov    0x10(%edx),%ebx                
  10d0ee:	01 59 10             	add    %ebx,0x10(%ecx)                
                                                                      
      if ( _Watchdog_Sync_count )                                     
  10d0f1:	8b 0d d8 57 12 00    	mov    0x1257d8,%ecx                  
  10d0f7:	85 c9                	test   %ecx,%ecx                      
  10d0f9:	74 0c                	je     10d107 <_Watchdog_Remove+0x4f> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
  10d0fb:	8b 0d 28 57 12 00    	mov    0x125728,%ecx                  
  10d101:	89 0d 48 57 12 00    	mov    %ecx,0x125748                  
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10d107:	8b 1a                	mov    (%edx),%ebx                    
  previous       = the_node->previous;                                
  10d109:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  next->previous = previous;                                          
  10d10c:	89 4b 04             	mov    %ecx,0x4(%ebx)                 
  previous->next = next;                                              
  10d10f:	89 19                	mov    %ebx,(%ecx)                    
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
  10d111:	8b 0d dc 57 12 00    	mov    0x1257dc,%ecx                  
  10d117:	89 4a 18             	mov    %ecx,0x18(%edx)                
                                                                      
  _ISR_Enable( level );                                               
  10d11a:	56                   	push   %esi                           
  10d11b:	9d                   	popf                                  
  return( previous_state );                                           
}                                                                     
  10d11c:	5b                   	pop    %ebx                           
  10d11d:	5e                   	pop    %esi                           
  10d11e:	c9                   	leave                                 
  10d11f:	c3                   	ret                                   
                                                                      

0010e2e8 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
  10e2e8:	55                   	push   %ebp                           
  10e2e9:	89 e5                	mov    %esp,%ebp                      
  10e2eb:	57                   	push   %edi                           
  10e2ec:	56                   	push   %esi                           
  10e2ed:	53                   	push   %ebx                           
  10e2ee:	83 ec 20             	sub    $0x20,%esp                     
  10e2f1:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10e2f4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
  10e2f7:	9c                   	pushf                                 
  10e2f8:	fa                   	cli                                   
  10e2f9:	8f 45 e4             	popl   -0x1c(%ebp)                    
    printk( "Watchdog Chain: %s %p\n", name, header );                
  10e2fc:	56                   	push   %esi                           
  10e2fd:	57                   	push   %edi                           
  10e2fe:	68 e4 15 12 00       	push   $0x1215e4                      
  10e303:	e8 74 ab ff ff       	call   108e7c <printk>                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10e308:	8b 1e                	mov    (%esi),%ebx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e30a:	83 c6 04             	add    $0x4,%esi                      
    if ( !_Chain_Is_empty( header ) ) {                               
  10e30d:	83 c4 10             	add    $0x10,%esp                     
  10e310:	39 f3                	cmp    %esi,%ebx                      
  10e312:	74 1d                	je     10e331 <_Watchdog_Report_chain+0x49>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
  10e314:	52                   	push   %edx                           
  10e315:	52                   	push   %edx                           
  10e316:	53                   	push   %ebx                           
  10e317:	6a 00                	push   $0x0                           
  10e319:	e8 32 00 00 00       	call   10e350 <_Watchdog_Report>      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
  10e31e:	8b 1b                	mov    (%ebx),%ebx                    
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
  10e320:	83 c4 10             	add    $0x10,%esp                     
  10e323:	39 f3                	cmp    %esi,%ebx                      
  10e325:	75 ed                	jne    10e314 <_Watchdog_Report_chain+0x2c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
  10e327:	50                   	push   %eax                           
  10e328:	50                   	push   %eax                           
  10e329:	57                   	push   %edi                           
  10e32a:	68 fb 15 12 00       	push   $0x1215fb                      
  10e32f:	eb 08                	jmp    10e339 <_Watchdog_Report_chain+0x51>
    } else {                                                          
      printk( "Chain is empty\n" );                                   
  10e331:	83 ec 0c             	sub    $0xc,%esp                      
  10e334:	68 0a 16 12 00       	push   $0x12160a                      
  10e339:	e8 3e ab ff ff       	call   108e7c <printk>                
  10e33e:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
  _ISR_Enable( level );                                               
  10e341:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e344:	9d                   	popf                                  
}                                                                     
  10e345:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e348:	5b                   	pop    %ebx                           
  10e349:	5e                   	pop    %esi                           
  10e34a:	5f                   	pop    %edi                           
  10e34b:	c9                   	leave                                 
  10e34c:	c3                   	ret                                   
                                                                      

0010cac8 <rtems_iterate_over_all_threads>: #include <rtems/system.h> #include <rtems/score/thread.h> void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) {
  10cac8:	55                   	push   %ebp                           
  10cac9:	89 e5                	mov    %esp,%ebp                      
  10cacb:	57                   	push   %edi                           
  10cacc:	56                   	push   %esi                           
  10cacd:	53                   	push   %ebx                           
  10cace:	83 ec 0c             	sub    $0xc,%esp                      
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
  10cad1:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  10cad5:	74 41                	je     10cb18 <rtems_iterate_over_all_threads+0x50><== NEVER TAKEN
  10cad7:	bb 01 00 00 00       	mov    $0x1,%ebx                      
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
  10cadc:	8b 04 9d 68 85 12 00 	mov    0x128568(,%ebx,4),%eax         
  10cae3:	85 c0                	test   %eax,%eax                      
  10cae5:	74 2b                	je     10cb12 <rtems_iterate_over_all_threads+0x4a>
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
  10cae7:	8b 78 04             	mov    0x4(%eax),%edi                 
    if ( !information )                                               
  10caea:	be 01 00 00 00       	mov    $0x1,%esi                      
  10caef:	85 ff                	test   %edi,%edi                      
  10caf1:	75 17                	jne    10cb0a <rtems_iterate_over_all_threads+0x42>
  10caf3:	eb 1d                	jmp    10cb12 <rtems_iterate_over_all_threads+0x4a>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
  10caf5:	8b 47 1c             	mov    0x1c(%edi),%eax                
  10caf8:	8b 04 b0             	mov    (%eax,%esi,4),%eax             
                                                                      
      if ( !the_thread )                                              
  10cafb:	85 c0                	test   %eax,%eax                      
  10cafd:	74 0a                	je     10cb09 <rtems_iterate_over_all_threads+0x41><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
  10caff:	83 ec 0c             	sub    $0xc,%esp                      
  10cb02:	50                   	push   %eax                           
  10cb03:	ff 55 08             	call   *0x8(%ebp)                     
  10cb06:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
  10cb09:	46                   	inc    %esi                           
  10cb0a:	0f b7 47 10          	movzwl 0x10(%edi),%eax                
  10cb0e:	39 c6                	cmp    %eax,%esi                      
  10cb10:	76 e3                	jbe    10caf5 <rtems_iterate_over_all_threads+0x2d>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
  10cb12:	43                   	inc    %ebx                           
  10cb13:	83 fb 05             	cmp    $0x5,%ebx                      
  10cb16:	75 c4                	jne    10cadc <rtems_iterate_over_all_threads+0x14>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
  10cb18:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cb1b:	5b                   	pop    %ebx                           
  10cb1c:	5e                   	pop    %esi                           
  10cb1d:	5f                   	pop    %edi                           
  10cb1e:	c9                   	leave                                 
  10cb1f:	c3                   	ret                                   
                                                                      

00114edc <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
  114edc:	55                   	push   %ebp                           
  114edd:	89 e5                	mov    %esp,%ebp                      
  114edf:	57                   	push   %edi                           
  114ee0:	56                   	push   %esi                           
  114ee1:	53                   	push   %ebx                           
  114ee2:	83 ec 1c             	sub    $0x1c,%esp                     
  114ee5:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  114ee8:	8b 55 10             	mov    0x10(%ebp),%edx                
  114eeb:	8b 7d 14             	mov    0x14(%ebp),%edi                
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  114eee:	b8 03 00 00 00       	mov    $0x3,%eax                      
  114ef3:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  114ef7:	0f 84 cf 00 00 00    	je     114fcc <rtems_partition_create+0xf0>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
  114efd:	85 f6                	test   %esi,%esi                      
  114eff:	0f 84 bb 00 00 00    	je     114fc0 <rtems_partition_create+0xe4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
  114f05:	83 7d 1c 00          	cmpl   $0x0,0x1c(%ebp)                
  114f09:	0f 84 b1 00 00 00    	je     114fc0 <rtems_partition_create+0xe4><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  114f0f:	85 ff                	test   %edi,%edi                      
  114f11:	0f 84 b0 00 00 00    	je     114fc7 <rtems_partition_create+0xeb>
  114f17:	85 d2                	test   %edx,%edx                      
  114f19:	0f 84 a8 00 00 00    	je     114fc7 <rtems_partition_create+0xeb>
  114f1f:	39 fa                	cmp    %edi,%edx                      
  114f21:	0f 82 a0 00 00 00    	jb     114fc7 <rtems_partition_create+0xeb>
  114f27:	f7 c7 03 00 00 00    	test   $0x3,%edi                      
  114f2d:	0f 85 94 00 00 00    	jne    114fc7 <rtems_partition_create+0xeb>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
  114f33:	f7 c6 03 00 00 00    	test   $0x3,%esi                      
  114f39:	0f 85 81 00 00 00    	jne    114fc0 <rtems_partition_create+0xe4>
  114f3f:	a1 64 e5 13 00       	mov    0x13e564,%eax                  
  114f44:	40                   	inc    %eax                           
  114f45:	a3 64 e5 13 00       	mov    %eax,0x13e564                  
 *  This function allocates a partition control block from            
 *  the inactive chain of free partition control blocks.              
 */                                                                   
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Allocate ( void )  
{                                                                     
  return (Partition_Control *) _Objects_Allocate( &_Partition_Information );
  114f4a:	83 ec 0c             	sub    $0xc,%esp                      
  114f4d:	68 ec e3 13 00       	push   $0x13e3ec                      
  114f52:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  114f55:	e8 82 3b 00 00       	call   118adc <_Objects_Allocate>     
  114f5a:	89 c3                	mov    %eax,%ebx                      
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
  114f5c:	83 c4 10             	add    $0x10,%esp                     
  114f5f:	85 c0                	test   %eax,%eax                      
  114f61:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  114f64:	75 0c                	jne    114f72 <rtems_partition_create+0x96>
    _Thread_Enable_dispatch();                                        
  114f66:	e8 f2 47 00 00       	call   11975d <_Thread_Enable_dispatch>
  114f6b:	b8 05 00 00 00       	mov    $0x5,%eax                      
    return RTEMS_TOO_MANY;                                            
  114f70:	eb 5a                	jmp    114fcc <rtems_partition_create+0xf0>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  114f72:	89 70 10             	mov    %esi,0x10(%eax)                
  the_partition->length                = length;                      
  114f75:	89 50 14             	mov    %edx,0x14(%eax)                
  the_partition->buffer_size           = buffer_size;                 
  114f78:	89 78 18             	mov    %edi,0x18(%eax)                
  the_partition->attribute_set         = attribute_set;               
  114f7b:	8b 45 18             	mov    0x18(%ebp),%eax                
  114f7e:	89 43 1c             	mov    %eax,0x1c(%ebx)                
  the_partition->number_of_used_blocks = 0;                           
  114f81:	c7 43 20 00 00 00 00 	movl   $0x0,0x20(%ebx)                
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
  114f88:	57                   	push   %edi                           
  114f89:	89 d0                	mov    %edx,%eax                      
  114f8b:	31 d2                	xor    %edx,%edx                      
  114f8d:	f7 f7                	div    %edi                           
  114f8f:	50                   	push   %eax                           
  114f90:	56                   	push   %esi                           
  114f91:	8d 43 24             	lea    0x24(%ebx),%eax                
  114f94:	50                   	push   %eax                           
  114f95:	e8 3a 2a 00 00       	call   1179d4 <_Chain_Initialize>     
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  114f9a:	8b 43 08             	mov    0x8(%ebx),%eax                 
  114f9d:	0f b7 c8             	movzwl %ax,%ecx                       
  114fa0:	8b 15 08 e4 13 00    	mov    0x13e408,%edx                  
  114fa6:	89 1c 8a             	mov    %ebx,(%edx,%ecx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  114fa9:	8b 55 08             	mov    0x8(%ebp),%edx                 
  114fac:	89 53 0c             	mov    %edx,0xc(%ebx)                 
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
  114faf:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  114fb2:	89 02                	mov    %eax,(%edx)                    
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  114fb4:	e8 a4 47 00 00       	call   11975d <_Thread_Enable_dispatch>
  114fb9:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
  114fbb:	83 c4 10             	add    $0x10,%esp                     
  114fbe:	eb 0c                	jmp    114fcc <rtems_partition_create+0xf0>
  114fc0:	b8 09 00 00 00       	mov    $0x9,%eax                      
  114fc5:	eb 05                	jmp    114fcc <rtems_partition_create+0xf0>
  114fc7:	b8 08 00 00 00       	mov    $0x8,%eax                      
}                                                                     
  114fcc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114fcf:	5b                   	pop    %ebx                           
  114fd0:	5e                   	pop    %esi                           
  114fd1:	5f                   	pop    %edi                           
  114fd2:	c9                   	leave                                 
  114fd3:	c3                   	ret                                   
                                                                      

00114fd4 <rtems_partition_delete>: */ rtems_status_code rtems_partition_delete( rtems_id id ) {
  114fd4:	55                   	push   %ebp                           
  114fd5:	89 e5                	mov    %esp,%ebp                      
  114fd7:	53                   	push   %ebx                           
  114fd8:	83 ec 18             	sub    $0x18,%esp                     
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
  114fdb:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  114fde:	50                   	push   %eax                           
  114fdf:	ff 75 08             	pushl  0x8(%ebp)                      
  114fe2:	68 ec e3 13 00       	push   $0x13e3ec                      
  114fe7:	e8 40 3f 00 00       	call   118f2c <_Objects_Get>          
  114fec:	89 c3                	mov    %eax,%ebx                      
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
  114fee:	83 c4 10             	add    $0x10,%esp                     
  114ff1:	b8 04 00 00 00       	mov    $0x4,%eax                      
  114ff6:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  114ffa:	75 36                	jne    115032 <rtems_partition_delete+0x5e><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_partition->number_of_used_blocks == 0 ) {              
  114ffc:	83 7b 20 00          	cmpl   $0x0,0x20(%ebx)                
  115000:	75 26                	jne    115028 <rtems_partition_delete+0x54>
        _Objects_Close( &_Partition_Information, &the_partition->Object );
  115002:	51                   	push   %ecx                           
  115003:	51                   	push   %ecx                           
  115004:	53                   	push   %ebx                           
  115005:	68 ec e3 13 00       	push   $0x13e3ec                      
  11500a:	e8 39 3b 00 00       	call   118b48 <_Objects_Close>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Partition_Free (                           
   Partition_Control *the_partition                                   
)                                                                     
{                                                                     
  _Objects_Free( &_Partition_Information, &the_partition->Object );   
  11500f:	58                   	pop    %eax                           
  115010:	5a                   	pop    %edx                           
  115011:	53                   	push   %ebx                           
  115012:	68 ec e3 13 00       	push   $0x13e3ec                      
  115017:	e8 ac 3d 00 00       	call   118dc8 <_Objects_Free>         
            0                          /* Not used */                 
          );                                                          
        }                                                             
#endif                                                                
                                                                      
        _Thread_Enable_dispatch();                                    
  11501c:	e8 3c 47 00 00       	call   11975d <_Thread_Enable_dispatch>
  115021:	31 c0                	xor    %eax,%eax                      
        return RTEMS_SUCCESSFUL;                                      
  115023:	83 c4 10             	add    $0x10,%esp                     
  115026:	eb 0a                	jmp    115032 <rtems_partition_delete+0x5e>
      }                                                               
      _Thread_Enable_dispatch();                                      
  115028:	e8 30 47 00 00       	call   11975d <_Thread_Enable_dispatch>
  11502d:	b8 0c 00 00 00       	mov    $0xc,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  115032:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  115035:	c9                   	leave                                 
  115036:	c3                   	ret                                   
                                                                      

0013a5e9 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
  13a5e9:	55                   	push   %ebp                           
  13a5ea:	89 e5                	mov    %esp,%ebp                      
  13a5ec:	57                   	push   %edi                           
  13a5ed:	56                   	push   %esi                           
  13a5ee:	53                   	push   %ebx                           
  13a5ef:	83 ec 30             	sub    $0x30,%esp                     
  13a5f2:	8b 75 08             	mov    0x8(%ebp),%esi                 
  13a5f5:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  13a5f8:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  13a5fb:	50                   	push   %eax                           
  13a5fc:	56                   	push   %esi                           
  13a5fd:	68 f8 7f 16 00       	push   $0x167ff8                      
  13a602:	e8 d1 7f fd ff       	call   1125d8 <_Objects_Get>          
  13a607:	89 c7                	mov    %eax,%edi                      
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
  13a609:	83 c4 10             	add    $0x10,%esp                     
  13a60c:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  13a610:	0f 85 40 01 00 00    	jne    13a756 <rtems_rate_monotonic_period+0x16d>
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
  13a616:	8b 40 40             	mov    0x40(%eax),%eax                
  13a619:	3b 05 60 7c 16 00    	cmp    0x167c60,%eax                  
  13a61f:	74 0f                	je     13a630 <rtems_rate_monotonic_period+0x47>
        _Thread_Enable_dispatch();                                    
  13a621:	e8 27 88 fd ff       	call   112e4d <_Thread_Enable_dispatch>
  13a626:	bb 17 00 00 00       	mov    $0x17,%ebx                     
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
  13a62b:	e9 2b 01 00 00       	jmp    13a75b <rtems_rate_monotonic_period+0x172>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
  13a630:	85 db                	test   %ebx,%ebx                      
  13a632:	75 19                	jne    13a64d <rtems_rate_monotonic_period+0x64>
        switch ( the_period->state ) {                                
  13a634:	8b 47 38             	mov    0x38(%edi),%eax                
  13a637:	83 f8 04             	cmp    $0x4,%eax                      
  13a63a:	77 07                	ja     13a643 <rtems_rate_monotonic_period+0x5a><== NEVER TAKEN
  13a63c:	8b 1c 85 d0 d7 15 00 	mov    0x15d7d0(,%eax,4),%ebx         
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
  13a643:	e8 05 88 fd ff       	call   112e4d <_Thread_Enable_dispatch>
        return( return_value );                                       
  13a648:	e9 0e 01 00 00       	jmp    13a75b <rtems_rate_monotonic_period+0x172>
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
  13a64d:	9c                   	pushf                                 
  13a64e:	fa                   	cli                                   
  13a64f:	8f 45 d4             	popl   -0x2c(%ebp)                    
      switch ( the_period->state ) {                                  
  13a652:	8b 47 38             	mov    0x38(%edi),%eax                
  13a655:	83 f8 02             	cmp    $0x2,%eax                      
  13a658:	74 5f                	je     13a6b9 <rtems_rate_monotonic_period+0xd0>
  13a65a:	83 f8 04             	cmp    $0x4,%eax                      
  13a65d:	0f 84 ba 00 00 00    	je     13a71d <rtems_rate_monotonic_period+0x134>
  13a663:	85 c0                	test   %eax,%eax                      
  13a665:	0f 85 eb 00 00 00    	jne    13a756 <rtems_rate_monotonic_period+0x16d><== NEVER TAKEN
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
  13a66b:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  13a66e:	9d                   	popf                                  
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
  13a66f:	83 ec 0c             	sub    $0xc,%esp                      
  13a672:	57                   	push   %edi                           
  13a673:	e8 9c fd ff ff       	call   13a414 <_Rate_monotonic_Initiate_statistics>
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  13a678:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  13a67f:	c7 47 18 00 00 00 00 	movl   $0x0,0x18(%edi)                
  the_watchdog->routine   = routine;                                  
  13a686:	c7 47 2c 68 a7 13 00 	movl   $0x13a768,0x2c(%edi)           
  the_watchdog->id        = id;                                       
  13a68d:	89 77 30             	mov    %esi,0x30(%edi)                
  the_watchdog->user_data = user_data;                                
  13a690:	c7 47 34 00 00 00 00 	movl   $0x0,0x34(%edi)                
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
  13a697:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  13a69a:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  13a69d:	5b                   	pop    %ebx                           
  13a69e:	5e                   	pop    %esi                           
  13a69f:	83 c7 10             	add    $0x10,%edi                     
  13a6a2:	57                   	push   %edi                           
  13a6a3:	68 80 7c 16 00       	push   $0x167c80                      
  13a6a8:	e8 3f 95 fd ff       	call   113bec <_Watchdog_Insert>      
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
  13a6ad:	e8 9b 87 fd ff       	call   112e4d <_Thread_Enable_dispatch>
  13a6b2:	31 db                	xor    %ebx,%ebx                      
  13a6b4:	e9 98 00 00 00       	jmp    13a751 <rtems_rate_monotonic_period+0x168>
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
  13a6b9:	83 ec 0c             	sub    $0xc,%esp                      
  13a6bc:	57                   	push   %edi                           
  13a6bd:	e8 4c fe ff ff       	call   13a50e <_Rate_monotonic_Update_statistics>
          /*                                                          
           *  This tells the _Rate_monotonic_Timeout that this task is
           *  in the process of blocking on the period and that we    
           *  may be changing the length of the next period.          
           */                                                         
          the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;       
  13a6c2:	c7 47 38 01 00 00 00 	movl   $0x1,0x38(%edi)                
          the_period->next_length = length;                           
  13a6c9:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
                                                                      
          _ISR_Enable( level );                                       
  13a6cc:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  13a6cf:	9d                   	popf                                  
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
  13a6d0:	a1 60 7c 16 00       	mov    0x167c60,%eax                  
  13a6d5:	8b 57 08             	mov    0x8(%edi),%edx                 
  13a6d8:	89 50 20             	mov    %edx,0x20(%eax)                
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  13a6db:	5a                   	pop    %edx                           
  13a6dc:	59                   	pop    %ecx                           
  13a6dd:	68 00 40 00 00       	push   $0x4000                        
  13a6e2:	50                   	push   %eax                           
  13a6e3:	e8 68 8f fd ff       	call   113650 <_Thread_Set_state>     
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
  13a6e8:	9c                   	pushf                                 
  13a6e9:	fa                   	cli                                   
  13a6ea:	5a                   	pop    %edx                           
            local_state = the_period->state;                          
  13a6eb:	8b 47 38             	mov    0x38(%edi),%eax                
            the_period->state = RATE_MONOTONIC_ACTIVE;                
  13a6ee:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
          _ISR_Enable( level );                                       
  13a6f5:	52                   	push   %edx                           
  13a6f6:	9d                   	popf                                  
                                                                      
          /*                                                          
           *  If it did, then we want to unblock ourself and continue as
           *  if nothing happen.  The period was reset in the timeout routine.
           */                                                         
          if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING ) 
  13a6f7:	83 c4 10             	add    $0x10,%esp                     
  13a6fa:	83 f8 03             	cmp    $0x3,%eax                      
  13a6fd:	75 15                	jne    13a714 <rtems_rate_monotonic_period+0x12b>
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  13a6ff:	56                   	push   %esi                           
  13a700:	56                   	push   %esi                           
  13a701:	68 00 40 00 00       	push   $0x4000                        
  13a706:	ff 35 60 7c 16 00    	pushl  0x167c60                       
  13a70c:	e8 bf 83 fd ff       	call   112ad0 <_Thread_Clear_state>   
  13a711:	83 c4 10             	add    $0x10,%esp                     
                                                                      
          _Thread_Enable_dispatch();                                  
  13a714:	e8 34 87 fd ff       	call   112e4d <_Thread_Enable_dispatch>
  13a719:	31 db                	xor    %ebx,%ebx                      
          return RTEMS_SUCCESSFUL;                                    
  13a71b:	eb 3e                	jmp    13a75b <rtems_rate_monotonic_period+0x172>
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
  13a71d:	83 ec 0c             	sub    $0xc,%esp                      
  13a720:	57                   	push   %edi                           
  13a721:	e8 e8 fd ff ff       	call   13a50e <_Rate_monotonic_Update_statistics>
                                                                      
          _ISR_Enable( level );                                       
  13a726:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  13a729:	9d                   	popf                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  13a72a:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
          the_period->next_length = length;                           
  13a731:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  13a734:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  13a737:	59                   	pop    %ecx                           
  13a738:	5b                   	pop    %ebx                           
  13a739:	83 c7 10             	add    $0x10,%edi                     
  13a73c:	57                   	push   %edi                           
  13a73d:	68 80 7c 16 00       	push   $0x167c80                      
  13a742:	e8 a5 94 fd ff       	call   113bec <_Watchdog_Insert>      
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
  13a747:	e8 01 87 fd ff       	call   112e4d <_Thread_Enable_dispatch>
  13a74c:	bb 06 00 00 00       	mov    $0x6,%ebx                      
          return RTEMS_TIMEOUT;                                       
  13a751:	83 c4 10             	add    $0x10,%esp                     
  13a754:	eb 05                	jmp    13a75b <rtems_rate_monotonic_period+0x172>
  13a756:	bb 04 00 00 00       	mov    $0x4,%ebx                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  13a75b:	89 d8                	mov    %ebx,%eax                      
  13a75d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  13a760:	5b                   	pop    %ebx                           
  13a761:	5e                   	pop    %esi                           
  13a762:	5f                   	pop    %edi                           
  13a763:	c9                   	leave                                 
  13a764:	c3                   	ret                                   
                                                                      

00129b4c <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
  129b4c:	55                   	push   %ebp                           
  129b4d:	89 e5                	mov    %esp,%ebp                      
  129b4f:	57                   	push   %edi                           
  129b50:	56                   	push   %esi                           
  129b51:	53                   	push   %ebx                           
  129b52:	83 ec 7c             	sub    $0x7c,%esp                     
  129b55:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  129b58:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
  129b5b:	85 ff                	test   %edi,%edi                      
  129b5d:	0f 84 2b 01 00 00    	je     129c8e <rtems_rate_monotonic_report_statistics_with_plugin+0x142><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  129b63:	52                   	push   %edx                           
  129b64:	52                   	push   %edx                           
  129b65:	68 0c a0 15 00       	push   $0x15a00c                      
  129b6a:	53                   	push   %ebx                           
  129b6b:	ff d7                	call   *%edi                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
  129b6d:	5e                   	pop    %esi                           
  129b6e:	58                   	pop    %eax                           
  129b6f:	68 2a a0 15 00       	push   $0x15a02a                      
  129b74:	53                   	push   %ebx                           
  129b75:	ff d7                	call   *%edi                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
  129b77:	5a                   	pop    %edx                           
  129b78:	59                   	pop    %ecx                           
  129b79:	68 4c a0 15 00       	push   $0x15a04c                      
  129b7e:	53                   	push   %ebx                           
  129b7f:	ff d7                	call   *%edi                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
  129b81:	5e                   	pop    %esi                           
  129b82:	58                   	pop    %eax                           
  129b83:	68 6f a0 15 00       	push   $0x15a06f                      
  129b88:	53                   	push   %ebx                           
  129b89:	ff d7                	call   *%edi                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
  129b8b:	5a                   	pop    %edx                           
  129b8c:	59                   	pop    %ecx                           
  129b8d:	68 ba a0 15 00       	push   $0x15a0ba                      
  129b92:	53                   	push   %ebx                           
  129b93:	ff d7                	call   *%edi                          
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
  129b95:	8b 35 00 80 16 00    	mov    0x168000,%esi                  
  129b9b:	83 c4 10             	add    $0x10,%esp                     
  129b9e:	e9 df 00 00 00       	jmp    129c82 <rtems_rate_monotonic_report_statistics_with_plugin+0x136>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
  129ba3:	50                   	push   %eax                           
  129ba4:	50                   	push   %eax                           
  129ba5:	8d 45 88             	lea    -0x78(%ebp),%eax               
  129ba8:	50                   	push   %eax                           
  129ba9:	56                   	push   %esi                           
  129baa:	e8 11 07 01 00       	call   13a2c0 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
  129baf:	83 c4 10             	add    $0x10,%esp                     
  129bb2:	85 c0                	test   %eax,%eax                      
  129bb4:	0f 85 c7 00 00 00    	jne    129c81 <rtems_rate_monotonic_report_statistics_with_plugin+0x135>
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
  129bba:	51                   	push   %ecx                           
  129bbb:	51                   	push   %ecx                           
  129bbc:	8d 55 c0             	lea    -0x40(%ebp),%edx               
  129bbf:	52                   	push   %edx                           
  129bc0:	56                   	push   %esi                           
  129bc1:	e8 9e 07 01 00       	call   13a364 <rtems_rate_monotonic_get_status>
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
  129bc6:	83 c4 0c             	add    $0xc,%esp                      
  129bc9:	8d 45 e3             	lea    -0x1d(%ebp),%eax               
  129bcc:	50                   	push   %eax                           
  129bcd:	6a 05                	push   $0x5                           
  129bcf:	ff 75 c0             	pushl  -0x40(%ebp)                    
  129bd2:	e8 a5 6d fe ff       	call   11097c <rtems_object_get_name> 
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
  129bd7:	58                   	pop    %eax                           
  129bd8:	5a                   	pop    %edx                           
  129bd9:	ff 75 8c             	pushl  -0x74(%ebp)                    
  129bdc:	ff 75 88             	pushl  -0x78(%ebp)                    
  129bdf:	8d 55 e3             	lea    -0x1d(%ebp),%edx               
  129be2:	52                   	push   %edx                           
  129be3:	56                   	push   %esi                           
  129be4:	68 06 a1 15 00       	push   $0x15a106                      
  129be9:	53                   	push   %ebx                           
  129bea:	ff d7                	call   *%edi                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
  129bec:	8b 45 88             	mov    -0x78(%ebp),%eax               
  129bef:	83 c4 20             	add    $0x20,%esp                     
  129bf2:	85 c0                	test   %eax,%eax                      
  129bf4:	75 0f                	jne    129c05 <rtems_rate_monotonic_report_statistics_with_plugin+0xb9>
      (*print)( context, "\n" );                                      
  129bf6:	51                   	push   %ecx                           
  129bf7:	51                   	push   %ecx                           
  129bf8:	68 c5 ba 15 00       	push   $0x15bac5                      
  129bfd:	53                   	push   %ebx                           
  129bfe:	ff d7                	call   *%edi                          
      continue;                                                       
  129c00:	83 c4 10             	add    $0x10,%esp                     
  129c03:	eb 7c                	jmp    129c81 <rtems_rate_monotonic_report_statistics_with_plugin+0x135>
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
  129c05:	52                   	push   %edx                           
  129c06:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  129c09:	52                   	push   %edx                           
  129c0a:	50                   	push   %eax                           
  129c0b:	8d 45 a0             	lea    -0x60(%ebp),%eax               
  129c0e:	50                   	push   %eax                           
  129c0f:	e8 ec 11 00 00       	call   12ae00 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  129c14:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  129c17:	b9 e8 03 00 00       	mov    $0x3e8,%ecx                    
  129c1c:	99                   	cltd                                  
  129c1d:	f7 f9                	idiv   %ecx                           
  129c1f:	50                   	push   %eax                           
  129c20:	ff 75 d8             	pushl  -0x28(%ebp)                    
  129c23:	8b 45 9c             	mov    -0x64(%ebp),%eax               
  129c26:	99                   	cltd                                  
  129c27:	f7 f9                	idiv   %ecx                           
  129c29:	50                   	push   %eax                           
  129c2a:	ff 75 98             	pushl  -0x68(%ebp)                    
  129c2d:	8b 45 94             	mov    -0x6c(%ebp),%eax               
  129c30:	99                   	cltd                                  
  129c31:	f7 f9                	idiv   %ecx                           
  129c33:	50                   	push   %eax                           
  129c34:	ff 75 90             	pushl  -0x70(%ebp)                    
  129c37:	68 1d a1 15 00       	push   $0x15a11d                      
  129c3c:	53                   	push   %ebx                           
  129c3d:	89 4d 84             	mov    %ecx,-0x7c(%ebp)               
  129c40:	ff d7                	call   *%edi                          
      struct timespec  wall_average;                                  
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
  129c42:	83 c4 2c             	add    $0x2c,%esp                     
  129c45:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  129c48:	52                   	push   %edx                           
  129c49:	ff 75 88             	pushl  -0x78(%ebp)                    
  129c4c:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  129c4f:	50                   	push   %eax                           
  129c50:	e8 ab 11 00 00       	call   12ae00 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  129c55:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  129c58:	8b 4d 84             	mov    -0x7c(%ebp),%ecx               
  129c5b:	99                   	cltd                                  
  129c5c:	f7 f9                	idiv   %ecx                           
  129c5e:	50                   	push   %eax                           
  129c5f:	ff 75 d8             	pushl  -0x28(%ebp)                    
  129c62:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  129c65:	99                   	cltd                                  
  129c66:	f7 f9                	idiv   %ecx                           
  129c68:	50                   	push   %eax                           
  129c69:	ff 75 b0             	pushl  -0x50(%ebp)                    
  129c6c:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  129c6f:	99                   	cltd                                  
  129c70:	f7 f9                	idiv   %ecx                           
  129c72:	50                   	push   %eax                           
  129c73:	ff 75 a8             	pushl  -0x58(%ebp)                    
  129c76:	68 3c a1 15 00       	push   $0x15a13c                      
  129c7b:	53                   	push   %ebx                           
  129c7c:	ff d7                	call   *%edi                          
  129c7e:	83 c4 30             	add    $0x30,%esp                     
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
  129c81:	46                   	inc    %esi                           
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
  129c82:	3b 35 04 80 16 00    	cmp    0x168004,%esi                  
  129c88:	0f 86 15 ff ff ff    	jbe    129ba3 <rtems_rate_monotonic_report_statistics_with_plugin+0x57>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
  129c8e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  129c91:	5b                   	pop    %ebx                           
  129c92:	5e                   	pop    %esi                           
  129c93:	5f                   	pop    %edi                           
  129c94:	c9                   	leave                                 
  129c95:	c3                   	ret                                   
                                                                      

00116284 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
  116284:	55                   	push   %ebp                           
  116285:	89 e5                	mov    %esp,%ebp                      
  116287:	53                   	push   %ebx                           
  116288:	83 ec 14             	sub    $0x14,%esp                     
  11628b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
  11628e:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  116293:	85 db                	test   %ebx,%ebx                      
  116295:	74 71                	je     116308 <rtems_signal_send+0x84>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  116297:	50                   	push   %eax                           
  116298:	50                   	push   %eax                           
  116299:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11629c:	50                   	push   %eax                           
  11629d:	ff 75 08             	pushl  0x8(%ebp)                      
  1162a0:	e8 07 35 00 00       	call   1197ac <_Thread_Get>           
  1162a5:	89 c1                	mov    %eax,%ecx                      
  switch ( location ) {                                               
  1162a7:	83 c4 10             	add    $0x10,%esp                     
  1162aa:	b8 04 00 00 00       	mov    $0x4,%eax                      
  1162af:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  1162b3:	75 53                	jne    116308 <rtems_signal_send+0x84>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
  1162b5:	8b 91 f0 00 00 00    	mov    0xf0(%ecx),%edx                
      asr = &api->Signal;                                             
  1162bb:	83 7a 0c 00          	cmpl   $0x0,0xc(%edx)                 
  1162bf:	74 3d                	je     1162fe <rtems_signal_send+0x7a>
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
  1162c1:	80 7a 08 00          	cmpb   $0x0,0x8(%edx)                 
  1162c5:	74 26                	je     1162ed <rtems_signal_send+0x69>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  1162c7:	9c                   	pushf                                 
  1162c8:	fa                   	cli                                   
  1162c9:	58                   	pop    %eax                           
    *signal_set |= signals;                                           
  1162ca:	09 5a 14             	or     %ebx,0x14(%edx)                
  _ISR_Enable( _level );                                              
  1162cd:	50                   	push   %eax                           
  1162ce:	9d                   	popf                                  
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          the_thread->do_post_task_switch_extension = true;           
  1162cf:	c6 41 74 01          	movb   $0x1,0x74(%ecx)                
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  1162d3:	a1 fc e5 13 00       	mov    0x13e5fc,%eax                  
  1162d8:	85 c0                	test   %eax,%eax                      
  1162da:	74 19                	je     1162f5 <rtems_signal_send+0x71>
  1162dc:	3b 0d 20 e6 13 00    	cmp    0x13e620,%ecx                  
  1162e2:	75 11                	jne    1162f5 <rtems_signal_send+0x71><== NEVER TAKEN
            _ISR_Signals_to_thread_executing = true;                  
  1162e4:	c6 05 b4 e6 13 00 01 	movb   $0x1,0x13e6b4                  
  1162eb:	eb 08                	jmp    1162f5 <rtems_signal_send+0x71>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  1162ed:	9c                   	pushf                                 
  1162ee:	fa                   	cli                                   
  1162ef:	58                   	pop    %eax                           
    *signal_set |= signals;                                           
  1162f0:	09 5a 18             	or     %ebx,0x18(%edx)                
  _ISR_Enable( _level );                                              
  1162f3:	50                   	push   %eax                           
  1162f4:	9d                   	popf                                  
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
  1162f5:	e8 63 34 00 00       	call   11975d <_Thread_Enable_dispatch>
  1162fa:	31 c0                	xor    %eax,%eax                      
        return RTEMS_SUCCESSFUL;                                      
  1162fc:	eb 0a                	jmp    116308 <rtems_signal_send+0x84>
      }                                                               
      _Thread_Enable_dispatch();                                      
  1162fe:	e8 5a 34 00 00       	call   11975d <_Thread_Enable_dispatch>
  116303:	b8 0b 00 00 00       	mov    $0xb,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116308:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11630b:	c9                   	leave                                 
  11630c:	c3                   	ret                                   
                                                                      

0010e214 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
  10e214:	55                   	push   %ebp                           
  10e215:	89 e5                	mov    %esp,%ebp                      
  10e217:	56                   	push   %esi                           
  10e218:	53                   	push   %ebx                           
  10e219:	83 ec 10             	sub    $0x10,%esp                     
  10e21c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10e21f:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Thread_Control *the_thread;                                
  Objects_Locations               location;                           
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10e222:	85 db                	test   %ebx,%ebx                      
  10e224:	74 10                	je     10e236 <rtems_task_set_priority+0x22>
  10e226:	0f b6 05 f4 41 12 00 	movzbl 0x1241f4,%eax                  
  10e22d:	ba 13 00 00 00       	mov    $0x13,%edx                     
  10e232:	39 c3                	cmp    %eax,%ebx                      
  10e234:	77 50                	ja     10e286 <rtems_task_set_priority+0x72>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
  10e236:	ba 09 00 00 00       	mov    $0x9,%edx                      
  10e23b:	85 f6                	test   %esi,%esi                      
  10e23d:	74 47                	je     10e286 <rtems_task_set_priority+0x72>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10e23f:	51                   	push   %ecx                           
  10e240:	51                   	push   %ecx                           
  10e241:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10e244:	50                   	push   %eax                           
  10e245:	ff 75 08             	pushl  0x8(%ebp)                      
  10e248:	e8 f3 1a 00 00       	call   10fd40 <_Thread_Get>           
  switch ( location ) {                                               
  10e24d:	83 c4 10             	add    $0x10,%esp                     
  10e250:	ba 04 00 00 00       	mov    $0x4,%edx                      
  10e255:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10e259:	75 2b                	jne    10e286 <rtems_task_set_priority+0x72>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
  10e25b:	8b 50 14             	mov    0x14(%eax),%edx                
  10e25e:	89 16                	mov    %edx,(%esi)                    
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
  10e260:	85 db                	test   %ebx,%ebx                      
  10e262:	74 1b                	je     10e27f <rtems_task_set_priority+0x6b>
        the_thread->real_priority = new_priority;                     
  10e264:	89 58 18             	mov    %ebx,0x18(%eax)                
        if ( the_thread->resource_count == 0 ||                       
  10e267:	83 78 1c 00          	cmpl   $0x0,0x1c(%eax)                
  10e26b:	74 05                	je     10e272 <rtems_task_set_priority+0x5e>
             the_thread->current_priority > new_priority )            
  10e26d:	39 58 14             	cmp    %ebx,0x14(%eax)                
  10e270:	76 0d                	jbe    10e27f <rtems_task_set_priority+0x6b><== ALWAYS TAKEN
          _Thread_Change_priority( the_thread, new_priority, false ); 
  10e272:	52                   	push   %edx                           
  10e273:	6a 00                	push   $0x0                           
  10e275:	53                   	push   %ebx                           
  10e276:	50                   	push   %eax                           
  10e277:	e8 d8 15 00 00       	call   10f854 <_Thread_Change_priority>
  10e27c:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  10e27f:	e8 6d 1a 00 00       	call   10fcf1 <_Thread_Enable_dispatch>
  10e284:	31 d2                	xor    %edx,%edx                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10e286:	89 d0                	mov    %edx,%eax                      
  10e288:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e28b:	5b                   	pop    %ebx                           
  10e28c:	5e                   	pop    %esi                           
  10e28d:	c9                   	leave                                 
  10e28e:	c3                   	ret                                   
                                                                      

00116acc <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
  116acc:	55                   	push   %ebp                           
  116acd:	89 e5                	mov    %esp,%ebp                      
  116acf:	83 ec 1c             	sub    $0x1c,%esp                     
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
  116ad2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  116ad5:	50                   	push   %eax                           
  116ad6:	ff 75 08             	pushl  0x8(%ebp)                      
  116ad9:	68 44 e8 13 00       	push   $0x13e844                      
  116ade:	e8 49 24 00 00       	call   118f2c <_Objects_Get>          
  116ae3:	89 c2                	mov    %eax,%edx                      
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  116ae5:	83 c4 10             	add    $0x10,%esp                     
  116ae8:	b8 04 00 00 00       	mov    $0x4,%eax                      
  116aed:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  116af1:	75 1c                	jne    116b0f <rtems_timer_cancel+0x43>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
  116af3:	83 7a 38 04          	cmpl   $0x4,0x38(%edx)                
  116af7:	74 0f                	je     116b08 <rtems_timer_cancel+0x3c><== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
  116af9:	83 ec 0c             	sub    $0xc,%esp                      
  116afc:	83 c2 10             	add    $0x10,%edx                     
  116aff:	52                   	push   %edx                           
  116b00:	e8 5b 3e 00 00       	call   11a960 <_Watchdog_Remove>      
  116b05:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Enable_dispatch();                                      
  116b08:	e8 50 2c 00 00       	call   11975d <_Thread_Enable_dispatch>
  116b0d:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116b0f:	c9                   	leave                                 
  116b10:	c3                   	ret                                   
                                                                      

00116f34 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  116f34:	55                   	push   %ebp                           
  116f35:	89 e5                	mov    %esp,%ebp                      
  116f37:	57                   	push   %edi                           
  116f38:	56                   	push   %esi                           
  116f39:	53                   	push   %ebx                           
  116f3a:	83 ec 1c             	sub    $0x1c,%esp                     
  116f3d:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
  116f40:	8b 35 84 e8 13 00    	mov    0x13e884,%esi                  
                                                                      
  if ( !timer_server )                                                
  116f46:	b8 0e 00 00 00       	mov    $0xe,%eax                      
  116f4b:	85 f6                	test   %esi,%esi                      
  116f4d:	0f 84 b4 00 00 00    	je     117007 <rtems_timer_server_fire_when+0xd3><== NEVER TAKEN
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  116f53:	b0 0b                	mov    $0xb,%al                       
  116f55:	80 3d 78 e5 13 00 00 	cmpb   $0x0,0x13e578                  
  116f5c:	0f 84 a5 00 00 00    	je     117007 <rtems_timer_server_fire_when+0xd3><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
  116f62:	b0 09                	mov    $0x9,%al                       
  116f64:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  116f68:	0f 84 99 00 00 00    	je     117007 <rtems_timer_server_fire_when+0xd3><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  116f6e:	83 ec 0c             	sub    $0xc,%esp                      
  116f71:	53                   	push   %ebx                           
  116f72:	e8 65 d6 ff ff       	call   1145dc <_TOD_Validate>         
  116f77:	83 c4 10             	add    $0x10,%esp                     
  116f7a:	84 c0                	test   %al,%al                        
  116f7c:	0f 84 80 00 00 00    	je     117002 <rtems_timer_server_fire_when+0xce><== NEVER TAKEN
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  116f82:	83 ec 0c             	sub    $0xc,%esp                      
  116f85:	53                   	push   %ebx                           
  116f86:	e8 e9 d5 ff ff       	call   114574 <_TOD_To_seconds>       
  116f8b:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  116f8d:	83 c4 10             	add    $0x10,%esp                     
  116f90:	3b 05 f4 e5 13 00    	cmp    0x13e5f4,%eax                  
  116f96:	76 6a                	jbe    117002 <rtems_timer_server_fire_when+0xce><== NEVER TAKEN
  116f98:	51                   	push   %ecx                           
  116f99:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  116f9c:	50                   	push   %eax                           
  116f9d:	ff 75 08             	pushl  0x8(%ebp)                      
  116fa0:	68 44 e8 13 00       	push   $0x13e844                      
  116fa5:	e8 82 1f 00 00       	call   118f2c <_Objects_Get>          
  116faa:	89 c3                	mov    %eax,%ebx                      
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  116fac:	83 c4 10             	add    $0x10,%esp                     
  116faf:	b8 04 00 00 00       	mov    $0x4,%eax                      
  116fb4:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  116fb8:	75 4d                	jne    117007 <rtems_timer_server_fire_when+0xd3><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  116fba:	83 ec 0c             	sub    $0xc,%esp                      
  116fbd:	8d 43 10             	lea    0x10(%ebx),%eax                
  116fc0:	50                   	push   %eax                           
  116fc1:	e8 9a 39 00 00       	call   11a960 <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
  116fc6:	c7 43 38 03 00 00 00 	movl   $0x3,0x38(%ebx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  116fcd:	c7 43 18 00 00 00 00 	movl   $0x0,0x18(%ebx)                
  the_watchdog->routine   = routine;                                  
  116fd4:	8b 45 10             	mov    0x10(%ebp),%eax                
  116fd7:	89 43 2c             	mov    %eax,0x2c(%ebx)                
  the_watchdog->id        = id;                                       
  116fda:	8b 45 08             	mov    0x8(%ebp),%eax                 
  116fdd:	89 43 30             	mov    %eax,0x30(%ebx)                
  the_watchdog->user_data = user_data;                                
  116fe0:	8b 45 14             	mov    0x14(%ebp),%eax                
  116fe3:	89 43 34             	mov    %eax,0x34(%ebx)                
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
  116fe6:	2b 3d f4 e5 13 00    	sub    0x13e5f4,%edi                  
  116fec:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  116fef:	58                   	pop    %eax                           
  116ff0:	5a                   	pop    %edx                           
  116ff1:	53                   	push   %ebx                           
  116ff2:	56                   	push   %esi                           
  116ff3:	ff 56 04             	call   *0x4(%esi)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  116ff6:	e8 62 27 00 00       	call   11975d <_Thread_Enable_dispatch>
  116ffb:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  116ffd:	83 c4 10             	add    $0x10,%esp                     
  117000:	eb 05                	jmp    117007 <rtems_timer_server_fire_when+0xd3>
  117002:	b8 14 00 00 00       	mov    $0x14,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  117007:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11700a:	5b                   	pop    %ebx                           
  11700b:	5e                   	pop    %esi                           
  11700c:	5f                   	pop    %edi                           
  11700d:	c9                   	leave                                 
  11700e:	c3                   	ret