RTEMS 4.11
Annotated Report
Sun Jan 9 15:13:07 2011

00117320 <_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                    
)                                                                     
{                                                                     
  117320:	55                   	push   %ebp                           
  117321:	89 e5                	mov    %esp,%ebp                      
  117323:	57                   	push   %edi                           
  117324:	56                   	push   %esi                           
  117325:	53                   	push   %ebx                           
  117326:	83 ec 1c             	sub    $0x1c,%esp                     
  117329:	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 ) {             
    return CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE;                    
  11732c:	b8 01 00 00 00       	mov    $0x1,%eax                      
{                                                                     
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
  117331:	8b 55 10             	mov    0x10(%ebp),%edx                
  117334:	3b 53 4c             	cmp    0x4c(%ebx),%edx                
  117337:	77 4e                	ja     117387 <_CORE_message_queue_Broadcast+0x67><== NEVER TAKEN
   *  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 ) {         
  117339:	83 7b 48 00          	cmpl   $0x0,0x48(%ebx)                
  11733d:	75 09                	jne    117348 <_CORE_message_queue_Broadcast+0x28>
  11733f:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  117346:	eb 23                	jmp    11736b <_CORE_message_queue_Broadcast+0x4b>
    *count = 0;                                                       
  117348:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  11734b:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  117351:	eb 32                	jmp    117385 <_CORE_message_queue_Broadcast+0x65>
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
  117353:	ff 45 e4             	incl   -0x1c(%ebp)                    
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  117356:	8b 42 2c             	mov    0x2c(%edx),%eax                
  117359:	89 c7                	mov    %eax,%edi                      
  11735b:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  11735e:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  117361:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
  117363:	8b 42 28             	mov    0x28(%edx),%eax                
  117366:	8b 55 10             	mov    0x10(%ebp),%edx                
  117369:	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 =                                                
  11736b:	83 ec 0c             	sub    $0xc,%esp                      
  11736e:	53                   	push   %ebx                           
  11736f:	e8 78 23 00 00       	call   1196ec <_Thread_queue_Dequeue> 
  117374:	89 c2                	mov    %eax,%edx                      
  117376:	83 c4 10             	add    $0x10,%esp                     
  117379:	85 c0                	test   %eax,%eax                      
  11737b:	75 d6                	jne    117353 <_CORE_message_queue_Broadcast+0x33>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  11737d:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  117380:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  117383:	89 10                	mov    %edx,(%eax)                    
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
  117385:	31 c0                	xor    %eax,%eax                      
}                                                                     
  117387:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11738a:	5b                   	pop    %ebx                           
  11738b:	5e                   	pop    %esi                           
  11738c:	5f                   	pop    %edi                           
  11738d:	c9                   	leave                                 
  11738e:	c3                   	ret                                   
                                                                      

001121d4 <_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 ) {
  1121d4:	55                   	push   %ebp                           
  1121d5:	89 e5                	mov    %esp,%ebp                      
  1121d7:	57                   	push   %edi                           
  1121d8:	56                   	push   %esi                           
  1121d9:	53                   	push   %ebx                           
  1121da:	83 ec 1c             	sub    $0x1c,%esp                     
  1121dd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1121e0:	8b 7d 10             	mov    0x10(%ebp),%edi                
  1121e3:	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;
  1121e6:	89 7b 44             	mov    %edi,0x44(%ebx)                
  the_message_queue->number_of_pending_messages = 0;                  
  1121e9:	c7 43 48 00 00 00 00 	movl   $0x0,0x48(%ebx)                
  the_message_queue->maximum_message_size       = maximum_message_size;
  1121f0:	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)) {              
  1121f3:	89 d0                	mov    %edx,%eax                      
  1121f5:	f6 c2 03             	test   $0x3,%dl                       
  1121f8:	74 0c                	je     112206 <_CORE_message_queue_Initialize+0x32>
    allocated_message_size += sizeof(uint32_t);                       
  1121fa:	83 c0 04             	add    $0x4,%eax                      
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  1121fd:	83 e0 fc             	and    $0xfffffffc,%eax               
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
    return false;                                                     
  112200:	31 f6                	xor    %esi,%esi                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
    allocated_message_size += sizeof(uint32_t);                       
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
  112202:	39 d0                	cmp    %edx,%eax                      
  112204:	72 68                	jb     11226e <_CORE_message_queue_Initialize+0x9a><== 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));
  112206:	8d 50 10             	lea    0x10(%eax),%edx                
                                                                      
  /*                                                                  
   *  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 *    
  112209:	89 d1                	mov    %edx,%ecx                      
  11220b:	0f af cf             	imul   %edi,%ecx                      
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
    return false;                                                     
  11220e:	31 f6                	xor    %esi,%esi                      
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
  112210:	39 c1                	cmp    %eax,%ecx                      
  112212:	72 5a                	jb     11226e <_CORE_message_queue_Initialize+0x9a><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
  112214:	83 ec 0c             	sub    $0xc,%esp                      
  112217:	51                   	push   %ecx                           
  112218:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  11221b:	e8 42 26 00 00       	call   114862 <_Workspace_Allocate>   
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
  112220:	89 43 5c             	mov    %eax,0x5c(%ebx)                
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
  112223:	83 c4 10             	add    $0x10,%esp                     
  112226:	85 c0                	test   %eax,%eax                      
  112228:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11222b:	74 41                	je     11226e <_CORE_message_queue_Initialize+0x9a>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
  11222d:	52                   	push   %edx                           
  11222e:	57                   	push   %edi                           
  11222f:	50                   	push   %eax                           
  112230:	8d 43 60             	lea    0x60(%ebx),%eax                
  112233:	50                   	push   %eax                           
  112234:	e8 fb 3f 00 00       	call   116234 <_Chain_Initialize>     
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  112239:	8d 43 54             	lea    0x54(%ebx),%eax                
  11223c:	89 43 50             	mov    %eax,0x50(%ebx)                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  11223f:	c7 43 54 00 00 00 00 	movl   $0x0,0x54(%ebx)                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  112246:	8d 43 50             	lea    0x50(%ebx),%eax                
  112249:	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(                                           
  11224c:	6a 06                	push   $0x6                           
  11224e:	68 80 00 00 00       	push   $0x80                          
  112253:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  112256:	83 38 01             	cmpl   $0x1,(%eax)                    
  112259:	0f 94 c0             	sete   %al                            
  11225c:	0f b6 c0             	movzbl %al,%eax                       
  11225f:	50                   	push   %eax                           
  112260:	53                   	push   %ebx                           
  112261:	e8 fe 1d 00 00       	call   114064 <_Thread_queue_Initialize>
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
  112266:	83 c4 20             	add    $0x20,%esp                     
  112269:	be 01 00 00 00       	mov    $0x1,%esi                      
}                                                                     
  11226e:	89 f0                	mov    %esi,%eax                      
  112270:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112273:	5b                   	pop    %ebx                           
  112274:	5e                   	pop    %esi                           
  112275:	5f                   	pop    %edi                           
  112276:	c9                   	leave                                 
  112277:	c3                   	ret                                   
                                                                      

00112278 <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
  112278:	55                   	push   %ebp                           
  112279:	89 e5                	mov    %esp,%ebp                      
  11227b:	57                   	push   %edi                           
  11227c:	56                   	push   %esi                           
  11227d:	53                   	push   %ebx                           
  11227e:	83 ec 2c             	sub    $0x2c,%esp                     
  112281:	8b 45 08             	mov    0x8(%ebp),%eax                 
  112284:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  112287:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  11228a:	8b 55 10             	mov    0x10(%ebp),%edx                
  11228d:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  112290:	8b 7d 14             	mov    0x14(%ebp),%edi                
  112293:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  112296:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  112299:	8a 55 18             	mov    0x18(%ebp),%dl                 
  11229c:	88 55 db             	mov    %dl,-0x25(%ebp)                
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  11229f:	8b 0d 0c b6 12 00    	mov    0x12b60c,%ecx                  
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  1122a5:	c7 41 34 00 00 00 00 	movl   $0x0,0x34(%ecx)                
  _ISR_Disable( level );                                              
  1122ac:	9c                   	pushf                                 
  1122ad:	fa                   	cli                                   
  1122ae:	8f 45 e0             	popl   -0x20(%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 );   
}                                                                     
  1122b1:	8b 50 50             	mov    0x50(%eax),%edx                
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  1122b4:	8d 58 54             	lea    0x54(%eax),%ebx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
  1122b7:	39 da                	cmp    %ebx,%edx                      
  1122b9:	74 47                	je     112302 <_CORE_message_queue_Seize+0x8a>
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
  1122bb:	8b 32                	mov    (%edx),%esi                    
                                                                      
  head->next = new_first;                                             
  1122bd:	89 70 50             	mov    %esi,0x50(%eax)                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_first_unprotected(        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  1122c0:	8d 58 50             	lea    0x50(%eax),%ebx                
  1122c3:	89 5e 04             	mov    %ebx,0x4(%esi)                 
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  _ISR_Disable( level );                                              
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
  1122c6:	85 d2                	test   %edx,%edx                      
  1122c8:	74 38                	je     112302 <_CORE_message_queue_Seize+0x8a><== NEVER TAKEN
    the_message_queue->number_of_pending_messages -= 1;               
  1122ca:	ff 48 48             	decl   0x48(%eax)                     
    _ISR_Enable( level );                                             
  1122cd:	ff 75 e0             	pushl  -0x20(%ebp)                    
  1122d0:	9d                   	popf                                  
                                                                      
    *size_p = the_message->Contents.size;                             
  1122d1:	8b 4a 08             	mov    0x8(%edx),%ecx                 
  1122d4:	89 0f                	mov    %ecx,(%edi)                    
    _Thread_Executing->Wait.count =                                   
  1122d6:	8b 0d 0c b6 12 00    	mov    0x12b60c,%ecx                  
  1122dc:	c7 41 24 00 00 00 00 	movl   $0x0,0x24(%ecx)                
      _CORE_message_queue_Get_message_priority( the_message );        
    _CORE_message_queue_Copy_buffer(                                  
      the_message->Contents.buffer,                                   
  1122e3:	8d 72 0c             	lea    0xc(%edx),%esi                 
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  1122e6:	8b 0f                	mov    (%edi),%ecx                    
  1122e8:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  1122eb:	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 );
  1122ed:	89 55 0c             	mov    %edx,0xc(%ebp)                 
  1122f0:	83 c0 60             	add    $0x60,%eax                     
  1122f3:	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 );   
}                                                                     
  1122f6:	83 c4 2c             	add    $0x2c,%esp                     
  1122f9:	5b                   	pop    %ebx                           
  1122fa:	5e                   	pop    %esi                           
  1122fb:	5f                   	pop    %edi                           
  1122fc:	c9                   	leave                                 
  1122fd:	e9 52 fe ff ff       	jmp    112154 <_Chain_Append>         
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
  112302:	80 7d db 00          	cmpb   $0x0,-0x25(%ebp)               
  112306:	75 13                	jne    11231b <_CORE_message_queue_Seize+0xa3>
    _ISR_Enable( level );                                             
  112308:	ff 75 e0             	pushl  -0x20(%ebp)                    
  11230b:	9d                   	popf                                  
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
  11230c:	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 );   
}                                                                     
  112313:	83 c4 2c             	add    $0x2c,%esp                     
  112316:	5b                   	pop    %ebx                           
  112317:	5e                   	pop    %esi                           
  112318:	5f                   	pop    %edi                           
  112319:	c9                   	leave                                 
  11231a:	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;
  11231b:	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;             
  112322:	89 41 44             	mov    %eax,0x44(%ecx)                
  executing->Wait.id = id;                                            
  112325:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  112328:	89 51 20             	mov    %edx,0x20(%ecx)                
  executing->Wait.return_argument_second.mutable_object = buffer;     
  11232b:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11232e:	89 51 2c             	mov    %edx,0x2c(%ecx)                
  executing->Wait.return_argument = size_p;                           
  112331:	89 79 28             	mov    %edi,0x28(%ecx)                
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
  112334:	ff 75 e0             	pushl  -0x20(%ebp)                    
  112337:	9d                   	popf                                  
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
  112338:	c7 45 10 14 41 11 00 	movl   $0x114114,0x10(%ebp)           
  11233f:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  112342:	89 55 0c             	mov    %edx,0xc(%ebp)                 
  112345:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  112348:	83 c4 2c             	add    $0x2c,%esp                     
  11234b:	5b                   	pop    %ebx                           
  11234c:	5e                   	pop    %esi                           
  11234d:	5f                   	pop    %edi                           
  11234e:	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 );   
  11234f:	e9 e4 1a 00 00       	jmp    113e38 <_Thread_queue_Enqueue_with_handler>
                                                                      

0010ab7d <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
  10ab7d:	55                   	push   %ebp                           
  10ab7e:	89 e5                	mov    %esp,%ebp                      
  10ab80:	53                   	push   %ebx                           
  10ab81:	83 ec 14             	sub    $0x14,%esp                     
  10ab84:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10ab87:	8a 55 10             	mov    0x10(%ebp),%dl                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
  10ab8a:	a1 60 32 12 00       	mov    0x123260,%eax                  
  10ab8f:	85 c0                	test   %eax,%eax                      
  10ab91:	74 19                	je     10abac <_CORE_mutex_Seize+0x2f>
  10ab93:	84 d2                	test   %dl,%dl                        
  10ab95:	74 15                	je     10abac <_CORE_mutex_Seize+0x2f><== NEVER TAKEN
  10ab97:	83 3d dc 33 12 00 01 	cmpl   $0x1,0x1233dc                  
  10ab9e:	76 0c                	jbe    10abac <_CORE_mutex_Seize+0x2f>
  10aba0:	53                   	push   %ebx                           
  10aba1:	6a 12                	push   $0x12                          
  10aba3:	6a 00                	push   $0x0                           
  10aba5:	6a 00                	push   $0x0                           
  10aba7:	e8 dc 05 00 00       	call   10b188 <_Internal_error_Occurred>
  10abac:	51                   	push   %ecx                           
  10abad:	51                   	push   %ecx                           
  10abae:	8d 45 18             	lea    0x18(%ebp),%eax                
  10abb1:	50                   	push   %eax                           
  10abb2:	53                   	push   %ebx                           
  10abb3:	88 55 f4             	mov    %dl,-0xc(%ebp)                 
  10abb6:	e8 01 3d 00 00       	call   10e8bc <_CORE_mutex_Seize_interrupt_trylock>
  10abbb:	83 c4 10             	add    $0x10,%esp                     
  10abbe:	85 c0                	test   %eax,%eax                      
  10abc0:	8a 55 f4             	mov    -0xc(%ebp),%dl                 
  10abc3:	74 48                	je     10ac0d <_CORE_mutex_Seize+0x90>
  10abc5:	84 d2                	test   %dl,%dl                        
  10abc7:	75 12                	jne    10abdb <_CORE_mutex_Seize+0x5e>
  10abc9:	ff 75 18             	pushl  0x18(%ebp)                     
  10abcc:	9d                   	popf                                  
  10abcd:	a1 9c 34 12 00       	mov    0x12349c,%eax                  
  10abd2:	c7 40 34 01 00 00 00 	movl   $0x1,0x34(%eax)                
  10abd9:	eb 32                	jmp    10ac0d <_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;
  10abdb:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
  10abe2:	a1 9c 34 12 00       	mov    0x12349c,%eax                  
  10abe7:	89 58 44             	mov    %ebx,0x44(%eax)                
  10abea:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10abed:	89 50 20             	mov    %edx,0x20(%eax)                
  10abf0:	a1 60 32 12 00       	mov    0x123260,%eax                  
  10abf5:	40                   	inc    %eax                           
  10abf6:	a3 60 32 12 00       	mov    %eax,0x123260                  
  10abfb:	ff 75 18             	pushl  0x18(%ebp)                     
  10abfe:	9d                   	popf                                  
  10abff:	50                   	push   %eax                           
  10ac00:	50                   	push   %eax                           
  10ac01:	ff 75 14             	pushl  0x14(%ebp)                     
  10ac04:	53                   	push   %ebx                           
  10ac05:	e8 26 ff ff ff       	call   10ab30 <_CORE_mutex_Seize_interrupt_blocking>
  10ac0a:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10ac0d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ac10:	c9                   	leave                                 
  10ac11:	c3                   	ret                                   
                                                                      

0010e8bc <_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 ) {
  10e8bc:	55                   	push   %ebp                           
  10e8bd:	89 e5                	mov    %esp,%ebp                      
  10e8bf:	57                   	push   %edi                           
  10e8c0:	56                   	push   %esi                           
  10e8c1:	53                   	push   %ebx                           
  10e8c2:	83 ec 0c             	sub    $0xc,%esp                      
  10e8c5:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10e8c8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  10e8cb:	8b 0d 9c 34 12 00    	mov    0x12349c,%ecx                  
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  10e8d1:	c7 41 34 00 00 00 00 	movl   $0x0,0x34(%ecx)                
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
  10e8d8:	83 7a 50 00          	cmpl   $0x0,0x50(%edx)                
  10e8dc:	0f 84 89 00 00 00    	je     10e96b <_CORE_mutex_Seize_interrupt_trylock+0xaf>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
  10e8e2:	c7 42 50 00 00 00 00 	movl   $0x0,0x50(%edx)                
    the_mutex->holder     = executing;                                
  10e8e9:	89 4a 5c             	mov    %ecx,0x5c(%edx)                
    the_mutex->holder_id  = executing->Object.id;                     
  10e8ec:	8b 41 08             	mov    0x8(%ecx),%eax                 
  10e8ef:	89 42 60             	mov    %eax,0x60(%edx)                
    the_mutex->nest_count = 1;                                        
  10e8f2:	c7 42 54 01 00 00 00 	movl   $0x1,0x54(%edx)                
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
  10e8f9:	8b 42 48             	mov    0x48(%edx),%eax                
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
  10e8fc:	83 f8 02             	cmp    $0x2,%eax                      
  10e8ff:	74 05                	je     10e906 <_CORE_mutex_Seize_interrupt_trylock+0x4a>
  10e901:	83 f8 03             	cmp    $0x3,%eax                      
  10e904:	75 0e                	jne    10e914 <_CORE_mutex_Seize_interrupt_trylock+0x58>
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
  10e906:	8b 71 1c             	mov    0x1c(%ecx),%esi                
  10e909:	8d 7e 01             	lea    0x1(%esi),%edi                 
  10e90c:	89 79 1c             	mov    %edi,0x1c(%ecx)                
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
  10e90f:	83 f8 03             	cmp    $0x3,%eax                      
  10e912:	74 05                	je     10e919 <_CORE_mutex_Seize_interrupt_trylock+0x5d>
      _ISR_Enable( *level_p );                                        
  10e914:	ff 33                	pushl  (%ebx)                         
  10e916:	9d                   	popf                                  
  10e917:	eb 7c                	jmp    10e995 <_CORE_mutex_Seize_interrupt_trylock+0xd9>
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
      if ( current == ceiling ) {                                     
  10e919:	8b 42 4c             	mov    0x4c(%edx),%eax                
  10e91c:	39 41 14             	cmp    %eax,0x14(%ecx)                
  10e91f:	75 05                	jne    10e926 <_CORE_mutex_Seize_interrupt_trylock+0x6a>
        _ISR_Enable( *level_p );                                      
  10e921:	ff 33                	pushl  (%ebx)                         
  10e923:	9d                   	popf                                  
  10e924:	eb 6f                	jmp    10e995 <_CORE_mutex_Seize_interrupt_trylock+0xd9>
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
  10e926:	76 26                	jbe    10e94e <_CORE_mutex_Seize_interrupt_trylock+0x92>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10e928:	a1 60 32 12 00       	mov    0x123260,%eax                  
  10e92d:	40                   	inc    %eax                           
  10e92e:	a3 60 32 12 00       	mov    %eax,0x123260                  
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
  10e933:	ff 33                	pushl  (%ebx)                         
  10e935:	9d                   	popf                                  
        _Thread_Change_priority(                                      
  10e936:	50                   	push   %eax                           
  10e937:	6a 00                	push   $0x0                           
  10e939:	ff 72 4c             	pushl  0x4c(%edx)                     
  10e93c:	ff 72 5c             	pushl  0x5c(%edx)                     
  10e93f:	e8 70 d2 ff ff       	call   10bbb4 <_Thread_Change_priority>
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
  10e944:	e8 b1 d6 ff ff       	call   10bffa <_Thread_Enable_dispatch>
  10e949:	83 c4 10             	add    $0x10,%esp                     
  10e94c:	eb 47                	jmp    10e995 <_CORE_mutex_Seize_interrupt_trylock+0xd9>
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
  10e94e:	c7 41 34 06 00 00 00 	movl   $0x6,0x34(%ecx)                
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
  10e955:	c7 42 50 01 00 00 00 	movl   $0x1,0x50(%edx)                
        the_mutex->nest_count = 0;     /* undo locking above */       
  10e95c:	c7 42 54 00 00 00 00 	movl   $0x0,0x54(%edx)                
        executing->resource_count--;   /* undo locking above */       
  10e963:	89 71 1c             	mov    %esi,0x1c(%ecx)                
        _ISR_Enable( *level_p );                                      
  10e966:	ff 33                	pushl  (%ebx)                         
  10e968:	9d                   	popf                                  
  10e969:	eb 2a                	jmp    10e995 <_CORE_mutex_Seize_interrupt_trylock+0xd9>
  /*                                                                  
   *  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 ) ) {                  
  10e96b:	8b 72 5c             	mov    0x5c(%edx),%esi                
                                                                      
  /*                                                                  
   *  The mutex is not available and the caller must deal with the possibility
   *  of blocking.                                                    
   */                                                                 
  return 1;                                                           
  10e96e:	b8 01 00 00 00       	mov    $0x1,%eax                      
  /*                                                                  
   *  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 ) ) {                  
  10e973:	39 ce                	cmp    %ecx,%esi                      
  10e975:	75 20                	jne    10e997 <_CORE_mutex_Seize_interrupt_trylock+0xdb>
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
  10e977:	8b 4a 40             	mov    0x40(%edx),%ecx                
  10e97a:	85 c9                	test   %ecx,%ecx                      
  10e97c:	74 05                	je     10e983 <_CORE_mutex_Seize_interrupt_trylock+0xc7>
  10e97e:	49                   	dec    %ecx                           
  10e97f:	75 16                	jne    10e997 <_CORE_mutex_Seize_interrupt_trylock+0xdb><== ALWAYS TAKEN
  10e981:	eb 08                	jmp    10e98b <_CORE_mutex_Seize_interrupt_trylock+0xcf><== NOT EXECUTED
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
  10e983:	ff 42 54             	incl   0x54(%edx)                     
        _ISR_Enable( *level_p );                                      
  10e986:	ff 33                	pushl  (%ebx)                         
  10e988:	9d                   	popf                                  
  10e989:	eb 0a                	jmp    10e995 <_CORE_mutex_Seize_interrupt_trylock+0xd9>
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
  10e98b:	c7 46 34 02 00 00 00 	movl   $0x2,0x34(%esi)                <== NOT EXECUTED
        _ISR_Enable( *level_p );                                      
  10e992:	ff 33                	pushl  (%ebx)                         <== NOT EXECUTED
  10e994:	9d                   	popf                                  <== NOT EXECUTED
        return 0;                                                     
  10e995:	31 c0                	xor    %eax,%eax                      
  10e997:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e99a:	5b                   	pop    %ebx                           
  10e99b:	5e                   	pop    %esi                           
  10e99c:	5f                   	pop    %edi                           
  10e99d:	c9                   	leave                                 
  10e99e:	c3                   	ret                                   
                                                                      

0010ad38 <_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 ) {
  10ad38:	55                   	push   %ebp                           
  10ad39:	89 e5                	mov    %esp,%ebp                      
  10ad3b:	53                   	push   %ebx                           
  10ad3c:	83 ec 10             	sub    $0x10,%esp                     
  10ad3f:	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)) ) {
  10ad42:	53                   	push   %ebx                           
  10ad43:	e8 04 16 00 00       	call   10c34c <_Thread_queue_Dequeue> 
  10ad48:	89 c2                	mov    %eax,%edx                      
  10ad4a:	83 c4 10             	add    $0x10,%esp                     
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10ad4d:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
  10ad4f:	85 d2                	test   %edx,%edx                      
  10ad51:	75 15                	jne    10ad68 <_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 );                                            
  10ad53:	9c                   	pushf                                 
  10ad54:	fa                   	cli                                   
  10ad55:	59                   	pop    %ecx                           
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
  10ad56:	8b 53 48             	mov    0x48(%ebx),%edx                
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
  10ad59:	b0 04                	mov    $0x4,%al                       
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
  10ad5b:	3b 53 40             	cmp    0x40(%ebx),%edx                
  10ad5e:	73 06                	jae    10ad66 <_CORE_semaphore_Surrender+0x2e><== NEVER TAKEN
        the_semaphore->count += 1;                                    
  10ad60:	42                   	inc    %edx                           
  10ad61:	89 53 48             	mov    %edx,0x48(%ebx)                
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10ad64:	30 c0                	xor    %al,%al                        
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  10ad66:	51                   	push   %ecx                           
  10ad67:	9d                   	popf                                  
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
  10ad68:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ad6b:	c9                   	leave                                 
  10ad6c:	c3                   	ret                                   
                                                                      

00109d4c <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
  109d4c:	55                   	push   %ebp                           
  109d4d:	89 e5                	mov    %esp,%ebp                      
  109d4f:	57                   	push   %edi                           
  109d50:	56                   	push   %esi                           
  109d51:	53                   	push   %ebx                           
  109d52:	83 ec 2c             	sub    $0x2c,%esp                     
  109d55:	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 ];               
  109d58:	8b bb e4 00 00 00    	mov    0xe4(%ebx),%edi                
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
  109d5e:	8b 43 30             	mov    0x30(%ebx),%eax                
  109d61:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  109d64:	9c                   	pushf                                 
  109d65:	fa                   	cli                                   
  109d66:	58                   	pop    %eax                           
  pending_events  = api->pending_events;                              
  109d67:	8b 17                	mov    (%edi),%edx                    
  109d69:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
  109d6c:	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 ) ) {                      
  109d6f:	21 f2                	and    %esi,%edx                      
  109d71:	75 07                	jne    109d7a <_Event_Surrender+0x2e> 
    _ISR_Enable( level );                                             
  109d73:	50                   	push   %eax                           
  109d74:	9d                   	popf                                  
    return;                                                           
  109d75:	e9 af 00 00 00       	jmp    109e29 <_Event_Surrender+0xdd> 
                                                                      
  /*                                                                  
   *  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() &&                                       
  109d7a:	83 3d 98 34 12 00 00 	cmpl   $0x0,0x123498                  
  109d81:	74 49                	je     109dcc <_Event_Surrender+0x80> 
  109d83:	3b 1d 9c 34 12 00    	cmp    0x12349c,%ebx                  
  109d89:	75 41                	jne    109dcc <_Event_Surrender+0x80> 
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
  109d8b:	8b 0d d0 34 12 00    	mov    0x1234d0,%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() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
  109d91:	83 f9 02             	cmp    $0x2,%ecx                      
  109d94:	74 09                	je     109d9f <_Event_Surrender+0x53> <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
  109d96:	8b 0d d0 34 12 00    	mov    0x1234d0,%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() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
  109d9c:	49                   	dec    %ecx                           
  109d9d:	75 2d                	jne    109dcc <_Event_Surrender+0x80> 
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
  109d9f:	39 f2                	cmp    %esi,%edx                      
  109da1:	74 06                	je     109da9 <_Event_Surrender+0x5d> 
  109da3:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  109da7:	74 1f                	je     109dc8 <_Event_Surrender+0x7c> <== NEVER TAKEN
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
  109da9:	89 d6                	mov    %edx,%esi                      
  109dab:	f7 d6                	not    %esi                           
  109dad:	23 75 d4             	and    -0x2c(%ebp),%esi               
  109db0:	89 37                	mov    %esi,(%edi)                    
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
  109db2:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  109db9:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  109dbc:	89 11                	mov    %edx,(%ecx)                    
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
  109dbe:	c7 05 d0 34 12 00 03 	movl   $0x3,0x1234d0                  
  109dc5:	00 00 00                                                    
    }                                                                 
    _ISR_Enable( level );                                             
  109dc8:	50                   	push   %eax                           
  109dc9:	9d                   	popf                                  
    return;                                                           
  109dca:	eb 5d                	jmp    109e29 <_Event_Surrender+0xdd> 
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
  109dcc:	f6 43 11 01          	testb  $0x1,0x11(%ebx)                
  109dd0:	74 55                	je     109e27 <_Event_Surrender+0xdb> 
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
  109dd2:	39 f2                	cmp    %esi,%edx                      
  109dd4:	74 06                	je     109ddc <_Event_Surrender+0x90> 
  109dd6:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  109dda:	74 4b                	je     109e27 <_Event_Surrender+0xdb> <== NEVER TAKEN
  109ddc:	89 d6                	mov    %edx,%esi                      
  109dde:	f7 d6                	not    %esi                           
  109de0:	23 75 d4             	and    -0x2c(%ebp),%esi               
  109de3:	89 37                	mov    %esi,(%edi)                    
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
  109de5:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  109dec:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  109def:	89 11                	mov    %edx,(%ecx)                    
                                                                      
      _ISR_Flash( level );                                            
  109df1:	50                   	push   %eax                           
  109df2:	9d                   	popf                                  
  109df3:	fa                   	cli                                   
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
  109df4:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  109df8:	74 06                	je     109e00 <_Event_Surrender+0xb4> 
        _ISR_Enable( level );                                         
  109dfa:	50                   	push   %eax                           
  109dfb:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  109dfc:	51                   	push   %ecx                           
  109dfd:	51                   	push   %ecx                           
  109dfe:	eb 17                	jmp    109e17 <_Event_Surrender+0xcb> 
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
  109e00:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
  109e07:	50                   	push   %eax                           
  109e08:	9d                   	popf                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
  109e09:	83 ec 0c             	sub    $0xc,%esp                      
  109e0c:	8d 43 48             	lea    0x48(%ebx),%eax                
  109e0f:	50                   	push   %eax                           
  109e10:	e8 53 2f 00 00       	call   10cd68 <_Watchdog_Remove>      
  109e15:	58                   	pop    %eax                           
  109e16:	5a                   	pop    %edx                           
  109e17:	68 f8 ff 03 10       	push   $0x1003fff8                    
  109e1c:	53                   	push   %ebx                           
  109e1d:	e8 a6 1e 00 00       	call   10bcc8 <_Thread_Clear_state>   
  109e22:	83 c4 10             	add    $0x10,%esp                     
  109e25:	eb 02                	jmp    109e29 <_Event_Surrender+0xdd> 
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
  109e27:	50                   	push   %eax                           
  109e28:	9d                   	popf                                  
}                                                                     
  109e29:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109e2c:	5b                   	pop    %ebx                           
  109e2d:	5e                   	pop    %esi                           
  109e2e:	5f                   	pop    %edi                           
  109e2f:	c9                   	leave                                 
  109e30:	c3                   	ret                                   
                                                                      

00109e34 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
  109e34:	55                   	push   %ebp                           
  109e35:	89 e5                	mov    %esp,%ebp                      
  109e37:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  109e3a:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  109e3d:	50                   	push   %eax                           
  109e3e:	ff 75 08             	pushl  0x8(%ebp)                      
  109e41:	e8 d6 21 00 00       	call   10c01c <_Thread_Get>           
  switch ( location ) {                                               
  109e46:	83 c4 10             	add    $0x10,%esp                     
  109e49:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  109e4d:	75 49                	jne    109e98 <_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 );                                          
  109e4f:	9c                   	pushf                                 
  109e50:	fa                   	cli                                   
  109e51:	5a                   	pop    %edx                           
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
  109e52:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
        if ( _Thread_Is_executing( the_thread ) ) {                   
  109e59:	3b 05 9c 34 12 00    	cmp    0x12349c,%eax                  
  109e5f:	75 13                	jne    109e74 <_Event_Timeout+0x40>   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
  109e61:	8b 0d d0 34 12 00    	mov    0x1234d0,%ecx                  
  109e67:	49                   	dec    %ecx                           
  109e68:	75 0a                	jne    109e74 <_Event_Timeout+0x40>   
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
  109e6a:	c7 05 d0 34 12 00 02 	movl   $0x2,0x1234d0                  
  109e71:	00 00 00                                                    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
  109e74:	c7 40 34 06 00 00 00 	movl   $0x6,0x34(%eax)                
      _ISR_Enable( level );                                           
  109e7b:	52                   	push   %edx                           
  109e7c:	9d                   	popf                                  
  109e7d:	52                   	push   %edx                           
  109e7e:	52                   	push   %edx                           
  109e7f:	68 f8 ff 03 10       	push   $0x1003fff8                    
  109e84:	50                   	push   %eax                           
  109e85:	e8 3e 1e 00 00       	call   10bcc8 <_Thread_Clear_state>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  109e8a:	a1 60 32 12 00       	mov    0x123260,%eax                  
  109e8f:	48                   	dec    %eax                           
  109e90:	a3 60 32 12 00       	mov    %eax,0x123260                  
      _Thread_Unblock( the_thread );                                  
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  109e95:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  109e98:	c9                   	leave                                 
  109e99:	c3                   	ret                                   
                                                                      

0010ef13 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
  10ef13:	55                   	push   %ebp                           
  10ef14:	89 e5                	mov    %esp,%ebp                      
  10ef16:	57                   	push   %edi                           
  10ef17:	56                   	push   %esi                           
  10ef18:	53                   	push   %ebx                           
  10ef19:	83 ec 4c             	sub    $0x4c,%esp                     
  10ef1c:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10ef1f:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
  10ef22:	8b 43 20             	mov    0x20(%ebx),%eax                
  10ef25:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
  10ef28:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  Heap_Block *extend_last_block = NULL;                               
  10ef2f:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  uintptr_t const page_size = heap->page_size;                        
  10ef36:	8b 53 10             	mov    0x10(%ebx),%edx                
  10ef39:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  10ef3c:	8b 43 14             	mov    0x14(%ebx),%eax                
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
  10ef3f:	8b 7b 30             	mov    0x30(%ebx),%edi                
  10ef42:	89 7d bc             	mov    %edi,-0x44(%ebp)               
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
  10ef45:	31 f6                	xor    %esi,%esi                      
  uintptr_t const free_size = stats->free_size;                       
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
  10ef47:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10ef4a:	01 cf                	add    %ecx,%edi                      
  10ef4c:	0f 82 d4 01 00 00    	jb     10f126 <_Heap_Extend+0x213>    
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
  10ef52:	52                   	push   %edx                           
  10ef53:	52                   	push   %edx                           
  10ef54:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10ef57:	52                   	push   %edx                           
  10ef58:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  10ef5b:	52                   	push   %edx                           
  10ef5c:	50                   	push   %eax                           
  10ef5d:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10ef60:	51                   	push   %ecx                           
  10ef61:	ff 75 0c             	pushl  0xc(%ebp)                      
  10ef64:	e8 42 c3 ff ff       	call   10b2ab <_Heap_Get_first_and_last_block>
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
  10ef69:	83 c4 20             	add    $0x20,%esp                     
  10ef6c:	84 c0                	test   %al,%al                        
  10ef6e:	0f 84 b2 01 00 00    	je     10f126 <_Heap_Extend+0x213>    
  10ef74:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10ef77:	c7 45 cc 00 00 00 00 	movl   $0x0,-0x34(%ebp)               
  10ef7e:	c7 45 c8 00 00 00 00 	movl   $0x0,-0x38(%ebp)               
  10ef85:	31 f6                	xor    %esi,%esi                      
  10ef87:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
  10ef8e:	8b 43 18             	mov    0x18(%ebx),%eax                
  10ef91:	89 5d b8             	mov    %ebx,-0x48(%ebp)               
  10ef94:	eb 02                	jmp    10ef98 <_Heap_Extend+0x85>     
  10ef96:	89 c8                	mov    %ecx,%eax                      
    uintptr_t const sub_area_end = start_block->prev_size;            
  10ef98:	8b 19                	mov    (%ecx),%ebx                    
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
  10ef9a:	39 c7                	cmp    %eax,%edi                      
  10ef9c:	76 09                	jbe    10efa7 <_Heap_Extend+0x94>     
  10ef9e:	39 5d 0c             	cmp    %ebx,0xc(%ebp)                 
  10efa1:	0f 82 7d 01 00 00    	jb     10f124 <_Heap_Extend+0x211>    
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  10efa7:	39 c7                	cmp    %eax,%edi                      
  10efa9:	74 06                	je     10efb1 <_Heap_Extend+0x9e>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  10efab:	39 df                	cmp    %ebx,%edi                      
  10efad:	72 07                	jb     10efb6 <_Heap_Extend+0xa3>     
  10efaf:	eb 08                	jmp    10efb9 <_Heap_Extend+0xa6>     
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  10efb1:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  10efb4:	eb 03                	jmp    10efb9 <_Heap_Extend+0xa6>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  10efb6:	89 4d c8             	mov    %ecx,-0x38(%ebp)               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10efb9:	8d 43 f8             	lea    -0x8(%ebx),%eax                
  10efbc:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10efbf:	89 d8                	mov    %ebx,%eax                      
  10efc1:	31 d2                	xor    %edx,%edx                      
  10efc3:	f7 75 c4             	divl   -0x3c(%ebp)                    
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
  10efc6:	29 55 d4             	sub    %edx,-0x2c(%ebp)               
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
  10efc9:	3b 5d 0c             	cmp    0xc(%ebp),%ebx                 
  10efcc:	75 07                	jne    10efd5 <_Heap_Extend+0xc2>     
      start_block->prev_size = extend_area_end;                       
  10efce:	89 39                	mov    %edi,(%ecx)                    
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 )   
  10efd0:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  10efd3:	eb 08                	jmp    10efdd <_Heap_Extend+0xca>     
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
  10efd5:	73 06                	jae    10efdd <_Heap_Extend+0xca>     
  10efd7:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10efda:	89 55 cc             	mov    %edx,-0x34(%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;                
  10efdd:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10efe0:	8b 48 04             	mov    0x4(%eax),%ecx                 
  10efe3:	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);                 
  10efe6:	01 c1                	add    %eax,%ecx                      
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
  10efe8:	3b 4d c0             	cmp    -0x40(%ebp),%ecx               
  10efeb:	75 a9                	jne    10ef96 <_Heap_Extend+0x83>     
  10efed:	8b 5d b8             	mov    -0x48(%ebp),%ebx               
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
  10eff0:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10eff3:	3b 53 18             	cmp    0x18(%ebx),%edx                
  10eff6:	73 05                	jae    10effd <_Heap_Extend+0xea>     
    heap->area_begin = extend_area_begin;                             
  10eff8:	89 53 18             	mov    %edx,0x18(%ebx)                
  10effb:	eb 08                	jmp    10f005 <_Heap_Extend+0xf2>     
  } else if ( heap->area_end < extend_area_end ) {                    
  10effd:	39 7b 1c             	cmp    %edi,0x1c(%ebx)                
  10f000:	73 03                	jae    10f005 <_Heap_Extend+0xf2>     
    heap->area_end = extend_area_end;                                 
  10f002:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
  10f005:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10f008:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
  10f00b:	89 c1                	mov    %eax,%ecx                      
  10f00d:	29 d1                	sub    %edx,%ecx                      
  10f00f:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  10f012:	89 3a                	mov    %edi,(%edx)                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  10f014:	83 c9 01             	or     $0x1,%ecx                      
  10f017:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  10f01a:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  10f01d:	89 08                	mov    %ecx,(%eax)                    
  extend_last_block->size_and_flag = 0;                               
  10f01f:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
  10f026:	39 53 20             	cmp    %edx,0x20(%ebx)                
  10f029:	76 05                	jbe    10f030 <_Heap_Extend+0x11d>    
    heap->first_block = extend_first_block;                           
  10f02b:	89 53 20             	mov    %edx,0x20(%ebx)                
  10f02e:	eb 08                	jmp    10f038 <_Heap_Extend+0x125>    
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
  10f030:	39 43 24             	cmp    %eax,0x24(%ebx)                
  10f033:	73 03                	jae    10f038 <_Heap_Extend+0x125>    
    heap->last_block = extend_last_block;                             
  10f035:	89 43 24             	mov    %eax,0x24(%ebx)                
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
  10f038:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  10f03c:	74 3b                	je     10f079 <_Heap_Extend+0x166>    
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10f03e:	8b 43 10             	mov    0x10(%ebx),%eax                
  10f041:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  10f044:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10f047:	83 c1 08             	add    $0x8,%ecx                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
  10f04a:	89 c8                	mov    %ecx,%eax                      
  10f04c:	31 d2                	xor    %edx,%edx                      
  10f04e:	f7 75 d4             	divl   -0x2c(%ebp)                    
                                                                      
  if ( remainder != 0 ) {                                             
  10f051:	85 d2                	test   %edx,%edx                      
  10f053:	74 05                	je     10f05a <_Heap_Extend+0x147>    <== ALWAYS TAKEN
    return value - remainder + alignment;                             
  10f055:	03 4d d4             	add    -0x2c(%ebp),%ecx               <== NOT EXECUTED
  10f058:	29 d1                	sub    %edx,%ecx                      <== NOT EXECUTED
  uintptr_t const new_first_block_begin =                             
  10f05a:	8d 51 f8             	lea    -0x8(%ecx),%edx                
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  10f05d:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10f060:	8b 00                	mov    (%eax),%eax                    
  10f062:	89 41 f8             	mov    %eax,-0x8(%ecx)                
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
    new_first_block_alloc_begin - HEAP_BLOCK_HEADER_SIZE;             
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
  10f065:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10f068:	29 d0                	sub    %edx,%eax                      
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
  10f06a:	83 c8 01             	or     $0x1,%eax                      
  10f06d:	89 42 04             	mov    %eax,0x4(%edx)                 
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
  10f070:	89 d8                	mov    %ebx,%eax                      
  10f072:	e8 81 fe ff ff       	call   10eef8 <_Heap_Free_block>      
  10f077:	eb 14                	jmp    10f08d <_Heap_Extend+0x17a>    
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
  10f079:	83 7d c8 00          	cmpl   $0x0,-0x38(%ebp)               
  10f07d:	74 0e                	je     10f08d <_Heap_Extend+0x17a>    
    _Heap_Link_below(                                                 
  10f07f:	8b 55 e0             	mov    -0x20(%ebp),%edx               
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
    (link_begin - last_block_begin) | HEAP_PREV_BLOCK_USED;           
  10f082:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10f085:	29 d0                	sub    %edx,%eax                      
  10f087:	83 c8 01             	or     $0x1,%eax                      
  10f08a:	89 42 04             	mov    %eax,0x4(%edx)                 
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
  10f08d:	85 f6                	test   %esi,%esi                      
  10f08f:	74 30                	je     10f0c1 <_Heap_Extend+0x1ae>    
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
    extend_area_end - last_block_begin - HEAP_BLOCK_HEADER_SIZE,      
  10f091:	83 ef 08             	sub    $0x8,%edi                      
  uintptr_t extend_area_end                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
  10f094:	29 f7                	sub    %esi,%edi                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10f096:	89 f8                	mov    %edi,%eax                      
  10f098:	31 d2                	xor    %edx,%edx                      
  10f09a:	f7 73 10             	divl   0x10(%ebx)                     
  10f09d:	29 d7                	sub    %edx,%edi                      
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
  10f09f:	8b 46 04             	mov    0x4(%esi),%eax                 
  10f0a2:	29 f8                	sub    %edi,%eax                      
      | HEAP_PREV_BLOCK_USED;                                         
  10f0a4:	83 c8 01             	or     $0x1,%eax                      
  10f0a7:	89 44 37 04          	mov    %eax,0x4(%edi,%esi,1)          
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
  10f0ab:	8b 46 04             	mov    0x4(%esi),%eax                 
  10f0ae:	83 e0 01             	and    $0x1,%eax                      
                                                                      
  block->size_and_flag = size | flag;                                 
  10f0b1:	09 f8                	or     %edi,%eax                      
  10f0b3:	89 46 04             	mov    %eax,0x4(%esi)                 
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
  10f0b6:	89 f2                	mov    %esi,%edx                      
  10f0b8:	89 d8                	mov    %ebx,%eax                      
  10f0ba:	e8 39 fe ff ff       	call   10eef8 <_Heap_Free_block>      
  10f0bf:	eb 21                	jmp    10f0e2 <_Heap_Extend+0x1cf>    
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
  10f0c1:	83 7d cc 00          	cmpl   $0x0,-0x34(%ebp)               
  10f0c5:	74 1b                	je     10f0e2 <_Heap_Extend+0x1cf>    
    _Heap_Link_above(                                                 
  10f0c7:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
  10f0ca:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f0cd:	2b 45 cc             	sub    -0x34(%ebp),%eax               
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
  10f0d0:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  10f0d3:	8b 57 04             	mov    0x4(%edi),%edx                 
  10f0d6:	83 e2 01             	and    $0x1,%edx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  10f0d9:	09 d0                	or     %edx,%eax                      
  10f0db:	89 47 04             	mov    %eax,0x4(%edi)                 
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
  10f0de:	83 49 04 01          	orl    $0x1,0x4(%ecx)                 
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
  10f0e2:	85 f6                	test   %esi,%esi                      
  10f0e4:	75 10                	jne    10f0f6 <_Heap_Extend+0x1e3>    
  10f0e6:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  10f0ea:	75 0a                	jne    10f0f6 <_Heap_Extend+0x1e3>    
    _Heap_Free_block( heap, extend_first_block );                     
  10f0ec:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10f0ef:	89 d8                	mov    %ebx,%eax                      
  10f0f1:	e8 02 fe ff ff       	call   10eef8 <_Heap_Free_block>      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
    heap->last_block,                                                 
    (uintptr_t) heap->first_block - (uintptr_t) heap->last_block      
  10f0f6:	8b 53 24             	mov    0x24(%ebx),%edx                
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
  10f0f9:	8b 43 20             	mov    0x20(%ebx),%eax                
  10f0fc:	29 d0                	sub    %edx,%eax                      
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
  10f0fe:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  10f101:	83 e1 01             	and    $0x1,%ecx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  10f104:	09 c8                	or     %ecx,%eax                      
  10f106:	89 42 04             	mov    %eax,0x4(%edx)                 
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
  10f109:	8b 43 30             	mov    0x30(%ebx),%eax                
  10f10c:	2b 45 bc             	sub    -0x44(%ebp),%eax               
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
  10f10f:	01 43 2c             	add    %eax,0x2c(%ebx)                
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
  10f112:	be 01 00 00 00       	mov    $0x1,%esi                      
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
  10f117:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10f11b:	74 09                	je     10f126 <_Heap_Extend+0x213>    <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
  10f11d:	8b 55 14             	mov    0x14(%ebp),%edx                
  10f120:	89 02                	mov    %eax,(%edx)                    
  10f122:	eb 02                	jmp    10f126 <_Heap_Extend+0x213>    
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
  10f124:	31 f6                	xor    %esi,%esi                      
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
  10f126:	89 f0                	mov    %esi,%eax                      
  10f128:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f12b:	5b                   	pop    %ebx                           
  10f12c:	5e                   	pop    %esi                           
  10f12d:	5f                   	pop    %edi                           
  10f12e:	c9                   	leave                                 
  10f12f:	c3                   	ret                                   
                                                                      

0010eb58 <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
  10eb58:	55                   	push   %ebp                           
  10eb59:	89 e5                	mov    %esp,%ebp                      
  10eb5b:	57                   	push   %edi                           
  10eb5c:	56                   	push   %esi                           
  10eb5d:	53                   	push   %ebx                           
  10eb5e:	83 ec 14             	sub    $0x14,%esp                     
  10eb61:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10eb64:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10eb67:	8d 58 f8             	lea    -0x8(%eax),%ebx                
  10eb6a:	31 d2                	xor    %edx,%edx                      
  10eb6c:	f7 71 10             	divl   0x10(%ecx)                     
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
  10eb6f:	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           
  10eb71:	8b 41 20             	mov    0x20(%ecx),%eax                
  10eb74:	89 45 ec             	mov    %eax,-0x14(%ebp)               
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  10eb77:	31 d2                	xor    %edx,%edx                      
  10eb79:	39 c3                	cmp    %eax,%ebx                      
  10eb7b:	72 08                	jb     10eb85 <_Heap_Free+0x2d>       
  10eb7d:	31 d2                	xor    %edx,%edx                      
  10eb7f:	39 59 24             	cmp    %ebx,0x24(%ecx)                
  10eb82:	0f 93 c2             	setae  %dl                            
  bool next_is_free = false;                                          
                                                                      
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
    return false;                                                     
  10eb85:	31 c0                	xor    %eax,%eax                      
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
  10eb87:	85 d2                	test   %edx,%edx                      
  10eb89:	0f 84 21 01 00 00    	je     10ecb0 <_Heap_Free+0x158>      
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10eb8f:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10eb92:	89 45 f0             	mov    %eax,-0x10(%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;                
  10eb95:	89 c6                	mov    %eax,%esi                      
  10eb97:	83 e6 fe             	and    $0xfffffffe,%esi               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10eb9a:	8d 14 33             	lea    (%ebx,%esi,1),%edx             
  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;             
  10eb9d:	31 ff                	xor    %edi,%edi                      
  10eb9f:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10eba2:	72 0a                	jb     10ebae <_Heap_Free+0x56>       <== NEVER TAKEN
  10eba4:	31 c0                	xor    %eax,%eax                      
  10eba6:	39 51 24             	cmp    %edx,0x24(%ecx)                
  10eba9:	0f 93 c0             	setae  %al                            
  10ebac:	89 c7                	mov    %eax,%edi                      
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  10ebae:	31 c0                	xor    %eax,%eax                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
  10ebb0:	85 ff                	test   %edi,%edi                      
  10ebb2:	0f 84 f8 00 00 00    	je     10ecb0 <_Heap_Free+0x158>      <== NEVER TAKEN
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10ebb8:	8b 7a 04             	mov    0x4(%edx),%edi                 
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
  10ebbb:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  10ebc1:	0f 84 e9 00 00 00    	je     10ecb0 <_Heap_Free+0x158>      <== 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;                
  10ebc7:	83 e7 fe             	and    $0xfffffffe,%edi               
  10ebca:	89 7d e8             	mov    %edi,-0x18(%ebp)               
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  10ebcd:	8b 41 24             	mov    0x24(%ecx),%eax                
  10ebd0:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
  10ebd3:	31 c0                	xor    %eax,%eax                      
  10ebd5:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10ebd8:	74 0a                	je     10ebe4 <_Heap_Free+0x8c>       
  10ebda:	31 c0                	xor    %eax,%eax                      
  10ebdc:	f6 44 3a 04 01       	testb  $0x1,0x4(%edx,%edi,1)          
  10ebe1:	0f 94 c0             	sete   %al                            
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  10ebe4:	88 45 e3             	mov    %al,-0x1d(%ebp)                
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
  10ebe7:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)               
  10ebeb:	75 62                	jne    10ec4f <_Heap_Free+0xf7>       
    uintptr_t const prev_size = block->prev_size;                     
  10ebed:	8b 03                	mov    (%ebx),%eax                    
  10ebef:	89 45 f0             	mov    %eax,-0x10(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10ebf2:	29 c3                	sub    %eax,%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;             
  10ebf4:	31 ff                	xor    %edi,%edi                      
  10ebf6:	3b 5d ec             	cmp    -0x14(%ebp),%ebx               
  10ebf9:	72 0a                	jb     10ec05 <_Heap_Free+0xad>       <== NEVER TAKEN
  10ebfb:	31 c0                	xor    %eax,%eax                      
  10ebfd:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)               
  10ec00:	0f 93 c0             	setae  %al                            
  10ec03:	89 c7                	mov    %eax,%edi                      
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
      _HAssert( false );                                              
      return( false );                                                
  10ec05:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
    uintptr_t const prev_size = block->prev_size;                     
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
  10ec07:	85 ff                	test   %edi,%edi                      
  10ec09:	0f 84 a1 00 00 00    	je     10ecb0 <_Heap_Free+0x158>      <== 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) ) {                        
  10ec0f:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10ec13:	0f 84 97 00 00 00    	je     10ecb0 <_Heap_Free+0x158>      <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
  10ec19:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10ec1d:	74 1a                	je     10ec39 <_Heap_Free+0xe1>       
      uintptr_t const size = block_size + prev_size + next_block_size;
  10ec1f:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10ec22:	8d 04 06             	lea    (%esi,%eax,1),%eax             
  10ec25:	03 45 f0             	add    -0x10(%ebp),%eax               
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  10ec28:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = block->prev;                                     
  10ec2b:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  prev->next = next;                                                  
  10ec2e:	89 7a 08             	mov    %edi,0x8(%edx)                 
  next->prev = prev;                                                  
  10ec31:	89 57 0c             	mov    %edx,0xc(%edi)                 
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
  10ec34:	ff 49 38             	decl   0x38(%ecx)                     
  10ec37:	eb 33                	jmp    10ec6c <_Heap_Free+0x114>      
      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;                  
  10ec39:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  10ec3c:	8d 04 06             	lea    (%esi,%eax,1),%eax             
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  10ec3f:	89 c7                	mov    %eax,%edi                      
  10ec41:	83 cf 01             	or     $0x1,%edi                      
  10ec44:	89 7b 04             	mov    %edi,0x4(%ebx)                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
  10ec47:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
      next_block->prev_size = size;                                   
  10ec4b:	89 02                	mov    %eax,(%edx)                    
  10ec4d:	eb 56                	jmp    10eca5 <_Heap_Free+0x14d>      
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
  10ec4f:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10ec53:	74 24                	je     10ec79 <_Heap_Free+0x121>      
    uintptr_t const size = block_size + next_block_size;              
  10ec55:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10ec58:	01 f0                	add    %esi,%eax                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  10ec5a:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = old_block->prev;                                 
  10ec5d:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  new_block->next = next;                                             
  10ec60:	89 7b 08             	mov    %edi,0x8(%ebx)                 
  new_block->prev = prev;                                             
  10ec63:	89 53 0c             	mov    %edx,0xc(%ebx)                 
                                                                      
  next->prev = new_block;                                             
  10ec66:	89 5f 0c             	mov    %ebx,0xc(%edi)                 
  prev->next = new_block;                                             
  10ec69:	89 5a 08             	mov    %ebx,0x8(%edx)                 
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
  10ec6c:	89 c2                	mov    %eax,%edx                      
  10ec6e:	83 ca 01             	or     $0x1,%edx                      
  10ec71:	89 53 04             	mov    %edx,0x4(%ebx)                 
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
  10ec74:	89 04 03             	mov    %eax,(%ebx,%eax,1)             
  10ec77:	eb 2c                	jmp    10eca5 <_Heap_Free+0x14d>      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
  10ec79:	8b 41 08             	mov    0x8(%ecx),%eax                 
                                                                      
  new_block->next = next;                                             
  10ec7c:	89 43 08             	mov    %eax,0x8(%ebx)                 
  new_block->prev = block_before;                                     
  10ec7f:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  block_before->next = new_block;                                     
  10ec82:	89 59 08             	mov    %ebx,0x8(%ecx)                 
  next->prev = new_block;                                             
  10ec85:	89 58 0c             	mov    %ebx,0xc(%eax)                 
  } 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;         
  10ec88:	89 f0                	mov    %esi,%eax                      
  10ec8a:	83 c8 01             	or     $0x1,%eax                      
  10ec8d:	89 43 04             	mov    %eax,0x4(%ebx)                 
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  10ec90:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
    next_block->prev_size = block_size;                               
  10ec94:	89 32                	mov    %esi,(%edx)                    
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
  10ec96:	8b 41 38             	mov    0x38(%ecx),%eax                
  10ec99:	40                   	inc    %eax                           
  10ec9a:	89 41 38             	mov    %eax,0x38(%ecx)                
    if ( stats->max_free_blocks < stats->free_blocks ) {              
  10ec9d:	39 41 3c             	cmp    %eax,0x3c(%ecx)                
  10eca0:	73 03                	jae    10eca5 <_Heap_Free+0x14d>      
      stats->max_free_blocks = stats->free_blocks;                    
  10eca2:	89 41 3c             	mov    %eax,0x3c(%ecx)                
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  10eca5:	ff 49 40             	decl   0x40(%ecx)                     
  ++stats->frees;                                                     
  10eca8:	ff 41 50             	incl   0x50(%ecx)                     
  stats->free_size += block_size;                                     
  10ecab:	01 71 30             	add    %esi,0x30(%ecx)                
                                                                      
  return( true );                                                     
  10ecae:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10ecb0:	83 c4 14             	add    $0x14,%esp                     
  10ecb3:	5b                   	pop    %ebx                           
  10ecb4:	5e                   	pop    %esi                           
  10ecb5:	5f                   	pop    %edi                           
  10ecb6:	c9                   	leave                                 
  10ecb7:	c3                   	ret                                   
                                                                      

0011bd54 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
  11bd54:	55                   	push   %ebp                           
  11bd55:	89 e5                	mov    %esp,%ebp                      
  11bd57:	57                   	push   %edi                           
  11bd58:	56                   	push   %esi                           
  11bd59:	53                   	push   %ebx                           
  11bd5a:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11bd5d:	8b 75 0c             	mov    0xc(%ebp),%esi                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  11bd60:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  11bd63:	89 f0                	mov    %esi,%eax                      
  11bd65:	31 d2                	xor    %edx,%edx                      
  11bd67:	f7 73 10             	divl   0x10(%ebx)                     
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
  11bd6a:	29 d1                	sub    %edx,%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           
  11bd6c:	8b 53 20             	mov    0x20(%ebx),%edx                
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  11bd6f:	31 ff                	xor    %edi,%edi                      
  11bd71:	39 d1                	cmp    %edx,%ecx                      
  11bd73:	72 0a                	jb     11bd7f <_Heap_Size_of_alloc_area+0x2b>
  11bd75:	31 c0                	xor    %eax,%eax                      
  11bd77:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11bd7a:	0f 93 c0             	setae  %al                            
  11bd7d:	89 c7                	mov    %eax,%edi                      
  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 ) ) {                     
    return false;                                                     
  11bd7f:	31 c0                	xor    %eax,%eax                      
  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 ) ) {                     
  11bd81:	85 ff                	test   %edi,%edi                      
  11bd83:	74 30                	je     11bdb5 <_Heap_Size_of_alloc_area+0x61>
    - 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;                
  11bd85:	8b 41 04             	mov    0x4(%ecx),%eax                 
  11bd88:	83 e0 fe             	and    $0xfffffffe,%eax               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  11bd8b:	01 c1                	add    %eax,%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;             
  11bd8d:	31 ff                	xor    %edi,%edi                      
  11bd8f:	39 d1                	cmp    %edx,%ecx                      
  11bd91:	72 0a                	jb     11bd9d <_Heap_Size_of_alloc_area+0x49><== NEVER TAKEN
  11bd93:	31 c0                	xor    %eax,%eax                      
  11bd95:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11bd98:	0f 93 c0             	setae  %al                            
  11bd9b:	89 c7                	mov    %eax,%edi                      
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  11bd9d:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
  11bd9f:	85 ff                	test   %edi,%edi                      
  11bda1:	74 12                	je     11bdb5 <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  11bda3:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  11bda7:	74 0c                	je     11bdb5 <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
  11bda9:	29 f1                	sub    %esi,%ecx                      
  11bdab:	8d 51 04             	lea    0x4(%ecx),%edx                 
  11bdae:	8b 45 10             	mov    0x10(%ebp),%eax                
  11bdb1:	89 10                	mov    %edx,(%eax)                    
                                                                      
  return true;                                                        
  11bdb3:	b0 01                	mov    $0x1,%al                       
}                                                                     
  11bdb5:	5b                   	pop    %ebx                           
  11bdb6:	5e                   	pop    %esi                           
  11bdb7:	5f                   	pop    %edi                           
  11bdb8:	c9                   	leave                                 
  11bdb9:	c3                   	ret                                   
                                                                      

0010bb66 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
  10bb66:	55                   	push   %ebp                           
  10bb67:	89 e5                	mov    %esp,%ebp                      
  10bb69:	57                   	push   %edi                           
  10bb6a:	56                   	push   %esi                           
  10bb6b:	53                   	push   %ebx                           
  10bb6c:	83 ec 4c             	sub    $0x4c,%esp                     
  10bb6f:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10bb72:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  uintptr_t const page_size = heap->page_size;                        
  10bb75:	8b 46 10             	mov    0x10(%esi),%eax                
  10bb78:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  10bb7b:	8b 4e 14             	mov    0x14(%esi),%ecx                
  10bb7e:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  Heap_Block *const first_block = heap->first_block;                  
  10bb81:	8b 46 20             	mov    0x20(%esi),%eax                
  10bb84:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  Heap_Block *const last_block = heap->last_block;                    
  10bb87:	8b 4e 24             	mov    0x24(%esi),%ecx                
  10bb8a:	89 4d c8             	mov    %ecx,-0x38(%ebp)               
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
  10bb8d:	c7 45 e4 28 bb 10 00 	movl   $0x10bb28,-0x1c(%ebp)          
  10bb94:	80 7d 10 00          	cmpb   $0x0,0x10(%ebp)                
  10bb98:	74 07                	je     10bba1 <_Heap_Walk+0x3b>       
  10bb9a:	c7 45 e4 2d bb 10 00 	movl   $0x10bb2d,-0x1c(%ebp)          
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  10bba1:	b0 01                	mov    $0x1,%al                       
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
  10bba3:	83 3d 64 54 12 00 03 	cmpl   $0x3,0x125464                  
  10bbaa:	0f 85 e8 02 00 00    	jne    10be98 <_Heap_Walk+0x332>      
  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)(                                                         
  10bbb0:	52                   	push   %edx                           
  10bbb1:	ff 76 0c             	pushl  0xc(%esi)                      
  10bbb4:	ff 76 08             	pushl  0x8(%esi)                      
  10bbb7:	ff 75 c8             	pushl  -0x38(%ebp)                    
  10bbba:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10bbbd:	ff 76 1c             	pushl  0x1c(%esi)                     
  10bbc0:	ff 76 18             	pushl  0x18(%esi)                     
  10bbc3:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10bbc6:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10bbc9:	68 d1 e8 11 00       	push   $0x11e8d1                      
  10bbce:	6a 00                	push   $0x0                           
  10bbd0:	53                   	push   %ebx                           
  10bbd1:	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 ) {                                             
  10bbd4:	83 c4 30             	add    $0x30,%esp                     
  10bbd7:	83 7d d8 00          	cmpl   $0x0,-0x28(%ebp)               
  10bbdb:	75 0b                	jne    10bbe8 <_Heap_Walk+0x82>       
    (*printer)( source, true, "page size is zero\n" );                
  10bbdd:	50                   	push   %eax                           
  10bbde:	68 62 e9 11 00       	push   $0x11e962                      
  10bbe3:	e9 6b 02 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
  10bbe8:	f6 45 d8 03          	testb  $0x3,-0x28(%ebp)               
  10bbec:	74 0d                	je     10bbfb <_Heap_Walk+0x95>       
    (*printer)(                                                       
  10bbee:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10bbf1:	68 75 e9 11 00       	push   $0x11e975                      
  10bbf6:	e9 58 02 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bbfb:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10bbfe:	31 d2                	xor    %edx,%edx                      
  10bc00:	f7 75 d8             	divl   -0x28(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
  10bc03:	85 d2                	test   %edx,%edx                      
  10bc05:	74 0d                	je     10bc14 <_Heap_Walk+0xae>       
    (*printer)(                                                       
  10bc07:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10bc0a:	68 93 e9 11 00       	push   $0x11e993                      
  10bc0f:	e9 3f 02 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10bc14:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10bc17:	83 c0 08             	add    $0x8,%eax                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bc1a:	31 d2                	xor    %edx,%edx                      
  10bc1c:	f7 75 d8             	divl   -0x28(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10bc1f:	85 d2                	test   %edx,%edx                      
  10bc21:	74 0d                	je     10bc30 <_Heap_Walk+0xca>       
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
  10bc23:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10bc26:	68 b7 e9 11 00       	push   $0x11e9b7                      
  10bc2b:	e9 23 02 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
  10bc30:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10bc33:	f6 40 04 01          	testb  $0x1,0x4(%eax)                 
  10bc37:	75 0b                	jne    10bc44 <_Heap_Walk+0xde>       
    (*printer)(                                                       
  10bc39:	57                   	push   %edi                           
  10bc3a:	68 e8 e9 11 00       	push   $0x11e9e8                      
  10bc3f:	e9 0f 02 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      
    - 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;                
  10bc44:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10bc47:	8b 79 04             	mov    0x4(%ecx),%edi                 
  10bc4a:	83 e7 fe             	and    $0xfffffffe,%edi               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10bc4d:	01 cf                	add    %ecx,%edi                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
  10bc4f:	f6 47 04 01          	testb  $0x1,0x4(%edi)                 
  10bc53:	75 0b                	jne    10bc60 <_Heap_Walk+0xfa>       
    (*printer)(                                                       
  10bc55:	56                   	push   %esi                           
  10bc56:	68 16 ea 11 00       	push   $0x11ea16                      
  10bc5b:	e9 f3 01 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10bc60:	3b 7d d0             	cmp    -0x30(%ebp),%edi               
  10bc63:	74 0b                	je     10bc70 <_Heap_Walk+0x10a>      <== ALWAYS TAKEN
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
  10bc65:	51                   	push   %ecx                           <== NOT EXECUTED
  10bc66:	68 2b ea 11 00       	push   $0x11ea2b                      <== NOT EXECUTED
  10bc6b:	e9 e3 01 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      <== NOT EXECUTED
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10bc70:	8b 46 10             	mov    0x10(%esi),%eax                
  10bc73:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bc76:	8b 4e 08             	mov    0x8(%esi),%ecx                 
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  10bc79:	89 75 dc             	mov    %esi,-0x24(%ebp)               
  10bc7c:	eb 75                	jmp    10bcf3 <_Heap_Walk+0x18d>      
  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;             
  10bc7e:	31 c0                	xor    %eax,%eax                      
  10bc80:	39 4e 20             	cmp    %ecx,0x20(%esi)                
  10bc83:	77 08                	ja     10bc8d <_Heap_Walk+0x127>      
  10bc85:	31 c0                	xor    %eax,%eax                      
  10bc87:	39 4e 24             	cmp    %ecx,0x24(%esi)                
  10bc8a:	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 ) ) {              
  10bc8d:	85 c0                	test   %eax,%eax                      
  10bc8f:	75 0b                	jne    10bc9c <_Heap_Walk+0x136>      
      (*printer)(                                                     
  10bc91:	51                   	push   %ecx                           
  10bc92:	68 5a ea 11 00       	push   $0x11ea5a                      
  10bc97:	e9 b7 01 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10bc9c:	8d 41 08             	lea    0x8(%ecx),%eax                 
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bc9f:	31 d2                	xor    %edx,%edx                      
  10bca1:	f7 75 e0             	divl   -0x20(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10bca4:	85 d2                	test   %edx,%edx                      
  10bca6:	74 0b                	je     10bcb3 <_Heap_Walk+0x14d>      
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
  10bca8:	51                   	push   %ecx                           
  10bca9:	68 7a ea 11 00       	push   $0x11ea7a                      
  10bcae:	e9 a0 01 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      
    - 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;                
  10bcb3:	8b 41 04             	mov    0x4(%ecx),%eax                 
  10bcb6:	83 e0 fe             	and    $0xfffffffe,%eax               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10bcb9:	f6 44 01 04 01       	testb  $0x1,0x4(%ecx,%eax,1)          
  10bcbe:	74 0b                	je     10bccb <_Heap_Walk+0x165>      
      (*printer)(                                                     
  10bcc0:	51                   	push   %ecx                           
  10bcc1:	68 aa ea 11 00       	push   $0x11eaaa                      
  10bcc6:	e9 88 01 00 00       	jmp    10be53 <_Heap_Walk+0x2ed>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
  10bccb:	8b 41 0c             	mov    0xc(%ecx),%eax                 
  10bcce:	3b 45 dc             	cmp    -0x24(%ebp),%eax               
  10bcd1:	74 1a                	je     10bced <_Heap_Walk+0x187>      
      (*printer)(                                                     
  10bcd3:	83 ec 0c             	sub    $0xc,%esp                      
  10bcd6:	50                   	push   %eax                           
  10bcd7:	51                   	push   %ecx                           
  10bcd8:	68 c6 ea 11 00       	push   $0x11eac6                      
  10bcdd:	6a 01                	push   $0x1                           
  10bcdf:	53                   	push   %ebx                           
  10bce0:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10bce3:	83 c4 20             	add    $0x20,%esp                     
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  10bce6:	31 c0                	xor    %eax,%eax                      
  10bce8:	e9 ab 01 00 00       	jmp    10be98 <_Heap_Walk+0x332>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
  10bced:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  10bcf0:	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 ) {                            
  10bcf3:	39 f1                	cmp    %esi,%ecx                      
  10bcf5:	75 87                	jne    10bc7e <_Heap_Walk+0x118>      
  10bcf7:	89 5d dc             	mov    %ebx,-0x24(%ebp)               
  10bcfa:	eb 02                	jmp    10bcfe <_Heap_Walk+0x198>      
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
  10bcfc:	89 df                	mov    %ebx,%edi                      
                                                                      
  return true;                                                        
}                                                                     
  10bcfe:	8b 4f 04             	mov    0x4(%edi),%ecx                 
  10bd01:	89 4d cc             	mov    %ecx,-0x34(%ebp)               
  10bd04:	83 e1 fe             	and    $0xfffffffe,%ecx               
  10bd07:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10bd0a:	8d 1c 0f             	lea    (%edi,%ecx,1),%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;             
  10bd0d:	31 c0                	xor    %eax,%eax                      
  10bd0f:	39 5e 20             	cmp    %ebx,0x20(%esi)                
  10bd12:	77 08                	ja     10bd1c <_Heap_Walk+0x1b6>      <== NEVER TAKEN
  10bd14:	31 c0                	xor    %eax,%eax                      
  10bd16:	39 5e 24             	cmp    %ebx,0x24(%esi)                
  10bd19:	0f 93 c0             	setae  %al                            
    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;        
    bool const is_not_last_block = block != last_block;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
  10bd1c:	85 c0                	test   %eax,%eax                      
  10bd1e:	75 11                	jne    10bd31 <_Heap_Walk+0x1cb>      
  10bd20:	89 d9                	mov    %ebx,%ecx                      
  10bd22:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10bd25:	83 ec 0c             	sub    $0xc,%esp                      
  10bd28:	51                   	push   %ecx                           
  10bd29:	57                   	push   %edi                           
  10bd2a:	68 f8 ea 11 00       	push   $0x11eaf8                      
  10bd2f:	eb ac                	jmp    10bcdd <_Heap_Walk+0x177>      
    uintptr_t const block_begin = (uintptr_t) block;                  
    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;        
    bool const is_not_last_block = block != last_block;               
  10bd31:	3b 7d c8             	cmp    -0x38(%ebp),%edi               
  10bd34:	0f 95 c1             	setne  %cl                            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bd37:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10bd3a:	31 d2                	xor    %edx,%edx                      
  10bd3c:	f7 75 d8             	divl   -0x28(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
  10bd3f:	85 d2                	test   %edx,%edx                      
  10bd41:	74 15                	je     10bd58 <_Heap_Walk+0x1f2>      
  10bd43:	84 c9                	test   %cl,%cl                        
  10bd45:	74 11                	je     10bd58 <_Heap_Walk+0x1f2>      
  10bd47:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10bd4a:	83 ec 0c             	sub    $0xc,%esp                      
  10bd4d:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bd50:	57                   	push   %edi                           
  10bd51:	68 25 eb 11 00       	push   $0x11eb25                      
  10bd56:	eb 85                	jmp    10bcdd <_Heap_Walk+0x177>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
  10bd58:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10bd5b:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  10bd5e:	73 18                	jae    10bd78 <_Heap_Walk+0x212>      
  10bd60:	84 c9                	test   %cl,%cl                        
  10bd62:	74 14                	je     10bd78 <_Heap_Walk+0x212>      <== NEVER TAKEN
  10bd64:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10bd67:	52                   	push   %edx                           
  10bd68:	52                   	push   %edx                           
  10bd69:	50                   	push   %eax                           
  10bd6a:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bd6d:	57                   	push   %edi                           
  10bd6e:	68 53 eb 11 00       	push   $0x11eb53                      
  10bd73:	e9 65 ff ff ff       	jmp    10bcdd <_Heap_Walk+0x177>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
  10bd78:	39 fb                	cmp    %edi,%ebx                      
  10bd7a:	77 18                	ja     10bd94 <_Heap_Walk+0x22e>      
  10bd7c:	84 c9                	test   %cl,%cl                        
  10bd7e:	74 14                	je     10bd94 <_Heap_Walk+0x22e>      
  10bd80:	89 d9                	mov    %ebx,%ecx                      
  10bd82:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10bd85:	83 ec 0c             	sub    $0xc,%esp                      
  10bd88:	51                   	push   %ecx                           
  10bd89:	57                   	push   %edi                           
  10bd8a:	68 7e eb 11 00       	push   $0x11eb7e                      
  10bd8f:	e9 49 ff ff ff       	jmp    10bcdd <_Heap_Walk+0x177>      
  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;                 
  10bd94:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  10bd97:	83 e1 01             	and    $0x1,%ecx                      
  10bd9a:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
  10bd9d:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10bda1:	0f 85 ba 00 00 00    	jne    10be61 <_Heap_Walk+0x2fb>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bda7:	8b 46 08             	mov    0x8(%esi),%eax                 
  10bdaa:	89 45 c0             	mov    %eax,-0x40(%ebp)               
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
  10bdad:	8b 4f 08             	mov    0x8(%edi),%ecx                 
  10bdb0:	89 4d b4             	mov    %ecx,-0x4c(%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)(                                                         
  10bdb3:	ba 9e e8 11 00       	mov    $0x11e89e,%edx                 
  10bdb8:	3b 4e 0c             	cmp    0xc(%esi),%ecx                 
  10bdbb:	74 0e                	je     10bdcb <_Heap_Walk+0x265>      
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  10bdbd:	ba d5 e7 11 00       	mov    $0x11e7d5,%edx                 
  10bdc2:	39 f1                	cmp    %esi,%ecx                      
  10bdc4:	75 05                	jne    10bdcb <_Heap_Walk+0x265>      
  10bdc6:	ba ad e8 11 00       	mov    $0x11e8ad,%edx                 
    false,                                                            
    "block 0x%08x: size %u, prev 0x%08x%s, next 0x%08x%s\n",          
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
  10bdcb:	8b 47 0c             	mov    0xc(%edi),%eax                 
  10bdce:	89 45 cc             	mov    %eax,-0x34(%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)(                                                         
  10bdd1:	b8 b7 e8 11 00       	mov    $0x11e8b7,%eax                 
  10bdd6:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10bdd9:	39 4d cc             	cmp    %ecx,-0x34(%ebp)               
  10bddc:	74 0f                	je     10bded <_Heap_Walk+0x287>      
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
  10bdde:	b8 d5 e7 11 00       	mov    $0x11e7d5,%eax                 
  10bde3:	39 75 cc             	cmp    %esi,-0x34(%ebp)               
  10bde6:	75 05                	jne    10bded <_Heap_Walk+0x287>      
  10bde8:	b8 c7 e8 11 00       	mov    $0x11e8c7,%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)(                                                         
  10bded:	83 ec 0c             	sub    $0xc,%esp                      
  10bdf0:	52                   	push   %edx                           
  10bdf1:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10bdf4:	50                   	push   %eax                           
  10bdf5:	ff 75 cc             	pushl  -0x34(%ebp)                    
  10bdf8:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bdfb:	57                   	push   %edi                           
  10bdfc:	68 b2 eb 11 00       	push   $0x11ebb2                      
  10be01:	6a 00                	push   $0x0                           
  10be03:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10be06:	ff 55 e4             	call   *-0x1c(%ebp)                   
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
  10be09:	8b 03                	mov    (%ebx),%eax                    
  10be0b:	83 c4 30             	add    $0x30,%esp                     
  10be0e:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  10be11:	74 16                	je     10be29 <_Heap_Walk+0x2c3>      
  10be13:	89 d9                	mov    %ebx,%ecx                      
  10be15:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
    (*printer)(                                                       
  10be18:	56                   	push   %esi                           
  10be19:	51                   	push   %ecx                           
  10be1a:	50                   	push   %eax                           
  10be1b:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10be1e:	57                   	push   %edi                           
  10be1f:	68 e7 eb 11 00       	push   $0x11ebe7                      
  10be24:	e9 b4 fe ff ff       	jmp    10bcdd <_Heap_Walk+0x177>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
  10be29:	83 7d c4 00          	cmpl   $0x0,-0x3c(%ebp)               
  10be2d:	75 0b                	jne    10be3a <_Heap_Walk+0x2d4>      
  10be2f:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
    (*printer)(                                                       
  10be32:	57                   	push   %edi                           
  10be33:	68 20 ec 11 00       	push   $0x11ec20                      
  10be38:	eb 19                	jmp    10be53 <_Heap_Walk+0x2ed>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10be3a:	8b 46 08             	mov    0x8(%esi),%eax                 
  10be3d:	eb 07                	jmp    10be46 <_Heap_Walk+0x2e0>      
{                                                                     
  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 ) {                                      
  10be3f:	39 f8                	cmp    %edi,%eax                      
  10be41:	74 4a                	je     10be8d <_Heap_Walk+0x327>      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
  10be43:	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 ) {                            
  10be46:	39 f0                	cmp    %esi,%eax                      
  10be48:	75 f5                	jne    10be3f <_Heap_Walk+0x2d9>      
  10be4a:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
  10be4d:	57                   	push   %edi                           
  10be4e:	68 8b ec 11 00       	push   $0x11ec8b                      
  10be53:	6a 01                	push   $0x1                           
  10be55:	53                   	push   %ebx                           
  10be56:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10be59:	83 c4 10             	add    $0x10,%esp                     
  10be5c:	e9 85 fe ff ff       	jmp    10bce6 <_Heap_Walk+0x180>      
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
  10be61:	83 7d c4 00          	cmpl   $0x0,-0x3c(%ebp)               
  10be65:	74 0e                	je     10be75 <_Heap_Walk+0x30f>      
      (*printer)(                                                     
  10be67:	83 ec 0c             	sub    $0xc,%esp                      
  10be6a:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10be6d:	57                   	push   %edi                           
  10be6e:	68 4f ec 11 00       	push   $0x11ec4f                      
  10be73:	eb 0d                	jmp    10be82 <_Heap_Walk+0x31c>      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
  10be75:	51                   	push   %ecx                           
  10be76:	51                   	push   %ecx                           
  10be77:	ff 37                	pushl  (%edi)                         
  10be79:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10be7c:	57                   	push   %edi                           
  10be7d:	68 66 ec 11 00       	push   $0x11ec66                      
  10be82:	6a 00                	push   $0x0                           
  10be84:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10be87:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10be8a:	83 c4 20             	add    $0x20,%esp                     
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
  10be8d:	3b 5d d0             	cmp    -0x30(%ebp),%ebx               
  10be90:	0f 85 66 fe ff ff    	jne    10bcfc <_Heap_Walk+0x196>      
                                                                      
  return true;                                                        
  10be96:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10be98:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10be9b:	5b                   	pop    %ebx                           
  10be9c:	5e                   	pop    %esi                           
  10be9d:	5f                   	pop    %edi                           
  10be9e:	c9                   	leave                                 
  10be9f:	c3                   	ret                                   
                                                                      

0010b188 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10b188:	55                   	push   %ebp                           
  10b189:	89 e5                	mov    %esp,%ebp                      
  10b18b:	53                   	push   %ebx                           
  10b18c:	83 ec 08             	sub    $0x8,%esp                      
  10b18f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b192:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10b195:	8b 5d 10             	mov    0x10(%ebp),%ebx                
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  10b198:	a3 18 33 12 00       	mov    %eax,0x123318                  
  _Internal_errors_What_happened.is_internal = is_internal;           
  10b19d:	88 15 1c 33 12 00    	mov    %dl,0x12331c                   
  _Internal_errors_What_happened.the_error   = the_error;             
  10b1a3:	89 1d 20 33 12 00    	mov    %ebx,0x123320                  
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
  10b1a9:	53                   	push   %ebx                           
  10b1aa:	0f b6 d2             	movzbl %dl,%edx                       
  10b1ad:	52                   	push   %edx                           
  10b1ae:	50                   	push   %eax                           
  10b1af:	e8 73 19 00 00       	call   10cb27 <_User_extensions_Fatal>
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
  10b1b4:	c7 05 dc 33 12 00 05 	movl   $0x5,0x1233dc                  <== NOT EXECUTED
  10b1bb:	00 00 00                                                    
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
  10b1be:	fa                   	cli                                   <== NOT EXECUTED
  10b1bf:	89 d8                	mov    %ebx,%eax                      <== NOT EXECUTED
  10b1c1:	f4                   	hlt                                   <== NOT EXECUTED
  10b1c2:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10b1c5:	eb fe                	jmp    10b1c5 <_Internal_error_Occurred+0x3d><== NOT EXECUTED
                                                                      

0010b218 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
  10b218:	55                   	push   %ebp                           
  10b219:	89 e5                	mov    %esp,%ebp                      
  10b21b:	56                   	push   %esi                           
  10b21c:	53                   	push   %ebx                           
  10b21d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
   *  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 )                                       
    return NULL;                                                      
  10b220:	31 c9                	xor    %ecx,%ecx                      
   *  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 )                                       
  10b222:	83 7b 18 00          	cmpl   $0x0,0x18(%ebx)                
  10b226:	74 53                	je     10b27b <_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 );
  10b228:	8d 73 20             	lea    0x20(%ebx),%esi                
  10b22b:	83 ec 0c             	sub    $0xc,%esp                      
  10b22e:	56                   	push   %esi                           
  10b22f:	e8 9c f7 ff ff       	call   10a9d0 <_Chain_Get>            
  10b234:	89 c1                	mov    %eax,%ecx                      
                                                                      
  if ( information->auto_extend ) {                                   
  10b236:	83 c4 10             	add    $0x10,%esp                     
  10b239:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10b23d:	74 3c                	je     10b27b <_Objects_Allocate+0x63>
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
  10b23f:	85 c0                	test   %eax,%eax                      
  10b241:	75 1a                	jne    10b25d <_Objects_Allocate+0x45>
      _Objects_Extend_information( information );                     
  10b243:	83 ec 0c             	sub    $0xc,%esp                      
  10b246:	53                   	push   %ebx                           
  10b247:	e8 60 00 00 00       	call   10b2ac <_Objects_Extend_information>
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
  10b24c:	89 34 24             	mov    %esi,(%esp)                    
  10b24f:	e8 7c f7 ff ff       	call   10a9d0 <_Chain_Get>            
  10b254:	89 c1                	mov    %eax,%ecx                      
    }                                                                 
                                                                      
    if ( the_object ) {                                               
  10b256:	83 c4 10             	add    $0x10,%esp                     
  10b259:	85 c0                	test   %eax,%eax                      
  10b25b:	74 1e                	je     10b27b <_Objects_Allocate+0x63>
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
  10b25d:	0f b7 41 08          	movzwl 0x8(%ecx),%eax                 
  10b261:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10b265:	29 d0                	sub    %edx,%eax                      
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
  10b267:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10b26b:	31 d2                	xor    %edx,%edx                      
  10b26d:	f7 f6                	div    %esi                           
                                                                      
      information->inactive_per_block[ block ]--;                     
  10b26f:	c1 e0 02             	shl    $0x2,%eax                      
  10b272:	03 43 30             	add    0x30(%ebx),%eax                
  10b275:	ff 08                	decl   (%eax)                         
      information->inactive--;                                        
  10b277:	66 ff 4b 2c          	decw   0x2c(%ebx)                     
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
  10b27b:	89 c8                	mov    %ecx,%eax                      
  10b27d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b280:	5b                   	pop    %ebx                           
  10b281:	5e                   	pop    %esi                           
  10b282:	c9                   	leave                                 
  10b283:	c3                   	ret                                   
                                                                      

0010b5a0 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
  10b5a0:	55                   	push   %ebp                           
  10b5a1:	89 e5                	mov    %esp,%ebp                      
  10b5a3:	57                   	push   %edi                           
  10b5a4:	56                   	push   %esi                           
  10b5a5:	53                   	push   %ebx                           
  10b5a6:	83 ec 0c             	sub    $0xc,%esp                      
  10b5a9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b5ac:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
  10b5af:	31 db                	xor    %ebx,%ebx                      
)                                                                     
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
  10b5b1:	66 85 ff             	test   %di,%di                        
  10b5b4:	74 37                	je     10b5ed <_Objects_Get_information+0x4d>
                                                                      
  /*                                                                  
   *  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 );      
  10b5b6:	83 ec 0c             	sub    $0xc,%esp                      
  10b5b9:	56                   	push   %esi                           
  10b5ba:	e8 f9 36 00 00       	call   10ecb8 <_Objects_API_maximum_class>
  if ( the_class_api_maximum == 0 )                                   
  10b5bf:	83 c4 10             	add    $0x10,%esp                     
  10b5c2:	85 c0                	test   %eax,%eax                      
  10b5c4:	74 27                	je     10b5ed <_Objects_Get_information+0x4d>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
  10b5c6:	0f b7 ff             	movzwl %di,%edi                       
  10b5c9:	39 c7                	cmp    %eax,%edi                      
  10b5cb:	77 20                	ja     10b5ed <_Objects_Get_information+0x4d>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10b5cd:	8b 04 b5 38 32 12 00 	mov    0x123238(,%esi,4),%eax         
  10b5d4:	85 c0                	test   %eax,%eax                      
  10b5d6:	74 15                	je     10b5ed <_Objects_Get_information+0x4d><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
  10b5d8:	8b 1c b8             	mov    (%eax,%edi,4),%ebx             
  if ( !info )                                                        
  10b5db:	85 db                	test   %ebx,%ebx                      
  10b5dd:	74 0e                	je     10b5ed <_Objects_Get_information+0x4d><== NEVER TAKEN
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  10b5df:	31 c0                	xor    %eax,%eax                      
  10b5e1:	66 83 7b 10 00       	cmpw   $0x0,0x10(%ebx)                
  10b5e6:	0f 95 c0             	setne  %al                            
  10b5e9:	f7 d8                	neg    %eax                           
  10b5eb:	21 c3                	and    %eax,%ebx                      
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
  10b5ed:	89 d8                	mov    %ebx,%eax                      
  10b5ef:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b5f2:	5b                   	pop    %ebx                           
  10b5f3:	5e                   	pop    %esi                           
  10b5f4:	5f                   	pop    %edi                           
  10b5f5:	c9                   	leave                                 
  10b5f6:	c3                   	ret                                   
                                                                      

001189ac <_Objects_Get_no_protection>: Objects_Control *_Objects_Get_no_protection( Objects_Information *information, Objects_Id id, Objects_Locations *location ) {
  1189ac:	55                   	push   %ebp                           
  1189ad:	89 e5                	mov    %esp,%ebp                      
  1189af:	53                   	push   %ebx                           
  1189b0:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1189b3:	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;                           
  1189b6:	b8 01 00 00 00       	mov    $0x1,%eax                      
  1189bb:	2b 42 08             	sub    0x8(%edx),%eax                 
  1189be:	03 45 0c             	add    0xc(%ebp),%eax                 
                                                                      
  if ( information->maximum >= index ) {                              
  1189c1:	0f b7 5a 10          	movzwl 0x10(%edx),%ebx                
  1189c5:	39 c3                	cmp    %eax,%ebx                      
  1189c7:	72 12                	jb     1189db <_Objects_Get_no_protection+0x2f>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
  1189c9:	8b 52 1c             	mov    0x1c(%edx),%edx                
  1189cc:	8b 04 82             	mov    (%edx,%eax,4),%eax             
  1189cf:	85 c0                	test   %eax,%eax                      
  1189d1:	74 08                	je     1189db <_Objects_Get_no_protection+0x2f><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
  1189d3:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)                    
      return the_object;                                              
  1189d9:	eb 08                	jmp    1189e3 <_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;                                          
  1189db:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)                    
  return NULL;                                                        
  1189e1:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1189e3:	5b                   	pop    %ebx                           
  1189e4:	c9                   	leave                                 
  1189e5:	c3                   	ret                                   
                                                                      

0010c7bc <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
  10c7bc:	55                   	push   %ebp                           
  10c7bd:	89 e5                	mov    %esp,%ebp                      
  10c7bf:	53                   	push   %ebx                           
  10c7c0:	83 ec 14             	sub    $0x14,%esp                     
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10c7c3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c7c6:	85 c0                	test   %eax,%eax                      
  10c7c8:	75 08                	jne    10c7d2 <_Objects_Id_to_name+0x16>
  10c7ca:	a1 48 65 12 00       	mov    0x126548,%eax                  
  10c7cf:	8b 40 08             	mov    0x8(%eax),%eax                 
  10c7d2:	89 c2                	mov    %eax,%edx                      
  10c7d4:	c1 ea 18             	shr    $0x18,%edx                     
  10c7d7:	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 )                      
  10c7da:	8d 4a ff             	lea    -0x1(%edx),%ecx                
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
  10c7dd:	bb 03 00 00 00       	mov    $0x3,%ebx                      
  10c7e2:	83 f9 02             	cmp    $0x2,%ecx                      
  10c7e5:	77 30                	ja     10c817 <_Objects_Id_to_name+0x5b>
  10c7e7:	eb 35                	jmp    10c81e <_Objects_Id_to_name+0x62>
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10c7e9:	89 c1                	mov    %eax,%ecx                      
  10c7eb:	c1 e9 1b             	shr    $0x1b,%ecx                     
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
  10c7ee:	8b 14 8a             	mov    (%edx,%ecx,4),%edx             
  if ( !information )                                                 
  10c7f1:	85 d2                	test   %edx,%edx                      
  10c7f3:	74 22                	je     10c817 <_Objects_Id_to_name+0x5b><== 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 ); 
  10c7f5:	51                   	push   %ecx                           
  10c7f6:	8d 4d f4             	lea    -0xc(%ebp),%ecx                
  10c7f9:	51                   	push   %ecx                           
  10c7fa:	50                   	push   %eax                           
  10c7fb:	52                   	push   %edx                           
  10c7fc:	e8 63 ff ff ff       	call   10c764 <_Objects_Get>          
  if ( !the_object )                                                  
  10c801:	83 c4 10             	add    $0x10,%esp                     
  10c804:	85 c0                	test   %eax,%eax                      
  10c806:	74 0f                	je     10c817 <_Objects_Id_to_name+0x5b>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  10c808:	8b 50 0c             	mov    0xc(%eax),%edx                 
  10c80b:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c80e:	89 10                	mov    %edx,(%eax)                    
  _Thread_Enable_dispatch();                                          
  10c810:	e8 71 09 00 00       	call   10d186 <_Thread_Enable_dispatch>
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
  10c815:	31 db                	xor    %ebx,%ebx                      
}                                                                     
  10c817:	89 d8                	mov    %ebx,%eax                      
  10c819:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c81c:	c9                   	leave                                 
  10c81d:	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 ] )                       
  10c81e:	8b 14 95 e4 62 12 00 	mov    0x1262e4(,%edx,4),%edx         
  10c825:	85 d2                	test   %edx,%edx                      
  10c827:	75 c0                	jne    10c7e9 <_Objects_Id_to_name+0x2d>
  10c829:	eb ec                	jmp    10c817 <_Objects_Id_to_name+0x5b>
                                                                      

0010b6a0 <_Objects_Initialize_information>: , bool supports_global, Objects_Thread_queue_Extract_callout extract #endif ) {
  10b6a0:	55                   	push   %ebp                           
  10b6a1:	89 e5                	mov    %esp,%ebp                      
  10b6a3:	57                   	push   %edi                           
  10b6a4:	56                   	push   %esi                           
  10b6a5:	53                   	push   %ebx                           
  10b6a6:	83 ec 0c             	sub    $0xc,%esp                      
  10b6a9:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b6ac:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10b6af:	8b 75 10             	mov    0x10(%ebp),%esi                
  10b6b2:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10b6b5:	8b 7d 20             	mov    0x20(%ebp),%edi                
  10b6b8:	0f b7 55 18          	movzwl 0x18(%ebp),%edx                
  uint32_t                maximum_per_allocation;                     
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t              index;                                      
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  10b6bc:	89 18                	mov    %ebx,(%eax)                    
  information->the_class          = the_class;                        
  10b6be:	66 89 70 04          	mov    %si,0x4(%eax)                  
  information->size               = size;                             
  10b6c2:	89 50 18             	mov    %edx,0x18(%eax)                
  information->local_table        = 0;                                
  10b6c5:	c7 40 1c 00 00 00 00 	movl   $0x0,0x1c(%eax)                
  information->inactive_per_block = 0;                                
  10b6cc:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  information->object_blocks      = 0;                                
  10b6d3:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  information->inactive           = 0;                                
  10b6da:	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;                                           
  10b6e0:	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;   
  10b6e6:	0f b7 f6             	movzwl %si,%esi                       
  10b6e9:	8b 14 9d 38 32 12 00 	mov    0x123238(,%ebx,4),%edx         
  10b6f0:	89 04 b2             	mov    %eax,(%edx,%esi,4)             
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  10b6f3:	89 ca                	mov    %ecx,%edx                      
  10b6f5:	c1 ea 1f             	shr    $0x1f,%edx                     
  _Objects_Information_table[ the_api ][ the_class ] = information;   
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
  10b6f8:	88 50 12             	mov    %dl,0x12(%eax)                 
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  maximum_per_allocation = maximum & ~OBJECTS_UNLIMITED_OBJECTS;      
  10b6fb:	81 e1 ff ff ff 7f    	and    $0x7fffffff,%ecx               
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
  10b701:	85 d2                	test   %edx,%edx                      
  10b703:	74 10                	je     10b715 <_Objects_Initialize_information+0x75>
  10b705:	85 c9                	test   %ecx,%ecx                      
  10b707:	75 0c                	jne    10b715 <_Objects_Initialize_information+0x75>
    _Internal_error_Occurred(                                         
  10b709:	50                   	push   %eax                           
  10b70a:	6a 13                	push   $0x13                          
  10b70c:	6a 01                	push   $0x1                           
  10b70e:	6a 00                	push   $0x0                           
  10b710:	e8 73 fa ff ff       	call   10b188 <_Internal_error_Occurred>
  }                                                                   
                                                                      
  /*                                                                  
   *  The allocation unit is the maximum value                        
   */                                                                 
  information->allocation_size = maximum_per_allocation;              
  10b715:	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;                       
  10b719:	c7 40 1c 1c 2f 12 00 	movl   $0x122f1c,0x1c(%eax)           
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b720:	89 da                	mov    %ebx,%edx                      
  10b722:	c1 e2 18             	shl    $0x18,%edx                     
  10b725:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
  10b72b:	c1 e6 1b             	shl    $0x1b,%esi                     
  10b72e:	09 f2                	or     %esi,%edx                      
                                                                      
  /*                                                                  
   *  Calculate minimum and maximum Id's                              
   */                                                                 
  minimum_index = (maximum_per_allocation == 0) ? 0 : 1;              
  10b730:	31 db                	xor    %ebx,%ebx                      
  10b732:	85 c9                	test   %ecx,%ecx                      
  10b734:	0f 95 c3             	setne  %bl                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b737:	09 da                	or     %ebx,%edx                      
  10b739:	89 50 08             	mov    %edx,0x8(%eax)                 
  /*                                                                  
   *  Calculate the maximum name length                               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
  10b73c:	89 fa                	mov    %edi,%edx                      
  10b73e:	f6 c2 03             	test   $0x3,%dl                       
  10b741:	74 06                	je     10b749 <_Objects_Initialize_information+0xa9><== ALWAYS TAKEN
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
  10b743:	83 c2 04             	add    $0x4,%edx                      <== NOT EXECUTED
  10b746:	83 e2 fc             	and    $0xfffffffc,%edx               <== NOT EXECUTED
                  ~(OBJECTS_NAME_ALIGNMENT-1);                        
                                                                      
  information->name_length = name_length;                             
  10b749:	66 89 50 38          	mov    %dx,0x38(%eax)                 
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10b74d:	8d 50 24             	lea    0x24(%eax),%edx                
  10b750:	89 50 20             	mov    %edx,0x20(%eax)                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10b753:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  10b75a:	8d 50 20             	lea    0x20(%eax),%edx                
  10b75d:	89 50 28             	mov    %edx,0x28(%eax)                
  _Chain_Initialize_empty( &information->Inactive );                  
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
  if ( maximum_per_allocation ) {                                     
  10b760:	85 c9                	test   %ecx,%ecx                      
  10b762:	74 0f                	je     10b773 <_Objects_Initialize_information+0xd3>
    /*                                                                
     *  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 );                       
  10b764:	89 45 08             	mov    %eax,0x8(%ebp)                 
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10b767:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b76a:	5b                   	pop    %ebx                           
  10b76b:	5e                   	pop    %esi                           
  10b76c:	5f                   	pop    %edi                           
  10b76d:	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 );                       
  10b76e:	e9 39 fb ff ff       	jmp    10b2ac <_Objects_Extend_information>
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10b773:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b776:	5b                   	pop    %ebx                           
  10b777:	5e                   	pop    %esi                           
  10b778:	5f                   	pop    %edi                           
  10b779:	c9                   	leave                                 
  10b77a:	c3                   	ret                                   
                                                                      

0010e5bd <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
  10e5bd:	55                   	push   %ebp                           
  10e5be:	89 e5                	mov    %esp,%ebp                      
  10e5c0:	57                   	push   %edi                           
  10e5c1:	56                   	push   %esi                           
  10e5c2:	53                   	push   %ebx                           
  10e5c3:	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 ];                
  10e5c6:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10e5c9:	8b 98 e4 00 00 00    	mov    0xe4(%eax),%ebx                
  if ( !api )                                                         
  10e5cf:	85 db                	test   %ebx,%ebx                      
  10e5d1:	74 45                	je     10e618 <_RTEMS_tasks_Post_switch_extension+0x5b><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
  10e5d3:	9c                   	pushf                                 
  10e5d4:	fa                   	cli                                   
  10e5d5:	58                   	pop    %eax                           
    signal_set = asr->signals_posted;                                 
  10e5d6:	8b 7b 14             	mov    0x14(%ebx),%edi                
    asr->signals_posted = 0;                                          
  10e5d9:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
  _ISR_Enable( level );                                               
  10e5e0:	50                   	push   %eax                           
  10e5e1:	9d                   	popf                                  
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
  10e5e2:	85 ff                	test   %edi,%edi                      
  10e5e4:	74 32                	je     10e618 <_RTEMS_tasks_Post_switch_extension+0x5b>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
  10e5e6:	ff 43 1c             	incl   0x1c(%ebx)                     
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
  10e5e9:	50                   	push   %eax                           
  10e5ea:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10e5ed:	56                   	push   %esi                           
  10e5ee:	68 ff ff 00 00       	push   $0xffff                        
  10e5f3:	ff 73 10             	pushl  0x10(%ebx)                     
  10e5f6:	e8 f5 18 00 00       	call   10fef0 <rtems_task_mode>       
                                                                      
  (*asr->handler)( signal_set );                                      
  10e5fb:	89 3c 24             	mov    %edi,(%esp)                    
  10e5fe:	ff 53 0c             	call   *0xc(%ebx)                     
                                                                      
  asr->nest_level -= 1;                                               
  10e601:	ff 4b 1c             	decl   0x1c(%ebx)                     
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
  10e604:	83 c4 0c             	add    $0xc,%esp                      
  10e607:	56                   	push   %esi                           
  10e608:	68 ff ff 00 00       	push   $0xffff                        
  10e60d:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e610:	e8 db 18 00 00       	call   10fef0 <rtems_task_mode>       
  10e615:	83 c4 10             	add    $0x10,%esp                     
                                                                      
}                                                                     
  10e618:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e61b:	5b                   	pop    %ebx                           
  10e61c:	5e                   	pop    %esi                           
  10e61d:	5f                   	pop    %edi                           
  10e61e:	c9                   	leave                                 
  10e61f:	c3                   	ret                                   
                                                                      

0010b3a8 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
  10b3a8:	55                   	push   %ebp                           
  10b3a9:	89 e5                	mov    %esp,%ebp                      
  10b3ab:	53                   	push   %ebx                           
  10b3ac:	83 ec 18             	sub    $0x18,%esp                     
                                                                      
  /*                                                                  
   *  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 );                  
  10b3af:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b3b2:	50                   	push   %eax                           
  10b3b3:	ff 75 08             	pushl  0x8(%ebp)                      
  10b3b6:	68 74 68 12 00       	push   $0x126874                      
  10b3bb:	e8 f4 19 00 00       	call   10cdb4 <_Objects_Get>          
  10b3c0:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10b3c2:	83 c4 10             	add    $0x10,%esp                     
  10b3c5:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10b3c9:	75 64                	jne    10b42f <_Rate_monotonic_Timeout+0x87><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
  10b3cb:	8b 40 40             	mov    0x40(%eax),%eax                
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
  10b3ce:	f6 40 11 40          	testb  $0x40,0x11(%eax)               
  10b3d2:	74 18                	je     10b3ec <_Rate_monotonic_Timeout+0x44>
  10b3d4:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10b3d7:	39 50 20             	cmp    %edx,0x20(%eax)                
  10b3da:	75 10                	jne    10b3ec <_Rate_monotonic_Timeout+0x44>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10b3dc:	52                   	push   %edx                           
  10b3dd:	52                   	push   %edx                           
  10b3de:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b3e3:	50                   	push   %eax                           
  10b3e4:	e8 4b 20 00 00       	call   10d434 <_Thread_Clear_state>   
            the_thread->Wait.id == the_period->Object.id ) {          
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b3e9:	59                   	pop    %ecx                           
  10b3ea:	eb 10                	jmp    10b3fc <_Rate_monotonic_Timeout+0x54>
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
  10b3ec:	83 7b 38 01          	cmpl   $0x1,0x38(%ebx)                
  10b3f0:	75 2b                	jne    10b41d <_Rate_monotonic_Timeout+0x75>
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
  10b3f2:	c7 43 38 03 00 00 00 	movl   $0x3,0x38(%ebx)                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b3f9:	83 ec 0c             	sub    $0xc,%esp                      
  10b3fc:	53                   	push   %ebx                           
  10b3fd:	e8 ec fa ff ff       	call   10aeee <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b402:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  10b405:	89 43 1c             	mov    %eax,0x1c(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b408:	58                   	pop    %eax                           
  10b409:	5a                   	pop    %edx                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
  10b40a:	83 c3 10             	add    $0x10,%ebx                     
  10b40d:	53                   	push   %ebx                           
  10b40e:	68 48 6a 12 00       	push   $0x126a48                      
  10b413:	e8 9c 30 00 00       	call   10e4b4 <_Watchdog_Insert>      
  10b418:	83 c4 10             	add    $0x10,%esp                     
  10b41b:	eb 07                	jmp    10b424 <_Rate_monotonic_Timeout+0x7c>
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
  10b41d:	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;                                
  10b424:	a1 64 69 12 00       	mov    0x126964,%eax                  
  10b429:	48                   	dec    %eax                           
  10b42a:	a3 64 69 12 00       	mov    %eax,0x126964                  
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  10b42f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b432:	c9                   	leave                                 
  10b433:	c3                   	ret                                   
                                                                      

0010ecd0 <_Scheduler_priority_Block>: void _Scheduler_priority_Block( Scheduler_Control *the_scheduler, Thread_Control *the_thread ) {
  10ecd0:	55                   	push   %ebp                           
  10ecd1:	89 e5                	mov    %esp,%ebp                      
  10ecd3:	56                   	push   %esi                           
  10ecd4:	53                   	push   %ebx                           
  10ecd5:	8b 55 0c             	mov    0xc(%ebp),%edx                 
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_extract(    
  Thread_Control        *the_thread                                   
)                                                                     
{                                                                     
  Chain_Control         *ready  = the_thread->scheduler.priority->ready_chain;
  10ecd8:	8b 82 8c 00 00 00    	mov    0x8c(%edx),%eax                
  10ecde:	8b 00                	mov    (%eax),%eax                    
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
  10ece0:	8b 48 08             	mov    0x8(%eax),%ecx                 
  10ece3:	39 08                	cmp    %ecx,(%eax)                    
  10ece5:	75 38                	jne    10ed1f <_Scheduler_priority_Block+0x4f>
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10ece7:	8d 48 04             	lea    0x4(%eax),%ecx                 
  10ecea:	89 08                	mov    %ecx,(%eax)                    
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10ecec:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
  tail->previous = head;                                              
  10ecf3:	89 40 08             	mov    %eax,0x8(%eax)                 
    _Chain_Initialize_empty( ready );                                 
    _Priority_bit_map_Remove( &the_thread->scheduler.priority->Priority_map );
  10ecf6:	8b 8a 8c 00 00 00    	mov    0x8c(%edx),%ecx                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
  10ecfc:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  10ecff:	66 8b 03             	mov    (%ebx),%ax                     
  10ed02:	66 23 41 0e          	and    0xe(%ecx),%ax                  
  10ed06:	66 89 03             	mov    %ax,(%ebx)                     
  if ( *the_priority_map->minor == 0 )                                
  10ed09:	66 85 c0             	test   %ax,%ax                        
  10ed0c:	75 1b                	jne    10ed29 <_Scheduler_priority_Block+0x59>
    _Priority_Major_bit_map &= the_priority_map->block_major;         
  10ed0e:	66 a1 ac 34 12 00    	mov    0x1234ac,%ax                   
  10ed14:	23 41 0c             	and    0xc(%ecx),%eax                 
  10ed17:	66 a3 ac 34 12 00    	mov    %ax,0x1234ac                   
  10ed1d:	eb 0a                	jmp    10ed29 <_Scheduler_priority_Block+0x59>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10ed1f:	8b 0a                	mov    (%edx),%ecx                    
  previous       = the_node->previous;                                
  10ed21:	8b 42 04             	mov    0x4(%edx),%eax                 
  next->previous = previous;                                          
  10ed24:	89 41 04             	mov    %eax,0x4(%ecx)                 
  previous->next = next;                                              
  10ed27:	89 08                	mov    %ecx,(%eax)                    
{                                                                     
  _Scheduler_priority_Ready_queue_extract(the_thread);                
                                                                      
  /* TODO: flash critical section */                                  
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
  10ed29:	3b 15 a0 34 12 00    	cmp    0x1234a0,%edx                  
  10ed2f:	75 42                	jne    10ed73 <_Scheduler_priority_Block+0xa3>
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  10ed31:	66 8b 35 ac 34 12 00 	mov    0x1234ac,%si                   
  10ed38:	31 c9                	xor    %ecx,%ecx                      
  10ed3a:	89 cb                	mov    %ecx,%ebx                      
  10ed3c:	66 0f bc de          	bsf    %si,%bx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10ed40:	0f b7 db             	movzwl %bx,%ebx                       
  10ed43:	66 8b b4 1b b0 34 12 	mov    0x1234b0(%ebx,%ebx,1),%si      
  10ed4a:	00                                                          
  10ed4b:	66 0f bc ce          	bsf    %si,%cx                        
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
  10ed4f:	c1 e3 04             	shl    $0x4,%ebx                      
  10ed52:	0f b7 c9             	movzwl %cx,%ecx                       
  10ed55:	8d 04 0b             	lea    (%ebx,%ecx,1),%eax             
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
  10ed58:	6b c0 0c             	imul   $0xc,%eax,%eax                 
  10ed5b:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10ed5e:	03 01                	add    (%ecx),%eax                    
  _Scheduler_priority_Block_body(the_scheduler, the_thread);          
}                                                                     
  10ed60:	8b 18                	mov    (%eax),%ebx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10ed62:	83 c0 04             	add    $0x4,%eax                      
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
  10ed65:	31 c9                	xor    %ecx,%ecx                      
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
  10ed67:	39 c3                	cmp    %eax,%ebx                      
  10ed69:	74 02                	je     10ed6d <_Scheduler_priority_Block+0x9d><== NEVER TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
  10ed6b:	89 d9                	mov    %ebx,%ecx                      
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(          
  Scheduler_Control     *the_scheduler                                
)                                                                     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
  10ed6d:	89 0d a0 34 12 00    	mov    %ecx,0x1234a0                  
  /* TODO: flash critical section */                                  
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Scheduler_priority_Schedule_body(the_scheduler);                
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
  10ed73:	3b 15 9c 34 12 00    	cmp    0x12349c,%edx                  
  10ed79:	75 07                	jne    10ed82 <_Scheduler_priority_Block+0xb2>
    _Thread_Dispatch_necessary = true;                                
  10ed7b:	c6 05 a8 34 12 00 01 	movb   $0x1,0x1234a8                  
  10ed82:	5b                   	pop    %ebx                           
  10ed83:	5e                   	pop    %esi                           
  10ed84:	c9                   	leave                                 
  10ed85:	c3                   	ret                                   
                                                                      

0010b9cc <_Scheduler_priority_Schedule>: */ void _Scheduler_priority_Schedule( Scheduler_Control *the_scheduler ) {
  10b9cc:	55                   	push   %ebp                           
  10b9cd:	89 e5                	mov    %esp,%ebp                      
  10b9cf:	53                   	push   %ebx                           
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  10b9d0:	66 8b 1d ac 34 12 00 	mov    0x1234ac,%bx                   
  10b9d7:	31 d2                	xor    %edx,%edx                      
  10b9d9:	89 d1                	mov    %edx,%ecx                      
  10b9db:	66 0f bc cb          	bsf    %bx,%cx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10b9df:	0f b7 c9             	movzwl %cx,%ecx                       
  10b9e2:	66 8b 9c 09 b0 34 12 	mov    0x1234b0(%ecx,%ecx,1),%bx      
  10b9e9:	00                                                          
  10b9ea:	66 0f bc d3          	bsf    %bx,%dx                        
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
  10b9ee:	c1 e1 04             	shl    $0x4,%ecx                      
  10b9f1:	0f b7 d2             	movzwl %dx,%edx                       
  10b9f4:	8d 04 11             	lea    (%ecx,%edx,1),%eax             
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
  10b9f7:	6b c0 0c             	imul   $0xc,%eax,%eax                 
  10b9fa:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10b9fd:	03 02                	add    (%edx),%eax                    
  _Scheduler_priority_Schedule_body( the_scheduler );                 
}                                                                     
  10b9ff:	8b 08                	mov    (%eax),%ecx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10ba01:	83 c0 04             	add    $0x4,%eax                      
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
  10ba04:	31 d2                	xor    %edx,%edx                      
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
  10ba06:	39 c1                	cmp    %eax,%ecx                      
  10ba08:	74 02                	je     10ba0c <_Scheduler_priority_Schedule+0x40><== NEVER TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
  10ba0a:	89 ca                	mov    %ecx,%edx                      
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(          
  Scheduler_Control     *the_scheduler                                
)                                                                     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
  10ba0c:	89 15 a0 34 12 00    	mov    %edx,0x1234a0                  
  10ba12:	5b                   	pop    %ebx                           
  10ba13:	c9                   	leave                                 
  10ba14:	c3                   	ret                                   
                                                                      

0010bb08 <_Scheduler_priority_Yield>: */ void _Scheduler_priority_Yield( Scheduler_Control *the_scheduler __attribute__((unused)) ) {
  10bb08:	55                   	push   %ebp                           
  10bb09:	89 e5                	mov    %esp,%ebp                      
  10bb0b:	56                   	push   %esi                           
  10bb0c:	53                   	push   %ebx                           
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
  10bb0d:	a1 9c 34 12 00       	mov    0x12349c,%eax                  
  ready = executing->scheduler.priority->ready_chain;                 
  10bb12:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  10bb18:	8b 12                	mov    (%edx),%edx                    
  _ISR_Disable( level );                                              
  10bb1a:	9c                   	pushf                                 
  10bb1b:	fa                   	cli                                   
  10bb1c:	59                   	pop    %ecx                           
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
  10bb1d:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  10bb20:	39 1a                	cmp    %ebx,(%edx)                    
  10bb22:	74 2e                	je     10bb52 <_Scheduler_priority_Yield+0x4a>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10bb24:	8b 30                	mov    (%eax),%esi                    
  previous       = the_node->previous;                                
  10bb26:	8b 58 04             	mov    0x4(%eax),%ebx                 
  next->previous = previous;                                          
  10bb29:	89 5e 04             	mov    %ebx,0x4(%esi)                 
  previous->next = next;                                              
  10bb2c:	89 33                	mov    %esi,(%ebx)                    
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
  10bb2e:	8b 5a 08             	mov    0x8(%edx),%ebx                 
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10bb31:	8d 72 04             	lea    0x4(%edx),%esi                 
  10bb34:	89 30                	mov    %esi,(%eax)                    
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  10bb36:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last->next = the_node;                                          
  10bb39:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous = old_last;                                      
  10bb3b:	89 58 04             	mov    %ebx,0x4(%eax)                 
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
  10bb3e:	51                   	push   %ecx                           
  10bb3f:	9d                   	popf                                  
  10bb40:	fa                   	cli                                   
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
  10bb41:	3b 05 a0 34 12 00    	cmp    0x1234a0,%eax                  
  10bb47:	75 11                	jne    10bb5a <_Scheduler_priority_Yield+0x52><== NEVER TAKEN
        _Thread_Heir = (Thread_Control *) _Chain_First( ready );      
  10bb49:	8b 02                	mov    (%edx),%eax                    
  10bb4b:	a3 a0 34 12 00       	mov    %eax,0x1234a0                  
  10bb50:	eb 08                	jmp    10bb5a <_Scheduler_priority_Yield+0x52>
      _Thread_Dispatch_necessary = true;                              
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
  10bb52:	3b 05 a0 34 12 00    	cmp    0x1234a0,%eax                  
  10bb58:	74 07                	je     10bb61 <_Scheduler_priority_Yield+0x59><== ALWAYS TAKEN
      _Thread_Dispatch_necessary = true;                              
  10bb5a:	c6 05 a8 34 12 00 01 	movb   $0x1,0x1234a8                  
                                                                      
  _ISR_Enable( level );                                               
  10bb61:	51                   	push   %ecx                           
  10bb62:	9d                   	popf                                  
}                                                                     
  10bb63:	5b                   	pop    %ebx                           
  10bb64:	5e                   	pop    %esi                           
  10bb65:	c9                   	leave                                 
  10bb66:	c3                   	ret                                   
                                                                      

0010acc4 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
  10acc4:	55                   	push   %ebp                           
  10acc5:	89 e5                	mov    %esp,%ebp                      
  10acc7:	56                   	push   %esi                           
  10acc8:	53                   	push   %ebx                           
  10acc9:	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();                 
  10accc:	8b 35 04 22 12 00    	mov    0x122204,%esi                  
      (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) )                                        
     return false;                                                    
  10acd2:	31 db                	xor    %ebx,%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)                                  ||                  
  10acd4:	85 c9                	test   %ecx,%ecx                      
  10acd6:	74 57                	je     10ad2f <_TOD_Validate+0x6b>    <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
  10acd8:	b8 40 42 0f 00       	mov    $0xf4240,%eax                  
  10acdd:	31 d2                	xor    %edx,%edx                      
  10acdf:	f7 f6                	div    %esi                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10ace1:	39 41 18             	cmp    %eax,0x18(%ecx)                
  10ace4:	73 49                	jae    10ad2f <_TOD_Validate+0x6b>    
      (the_tod->ticks  >= ticks_per_second)       ||                  
  10ace6:	83 79 14 3b          	cmpl   $0x3b,0x14(%ecx)               
  10acea:	77 43                	ja     10ad2f <_TOD_Validate+0x6b>    
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
  10acec:	83 79 10 3b          	cmpl   $0x3b,0x10(%ecx)               
  10acf0:	77 3d                	ja     10ad2f <_TOD_Validate+0x6b>    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
  10acf2:	83 79 0c 17          	cmpl   $0x17,0xc(%ecx)                
  10acf6:	77 37                	ja     10ad2f <_TOD_Validate+0x6b>    
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
  10acf8:	8b 41 04             	mov    0x4(%ecx),%eax                 
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
  10acfb:	85 c0                	test   %eax,%eax                      
  10acfd:	74 30                	je     10ad2f <_TOD_Validate+0x6b>    <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
  10acff:	83 f8 0c             	cmp    $0xc,%eax                      
  10ad02:	77 2b                	ja     10ad2f <_TOD_Validate+0x6b>    
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
  10ad04:	8b 31                	mov    (%ecx),%esi                    
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (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)    ||                  
  10ad06:	81 fe c3 07 00 00    	cmp    $0x7c3,%esi                    
  10ad0c:	76 21                	jbe    10ad2f <_TOD_Validate+0x6b>    
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
  10ad0e:	8b 51 08             	mov    0x8(%ecx),%edx                 
      (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)          ||                  
  10ad11:	85 d2                	test   %edx,%edx                      
  10ad13:	74 1a                	je     10ad2f <_TOD_Validate+0x6b>    <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
  10ad15:	83 e6 03             	and    $0x3,%esi                      
  10ad18:	75 09                	jne    10ad23 <_TOD_Validate+0x5f>    
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  10ad1a:	8b 04 85 8c 01 12 00 	mov    0x12018c(,%eax,4),%eax         
  10ad21:	eb 07                	jmp    10ad2a <_TOD_Validate+0x66>    
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
  10ad23:	8b 04 85 58 01 12 00 	mov    0x120158(,%eax,4),%eax         
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  10ad2a:	39 c2                	cmp    %eax,%edx                      
  10ad2c:	0f 96 c3             	setbe  %bl                            
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  10ad2f:	88 d8                	mov    %bl,%al                        
  10ad31:	5b                   	pop    %ebx                           
  10ad32:	5e                   	pop    %esi                           
  10ad33:	c9                   	leave                                 
  10ad34:	c3                   	ret                                   
                                                                      

0010bbb4 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
  10bbb4:	55                   	push   %ebp                           
  10bbb5:	89 e5                	mov    %esp,%ebp                      
  10bbb7:	57                   	push   %edi                           
  10bbb8:	56                   	push   %esi                           
  10bbb9:	53                   	push   %ebx                           
  10bbba:	83 ec 28             	sub    $0x28,%esp                     
  10bbbd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10bbc0:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10bbc3:	8a 45 10             	mov    0x10(%ebp),%al                 
  10bbc6:	88 45 e7             	mov    %al,-0x19(%ebp)                
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
  10bbc9:	8b 7b 10             	mov    0x10(%ebx),%edi                
  /*                                                                  
   * 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 );                                
  10bbcc:	53                   	push   %ebx                           
  10bbcd:	e8 f6 0b 00 00       	call   10c7c8 <_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 )                  
  10bbd2:	83 c4 10             	add    $0x10,%esp                     
  10bbd5:	39 73 14             	cmp    %esi,0x14(%ebx)                
  10bbd8:	74 0c                	je     10bbe6 <_Thread_Change_priority+0x32>
    _Thread_Set_priority( the_thread, new_priority );                 
  10bbda:	50                   	push   %eax                           
  10bbdb:	50                   	push   %eax                           
  10bbdc:	56                   	push   %esi                           
  10bbdd:	53                   	push   %ebx                           
  10bbde:	e8 85 0b 00 00       	call   10c768 <_Thread_Set_priority>  
  10bbe3:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _ISR_Disable( level );                                              
  10bbe6:	9c                   	pushf                                 
  10bbe7:	fa                   	cli                                   
  10bbe8:	5e                   	pop    %esi                           
                                                                      
  /*                                                                  
   *  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;                                  
  10bbe9:	8b 43 10             	mov    0x10(%ebx),%eax                
  if ( state != STATES_TRANSIENT ) {                                  
  10bbec:	83 f8 04             	cmp    $0x4,%eax                      
  10bbef:	74 2f                	je     10bc20 <_Thread_Change_priority+0x6c>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
  10bbf1:	83 e7 04             	and    $0x4,%edi                      
  10bbf4:	75 08                	jne    10bbfe <_Thread_Change_priority+0x4a><== NEVER TAKEN
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
  10bbf6:	89 c2                	mov    %eax,%edx                      
  10bbf8:	83 e2 fb             	and    $0xfffffffb,%edx               
  10bbfb:	89 53 10             	mov    %edx,0x10(%ebx)                
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
  10bbfe:	56                   	push   %esi                           
  10bbff:	9d                   	popf                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
  10bc00:	a9 e0 be 03 00       	test   $0x3bee0,%eax                  
  10bc05:	0f 84 b5 00 00 00    	je     10bcc0 <_Thread_Change_priority+0x10c>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
  10bc0b:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10bc0e:	8b 43 44             	mov    0x44(%ebx),%eax                
  10bc11:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
  10bc14:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bc17:	5b                   	pop    %ebx                           
  10bc18:	5e                   	pop    %esi                           
  10bc19:	5f                   	pop    %edi                           
  10bc1a:	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 );    
  10bc1b:	e9 c0 0a 00 00       	jmp    10c6e0 <_Thread_queue_Requeue> 
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
  10bc20:	83 e7 04             	and    $0x4,%edi                      
  10bc23:	75 6b                	jne    10bc90 <_Thread_Change_priority+0xdc><== NEVER TAKEN
     *  Ready Queue with interrupts off.                              
     *                                                                
     *  FIXME: hard-coded for priority scheduling. Might be ok since this
     *  function is specific to priority scheduling?                  
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
  10bc25:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
    if ( prepend_it )                                                 
  10bc2c:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  10bc30:	8b 83 8c 00 00 00    	mov    0x8c(%ebx),%eax                
  10bc36:	74 2b                	je     10bc63 <_Thread_Change_priority+0xaf>
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10bc38:	8b 50 04             	mov    0x4(%eax),%edx                 
  10bc3b:	66 8b 48 0a          	mov    0xa(%eax),%cx                  
  10bc3f:	66 09 0a             	or     %cx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10bc42:	66 8b 15 ac 34 12 00 	mov    0x1234ac,%dx                   
  10bc49:	0b 50 08             	or     0x8(%eax),%edx                 
  10bc4c:	66 89 15 ac 34 12 00 	mov    %dx,0x1234ac                   
  Thread_Control                   *the_thread                        
)                                                                     
{                                                                     
  _Priority_bit_map_Add( &the_thread->scheduler.priority->Priority_map );
                                                                      
  _Chain_Prepend_unprotected( the_thread->scheduler.priority->ready_chain,
  10bc53:	8b 00                	mov    (%eax),%eax                    
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  10bc55:	89 43 04             	mov    %eax,0x4(%ebx)                 
  before_node           = after_node->next;                           
  10bc58:	8b 10                	mov    (%eax),%edx                    
  after_node->next      = the_node;                                   
  10bc5a:	89 18                	mov    %ebx,(%eax)                    
  the_node->next        = before_node;                                
  10bc5c:	89 13                	mov    %edx,(%ebx)                    
  before_node->previous = the_node;                                   
  10bc5e:	89 5a 04             	mov    %ebx,0x4(%edx)                 
  10bc61:	eb 2d                	jmp    10bc90 <_Thread_Change_priority+0xdc>
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10bc63:	8b 50 04             	mov    0x4(%eax),%edx                 
  10bc66:	66 8b 48 0a          	mov    0xa(%eax),%cx                  
  10bc6a:	66 09 0a             	or     %cx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10bc6d:	66 8b 15 ac 34 12 00 	mov    0x1234ac,%dx                   
  10bc74:	0b 50 08             	or     0x8(%eax),%edx                 
  10bc77:	66 89 15 ac 34 12 00 	mov    %dx,0x1234ac                   
  Thread_Control                  *the_thread                         
)                                                                     
{                                                                     
  _Priority_bit_map_Add( &the_thread->scheduler.priority->Priority_map );
                                                                      
  _Chain_Append_unprotected( the_thread->scheduler.priority->ready_chain,
  10bc7e:	8b 00                	mov    (%eax),%eax                    
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
  10bc80:	8b 50 08             	mov    0x8(%eax),%edx                 
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10bc83:	8d 48 04             	lea    0x4(%eax),%ecx                 
  10bc86:	89 0b                	mov    %ecx,(%ebx)                    
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  10bc88:	89 58 08             	mov    %ebx,0x8(%eax)                 
  old_last->next = the_node;                                          
  10bc8b:	89 1a                	mov    %ebx,(%edx)                    
  the_node->previous = old_last;                                      
  10bc8d:	89 53 04             	mov    %edx,0x4(%ebx)                 
      _Scheduler_priority_Ready_queue_enqueue_first( the_thread );    
    else                                                              
      _Scheduler_priority_Ready_queue_enqueue( the_thread );          
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
  10bc90:	56                   	push   %esi                           
  10bc91:	9d                   	popf                                  
  10bc92:	fa                   	cli                                   
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Schedule(                        
    Scheduler_Control *the_scheduler                                  
)                                                                     
{                                                                     
  the_scheduler->Operations.schedule( the_scheduler );                
  10bc93:	83 ec 0c             	sub    $0xc,%esp                      
  10bc96:	68 e8 32 12 00       	push   $0x1232e8                      
  10bc9b:	ff 15 ec 32 12 00    	call   *0x1232ec                      
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
  10bca1:	a1 9c 34 12 00       	mov    0x12349c,%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.               
   */                                                                 
  _Scheduler_Schedule(&_Scheduler);                                   
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
  10bca6:	83 c4 10             	add    $0x10,%esp                     
  10bca9:	3b 05 a0 34 12 00    	cmp    0x1234a0,%eax                  
  10bcaf:	74 0d                	je     10bcbe <_Thread_Change_priority+0x10a>
  10bcb1:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10bcb5:	74 07                	je     10bcbe <_Thread_Change_priority+0x10a>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  10bcb7:	c6 05 a8 34 12 00 01 	movb   $0x1,0x1234a8                  
  _ISR_Enable( level );                                               
  10bcbe:	56                   	push   %esi                           
  10bcbf:	9d                   	popf                                  
}                                                                     
  10bcc0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bcc3:	5b                   	pop    %ebx                           
  10bcc4:	5e                   	pop    %esi                           
  10bcc5:	5f                   	pop    %edi                           
  10bcc6:	c9                   	leave                                 
  10bcc7:	c3                   	ret                                   
                                                                      

0010be88 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10be88:	55                   	push   %ebp                           
  10be89:	89 e5                	mov    %esp,%ebp                      
  10be8b:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10be8e:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10be91:	50                   	push   %eax                           
  10be92:	ff 75 08             	pushl  0x8(%ebp)                      
  10be95:	e8 82 01 00 00       	call   10c01c <_Thread_Get>           
  switch ( location ) {                                               
  10be9a:	83 c4 10             	add    $0x10,%esp                     
  10be9d:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10bea1:	75 1b                	jne    10bebe <_Thread_Delay_ended+0x36><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
  10bea3:	52                   	push   %edx                           
  10bea4:	52                   	push   %edx                           
  10bea5:	68 18 00 00 10       	push   $0x10000018                    
  10beaa:	50                   	push   %eax                           
  10beab:	e8 18 fe ff ff       	call   10bcc8 <_Thread_Clear_state>   
  10beb0:	a1 60 32 12 00       	mov    0x123260,%eax                  
  10beb5:	48                   	dec    %eax                           
  10beb6:	a3 60 32 12 00       	mov    %eax,0x123260                  
  10bebb:	83 c4 10             	add    $0x10,%esp                     
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10bebe:	c9                   	leave                                 
  10bebf:	c3                   	ret                                   
                                                                      

0010bec0 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
  10bec0:	55                   	push   %ebp                           
  10bec1:	89 e5                	mov    %esp,%ebp                      
  10bec3:	57                   	push   %edi                           
  10bec4:	56                   	push   %esi                           
  10bec5:	53                   	push   %ebx                           
  10bec6:	83 ec 1c             	sub    $0x1c,%esp                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  10bec9:	8b 1d 9c 34 12 00    	mov    0x12349c,%ebx                  
  _ISR_Disable( level );                                              
  10becf:	9c                   	pushf                                 
  10bed0:	fa                   	cli                                   
  10bed1:	58                   	pop    %eax                           
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
  10bed2:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
  10bed5:	e9 f9 00 00 00       	jmp    10bfd3 <_Thread_Dispatch+0x113>
    heir = _Thread_Heir;                                              
  10beda:	8b 35 a0 34 12 00    	mov    0x1234a0,%esi                  
    _Thread_Dispatch_disable_level = 1;                               
  10bee0:	c7 05 60 32 12 00 01 	movl   $0x1,0x123260                  
  10bee7:	00 00 00                                                    
    _Thread_Dispatch_necessary = false;                               
  10beea:	c6 05 a8 34 12 00 00 	movb   $0x0,0x1234a8                  
    _Thread_Executing = heir;                                         
  10bef1:	89 35 9c 34 12 00    	mov    %esi,0x12349c                  
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
  10bef7:	39 de                	cmp    %ebx,%esi                      
  10bef9:	0f 84 e2 00 00 00    	je     10bfe1 <_Thread_Dispatch+0x121>
     */                                                               
#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 )
  10beff:	83 7e 7c 01          	cmpl   $0x1,0x7c(%esi)                
  10bf03:	75 09                	jne    10bf0e <_Thread_Dispatch+0x4e> 
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
  10bf05:	8b 15 30 32 12 00    	mov    0x123230,%edx                  
  10bf0b:	89 56 78             	mov    %edx,0x78(%esi)                
                                                                      
    _ISR_Enable( level );                                             
  10bf0e:	50                   	push   %eax                           
  10bf0f:	9d                   	popf                                  
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
  10bf10:	83 ec 0c             	sub    $0xc,%esp                      
  10bf13:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10bf16:	50                   	push   %eax                           
  10bf17:	e8 84 2a 00 00       	call   10e9a0 <_TOD_Get_uptime>       
        _Timestamp_Subtract(                                          
  10bf1c:	83 c4 0c             	add    $0xc,%esp                      
  10bf1f:	57                   	push   %edi                           
  10bf20:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10bf23:	50                   	push   %eax                           
  10bf24:	68 30 33 12 00       	push   $0x123330                      
  10bf29:	e8 ae 0a 00 00       	call   10c9dc <_Timespec_Subtract>    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
  10bf2e:	58                   	pop    %eax                           
  10bf2f:	5a                   	pop    %edx                           
  10bf30:	57                   	push   %edi                           
  10bf31:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  10bf37:	50                   	push   %eax                           
  10bf38:	e8 6f 0a 00 00       	call   10c9ac <_Timespec_Add_to>      
        _Thread_Time_of_last_context_switch = uptime;                 
  10bf3d:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10bf40:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bf43:	a3 30 33 12 00       	mov    %eax,0x123330                  
  10bf48:	89 15 34 33 12 00    	mov    %edx,0x123334                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
  10bf4e:	a1 08 33 12 00       	mov    0x123308,%eax                  
  10bf53:	83 c4 10             	add    $0x10,%esp                     
  10bf56:	85 c0                	test   %eax,%eax                      
  10bf58:	74 10                	je     10bf6a <_Thread_Dispatch+0xaa> <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
  10bf5a:	8b 10                	mov    (%eax),%edx                    
  10bf5c:	89 93 e0 00 00 00    	mov    %edx,0xe0(%ebx)                
      *_Thread_libc_reent = heir->libc_reent;                         
  10bf62:	8b 96 e0 00 00 00    	mov    0xe0(%esi),%edx                
  10bf68:	89 10                	mov    %edx,(%eax)                    
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
  10bf6a:	51                   	push   %ecx                           
  10bf6b:	51                   	push   %ecx                           
  10bf6c:	56                   	push   %esi                           
  10bf6d:	53                   	push   %ebx                           
  10bf6e:	e8 a1 0c 00 00       	call   10cc14 <_User_extensions_Thread_switch>
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
  10bf73:	58                   	pop    %eax                           
  10bf74:	5a                   	pop    %edx                           
  10bf75:	81 c6 c4 00 00 00    	add    $0xc4,%esi                     
  10bf7b:	56                   	push   %esi                           
  10bf7c:	8d 83 c4 00 00 00    	lea    0xc4(%ebx),%eax                
  10bf82:	50                   	push   %eax                           
  10bf83:	e8 58 0f 00 00       	call   10cee0 <_CPU_Context_switch>   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
  10bf88:	83 c4 10             	add    $0x10,%esp                     
  10bf8b:	83 bb dc 00 00 00 00 	cmpl   $0x0,0xdc(%ebx)                
  10bf92:	74 36                	je     10bfca <_Thread_Dispatch+0x10a>
#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 );                      
  10bf94:	a1 e4 32 12 00       	mov    0x1232e4,%eax                  
  10bf99:	39 c3                	cmp    %eax,%ebx                      
  10bf9b:	74 2d                	je     10bfca <_Thread_Dispatch+0x10a>
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
  10bf9d:	85 c0                	test   %eax,%eax                      
  10bf9f:	74 11                	je     10bfb2 <_Thread_Dispatch+0xf2> 
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
  10bfa1:	83 ec 0c             	sub    $0xc,%esp                      
  10bfa4:	05 dc 00 00 00       	add    $0xdc,%eax                     
  10bfa9:	50                   	push   %eax                           
  10bfaa:	e8 65 0f 00 00       	call   10cf14 <_CPU_Context_save_fp>  
  10bfaf:	83 c4 10             	add    $0x10,%esp                     
      _Context_Restore_fp( &executing->fp_context );                  
  10bfb2:	83 ec 0c             	sub    $0xc,%esp                      
  10bfb5:	8d 83 dc 00 00 00    	lea    0xdc(%ebx),%eax                
  10bfbb:	50                   	push   %eax                           
  10bfbc:	e8 5d 0f 00 00       	call   10cf1e <_CPU_Context_restore_fp>
      _Thread_Allocated_fp = executing;                               
  10bfc1:	89 1d e4 32 12 00    	mov    %ebx,0x1232e4                  
  10bfc7:	83 c4 10             	add    $0x10,%esp                     
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
  10bfca:	8b 1d 9c 34 12 00    	mov    0x12349c,%ebx                  
                                                                      
    _ISR_Disable( level );                                            
  10bfd0:	9c                   	pushf                                 
  10bfd1:	fa                   	cli                                   
  10bfd2:	58                   	pop    %eax                           
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
  10bfd3:	8a 15 a8 34 12 00    	mov    0x1234a8,%dl                   
  10bfd9:	84 d2                	test   %dl,%dl                        
  10bfdb:	0f 85 f9 fe ff ff    	jne    10beda <_Thread_Dispatch+0x1a> 
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
  10bfe1:	c7 05 60 32 12 00 00 	movl   $0x0,0x123260                  
  10bfe8:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10bfeb:	50                   	push   %eax                           
  10bfec:	9d                   	popf                                  
                                                                      
  _API_extensions_Run_postswitch();                                   
  10bfed:	e8 a5 e8 ff ff       	call   10a897 <_API_extensions_Run_postswitch>
}                                                                     
  10bff2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bff5:	5b                   	pop    %ebx                           
  10bff6:	5e                   	pop    %esi                           
  10bff7:	5f                   	pop    %edi                           
  10bff8:	c9                   	leave                                 
  10bff9:	c3                   	ret                                   
                                                                      

0010c01c <_Thread_Get>: */ Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location ) {
  10c01c:	55                   	push   %ebp                           
  10c01d:	89 e5                	mov    %esp,%ebp                      
  10c01f:	53                   	push   %ebx                           
  10c020:	83 ec 04             	sub    $0x4,%esp                      
  10c023:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10c026:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
  10c029:	85 d2                	test   %edx,%edx                      
  10c02b:	75 1a                	jne    10c047 <_Thread_Get+0x2b>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c02d:	8b 15 60 32 12 00    	mov    0x123260,%edx                  
  10c033:	42                   	inc    %edx                           
  10c034:	89 15 60 32 12 00    	mov    %edx,0x123260                  
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
  10c03a:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
    tp = _Thread_Executing;                                           
  10c040:	a1 9c 34 12 00       	mov    0x12349c,%eax                  
    goto done;                                                        
  10c045:	eb 3a                	jmp    10c081 <_Thread_Get+0x65>      
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
  10c047:	89 d1                	mov    %edx,%ecx                      
  10c049:	c1 e9 18             	shr    $0x18,%ecx                     
  10c04c:	83 e1 07             	and    $0x7,%ecx                      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
  10c04f:	8d 59 ff             	lea    -0x1(%ecx),%ebx                
  10c052:	83 fb 02             	cmp    $0x2,%ebx                      
  10c055:	76 2f                	jbe    10c086 <_Thread_Get+0x6a>      
  10c057:	eb 12                	jmp    10c06b <_Thread_Get+0x4f>      
  if ( the_class != 1 ) {       /* threads are always first class :) */
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  api_information = _Objects_Information_table[ the_api ];            
  10c059:	8b 0c 8d 38 32 12 00 	mov    0x123238(,%ecx,4),%ecx         
  /*                                                                  
   *  There is no way for this to happen if POSIX is enabled.         
   */                                                                 
  #if !defined(RTEMS_POSIX_API)                                       
    if ( !api_information ) {                                         
  10c060:	85 c9                	test   %ecx,%ecx                      
  10c062:	74 07                	je     10c06b <_Thread_Get+0x4f>      <== NEVER TAKEN
      *location = OBJECTS_ERROR;                                      
      goto done;                                                      
    }                                                                 
  #endif                                                              
                                                                      
  information = api_information[ the_class ];                         
  10c064:	8b 49 04             	mov    0x4(%ecx),%ecx                 
  if ( !information ) {                                               
  10c067:	85 c9                	test   %ecx,%ecx                      
  10c069:	75 0a                	jne    10c075 <_Thread_Get+0x59>      
    *location = OBJECTS_ERROR;                                        
  10c06b:	c7 00 01 00 00 00    	movl   $0x1,(%eax)                    
{                                                                     
  uint32_t             the_api;                                       
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
  10c071:	31 c0                	xor    %eax,%eax                      
  #endif                                                              
                                                                      
  information = api_information[ the_class ];                         
  if ( !information ) {                                               
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  10c073:	eb 0c                	jmp    10c081 <_Thread_Get+0x65>      
  }                                                                   
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
  10c075:	53                   	push   %ebx                           
  10c076:	50                   	push   %eax                           
  10c077:	52                   	push   %edx                           
  10c078:	51                   	push   %ecx                           
  10c079:	e8 ca f5 ff ff       	call   10b648 <_Objects_Get>          
  10c07e:	83 c4 10             	add    $0x10,%esp                     
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10c081:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c084:	c9                   	leave                                 
  10c085:	c3                   	ret                                   
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10c086:	89 d3                	mov    %edx,%ebx                      
  10c088:	c1 eb 1b             	shr    $0x1b,%ebx                     
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  the_class = _Objects_Get_class( id );                               
  if ( the_class != 1 ) {       /* threads are always first class :) */
  10c08b:	4b                   	dec    %ebx                           
  10c08c:	74 cb                	je     10c059 <_Thread_Get+0x3d>      
  10c08e:	eb db                	jmp    10c06b <_Thread_Get+0x4f>      
                                                                      

00110110 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
  110110:	55                   	push   %ebp                           
  110111:	89 e5                	mov    %esp,%ebp                      
  110113:	53                   	push   %ebx                           
  110114:	83 ec 14             	sub    $0x14,%esp                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
  110117:	8b 1d 9c 34 12 00    	mov    0x12349c,%ebx                  
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  11011d:	8b 83 ac 00 00 00    	mov    0xac(%ebx),%eax                
  _ISR_Set_level(level);                                              
  110123:	85 c0                	test   %eax,%eax                      
  110125:	74 03                	je     11012a <_Thread_Handler+0x1a>  
  110127:	fa                   	cli                                   
  110128:	eb 01                	jmp    11012b <_Thread_Handler+0x1b>  
  11012a:	fb                   	sti                                   
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
  11012b:	a0 24 2f 12 00       	mov    0x122f24,%al                   
  110130:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    doneConstructors = 1;                                             
  110133:	c6 05 24 2f 12 00 01 	movb   $0x1,0x122f24                  
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
  11013a:	83 bb dc 00 00 00 00 	cmpl   $0x0,0xdc(%ebx)                
  110141:	74 24                	je     110167 <_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 );                      
  110143:	a1 e4 32 12 00       	mov    0x1232e4,%eax                  
  110148:	39 c3                	cmp    %eax,%ebx                      
  11014a:	74 1b                	je     110167 <_Thread_Handler+0x57>  
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
  11014c:	85 c0                	test   %eax,%eax                      
  11014e:	74 11                	je     110161 <_Thread_Handler+0x51>  
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
  110150:	83 ec 0c             	sub    $0xc,%esp                      
  110153:	05 dc 00 00 00       	add    $0xdc,%eax                     
  110158:	50                   	push   %eax                           
  110159:	e8 b6 cd ff ff       	call   10cf14 <_CPU_Context_save_fp>  
  11015e:	83 c4 10             	add    $0x10,%esp                     
        _Thread_Allocated_fp = executing;                             
  110161:	89 1d e4 32 12 00    	mov    %ebx,0x1232e4                  
  /*                                                                  
   * 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 );                         
  110167:	83 ec 0c             	sub    $0xc,%esp                      
  11016a:	53                   	push   %ebx                           
  11016b:	e8 54 c9 ff ff       	call   10cac4 <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
  110170:	e8 85 be ff ff       	call   10bffa <_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) */ {                 
  110175:	83 c4 10             	add    $0x10,%esp                     
  110178:	80 7d f7 00          	cmpb   $0x0,-0x9(%ebp)                
  11017c:	75 05                	jne    110183 <_Thread_Handler+0x73>  
      INIT_NAME ();                                                   
  11017e:	e8 2d be 00 00       	call   11bfb0 <__start_set_sysctl_set>
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  110183:	83 bb 94 00 00 00 00 	cmpl   $0x0,0x94(%ebx)                
  11018a:	75 15                	jne    1101a1 <_Thread_Handler+0x91>  <== NEVER TAKEN
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
  11018c:	83 ec 0c             	sub    $0xc,%esp                      
  11018f:	ff b3 9c 00 00 00    	pushl  0x9c(%ebx)                     
  110195:	ff 93 90 00 00 00    	call   *0x90(%ebx)                    
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
  11019b:	89 43 28             	mov    %eax,0x28(%ebx)                
  11019e:	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 );                       
  1101a1:	83 ec 0c             	sub    $0xc,%esp                      
  1101a4:	53                   	push   %ebx                           
  1101a5:	e8 4b c9 ff ff       	call   10caf5 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
  1101aa:	83 c4 0c             	add    $0xc,%esp                      
  1101ad:	6a 05                	push   $0x5                           
  1101af:	6a 01                	push   $0x1                           
  1101b1:	6a 00                	push   $0x0                           
  1101b3:	e8 d0 af ff ff       	call   10b188 <_Internal_error_Occurred>
                                                                      

0010c090 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
  10c090:	55                   	push   %ebp                           
  10c091:	89 e5                	mov    %esp,%ebp                      
  10c093:	57                   	push   %edi                           
  10c094:	56                   	push   %esi                           
  10c095:	53                   	push   %ebx                           
  10c096:	83 ec 24             	sub    $0x24,%esp                     
  10c099:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c09c:	8b 75 14             	mov    0x14(%ebp),%esi                
  10c09f:	8a 55 18             	mov    0x18(%ebp),%dl                 
  10c0a2:	8a 45 20             	mov    0x20(%ebp),%al                 
  10c0a5:	88 45 e4             	mov    %al,-0x1c(%ebp)                
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
  10c0a8:	c7 83 e4 00 00 00 00 	movl   $0x0,0xe4(%ebx)                
  10c0af:	00 00 00                                                    
  10c0b2:	c7 83 e8 00 00 00 00 	movl   $0x0,0xe8(%ebx)                
  10c0b9:	00 00 00                                                    
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
  10c0bc:	c7 83 e0 00 00 00 00 	movl   $0x0,0xe0(%ebx)                
  10c0c3:	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 );
  10c0c6:	56                   	push   %esi                           
  10c0c7:	53                   	push   %ebx                           
  10c0c8:	88 55 e0             	mov    %dl,-0x20(%ebp)                
  10c0cb:	e8 68 07 00 00       	call   10c838 <_Thread_Stack_Allocate>
    if ( !actual_stack_size || actual_stack_size < stack_size )       
  10c0d0:	83 c4 10             	add    $0x10,%esp                     
  10c0d3:	39 f0                	cmp    %esi,%eax                      
  10c0d5:	8a 55 e0             	mov    -0x20(%ebp),%dl                
  10c0d8:	0f 82 d9 01 00 00    	jb     10c2b7 <_Thread_Initialize+0x227>
  10c0de:	85 c0                	test   %eax,%eax                      
  10c0e0:	0f 84 d1 01 00 00    	je     10c2b7 <_Thread_Initialize+0x227><== NEVER TAKEN
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
  10c0e6:	8b 8b c0 00 00 00    	mov    0xc0(%ebx),%ecx                
  10c0ec:	89 8b b8 00 00 00    	mov    %ecx,0xb8(%ebx)                
  the_stack->size = size;                                             
  10c0f2:	89 83 b4 00 00 00    	mov    %eax,0xb4(%ebx)                
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    fp_area = NULL;                                                   
  10c0f8:	31 ff                	xor    %edi,%edi                      
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
  10c0fa:	84 d2                	test   %dl,%dl                        
  10c0fc:	74 17                	je     10c115 <_Thread_Initialize+0x85>
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
  10c0fe:	83 ec 0c             	sub    $0xc,%esp                      
  10c101:	6a 6c                	push   $0x6c                          
  10c103:	e8 7a 0d 00 00       	call   10ce82 <_Workspace_Allocate>   
  10c108:	89 c7                	mov    %eax,%edi                      
      if ( !fp_area )                                                 
  10c10a:	83 c4 10             	add    $0x10,%esp                     
  10c10d:	85 c0                	test   %eax,%eax                      
  10c10f:	0f 84 17 01 00 00    	je     10c22c <_Thread_Initialize+0x19c>
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
  10c115:	89 bb dc 00 00 00    	mov    %edi,0xdc(%ebx)                
    the_thread->Start.fp_context = fp_area;                           
  10c11b:	89 bb bc 00 00 00    	mov    %edi,0xbc(%ebx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c121:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10c128:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
  the_watchdog->id        = id;                                       
  10c12f:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10c136:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c13d:	a1 14 33 12 00       	mov    0x123314,%eax                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  10c142:	31 f6                	xor    %esi,%esi                      
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c144:	85 c0                	test   %eax,%eax                      
  10c146:	74 1d                	je     10c165 <_Thread_Initialize+0xd5>
    extensions_area = _Workspace_Allocate(                            
  10c148:	83 ec 0c             	sub    $0xc,%esp                      
  10c14b:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax              
  10c152:	50                   	push   %eax                           
  10c153:	e8 2a 0d 00 00       	call   10ce82 <_Workspace_Allocate>   
  10c158:	89 c6                	mov    %eax,%esi                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
  10c15a:	83 c4 10             	add    $0x10,%esp                     
  10c15d:	85 c0                	test   %eax,%eax                      
  10c15f:	0f 84 c9 00 00 00    	je     10c22e <_Thread_Initialize+0x19e>
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10c165:	89 b3 ec 00 00 00    	mov    %esi,0xec(%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 ) {                                     
  10c16b:	85 f6                	test   %esi,%esi                      
  10c16d:	74 16                	je     10c185 <_Thread_Initialize+0xf5>
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
  10c16f:	8b 15 14 33 12 00    	mov    0x123314,%edx                  
  10c175:	31 c0                	xor    %eax,%eax                      
  10c177:	eb 08                	jmp    10c181 <_Thread_Initialize+0xf1>
      the_thread->extensions[i] = NULL;                               
  10c179:	c7 04 86 00 00 00 00 	movl   $0x0,(%esi,%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++ )              
  10c180:	40                   	inc    %eax                           
  10c181:	39 d0                	cmp    %edx,%eax                      
  10c183:	76 f4                	jbe    10c179 <_Thread_Initialize+0xe9>
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  10c185:	8a 45 e4             	mov    -0x1c(%ebp),%al                
  10c188:	88 83 a0 00 00 00    	mov    %al,0xa0(%ebx)                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  10c18e:	8b 45 24             	mov    0x24(%ebp),%eax                
  10c191:	89 83 a4 00 00 00    	mov    %eax,0xa4(%ebx)                
  the_thread->Start.budget_callout   = budget_callout;                
  10c197:	8b 45 28             	mov    0x28(%ebp),%eax                
  10c19a:	89 83 a8 00 00 00    	mov    %eax,0xa8(%ebx)                
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
  10c1a0:	8b 45 2c             	mov    0x2c(%ebp),%eax                
  10c1a3:	89 83 ac 00 00 00    	mov    %eax,0xac(%ebx)                
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  10c1a9:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)                
  the_thread->Wait.queue              = NULL;                         
  10c1b0:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  the_thread->resource_count          = 0;                            
  10c1b7:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  the_thread->real_priority           = priority;                     
  10c1be:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c1c1:	89 43 18             	mov    %eax,0x18(%ebx)                
  the_thread->Start.initial_priority  = priority;                     
  10c1c4:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)                
RTEMS_INLINE_ROUTINE void* _Scheduler_Thread_scheduler_allocate(      
  Scheduler_Control *the_scheduler,                                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return                                                              
  10c1ca:	52                   	push   %edx                           
  10c1cb:	52                   	push   %edx                           
  10c1cc:	53                   	push   %ebx                           
  10c1cd:	68 e8 32 12 00       	push   $0x1232e8                      
  10c1d2:	ff 15 fc 32 12 00    	call   *0x1232fc                      
  10c1d8:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  sched =_Scheduler_Thread_scheduler_allocate( &_Scheduler, the_thread );
  if ( !sched )                                                       
  10c1db:	83 c4 10             	add    $0x10,%esp                     
  10c1de:	85 c0                	test   %eax,%eax                      
  10c1e0:	74 53                	je     10c235 <_Thread_Initialize+0x1a5>
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
  10c1e2:	50                   	push   %eax                           
  10c1e3:	50                   	push   %eax                           
  10c1e4:	ff 75 1c             	pushl  0x1c(%ebp)                     
  10c1e7:	53                   	push   %ebx                           
  10c1e8:	e8 7b 05 00 00       	call   10c768 <_Thread_Set_priority>  
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
  10c1ed:	c7 83 84 00 00 00 00 	movl   $0x0,0x84(%ebx)                
  10c1f4:	00 00 00                                                    
  10c1f7:	c7 83 88 00 00 00 00 	movl   $0x0,0x88(%ebx)                
  10c1fe:	00 00 00                                                    
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10c201:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c204:	8b 40 1c             	mov    0x1c(%eax),%eax                
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10c207:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c20b:	89 1c 90             	mov    %ebx,(%eax,%edx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10c20e:	8b 45 30             	mov    0x30(%ebp),%eax                
  10c211:	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 );    
  10c214:	89 1c 24             	mov    %ebx,(%esp)                    
  10c217:	e8 48 09 00 00       	call   10cb64 <_User_extensions_Thread_create>
  10c21c:	88 c2                	mov    %al,%dl                        
  if ( extension_status )                                             
  10c21e:	83 c4 10             	add    $0x10,%esp                     
    return true;                                                      
  10c221:	b0 01                	mov    $0x1,%al                       
   *  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 );    
  if ( extension_status )                                             
  10c223:	84 d2                	test   %dl,%dl                        
  10c225:	74 0e                	je     10c235 <_Thread_Initialize+0x1a5>
  10c227:	e9 8d 00 00 00       	jmp    10c2b9 <_Thread_Initialize+0x229>
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  10c22c:	31 f6                	xor    %esi,%esi                      
  size_t               actual_stack_size = 0;                         
  void                *stack = NULL;                                  
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    void              *fp_area;                                       
  #endif                                                              
  void                *sched = NULL;                                  
  10c22e:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
  10c235:	8b 83 e0 00 00 00    	mov    0xe0(%ebx),%eax                
  10c23b:	85 c0                	test   %eax,%eax                      
  10c23d:	74 0c                	je     10c24b <_Thread_Initialize+0x1bb>
    _Workspace_Free( the_thread->libc_reent );                        
  10c23f:	83 ec 0c             	sub    $0xc,%esp                      
  10c242:	50                   	push   %eax                           
  10c243:	e8 53 0c 00 00       	call   10ce9b <_Workspace_Free>       
  10c248:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10c24b:	8b 83 e4 00 00 00    	mov    0xe4(%ebx),%eax                
  10c251:	85 c0                	test   %eax,%eax                      
  10c253:	74 0c                	je     10c261 <_Thread_Initialize+0x1d1>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c255:	83 ec 0c             	sub    $0xc,%esp                      
  10c258:	50                   	push   %eax                           
  10c259:	e8 3d 0c 00 00       	call   10ce9b <_Workspace_Free>       
  10c25e:	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] )                              
  10c261:	8b 83 e8 00 00 00    	mov    0xe8(%ebx),%eax                
  10c267:	85 c0                	test   %eax,%eax                      
  10c269:	74 0c                	je     10c277 <_Thread_Initialize+0x1e7><== ALWAYS TAKEN
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c26b:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10c26e:	50                   	push   %eax                           <== NOT EXECUTED
  10c26f:	e8 27 0c 00 00       	call   10ce9b <_Workspace_Free>       <== NOT EXECUTED
  10c274:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
  10c277:	85 f6                	test   %esi,%esi                      
  10c279:	74 0c                	je     10c287 <_Thread_Initialize+0x1f7>
    (void) _Workspace_Free( extensions_area );                        
  10c27b:	83 ec 0c             	sub    $0xc,%esp                      
  10c27e:	56                   	push   %esi                           
  10c27f:	e8 17 0c 00 00       	call   10ce9b <_Workspace_Free>       
  10c284:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
  10c287:	85 ff                	test   %edi,%edi                      
  10c289:	74 0c                	je     10c297 <_Thread_Initialize+0x207>
      (void) _Workspace_Free( fp_area );                              
  10c28b:	83 ec 0c             	sub    $0xc,%esp                      
  10c28e:	57                   	push   %edi                           
  10c28f:	e8 07 0c 00 00       	call   10ce9b <_Workspace_Free>       
  10c294:	83 c4 10             	add    $0x10,%esp                     
  #endif                                                              
                                                                      
  if ( sched )                                                        
  10c297:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10c29b:	74 0e                	je     10c2ab <_Thread_Initialize+0x21b>
    (void) _Workspace_Free( sched );                                  
  10c29d:	83 ec 0c             	sub    $0xc,%esp                      
  10c2a0:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10c2a3:	e8 f3 0b 00 00       	call   10ce9b <_Workspace_Free>       
  10c2a8:	83 c4 10             	add    $0x10,%esp                     
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  10c2ab:	83 ec 0c             	sub    $0xc,%esp                      
  10c2ae:	53                   	push   %ebx                           
  10c2af:	e8 d4 05 00 00       	call   10c888 <_Thread_Stack_Free>    
  return false;                                                       
  10c2b4:	83 c4 10             	add    $0x10,%esp                     
   *  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 );
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
  10c2b7:	31 c0                	xor    %eax,%eax                      
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10c2b9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c2bc:	5b                   	pop    %ebx                           
  10c2bd:	5e                   	pop    %esi                           
  10c2be:	5f                   	pop    %edi                           
  10c2bf:	c9                   	leave                                 
  10c2c0:	c3                   	ret                                   
                                                                      

0010f4f0 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
  10f4f0:	55                   	push   %ebp                           
  10f4f1:	89 e5                	mov    %esp,%ebp                      
  10f4f3:	53                   	push   %ebx                           
  10f4f4:	83 ec 04             	sub    $0x4,%esp                      
  10f4f7:	8b 45 08             	mov    0x8(%ebp),%eax                 
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10f4fa:	9c                   	pushf                                 
  10f4fb:	fa                   	cli                                   
  10f4fc:	5b                   	pop    %ebx                           
                                                                      
  current_state = the_thread->current_state;                          
  10f4fd:	8b 50 10             	mov    0x10(%eax),%edx                
  if ( current_state & STATES_SUSPENDED ) {                           
  10f500:	f6 c2 02             	test   $0x2,%dl                       
  10f503:	74 1b                	je     10f520 <_Thread_Resume+0x30>   <== NEVER TAKEN
  10f505:	83 e2 fd             	and    $0xfffffffd,%edx               
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
  10f508:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
  10f50b:	85 d2                	test   %edx,%edx                      
  10f50d:	75 11                	jne    10f520 <_Thread_Resume+0x30>   
RTEMS_INLINE_ROUTINE void _Scheduler_Unblock(                         
    Scheduler_Control *the_scheduler,                                 
    Thread_Control    *the_thread                                     
)                                                                     
{                                                                     
  the_scheduler->Operations.unblock( the_scheduler, the_thread );     
  10f50f:	52                   	push   %edx                           
  10f510:	52                   	push   %edx                           
  10f511:	50                   	push   %eax                           
  10f512:	68 b8 63 12 00       	push   $0x1263b8                      
  10f517:	ff 15 c8 63 12 00    	call   *0x1263c8                      
  10f51d:	83 c4 10             	add    $0x10,%esp                     
      _Scheduler_Unblock( &_Scheduler, the_thread );                  
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10f520:	53                   	push   %ebx                           
  10f521:	9d                   	popf                                  
}                                                                     
  10f522:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f525:	c9                   	leave                                 
  10f526:	c3                   	ret                                   
                                                                      

0010c4e4 <_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 ) {
  10c4e4:	55                   	push   %ebp                           
  10c4e5:	89 e5                	mov    %esp,%ebp                      
  10c4e7:	57                   	push   %edi                           
  10c4e8:	56                   	push   %esi                           
  10c4e9:	53                   	push   %ebx                           
  10c4ea:	83 ec 14             	sub    $0x14,%esp                     
  10c4ed:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10c4f0:	8b 45 0c             	mov    0xc(%ebp),%eax                 
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10c4f3:	8d 50 3c             	lea    0x3c(%eax),%edx                
  10c4f6:	89 50 38             	mov    %edx,0x38(%eax)                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10c4f9:	c7 40 3c 00 00 00 00 	movl   $0x0,0x3c(%eax)                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  10c500:	8d 50 38             	lea    0x38(%eax),%edx                
  10c503:	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;                        
  10c506:	8b 58 14             	mov    0x14(%eax),%ebx                
                                                                      
RTEMS_INLINE_ROUTINE uint32_t   _Thread_queue_Header_number (         
  Priority_Control the_priority                                       
)                                                                     
{                                                                     
  return (the_priority / TASK_QUEUE_DATA_PRIORITIES_PER_HEADER);      
  10c509:	89 da                	mov    %ebx,%edx                      
  10c50b:	c1 ea 06             	shr    $0x6,%edx                      
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  block_state  = the_thread_queue->state;                             
  10c50e:	8b 71 38             	mov    0x38(%ecx),%esi                
  10c511:	89 75 e8             	mov    %esi,-0x18(%ebp)               
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
  10c514:	f6 c3 20             	test   $0x20,%bl                      
  10c517:	75 77                	jne    10c590 <_Thread_queue_Enqueue_priority+0xac>
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
  10c519:	6b d2 0c             	imul   $0xc,%edx,%edx                 
  10c51c:	8d 14 11             	lea    (%ecx,%edx,1),%edx             
  10c51f:	89 55 ec             	mov    %edx,-0x14(%ebp)               
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
  10c522:	83 c2 04             	add    $0x4,%edx                      
  10c525:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  10c528:	9c                   	pushf                                 
  10c529:	fa                   	cli                                   
  10c52a:	8f 45 f0             	popl   -0x10(%ebp)                    
  10c52d:	8b 75 f0             	mov    -0x10(%ebp),%esi               
  search_thread = (Thread_Control *) _Chain_First( header );          
  10c530:	8b 7d ec             	mov    -0x14(%ebp),%edi               
  10c533:	8b 17                	mov    (%edi),%edx                    
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  10c535:	83 cf ff             	or     $0xffffffff,%edi               
  10c538:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_First( header );          
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10c53b:	eb 1c                	jmp    10c559 <_Thread_queue_Enqueue_priority+0x75>
    search_priority = search_thread->current_priority;                
  10c53d:	8b 7a 14             	mov    0x14(%edx),%edi                
    if ( priority <= search_priority )                                
  10c540:	39 fb                	cmp    %edi,%ebx                      
  10c542:	76 1a                	jbe    10c55e <_Thread_queue_Enqueue_priority+0x7a>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c544:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c547:	9d                   	popf                                  
  10c548:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c549:	8b 75 e8             	mov    -0x18(%ebp),%esi               
  10c54c:	85 72 10             	test   %esi,0x10(%edx)                
  10c54f:	75 06                	jne    10c557 <_Thread_queue_Enqueue_priority+0x73><== ALWAYS TAKEN
      _ISR_Enable( level );                                           
  10c551:	ff 75 f0             	pushl  -0x10(%ebp)                    <== NOT EXECUTED
  10c554:	9d                   	popf                                  <== NOT EXECUTED
      goto restart_forward_search;                                    
  10c555:	eb d1                	jmp    10c528 <_Thread_queue_Enqueue_priority+0x44><== NOT EXECUTED
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  10c557:	8b 12                	mov    (%edx),%edx                    
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_First( header );          
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10c559:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10c55c:	75 df                	jne    10c53d <_Thread_queue_Enqueue_priority+0x59>
  10c55e:	8b 75 e0             	mov    -0x20(%ebp),%esi               
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c561:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c565:	0f 85 b6 00 00 00    	jne    10c621 <_Thread_queue_Enqueue_priority+0x13d>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c56b:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c572:	39 fb                	cmp    %edi,%ebx                      
  10c574:	0f 84 90 00 00 00    	je     10c60a <_Thread_queue_Enqueue_priority+0x126>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
  10c57a:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10c57d:	89 10                	mov    %edx,(%eax)                    
  the_node->previous     = previous_node;                             
  10c57f:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c582:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c584:	89 42 04             	mov    %eax,0x4(%edx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c587:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c58a:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c58d:	9d                   	popf                                  
  10c58e:	eb 73                	jmp    10c603 <_Thread_queue_Enqueue_priority+0x11f>
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
  10c590:	6b d2 0c             	imul   $0xc,%edx,%edx                 
  10c593:	8d 14 11             	lea    (%ecx,%edx,1),%edx             
  10c596:	89 55 ec             	mov    %edx,-0x14(%ebp)               
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
  10c599:	0f b6 3d f4 f1 11 00 	movzbl 0x11f1f4,%edi                  
  10c5a0:	47                   	inc    %edi                           
  10c5a1:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  10c5a4:	9c                   	pushf                                 
  10c5a5:	fa                   	cli                                   
  10c5a6:	8f 45 f0             	popl   -0x10(%ebp)                    
  10c5a9:	8b 75 f0             	mov    -0x10(%ebp),%esi               
  search_thread = (Thread_Control *) _Chain_Last( header );           
  10c5ac:	8b 7d ec             	mov    -0x14(%ebp),%edi               
  10c5af:	8b 57 08             	mov    0x8(%edi),%edx                 
  10c5b2:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  10c5b5:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10c5b8:	eb 1d                	jmp    10c5d7 <_Thread_queue_Enqueue_priority+0xf3>
    search_priority = search_thread->current_priority;                
  10c5ba:	8b 7a 14             	mov    0x14(%edx),%edi                
    if ( priority >= search_priority )                                
  10c5bd:	39 fb                	cmp    %edi,%ebx                      
  10c5bf:	73 1b                	jae    10c5dc <_Thread_queue_Enqueue_priority+0xf8>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c5c1:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c5c4:	9d                   	popf                                  
  10c5c5:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c5c6:	8b 75 e8             	mov    -0x18(%ebp),%esi               
  10c5c9:	85 72 10             	test   %esi,0x10(%edx)                
  10c5cc:	75 06                	jne    10c5d4 <_Thread_queue_Enqueue_priority+0xf0>
      _ISR_Enable( level );                                           
  10c5ce:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c5d1:	9d                   	popf                                  
      goto restart_reverse_search;                                    
  10c5d2:	eb c5                	jmp    10c599 <_Thread_queue_Enqueue_priority+0xb5>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  10c5d4:	8b 52 04             	mov    0x4(%edx),%edx                 
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_Last( header );           
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10c5d7:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10c5da:	75 de                	jne    10c5ba <_Thread_queue_Enqueue_priority+0xd6>
  10c5dc:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c5df:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c5e3:	75 3c                	jne    10c621 <_Thread_queue_Enqueue_priority+0x13d>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c5e5:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c5ec:	39 fb                	cmp    %edi,%ebx                      
  10c5ee:	74 1a                	je     10c60a <_Thread_queue_Enqueue_priority+0x126>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  10c5f0:	8b 1a                	mov    (%edx),%ebx                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  10c5f2:	89 18                	mov    %ebx,(%eax)                    
  the_node->previous      = search_node;                              
  10c5f4:	89 50 04             	mov    %edx,0x4(%eax)                 
  search_node->next       = the_node;                                 
  10c5f7:	89 02                	mov    %eax,(%edx)                    
  next_node->previous    = the_node;                                  
  10c5f9:	89 43 04             	mov    %eax,0x4(%ebx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c5fc:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c5ff:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c602:	9d                   	popf                                  
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
  10c603:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10c608:	eb 1f                	jmp    10c629 <_Thread_queue_Enqueue_priority+0x145>
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
  10c60a:	8b 5a 40             	mov    0x40(%edx),%ebx                
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  10c60d:	8d 7a 3c             	lea    0x3c(%edx),%edi                
  10c610:	89 38                	mov    %edi,(%eax)                    
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  10c612:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c615:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c617:	89 42 40             	mov    %eax,0x40(%edx)                
  the_thread->Wait.queue = the_thread_queue;                          
  10c61a:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c61d:	56                   	push   %esi                           
  10c61e:	9d                   	popf                                  
  10c61f:	eb e2                	jmp    10c603 <_Thread_queue_Enqueue_priority+0x11f>
   *  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;                                                   
  10c621:	8b 45 10             	mov    0x10(%ebp),%eax                
  10c624:	89 30                	mov    %esi,(%eax)                    
  return the_thread_queue->sync_state;                                
  10c626:	8b 41 30             	mov    0x30(%ecx),%eax                
}                                                                     
  10c629:	83 c4 14             	add    $0x14,%esp                     
  10c62c:	5b                   	pop    %ebx                           
  10c62d:	5e                   	pop    %esi                           
  10c62e:	5f                   	pop    %edi                           
  10c62f:	c9                   	leave                                 
  10c630:	c3                   	ret                                   
                                                                      

0010c6e0 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  10c6e0:	55                   	push   %ebp                           
  10c6e1:	89 e5                	mov    %esp,%ebp                      
  10c6e3:	57                   	push   %edi                           
  10c6e4:	56                   	push   %esi                           
  10c6e5:	53                   	push   %ebx                           
  10c6e6:	83 ec 1c             	sub    $0x1c,%esp                     
  10c6e9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10c6ec:	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 )                                            
  10c6ef:	85 f6                	test   %esi,%esi                      
  10c6f1:	74 36                	je     10c729 <_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 ) {
  10c6f3:	83 7e 34 01          	cmpl   $0x1,0x34(%esi)                
  10c6f7:	75 30                	jne    10c729 <_Thread_queue_Requeue+0x49><== NEVER TAKEN
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
  10c6f9:	9c                   	pushf                                 
  10c6fa:	fa                   	cli                                   
  10c6fb:	5b                   	pop    %ebx                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  10c6fc:	f7 47 10 e0 be 03 00 	testl  $0x3bee0,0x10(%edi)            
  10c703:	74 22                	je     10c727 <_Thread_queue_Requeue+0x47><== NEVER TAKEN
                                                                      
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;
  10c705:	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 );  
  10c70c:	50                   	push   %eax                           
  10c70d:	6a 01                	push   $0x1                           
  10c70f:	57                   	push   %edi                           
  10c710:	56                   	push   %esi                           
  10c711:	e8 d2 27 00 00       	call   10eee8 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
  10c716:	83 c4 0c             	add    $0xc,%esp                      
  10c719:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c71c:	50                   	push   %eax                           
  10c71d:	57                   	push   %edi                           
  10c71e:	56                   	push   %esi                           
  10c71f:	e8 c0 fd ff ff       	call   10c4e4 <_Thread_queue_Enqueue_priority>
  10c724:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
    _ISR_Enable( level );                                             
  10c727:	53                   	push   %ebx                           
  10c728:	9d                   	popf                                  
  }                                                                   
}                                                                     
  10c729:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c72c:	5b                   	pop    %ebx                           
  10c72d:	5e                   	pop    %esi                           
  10c72e:	5f                   	pop    %edi                           
  10c72f:	c9                   	leave                                 
  10c730:	c3                   	ret                                   
                                                                      

0010c734 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10c734:	55                   	push   %ebp                           
  10c735:	89 e5                	mov    %esp,%ebp                      
  10c737:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10c73a:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c73d:	50                   	push   %eax                           
  10c73e:	ff 75 08             	pushl  0x8(%ebp)                      
  10c741:	e8 d6 f8 ff ff       	call   10c01c <_Thread_Get>           
  switch ( location ) {                                               
  10c746:	83 c4 10             	add    $0x10,%esp                     
  10c749:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10c74d:	75 17                	jne    10c766 <_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 );                    
  10c74f:	83 ec 0c             	sub    $0xc,%esp                      
  10c752:	50                   	push   %eax                           
  10c753:	e8 48 28 00 00       	call   10efa0 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10c758:	a1 60 32 12 00       	mov    0x123260,%eax                  
  10c75d:	48                   	dec    %eax                           
  10c75e:	a3 60 32 12 00       	mov    %eax,0x123260                  
  10c763:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10c766:	c9                   	leave                                 
  10c767:	c3                   	ret                                   
                                                                      

00116978 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
  116978:	55                   	push   %ebp                           
  116979:	89 e5                	mov    %esp,%ebp                      
  11697b:	57                   	push   %edi                           
  11697c:	56                   	push   %esi                           
  11697d:	53                   	push   %ebx                           
  11697e:	83 ec 4c             	sub    $0x4c,%esp                     
  116981:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  116984:	8d 55 dc             	lea    -0x24(%ebp),%edx               
  116987:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  11698a:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  head->previous = NULL;                                              
  11698d:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  tail->previous = head;                                              
  116994:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  116997:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  11699a:	8d 4d d4             	lea    -0x2c(%ebp),%ecx               
  11699d:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  head->previous = NULL;                                              
  1169a0:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  tail->previous = head;                                              
  1169a7:	89 7d d8             	mov    %edi,-0x28(%ebp)               
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  1169aa:	8d 53 30             	lea    0x30(%ebx),%edx                
  1169ad:	89 55 c0             	mov    %edx,-0x40(%ebp)               
     /*                                                               
      *  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 ); 
  1169b0:	8d 73 68             	lea    0x68(%ebx),%esi                
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
  1169b3:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  Chain_Control *tmp;                                                 
  /*                                                                  
   *  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;                                    
  1169b6:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  1169b9:	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;            
  1169bc:	a1 88 c7 13 00       	mov    0x13c788,%eax                  
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  1169c1:	8b 53 3c             	mov    0x3c(%ebx),%edx                
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  1169c4:	89 43 3c             	mov    %eax,0x3c(%ebx)                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  1169c7:	51                   	push   %ecx                           
  1169c8:	57                   	push   %edi                           
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  1169c9:	29 d0                	sub    %edx,%eax                      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  1169cb:	50                   	push   %eax                           
  1169cc:	ff 75 c0             	pushl  -0x40(%ebp)                    
  1169cf:	e8 fc 37 00 00       	call   11a1d0 <_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();
  1169d4:	a1 00 c7 13 00       	mov    0x13c700,%eax                  
  1169d9:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
  1169dc:	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 ) {                                   
  1169df:	83 c4 10             	add    $0x10,%esp                     
  1169e2:	39 45 c4             	cmp    %eax,-0x3c(%ebp)               
  1169e5:	76 10                	jbe    1169f7 <_Timer_server_Body+0x7f>
    /*                                                                
     *  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 );
  1169e7:	52                   	push   %edx                           
  1169e8:	57                   	push   %edi                           
  if ( snapshot > last_snapshot ) {                                   
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
  1169e9:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  1169ec:	29 c2                	sub    %eax,%edx                      
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
  1169ee:	52                   	push   %edx                           
  1169ef:	56                   	push   %esi                           
  1169f0:	e8 db 37 00 00       	call   11a1d0 <_Watchdog_Adjust_to_chain>
  1169f5:	eb 0f                	jmp    116a06 <_Timer_server_Body+0x8e>
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
  1169f7:	73 10                	jae    116a09 <_Timer_server_Body+0x91>
     /*                                                               
      *  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 ); 
  1169f9:	51                   	push   %ecx                           
  } else if ( snapshot < last_snapshot ) {                            
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
  1169fa:	2b 45 c4             	sub    -0x3c(%ebp),%eax               
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  1169fd:	50                   	push   %eax                           
  1169fe:	6a 01                	push   $0x1                           
  116a00:	56                   	push   %esi                           
  116a01:	e8 5e 37 00 00       	call   11a164 <_Watchdog_Adjust>      
  116a06:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  116a09:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  116a0c:	89 4b 74             	mov    %ecx,0x74(%ebx)                
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
  116a0f:	8b 43 78             	mov    0x78(%ebx),%eax                
  116a12:	83 ec 0c             	sub    $0xc,%esp                      
  116a15:	50                   	push   %eax                           
  116a16:	e8 a9 08 00 00       	call   1172c4 <_Chain_Get>            
                                                                      
    if ( timer == NULL ) {                                            
  116a1b:	83 c4 10             	add    $0x10,%esp                     
  116a1e:	85 c0                	test   %eax,%eax                      
  116a20:	74 29                	je     116a4b <_Timer_server_Body+0xd3><== ALWAYS TAKEN
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  116a22:	8b 50 38             	mov    0x38(%eax),%edx                <== NOT EXECUTED
  116a25:	83 fa 01             	cmp    $0x1,%edx                      <== NOT EXECUTED
  116a28:	75 0b                	jne    116a35 <_Timer_server_Body+0xbd><== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116a2a:	52                   	push   %edx                           <== NOT EXECUTED
  116a2b:	52                   	push   %edx                           <== NOT EXECUTED
  116a2c:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116a2f:	50                   	push   %eax                           <== NOT EXECUTED
  116a30:	ff 75 c0             	pushl  -0x40(%ebp)                    <== NOT EXECUTED
  116a33:	eb 0c                	jmp    116a41 <_Timer_server_Body+0xc9><== NOT EXECUTED
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116a35:	83 fa 03             	cmp    $0x3,%edx                      <== NOT EXECUTED
  116a38:	75 d5                	jne    116a0f <_Timer_server_Body+0x97><== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116a3a:	51                   	push   %ecx                           <== NOT EXECUTED
  116a3b:	51                   	push   %ecx                           <== NOT EXECUTED
  116a3c:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116a3f:	50                   	push   %eax                           <== NOT EXECUTED
  116a40:	56                   	push   %esi                           <== NOT EXECUTED
  116a41:	e8 12 38 00 00       	call   11a258 <_Watchdog_Insert>      <== NOT EXECUTED
  116a46:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  116a49:	eb c4                	jmp    116a0f <_Timer_server_Body+0x97><== 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 );                                            
  116a4b:	9c                   	pushf                                 
  116a4c:	fa                   	cli                                   
  116a4d:	5a                   	pop    %edx                           
      tmp = ts->insert_chain;                                         
  116a4e:	8b 43 78             	mov    0x78(%ebx),%eax                
      if ( _Chain_Is_empty( insert_chain ) ) {                        
  116a51:	b0 01                	mov    $0x1,%al                       
  116a53:	8b 4d b4             	mov    -0x4c(%ebp),%ecx               
  116a56:	39 4d dc             	cmp    %ecx,-0x24(%ebp)               
  116a59:	75 09                	jne    116a64 <_Timer_server_Body+0xec><== NEVER TAKEN
        ts->insert_chain = NULL;                                      
  116a5b:	c7 43 78 00 00 00 00 	movl   $0x0,0x78(%ebx)                
        do_loop          = false;                                     
  116a62:	31 c0                	xor    %eax,%eax                      
      }                                                               
    _ISR_Enable( level );                                             
  116a64:	52                   	push   %edx                           
  116a65:	9d                   	popf                                  
   *  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;                                    
                                                                      
  while ( do_loop ) {                                                 
  116a66:	84 c0                	test   %al,%al                        
  116a68:	0f 85 4e ff ff ff    	jne    1169bc <_Timer_server_Body+0x44><== NEVER TAKEN
  116a6e:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  _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 ) ) {                          
  116a71:	39 45 d0             	cmp    %eax,-0x30(%ebp)               
  116a74:	74 3a                	je     116ab0 <_Timer_server_Body+0x138>
  116a76:	89 45 b0             	mov    %eax,-0x50(%ebp)               
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
  116a79:	9c                   	pushf                                 
  116a7a:	fa                   	cli                                   
  116a7b:	59                   	pop    %ecx                           
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  116a7c:	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))                                   
  116a7f:	3b 45 b0             	cmp    -0x50(%ebp),%eax               
  116a82:	74 25                	je     116aa9 <_Timer_server_Body+0x131>
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
  116a84:	8b 10                	mov    (%eax),%edx                    
                                                                      
  head->next = new_first;                                             
  116a86:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  new_first->previous = head;                                         
  116a89:	89 7a 04             	mov    %edi,0x4(%edx)                 
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
  116a8c:	85 c0                	test   %eax,%eax                      
  116a8e:	74 19                	je     116aa9 <_Timer_server_Body+0x131><== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
  116a90:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
          _ISR_Enable( level );                                       
  116a97:	51                   	push   %ecx                           
  116a98:	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 );    
  116a99:	52                   	push   %edx                           
  116a9a:	52                   	push   %edx                           
  116a9b:	ff 70 24             	pushl  0x24(%eax)                     
  116a9e:	ff 70 20             	pushl  0x20(%eax)                     
  116aa1:	ff 50 1c             	call   *0x1c(%eax)                    
      }                                                               
  116aa4:	83 c4 10             	add    $0x10,%esp                     
  116aa7:	eb d0                	jmp    116a79 <_Timer_server_Body+0x101>
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
  116aa9:	51                   	push   %ecx                           
  116aaa:	9d                   	popf                                  
  116aab:	e9 06 ff ff ff       	jmp    1169b6 <_Timer_server_Body+0x3e>
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
  116ab0:	c6 43 7c 00          	movb   $0x0,0x7c(%ebx)                
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
  116ab4:	e8 23 fe ff ff       	call   1168dc <_Thread_Disable_dispatch>
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
  116ab9:	51                   	push   %ecx                           
  116aba:	51                   	push   %ecx                           
  116abb:	6a 08                	push   $0x8                           
  116abd:	ff 33                	pushl  (%ebx)                         
  116abf:	e8 24 31 00 00       	call   119be8 <_Thread_Set_state>     
        _Timer_server_Reset_interval_system_watchdog( ts );           
  116ac4:	89 d8                	mov    %ebx,%eax                      
  116ac6:	e8 21 fe ff ff       	call   1168ec <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
  116acb:	89 d8                	mov    %ebx,%eax                      
  116acd:	e8 60 fe ff ff       	call   116932 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
  116ad2:	e8 c3 28 00 00       	call   11939a <_Thread_Enable_dispatch>
                                                                      
      ts->active = true;                                              
  116ad7:	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 );        
  116adb:	8d 43 08             	lea    0x8(%ebx),%eax                 
  116ade:	89 04 24             	mov    %eax,(%esp)                    
  116ae1:	e8 92 38 00 00       	call   11a378 <_Watchdog_Remove>      
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  116ae6:	8d 43 40             	lea    0x40(%ebx),%eax                
  116ae9:	89 04 24             	mov    %eax,(%esp)                    
  116aec:	e8 87 38 00 00       	call   11a378 <_Watchdog_Remove>      
  116af1:	83 c4 10             	add    $0x10,%esp                     
  116af4:	e9 bd fe ff ff       	jmp    1169b6 <_Timer_server_Body+0x3e>
                                                                      

00116af9 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
  116af9:	55                   	push   %ebp                           
  116afa:	89 e5                	mov    %esp,%ebp                      
  116afc:	57                   	push   %edi                           
  116afd:	56                   	push   %esi                           
  116afe:	53                   	push   %ebx                           
  116aff:	83 ec 2c             	sub    $0x2c,%esp                     
  116b02:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  116b05:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( ts->insert_chain == NULL ) {                                   
  116b08:	8b 43 78             	mov    0x78(%ebx),%eax                
  116b0b:	85 c0                	test   %eax,%eax                      
  116b0d:	0f 85 de 00 00 00    	jne    116bf1 <_Timer_server_Schedule_operation_method+0xf8><== NEVER TAKEN
   *  is the reference point for the delta chain.  Thus if we do not update the
   *  reference point we have to add DT to the initial delta of the watchdog
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
  116b13:	e8 c4 fd ff ff       	call   1168dc <_Thread_Disable_dispatch>
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  116b18:	8b 46 38             	mov    0x38(%esi),%eax                
  116b1b:	83 f8 01             	cmp    $0x1,%eax                      
  116b1e:	75 5a                	jne    116b7a <_Timer_server_Schedule_operation_method+0x81>
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  116b20:	9c                   	pushf                                 
  116b21:	fa                   	cli                                   
  116b22:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = _Watchdog_Ticks_since_boot;                            
  116b25:	8b 15 88 c7 13 00    	mov    0x13c788,%edx                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
  116b2b:	8b 4b 3c             	mov    0x3c(%ebx),%ecx                
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  116b2e:	8b 43 30             	mov    0x30(%ebx),%eax                
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  116b31:	8d 7b 34             	lea    0x34(%ebx),%edi                
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
  116b34:	39 f8                	cmp    %edi,%eax                      
  116b36:	74 19                	je     116b51 <_Timer_server_Schedule_operation_method+0x58>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
  116b38:	89 d7                	mov    %edx,%edi                      
  116b3a:	29 cf                	sub    %ecx,%edi                      
  116b3c:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
  116b3f:	8b 78 10             	mov    0x10(%eax),%edi                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
  116b42:	31 c9                	xor    %ecx,%ecx                      
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
  116b44:	3b 7d e4             	cmp    -0x1c(%ebp),%edi               
  116b47:	76 05                	jbe    116b4e <_Timer_server_Schedule_operation_method+0x55>
        delta_interval -= delta;                                      
  116b49:	89 f9                	mov    %edi,%ecx                      
  116b4b:	2b 4d e4             	sub    -0x1c(%ebp),%ecx               
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116b4e:	89 48 10             	mov    %ecx,0x10(%eax)                
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
  116b51:	89 53 3c             	mov    %edx,0x3c(%ebx)                
    _ISR_Enable( level );                                             
  116b54:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116b57:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116b58:	50                   	push   %eax                           
  116b59:	50                   	push   %eax                           
  116b5a:	83 c6 10             	add    $0x10,%esi                     
  116b5d:	56                   	push   %esi                           
  116b5e:	8d 43 30             	lea    0x30(%ebx),%eax                
  116b61:	50                   	push   %eax                           
  116b62:	e8 f1 36 00 00       	call   11a258 <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116b67:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116b6a:	83 c4 10             	add    $0x10,%esp                     
  116b6d:	84 c0                	test   %al,%al                        
  116b6f:	75 74                	jne    116be5 <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_interval_system_watchdog( ts );             
  116b71:	89 d8                	mov    %ebx,%eax                      
  116b73:	e8 74 fd ff ff       	call   1168ec <_Timer_server_Reset_interval_system_watchdog>
  116b78:	eb 6b                	jmp    116be5 <_Timer_server_Schedule_operation_method+0xec>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116b7a:	83 f8 03             	cmp    $0x3,%eax                      
  116b7d:	75 66                	jne    116be5 <_Timer_server_Schedule_operation_method+0xec>
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  116b7f:	9c                   	pushf                                 
  116b80:	fa                   	cli                                   
  116b81:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
  116b84:	8b 15 00 c7 13 00    	mov    0x13c700,%edx                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
  116b8a:	8b 43 74             	mov    0x74(%ebx),%eax                
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  116b8d:	8b 4b 68             	mov    0x68(%ebx),%ecx                
  116b90:	8d 7b 6c             	lea    0x6c(%ebx),%edi                
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
  116b93:	39 f9                	cmp    %edi,%ecx                      
  116b95:	74 27                	je     116bbe <_Timer_server_Schedule_operation_method+0xc5>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
  116b97:	8b 79 10             	mov    0x10(%ecx),%edi                
  116b9a:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
      if ( snapshot > last_snapshot ) {                               
  116b9d:	39 c2                	cmp    %eax,%edx                      
  116b9f:	76 15                	jbe    116bb6 <_Timer_server_Schedule_operation_method+0xbd>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
  116ba1:	89 d7                	mov    %edx,%edi                      
  116ba3:	29 c7                	sub    %eax,%edi                      
  116ba5:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
        if (delta_interval > delta) {                                 
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
  116ba8:	31 c0                	xor    %eax,%eax                      
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
  116baa:	39 7d d4             	cmp    %edi,-0x2c(%ebp)               
  116bad:	76 0c                	jbe    116bbb <_Timer_server_Schedule_operation_method+0xc2><== NEVER TAKEN
          delta_interval -= delta;                                    
  116baf:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  116bb2:	29 f8                	sub    %edi,%eax                      
  116bb4:	eb 05                	jmp    116bbb <_Timer_server_Schedule_operation_method+0xc2>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
  116bb6:	03 45 d4             	add    -0x2c(%ebp),%eax               
        delta_interval += delta;                                      
  116bb9:	29 d0                	sub    %edx,%eax                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116bbb:	89 41 10             	mov    %eax,0x10(%ecx)                
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
  116bbe:	89 53 74             	mov    %edx,0x74(%ebx)                
    _ISR_Enable( level );                                             
  116bc1:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116bc4:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116bc5:	57                   	push   %edi                           
  116bc6:	57                   	push   %edi                           
  116bc7:	83 c6 10             	add    $0x10,%esi                     
  116bca:	56                   	push   %esi                           
  116bcb:	8d 43 68             	lea    0x68(%ebx),%eax                
  116bce:	50                   	push   %eax                           
  116bcf:	e8 84 36 00 00       	call   11a258 <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116bd4:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116bd7:	83 c4 10             	add    $0x10,%esp                     
  116bda:	84 c0                	test   %al,%al                        
  116bdc:	75 07                	jne    116be5 <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
  116bde:	89 d8                	mov    %ebx,%eax                      
  116be0:	e8 4d fd ff ff       	call   116932 <_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 );           
  }                                                                   
}                                                                     
  116be5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116be8:	5b                   	pop    %ebx                           
  116be9:	5e                   	pop    %esi                           
  116bea:	5f                   	pop    %edi                           
  116beb:	c9                   	leave                                 
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
  116bec:	e9 a9 27 00 00       	jmp    11939a <_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 );           
  116bf1:	8b 43 78             	mov    0x78(%ebx),%eax                <== NOT EXECUTED
  116bf4:	89 75 0c             	mov    %esi,0xc(%ebp)                 <== NOT EXECUTED
  116bf7:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
  }                                                                   
}                                                                     
  116bfa:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  116bfd:	5b                   	pop    %ebx                           <== NOT EXECUTED
  116bfe:	5e                   	pop    %esi                           <== NOT EXECUTED
  116bff:	5f                   	pop    %edi                           <== NOT EXECUTED
  116c00:	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 );           
  116c01:	e9 82 06 00 00       	jmp    117288 <_Chain_Append>         <== NOT EXECUTED
                                                                      

0010e200 <_Timespec_Greater_than>: bool _Timespec_Greater_than( const struct timespec *lhs, const struct timespec *rhs ) {
  10e200:	55                   	push   %ebp                           
  10e201:	89 e5                	mov    %esp,%ebp                      
  10e203:	53                   	push   %ebx                           
  10e204:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10e207:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( lhs->tv_sec > rhs->tv_sec )                                    
    return true;                                                      
  10e20a:	b0 01                	mov    $0x1,%al                       
bool _Timespec_Greater_than(                                          
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
  if ( lhs->tv_sec > rhs->tv_sec )                                    
  10e20c:	8b 1a                	mov    (%edx),%ebx                    
  10e20e:	39 19                	cmp    %ebx,(%ecx)                    
  10e210:	7f 0d                	jg     10e21f <_Timespec_Greater_than+0x1f>
    return true;                                                      
                                                                      
  if ( lhs->tv_sec < rhs->tv_sec )                                    
    return false;                                                     
  10e212:	b0 00                	mov    $0x0,%al                       
)                                                                     
{                                                                     
  if ( lhs->tv_sec > rhs->tv_sec )                                    
    return true;                                                      
                                                                      
  if ( lhs->tv_sec < rhs->tv_sec )                                    
  10e214:	7c 09                	jl     10e21f <_Timespec_Greater_than+0x1f><== NEVER TAKEN
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Greater_than(                                          
  10e216:	8b 42 04             	mov    0x4(%edx),%eax                 
  10e219:	39 41 04             	cmp    %eax,0x4(%ecx)                 
  10e21c:	0f 9f c0             	setg   %al                            
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec > rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
  10e21f:	5b                   	pop    %ebx                           
  10e220:	c9                   	leave                                 
  10e221:	c3                   	ret                                   
                                                                      

0010cb27 <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10cb27:	55                   	push   %ebp                           
  10cb28:	89 e5                	mov    %esp,%ebp                      
  10cb2a:	57                   	push   %edi                           
  10cb2b:	56                   	push   %esi                           
  10cb2c:	53                   	push   %ebx                           
  10cb2d:	83 ec 0c             	sub    $0xc,%esp                      
  10cb30:	8b 7d 10             	mov    0x10(%ebp),%edi                
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
  10cb33:	8b 1d 54 34 12 00    	mov    0x123454,%ebx                  
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  10cb39:	0f b6 75 0c          	movzbl 0xc(%ebp),%esi                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10cb3d:	eb 15                	jmp    10cb54 <_User_extensions_Fatal+0x2d>
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
  10cb3f:	8b 43 30             	mov    0x30(%ebx),%eax                
  10cb42:	85 c0                	test   %eax,%eax                      
  10cb44:	74 0b                	je     10cb51 <_User_extensions_Fatal+0x2a>
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  10cb46:	52                   	push   %edx                           
  10cb47:	57                   	push   %edi                           
  10cb48:	56                   	push   %esi                           
  10cb49:	ff 75 08             	pushl  0x8(%ebp)                      
  10cb4c:	ff d0                	call   *%eax                          
  10cb4e:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
  10cb51:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10cb54:	81 fb 4c 34 12 00    	cmp    $0x12344c,%ebx                 
  10cb5a:	75 e3                	jne    10cb3f <_User_extensions_Fatal+0x18><== ALWAYS TAKEN
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
  10cb5c:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10cb5f:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10cb60:	5e                   	pop    %esi                           <== NOT EXECUTED
  10cb61:	5f                   	pop    %edi                           <== NOT EXECUTED
  10cb62:	c9                   	leave                                 <== NOT EXECUTED
  10cb63:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010ca10 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
  10ca10:	55                   	push   %ebp                           
  10ca11:	89 e5                	mov    %esp,%ebp                      
  10ca13:	57                   	push   %edi                           
  10ca14:	56                   	push   %esi                           
  10ca15:	53                   	push   %ebx                           
  10ca16:	83 ec 1c             	sub    $0x1c,%esp                     
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
  10ca19:	a1 34 f2 11 00       	mov    0x11f234,%eax                  
  10ca1e:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  initial_extensions   = Configuration.User_extension_table;          
  10ca21:	8b 35 38 f2 11 00    	mov    0x11f238,%esi                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  10ca27:	c7 05 4c 34 12 00 50 	movl   $0x123450,0x12344c             
  10ca2e:	34 12 00                                                    
  head->previous = NULL;                                              
  10ca31:	c7 05 50 34 12 00 00 	movl   $0x0,0x123450                  
  10ca38:	00 00 00                                                    
  tail->previous = head;                                              
  10ca3b:	c7 05 54 34 12 00 4c 	movl   $0x12344c,0x123454             
  10ca42:	34 12 00                                                    
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  10ca45:	c7 05 64 32 12 00 68 	movl   $0x123268,0x123264             
  10ca4c:	32 12 00                                                    
  head->previous = NULL;                                              
  10ca4f:	c7 05 68 32 12 00 00 	movl   $0x0,0x123268                  
  10ca56:	00 00 00                                                    
  tail->previous = head;                                              
  10ca59:	c7 05 6c 32 12 00 64 	movl   $0x123264,0x12326c             
  10ca60:	32 12 00                                                    
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
  10ca63:	85 f6                	test   %esi,%esi                      
  10ca65:	74 53                	je     10caba <_User_extensions_Handler_initialization+0xaa><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
  10ca67:	6b c8 34             	imul   $0x34,%eax,%ecx                
  10ca6a:	83 ec 0c             	sub    $0xc,%esp                      
  10ca6d:	51                   	push   %ecx                           
  10ca6e:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10ca71:	e8 3a 04 00 00       	call   10ceb0 <_Workspace_Allocate_or_fatal_error>
  10ca76:	89 c3                	mov    %eax,%ebx                      
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
  10ca78:	31 c0                	xor    %eax,%eax                      
  10ca7a:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10ca7d:	89 df                	mov    %ebx,%edi                      
  10ca7f:	f3 aa                	rep stos %al,%es:(%edi)               
  10ca81:	89 f0                	mov    %esi,%eax                      
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10ca83:	83 c4 10             	add    $0x10,%esp                     
  10ca86:	31 d2                	xor    %edx,%edx                      
  10ca88:	eb 2b                	jmp    10cab5 <_User_extensions_Handler_initialization+0xa5>
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
  10ca8a:	8d 7b 14             	lea    0x14(%ebx),%edi                
  10ca8d:	89 c6                	mov    %eax,%esi                      
  10ca8f:	b9 08 00 00 00       	mov    $0x8,%ecx                      
  10ca94:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _User_extensions_Add_set( extension );                              
  10ca96:	83 ec 0c             	sub    $0xc,%esp                      
  10ca99:	53                   	push   %ebx                           
  10ca9a:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  10ca9d:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10caa0:	e8 ab 25 00 00       	call   10f050 <_User_extensions_Add_set>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
  10caa5:	83 c3 34             	add    $0x34,%ebx                     
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10caa8:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10caab:	42                   	inc    %edx                           
  10caac:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10caaf:	83 c0 20             	add    $0x20,%eax                     
  10cab2:	83 c4 10             	add    $0x10,%esp                     
  10cab5:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10cab8:	72 d0                	jb     10ca8a <_User_extensions_Handler_initialization+0x7a>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
  10caba:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cabd:	5b                   	pop    %ebx                           
  10cabe:	5e                   	pop    %esi                           
  10cabf:	5f                   	pop    %edi                           
  10cac0:	c9                   	leave                                 
  10cac1:	c3                   	ret                                   
                                                                      

0010caf5 <_User_extensions_Thread_exitted>: void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
  10caf5:	55                   	push   %ebp                           
  10caf6:	89 e5                	mov    %esp,%ebp                      
  10caf8:	56                   	push   %esi                           
  10caf9:	53                   	push   %ebx                           
  10cafa:	8b 75 08             	mov    0x8(%ebp),%esi                 
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
  10cafd:	8b 1d 54 34 12 00    	mov    0x123454,%ebx                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10cb03:	eb 13                	jmp    10cb18 <_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 )             
  10cb05:	8b 43 2c             	mov    0x2c(%ebx),%eax                
  10cb08:	85 c0                	test   %eax,%eax                      
  10cb0a:	74 09                	je     10cb15 <_User_extensions_Thread_exitted+0x20>
      (*the_extension->Callouts.thread_exitted)( executing );         
  10cb0c:	83 ec 0c             	sub    $0xc,%esp                      
  10cb0f:	56                   	push   %esi                           
  10cb10:	ff d0                	call   *%eax                          
  10cb12:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
  10cb15:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10cb18:	81 fb 4c 34 12 00    	cmp    $0x12344c,%ebx                 
  10cb1e:	75 e5                	jne    10cb05 <_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 );         
  }                                                                   
}                                                                     
  10cb20:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10cb23:	5b                   	pop    %ebx                           
  10cb24:	5e                   	pop    %esi                           
  10cb25:	c9                   	leave                                 
  10cb26:	c3                   	ret                                   
                                                                      

0010e358 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
  10e358:	55                   	push   %ebp                           
  10e359:	89 e5                	mov    %esp,%ebp                      
  10e35b:	57                   	push   %edi                           
  10e35c:	56                   	push   %esi                           
  10e35d:	53                   	push   %ebx                           
  10e35e:	83 ec 1c             	sub    $0x1c,%esp                     
  10e361:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e364:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10e367:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  10e36a:	9c                   	pushf                                 
  10e36b:	fa                   	cli                                   
  10e36c:	58                   	pop    %eax                           
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
  10e36d:	8b 16                	mov    (%esi),%edx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10e36f:	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 ) ) {                                 
  10e372:	39 ca                	cmp    %ecx,%edx                      
  10e374:	74 44                	je     10e3ba <_Watchdog_Adjust+0x62> 
    switch ( direction ) {                                            
  10e376:	85 ff                	test   %edi,%edi                      
  10e378:	74 3c                	je     10e3b6 <_Watchdog_Adjust+0x5e> 
  10e37a:	4f                   	dec    %edi                           
  10e37b:	75 3d                	jne    10e3ba <_Watchdog_Adjust+0x62> <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
  10e37d:	01 5a 10             	add    %ebx,0x10(%edx)                
        break;                                                        
  10e380:	eb 38                	jmp    10e3ba <_Watchdog_Adjust+0x62> 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
  10e382:	8b 16                	mov    (%esi),%edx                    
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  10e384:	8b 7a 10             	mov    0x10(%edx),%edi                
  10e387:	39 fb                	cmp    %edi,%ebx                      
  10e389:	73 07                	jae    10e392 <_Watchdog_Adjust+0x3a> 
            _Watchdog_First( header )->delta_interval -= units;       
  10e38b:	29 df                	sub    %ebx,%edi                      
  10e38d:	89 7a 10             	mov    %edi,0x10(%edx)                
            break;                                                    
  10e390:	eb 28                	jmp    10e3ba <_Watchdog_Adjust+0x62> 
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
  10e392:	c7 42 10 01 00 00 00 	movl   $0x1,0x10(%edx)                
                                                                      
            _ISR_Enable( level );                                     
  10e399:	50                   	push   %eax                           
  10e39a:	9d                   	popf                                  
                                                                      
            _Watchdog_Tickle( header );                               
  10e39b:	83 ec 0c             	sub    $0xc,%esp                      
  10e39e:	56                   	push   %esi                           
  10e39f:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10e3a2:	e8 a5 01 00 00       	call   10e54c <_Watchdog_Tickle>      
                                                                      
            _ISR_Disable( level );                                    
  10e3a7:	9c                   	pushf                                 
  10e3a8:	fa                   	cli                                   
  10e3a9:	58                   	pop    %eax                           
                                                                      
            if ( _Chain_Is_empty( header ) )                          
  10e3aa:	83 c4 10             	add    $0x10,%esp                     
  10e3ad:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10e3b0:	39 0e                	cmp    %ecx,(%esi)                    
  10e3b2:	74 06                	je     10e3ba <_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;       
  10e3b4:	29 fb                	sub    %edi,%ebx                      
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  10e3b6:	85 db                	test   %ebx,%ebx                      
  10e3b8:	75 c8                	jne    10e382 <_Watchdog_Adjust+0x2a> <== ALWAYS TAKEN
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10e3ba:	50                   	push   %eax                           
  10e3bb:	9d                   	popf                                  
                                                                      
}                                                                     
  10e3bc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e3bf:	5b                   	pop    %ebx                           
  10e3c0:	5e                   	pop    %esi                           
  10e3c1:	5f                   	pop    %edi                           
  10e3c2:	c9                   	leave                                 
  10e3c3:	c3                   	ret                                   
                                                                      

0010cd68 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
  10cd68:	55                   	push   %ebp                           
  10cd69:	89 e5                	mov    %esp,%ebp                      
  10cd6b:	56                   	push   %esi                           
  10cd6c:	53                   	push   %ebx                           
  10cd6d:	8b 55 08             	mov    0x8(%ebp),%edx                 
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  10cd70:	9c                   	pushf                                 
  10cd71:	fa                   	cli                                   
  10cd72:	5e                   	pop    %esi                           
  previous_state = the_watchdog->state;                               
  10cd73:	8b 42 08             	mov    0x8(%edx),%eax                 
  switch ( previous_state ) {                                         
  10cd76:	83 f8 01             	cmp    $0x1,%eax                      
  10cd79:	74 09                	je     10cd84 <_Watchdog_Remove+0x1c> 
  10cd7b:	72 42                	jb     10cdbf <_Watchdog_Remove+0x57> 
  10cd7d:	83 f8 03             	cmp    $0x3,%eax                      
  10cd80:	77 3d                	ja     10cdbf <_Watchdog_Remove+0x57> <== NEVER TAKEN
  10cd82:	eb 09                	jmp    10cd8d <_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;                        
  10cd84:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
      break;                                                          
  10cd8b:	eb 32                	jmp    10cdbf <_Watchdog_Remove+0x57> 
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
  10cd8d:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
  10cd94:	8b 0a                	mov    (%edx),%ecx                    
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
  10cd96:	83 39 00             	cmpl   $0x0,(%ecx)                    
  10cd99:	74 06                	je     10cda1 <_Watchdog_Remove+0x39> 
        next_watchdog->delta_interval += the_watchdog->delta_interval;
  10cd9b:	8b 5a 10             	mov    0x10(%edx),%ebx                
  10cd9e:	01 59 10             	add    %ebx,0x10(%ecx)                
                                                                      
      if ( _Watchdog_Sync_count )                                     
  10cda1:	8b 1d 90 33 12 00    	mov    0x123390,%ebx                  
  10cda7:	85 db                	test   %ebx,%ebx                      
  10cda9:	74 0c                	je     10cdb7 <_Watchdog_Remove+0x4f> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
  10cdab:	8b 1d 98 34 12 00    	mov    0x123498,%ebx                  
  10cdb1:	89 1d 28 33 12 00    	mov    %ebx,0x123328                  
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  10cdb7:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  next->previous = previous;                                          
  10cdba:	89 59 04             	mov    %ebx,0x4(%ecx)                 
  previous->next = next;                                              
  10cdbd:	89 0b                	mov    %ecx,(%ebx)                    
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
  10cdbf:	8b 0d 94 33 12 00    	mov    0x123394,%ecx                  
  10cdc5:	89 4a 18             	mov    %ecx,0x18(%edx)                
                                                                      
  _ISR_Enable( level );                                               
  10cdc8:	56                   	push   %esi                           
  10cdc9:	9d                   	popf                                  
  return( previous_state );                                           
}                                                                     
  10cdca:	5b                   	pop    %ebx                           
  10cdcb:	5e                   	pop    %esi                           
  10cdcc:	c9                   	leave                                 
  10cdcd:	c3                   	ret                                   
                                                                      

0010defc <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
  10defc:	55                   	push   %ebp                           
  10defd:	89 e5                	mov    %esp,%ebp                      
  10deff:	57                   	push   %edi                           
  10df00:	56                   	push   %esi                           
  10df01:	53                   	push   %ebx                           
  10df02:	83 ec 20             	sub    $0x20,%esp                     
  10df05:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10df08:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
  10df0b:	9c                   	pushf                                 
  10df0c:	fa                   	cli                                   
  10df0d:	8f 45 e4             	popl   -0x1c(%ebp)                    
    printk( "Watchdog Chain: %s %p\n", name, header );                
  10df10:	56                   	push   %esi                           
  10df11:	57                   	push   %edi                           
  10df12:	68 e8 fc 11 00       	push   $0x11fce8                      
  10df17:	e8 bc ab ff ff       	call   108ad8 <printk>                
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
  10df1c:	8b 1e                	mov    (%esi),%ebx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10df1e:	83 c6 04             	add    $0x4,%esi                      
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
  10df21:	83 c4 10             	add    $0x10,%esp                     
  10df24:	39 f3                	cmp    %esi,%ebx                      
  10df26:	74 1d                	je     10df45 <_Watchdog_Report_chain+0x49>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
  10df28:	52                   	push   %edx                           
  10df29:	52                   	push   %edx                           
  10df2a:	53                   	push   %ebx                           
  10df2b:	6a 00                	push   $0x0                           
  10df2d:	e8 32 00 00 00       	call   10df64 <_Watchdog_Report>      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
  10df32:	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 = _Chain_First( header ) ;                           
  10df34:	83 c4 10             	add    $0x10,%esp                     
  10df37:	39 f3                	cmp    %esi,%ebx                      
  10df39:	75 ed                	jne    10df28 <_Watchdog_Report_chain+0x2c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
  10df3b:	50                   	push   %eax                           
  10df3c:	50                   	push   %eax                           
  10df3d:	57                   	push   %edi                           
  10df3e:	68 ff fc 11 00       	push   $0x11fcff                      
  10df43:	eb 08                	jmp    10df4d <_Watchdog_Report_chain+0x51>
    } else {                                                          
      printk( "Chain is empty\n" );                                   
  10df45:	83 ec 0c             	sub    $0xc,%esp                      
  10df48:	68 0e fd 11 00       	push   $0x11fd0e                      
  10df4d:	e8 86 ab ff ff       	call   108ad8 <printk>                
  10df52:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
  _ISR_Enable( level );                                               
  10df55:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10df58:	9d                   	popf                                  
}                                                                     
  10df59:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10df5c:	5b                   	pop    %ebx                           
  10df5d:	5e                   	pop    %esi                           
  10df5e:	5f                   	pop    %edi                           
  10df5f:	c9                   	leave                                 
  10df60:	c3                   	ret                                   
                                                                      

0010cdd0 <_Watchdog_Tickle>: */ void _Watchdog_Tickle( Chain_Control *header ) {
  10cdd0:	55                   	push   %ebp                           
  10cdd1:	89 e5                	mov    %esp,%ebp                      
  10cdd3:	57                   	push   %edi                           
  10cdd4:	56                   	push   %esi                           
  10cdd5:	53                   	push   %ebx                           
  10cdd6:	83 ec 1c             	sub    $0x1c,%esp                     
  10cdd9:	8b 7d 08             	mov    0x8(%ebp),%edi                 
   * See the comment in watchdoginsert.c and watchdogadjust.c         
   * about why it's safe not to declare header a pointer to           
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
  10cddc:	9c                   	pushf                                 
  10cddd:	fa                   	cli                                   
  10cdde:	5e                   	pop    %esi                           
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
  10cddf:	8b 1f                	mov    (%edi),%ebx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10cde1:	8d 47 04             	lea    0x4(%edi),%eax                 
  10cde4:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( _Chain_Is_empty( header ) )                                    
  10cde7:	39 c3                	cmp    %eax,%ebx                      
  10cde9:	74 40                	je     10ce2b <_Watchdog_Tickle+0x5b> 
   * to be inserted has already had its delta_interval adjusted to 0, and
   * so is added to the head of the chain with a delta_interval of 0. 
   *                                                                  
   * Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)              
   */                                                                 
  if (the_watchdog->delta_interval != 0) {                            
  10cdeb:	8b 43 10             	mov    0x10(%ebx),%eax                
  10cdee:	85 c0                	test   %eax,%eax                      
  10cdf0:	74 08                	je     10cdfa <_Watchdog_Tickle+0x2a> 
    the_watchdog->delta_interval--;                                   
  10cdf2:	48                   	dec    %eax                           
  10cdf3:	89 43 10             	mov    %eax,0x10(%ebx)                
    if ( the_watchdog->delta_interval != 0 )                          
  10cdf6:	85 c0                	test   %eax,%eax                      
  10cdf8:	75 31                	jne    10ce2b <_Watchdog_Tickle+0x5b> 
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
  10cdfa:	83 ec 0c             	sub    $0xc,%esp                      
  10cdfd:	53                   	push   %ebx                           
  10cdfe:	e8 65 ff ff ff       	call   10cd68 <_Watchdog_Remove>      
                                                                      
     _ISR_Enable( level );                                            
  10ce03:	56                   	push   %esi                           
  10ce04:	9d                   	popf                                  
                                                                      
     switch( watchdog_state ) {                                       
  10ce05:	83 c4 10             	add    $0x10,%esp                     
  10ce08:	83 f8 02             	cmp    $0x2,%eax                      
  10ce0b:	75 0e                	jne    10ce1b <_Watchdog_Tickle+0x4b> <== NEVER TAKEN
       case WATCHDOG_ACTIVE:                                          
         (*the_watchdog->routine)(                                    
  10ce0d:	50                   	push   %eax                           
  10ce0e:	50                   	push   %eax                           
  10ce0f:	ff 73 24             	pushl  0x24(%ebx)                     
  10ce12:	ff 73 20             	pushl  0x20(%ebx)                     
  10ce15:	ff 53 1c             	call   *0x1c(%ebx)                    
           the_watchdog->id,                                          
           the_watchdog->user_data                                    
         );                                                           
         break;                                                       
  10ce18:	83 c4 10             	add    $0x10,%esp                     
                                                                      
       case WATCHDOG_REMOVE_IT:                                       
         break;                                                       
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
  10ce1b:	9c                   	pushf                                 
  10ce1c:	fa                   	cli                                   
  10ce1d:	5e                   	pop    %esi                           
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
  10ce1e:	8b 1f                	mov    (%edi),%ebx                    
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
  10ce20:	3b 5d e4             	cmp    -0x1c(%ebp),%ebx               
  10ce23:	74 06                	je     10ce2b <_Watchdog_Tickle+0x5b> 
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
  10ce25:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10ce29:	eb cd                	jmp    10cdf8 <_Watchdog_Tickle+0x28> 
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
  10ce2b:	56                   	push   %esi                           
  10ce2c:	9d                   	popf                                  
}                                                                     
  10ce2d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ce30:	5b                   	pop    %ebx                           
  10ce31:	5e                   	pop    %esi                           
  10ce32:	5f                   	pop    %edi                           
  10ce33:	c9                   	leave                                 
  10ce34:	c3                   	ret                                   
                                                                      

0010ab34 <rtems_chain_append_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
  10ab34:	55                   	push   %ebp                           
  10ab35:	89 e5                	mov    %esp,%ebp                      
  10ab37:	56                   	push   %esi                           
  10ab38:	53                   	push   %ebx                           
  10ab39:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10ab3c:	8b 75 14             	mov    0x14(%ebp),%esi                
RTEMS_INLINE_ROUTINE bool rtems_chain_append_with_empty_check(        
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Append_with_empty_check( chain, node );               
  10ab3f:	50                   	push   %eax                           
  10ab40:	50                   	push   %eax                           
  10ab41:	ff 75 0c             	pushl  0xc(%ebp)                      
  10ab44:	ff 75 08             	pushl  0x8(%ebp)                      
  10ab47:	e8 40 04 00 00       	call   10af8c <_Chain_Append_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
  10ab4c:	83 c4 10             	add    $0x10,%esp                     
  10ab4f:	84 c0                	test   %al,%al                        
  10ab51:	74 11                	je     10ab64 <rtems_chain_append_with_notification+0x30><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
  10ab53:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10ab56:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10ab59:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ab5c:	5b                   	pop    %ebx                           
  10ab5d:	5e                   	pop    %esi                           
  10ab5e:	c9                   	leave                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
    sc = rtems_event_send( task, events );                            
  10ab5f:	e9 cc f6 ff ff       	jmp    10a230 <rtems_event_send>      
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10ab64:	31 c0                	xor    %eax,%eax                      
  10ab66:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  10ab69:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10ab6a:	5e                   	pop    %esi                           <== NOT EXECUTED
  10ab6b:	c9                   	leave                                 <== NOT EXECUTED
  10ab6c:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010abac <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
  10abac:	55                   	push   %ebp                           
  10abad:	89 e5                	mov    %esp,%ebp                      
  10abaf:	57                   	push   %edi                           
  10abb0:	56                   	push   %esi                           
  10abb1:	53                   	push   %ebx                           
  10abb2:	83 ec 1c             	sub    $0x1c,%esp                     
  10abb5:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
  10abb8:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10abbb:	eb 13                	jmp    10abd0 <rtems_chain_get_with_wait+0x24>
  10abbd:	56                   	push   %esi                           
  10abbe:	ff 75 10             	pushl  0x10(%ebp)                     
  10abc1:	6a 00                	push   $0x0                           
  10abc3:	57                   	push   %edi                           
  10abc4:	e8 07 f5 ff ff       	call   10a0d0 <rtems_event_receive>   
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
  10abc9:	83 c4 10             	add    $0x10,%esp                     
  10abcc:	85 c0                	test   %eax,%eax                      
  10abce:	75 16                	jne    10abe6 <rtems_chain_get_with_wait+0x3a><== ALWAYS TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
  10abd0:	83 ec 0c             	sub    $0xc,%esp                      
  10abd3:	ff 75 08             	pushl  0x8(%ebp)                      
  10abd6:	e8 51 04 00 00       	call   10b02c <_Chain_Get>            
  10abdb:	89 c3                	mov    %eax,%ebx                      
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  10abdd:	83 c4 10             	add    $0x10,%esp                     
  10abe0:	85 c0                	test   %eax,%eax                      
  10abe2:	74 d9                	je     10abbd <rtems_chain_get_with_wait+0x11>
  10abe4:	31 c0                	xor    %eax,%eax                      
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
  10abe6:	8b 55 14             	mov    0x14(%ebp),%edx                
  10abe9:	89 1a                	mov    %ebx,(%edx)                    
                                                                      
  return sc;                                                          
}                                                                     
  10abeb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10abee:	5b                   	pop    %ebx                           
  10abef:	5e                   	pop    %esi                           
  10abf0:	5f                   	pop    %edi                           
  10abf1:	c9                   	leave                                 
  10abf2:	c3                   	ret                                   
                                                                      

0010abf4 <rtems_chain_prepend_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
  10abf4:	55                   	push   %ebp                           
  10abf5:	89 e5                	mov    %esp,%ebp                      
  10abf7:	56                   	push   %esi                           
  10abf8:	53                   	push   %ebx                           
  10abf9:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10abfc:	8b 75 14             	mov    0x14(%ebp),%esi                
RTEMS_INLINE_ROUTINE bool rtems_chain_prepend_with_empty_check(       
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Prepend_with_empty_check( chain, node );              
  10abff:	50                   	push   %eax                           
  10ac00:	50                   	push   %eax                           
  10ac01:	ff 75 0c             	pushl  0xc(%ebp)                      
  10ac04:	ff 75 08             	pushl  0x8(%ebp)                      
  10ac07:	e8 64 04 00 00       	call   10b070 <_Chain_Prepend_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
  10ac0c:	83 c4 10             	add    $0x10,%esp                     
  10ac0f:	84 c0                	test   %al,%al                        
  10ac11:	74 11                	je     10ac24 <rtems_chain_prepend_with_notification+0x30><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
  10ac13:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10ac16:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10ac19:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ac1c:	5b                   	pop    %ebx                           
  10ac1d:	5e                   	pop    %esi                           
  10ac1e:	c9                   	leave                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
    sc = rtems_event_send( task, events );                            
  10ac1f:	e9 0c f6 ff ff       	jmp    10a230 <rtems_event_send>      
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10ac24:	31 c0                	xor    %eax,%eax                      
  10ac26:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  10ac29:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10ac2a:	5e                   	pop    %esi                           <== NOT EXECUTED
  10ac2b:	c9                   	leave                                 <== NOT EXECUTED
  10ac2c:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010b718 <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
  10b718:	55                   	push   %ebp                           
  10b719:	89 e5                	mov    %esp,%ebp                      
  10b71b:	57                   	push   %edi                           
  10b71c:	56                   	push   %esi                           
  10b71d:	53                   	push   %ebx                           
  10b71e:	83 ec 0c             	sub    $0xc,%esp                      
  10b721:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b724:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10b727:	8b 45 10             	mov    0x10(%ebp),%eax                
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
  10b72a:	8b 15 14 66 12 00    	mov    0x126614,%edx                  
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
  10b730:	83 3d 58 65 12 00 00 	cmpl   $0x0,0x126558                  
  10b737:	0f 85 cc 00 00 00    	jne    10b809 <rtems_io_register_driver+0xf1><== NEVER TAKEN
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
  10b73d:	85 c0                	test   %eax,%eax                      
  10b73f:	0f 84 cb 00 00 00    	je     10b810 <rtems_io_register_driver+0xf8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
  10b745:	89 10                	mov    %edx,(%eax)                    
                                                                      
  if ( driver_table == NULL )                                         
  10b747:	85 f6                	test   %esi,%esi                      
  10b749:	0f 84 c1 00 00 00    	je     10b810 <rtems_io_register_driver+0xf8>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10b74f:	83 3e 00             	cmpl   $0x0,(%esi)                    
  10b752:	0f 85 cc 00 00 00    	jne    10b824 <rtems_io_register_driver+0x10c>
  10b758:	83 7e 04 00          	cmpl   $0x0,0x4(%esi)                 
  10b75c:	0f 85 c2 00 00 00    	jne    10b824 <rtems_io_register_driver+0x10c>
  10b762:	e9 a9 00 00 00       	jmp    10b810 <rtems_io_register_driver+0xf8>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10b767:	8b 15 20 63 12 00    	mov    0x126320,%edx                  
  10b76d:	42                   	inc    %edx                           
  10b76e:	89 15 20 63 12 00    	mov    %edx,0x126320                  
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
  10b774:	85 db                	test   %ebx,%ebx                      
  10b776:	75 32                	jne    10b7aa <rtems_io_register_driver+0x92>
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
  10b778:	8b 0d 14 66 12 00    	mov    0x126614,%ecx                  
  10b77e:	8b 15 18 66 12 00    	mov    0x126618,%edx                  
  10b784:	eb 15                	jmp    10b79b <rtems_io_register_driver+0x83>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10b786:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10b789:	0f 85 9f 00 00 00    	jne    10b82e <rtems_io_register_driver+0x116>
  10b78f:	83 7a 04 00          	cmpl   $0x0,0x4(%edx)                 
  10b793:	0f 85 95 00 00 00    	jne    10b82e <rtems_io_register_driver+0x116>
  10b799:	eb 04                	jmp    10b79f <rtems_io_register_driver+0x87>
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
  10b79b:	39 cb                	cmp    %ecx,%ebx                      
  10b79d:	72 e7                	jb     10b786 <rtems_io_register_driver+0x6e>
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
  10b79f:	89 18                	mov    %ebx,(%eax)                    
                                                                      
  if ( m != n )                                                       
  10b7a1:	39 cb                	cmp    %ecx,%ebx                      
  10b7a3:	75 30                	jne    10b7d5 <rtems_io_register_driver+0xbd>
  10b7a5:	e9 8d 00 00 00       	jmp    10b837 <rtems_io_register_driver+0x11f>
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
  10b7aa:	6b d3 18             	imul   $0x18,%ebx,%edx                
  10b7ad:	03 15 18 66 12 00    	add    0x126618,%edx                  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10b7b3:	31 c9                	xor    %ecx,%ecx                      
  10b7b5:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10b7b8:	75 09                	jne    10b7c3 <rtems_io_register_driver+0xab>
  10b7ba:	31 c9                	xor    %ecx,%ecx                      
  10b7bc:	83 7a 04 00          	cmpl   $0x0,0x4(%edx)                 
  10b7c0:	0f 94 c1             	sete   %cl                            
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
  10b7c3:	85 c9                	test   %ecx,%ecx                      
  10b7c5:	75 0c                	jne    10b7d3 <rtems_io_register_driver+0xbb>
      _Thread_Enable_dispatch();                                      
  10b7c7:	e8 4a 19 00 00       	call   10d116 <_Thread_Enable_dispatch>
      return RTEMS_RESOURCE_IN_USE;                                   
  10b7cc:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  10b7d1:	eb 49                	jmp    10b81c <rtems_io_register_driver+0x104>
    }                                                                 
                                                                      
    *registered_major = major;                                        
  10b7d3:	89 18                	mov    %ebx,(%eax)                    
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
  10b7d5:	6b c3 18             	imul   $0x18,%ebx,%eax                
  10b7d8:	03 05 18 66 12 00    	add    0x126618,%eax                  
  10b7de:	b9 06 00 00 00       	mov    $0x6,%ecx                      
  10b7e3:	89 c7                	mov    %eax,%edi                      
  10b7e5:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _Thread_Enable_dispatch();                                          
  10b7e7:	e8 2a 19 00 00       	call   10d116 <_Thread_Enable_dispatch>
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10b7ec:	c7 45 10 00 00 00 00 	movl   $0x0,0x10(%ebp)                
  10b7f3:	c7 45 0c 00 00 00 00 	movl   $0x0,0xc(%ebp)                 
  10b7fa:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
}                                                                     
  10b7fd:	83 c4 0c             	add    $0xc,%esp                      
  10b800:	5b                   	pop    %ebx                           
  10b801:	5e                   	pop    %esi                           
  10b802:	5f                   	pop    %edi                           
  10b803:	c9                   	leave                                 
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10b804:	e9 af 66 00 00       	jmp    111eb8 <rtems_io_initialize>   
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
  10b809:	b8 12 00 00 00       	mov    $0x12,%eax                     
  10b80e:	eb 0c                	jmp    10b81c <rtems_io_register_driver+0x104>
                                                                      
  if ( driver_table == NULL )                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
  10b810:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10b815:	eb 05                	jmp    10b81c <rtems_io_register_driver+0x104>
                                                                      
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
  10b817:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
  10b81c:	83 c4 0c             	add    $0xc,%esp                      
  10b81f:	5b                   	pop    %ebx                           
  10b820:	5e                   	pop    %esi                           
  10b821:	5f                   	pop    %edi                           
  10b822:	c9                   	leave                                 
  10b823:	c3                   	ret                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
  10b824:	39 d3                	cmp    %edx,%ebx                      
  10b826:	0f 82 3b ff ff ff    	jb     10b767 <rtems_io_register_driver+0x4f>
  10b82c:	eb e9                	jmp    10b817 <rtems_io_register_driver+0xff>
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
  10b82e:	43                   	inc    %ebx                           
  10b82f:	83 c2 18             	add    $0x18,%edx                     
  10b832:	e9 64 ff ff ff       	jmp    10b79b <rtems_io_register_driver+0x83>
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
  10b837:	e8 da 18 00 00       	call   10d116 <_Thread_Enable_dispatch>
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
  10b83c:	b8 05 00 00 00       	mov    $0x5,%eax                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
  10b841:	eb d9                	jmp    10b81c <rtems_io_register_driver+0x104>
                                                                      

0010c6a0 <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) {
  10c6a0:	55                   	push   %ebp                           
  10c6a1:	89 e5                	mov    %esp,%ebp                      
  10c6a3:	57                   	push   %edi                           
  10c6a4:	56                   	push   %esi                           
  10c6a5:	53                   	push   %ebx                           
  10c6a6:	83 ec 0c             	sub    $0xc,%esp                      
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
  10c6a9:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  10c6ad:	74 41                	je     10c6f0 <rtems_iterate_over_all_threads+0x50><== NEVER TAKEN
  10c6af:	bb 01 00 00 00       	mov    $0x1,%ebx                      
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
  10c6b4:	8b 04 9d 3c e0 12 00 	mov    0x12e03c(,%ebx,4),%eax         
  10c6bb:	85 c0                	test   %eax,%eax                      
  10c6bd:	74 2b                	je     10c6ea <rtems_iterate_over_all_threads+0x4a>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
  10c6bf:	8b 78 04             	mov    0x4(%eax),%edi                 
    if ( !information )                                               
  10c6c2:	be 01 00 00 00       	mov    $0x1,%esi                      
  10c6c7:	85 ff                	test   %edi,%edi                      
  10c6c9:	75 17                	jne    10c6e2 <rtems_iterate_over_all_threads+0x42>
  10c6cb:	eb 1d                	jmp    10c6ea <rtems_iterate_over_all_threads+0x4a>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
  10c6cd:	8b 47 1c             	mov    0x1c(%edi),%eax                
  10c6d0:	8b 04 b0             	mov    (%eax,%esi,4),%eax             
                                                                      
      if ( !the_thread )                                              
  10c6d3:	85 c0                	test   %eax,%eax                      
  10c6d5:	74 0a                	je     10c6e1 <rtems_iterate_over_all_threads+0x41><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
  10c6d7:	83 ec 0c             	sub    $0xc,%esp                      
  10c6da:	50                   	push   %eax                           
  10c6db:	ff 55 08             	call   *0x8(%ebp)                     
  10c6de:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
  10c6e1:	46                   	inc    %esi                           
  10c6e2:	0f b7 47 10          	movzwl 0x10(%edi),%eax                
  10c6e6:	39 c6                	cmp    %eax,%esi                      
  10c6e8:	76 e3                	jbe    10c6cd <rtems_iterate_over_all_threads+0x2d>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
  10c6ea:	43                   	inc    %ebx                           
  10c6eb:	83 fb 04             	cmp    $0x4,%ebx                      
  10c6ee:	75 c4                	jne    10c6b4 <rtems_iterate_over_all_threads+0x14>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
  10c6f0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c6f3:	5b                   	pop    %ebx                           
  10c6f4:	5e                   	pop    %esi                           
  10c6f5:	5f                   	pop    %edi                           
  10c6f6:	c9                   	leave                                 
  10c6f7:	c3                   	ret                                   
                                                                      

001147ec <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
  1147ec:	55                   	push   %ebp                           
  1147ed:	89 e5                	mov    %esp,%ebp                      
  1147ef:	57                   	push   %edi                           
  1147f0:	56                   	push   %esi                           
  1147f1:	53                   	push   %ebx                           
  1147f2:	83 ec 1c             	sub    $0x1c,%esp                     
  1147f5:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1147f8:	8b 55 10             	mov    0x10(%ebp),%edx                
  1147fb:	8b 7d 14             	mov    0x14(%ebp),%edi                
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  1147fe:	b8 03 00 00 00       	mov    $0x3,%eax                      
  rtems_id        *id                                                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  114803:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  114807:	0f 84 ce 00 00 00    	je     1148db <rtems_partition_create+0xef>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
  11480d:	b0 09                	mov    $0x9,%al                       
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
  11480f:	85 f6                	test   %esi,%esi                      
  114811:	0f 84 c4 00 00 00    	je     1148db <rtems_partition_create+0xef>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
  114817:	83 7d 1c 00          	cmpl   $0x0,0x1c(%ebp)                
  11481b:	0f 84 ba 00 00 00    	je     1148db <rtems_partition_create+0xef><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  114821:	85 ff                	test   %edi,%edi                      
  114823:	0f 84 ad 00 00 00    	je     1148d6 <rtems_partition_create+0xea>
  114829:	85 d2                	test   %edx,%edx                      
  11482b:	0f 84 a5 00 00 00    	je     1148d6 <rtems_partition_create+0xea>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
  114831:	b0 08                	mov    $0x8,%al                       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  114833:	39 fa                	cmp    %edi,%edx                      
  114835:	0f 82 a0 00 00 00    	jb     1148db <rtems_partition_create+0xef>
  11483b:	f7 c7 03 00 00 00    	test   $0x3,%edi                      
  114841:	0f 85 94 00 00 00    	jne    1148db <rtems_partition_create+0xef>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
     return RTEMS_INVALID_ADDRESS;                                    
  114847:	b0 09                	mov    $0x9,%al                       
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
  114849:	f7 c6 03 00 00 00    	test   $0x3,%esi                      
  11484f:	0f 85 86 00 00 00    	jne    1148db <rtems_partition_create+0xef>
  114855:	a1 54 c6 13 00       	mov    0x13c654,%eax                  
  11485a:	40                   	inc    %eax                           
  11485b:	a3 54 c6 13 00       	mov    %eax,0x13c654                  
 *  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 );
  114860:	83 ec 0c             	sub    $0xc,%esp                      
  114863:	68 e4 c4 13 00       	push   $0x13c4e4                      
  114868:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  11486b:	e8 0c 3d 00 00       	call   11857c <_Objects_Allocate>     
  114870:	89 c3                	mov    %eax,%ebx                      
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
  114872:	83 c4 10             	add    $0x10,%esp                     
  114875:	85 c0                	test   %eax,%eax                      
  114877:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11487a:	75 0c                	jne    114888 <rtems_partition_create+0x9c>
    _Thread_Enable_dispatch();                                        
  11487c:	e8 19 4b 00 00       	call   11939a <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  114881:	b8 05 00 00 00       	mov    $0x5,%eax                      
  114886:	eb 53                	jmp    1148db <rtems_partition_create+0xef>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  114888:	89 70 10             	mov    %esi,0x10(%eax)                
  the_partition->length                = length;                      
  11488b:	89 50 14             	mov    %edx,0x14(%eax)                
  the_partition->buffer_size           = buffer_size;                 
  11488e:	89 78 18             	mov    %edi,0x18(%eax)                
  the_partition->attribute_set         = attribute_set;               
  114891:	8b 45 18             	mov    0x18(%ebp),%eax                
  114894:	89 43 1c             	mov    %eax,0x1c(%ebx)                
  the_partition->number_of_used_blocks = 0;                           
  114897:	c7 43 20 00 00 00 00 	movl   $0x0,0x20(%ebx)                
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
  11489e:	57                   	push   %edi                           
  11489f:	89 d0                	mov    %edx,%eax                      
  1148a1:	31 d2                	xor    %edx,%edx                      
  1148a3:	f7 f7                	div    %edi                           
  1148a5:	50                   	push   %eax                           
  1148a6:	56                   	push   %esi                           
  1148a7:	8d 43 24             	lea    0x24(%ebx),%eax                
  1148aa:	50                   	push   %eax                           
  1148ab:	e8 38 2a 00 00       	call   1172e8 <_Chain_Initialize>     
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  1148b0:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  1148b3:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  1148b6:	8b 15 00 c5 13 00    	mov    0x13c500,%edx                  
  1148bc:	89 1c 8a             	mov    %ebx,(%edx,%ecx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  1148bf:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1148c2:	89 53 0c             	mov    %edx,0xc(%ebx)                 
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
  1148c5:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  1148c8:	89 02                	mov    %eax,(%edx)                    
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  1148ca:	e8 cb 4a 00 00       	call   11939a <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  1148cf:	83 c4 10             	add    $0x10,%esp                     
  1148d2:	31 c0                	xor    %eax,%eax                      
  1148d4:	eb 05                	jmp    1148db <rtems_partition_create+0xef>
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
  1148d6:	b8 08 00 00 00       	mov    $0x8,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1148db:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1148de:	5b                   	pop    %ebx                           
  1148df:	5e                   	pop    %esi                           
  1148e0:	5f                   	pop    %edi                           
  1148e1:	c9                   	leave                                 
  1148e2:	c3                   	ret                                   
                                                                      

0010b031 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
  10b031:	55                   	push   %ebp                           
  10b032:	89 e5                	mov    %esp,%ebp                      
  10b034:	57                   	push   %edi                           
  10b035:	56                   	push   %esi                           
  10b036:	53                   	push   %ebx                           
  10b037:	83 ec 30             	sub    $0x30,%esp                     
  10b03a:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b03d:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations                    location;                      
  rtems_status_code                    return_value;                  
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  10b040:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
  10b043:	50                   	push   %eax                           
  10b044:	56                   	push   %esi                           
  10b045:	68 74 68 12 00       	push   $0x126874                      
  10b04a:	e8 65 1d 00 00       	call   10cdb4 <_Objects_Get>          
  10b04f:	89 c7                	mov    %eax,%edi                      
                                                                      
  switch ( location ) {                                               
  10b051:	83 c4 10             	add    $0x10,%esp                     
  10b054:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b058:	0f 85 3b 01 00 00    	jne    10b199 <rtems_rate_monotonic_period+0x168><== NEVER TAKEN
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
  10b05e:	a1 a0 6b 12 00       	mov    0x126ba0,%eax                  
  10b063:	39 47 40             	cmp    %eax,0x40(%edi)                
  10b066:	74 0f                	je     10b077 <rtems_rate_monotonic_period+0x46>
        _Thread_Enable_dispatch();                                    
  10b068:	e8 f9 26 00 00       	call   10d766 <_Thread_Enable_dispatch>
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
  10b06d:	be 17 00 00 00       	mov    $0x17,%esi                     
  10b072:	e9 27 01 00 00       	jmp    10b19e <rtems_rate_monotonic_period+0x16d>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
  10b077:	85 db                	test   %ebx,%ebx                      
  10b079:	75 1b                	jne    10b096 <rtems_rate_monotonic_period+0x65>
        switch ( the_period->state ) {                                
  10b07b:	8b 47 38             	mov    0x38(%edi),%eax                
  10b07e:	31 f6                	xor    %esi,%esi                      
  10b080:	83 f8 04             	cmp    $0x4,%eax                      
  10b083:	77 07                	ja     10b08c <rtems_rate_monotonic_period+0x5b><== NEVER TAKEN
  10b085:	8b 34 85 88 fa 11 00 	mov    0x11fa88(,%eax,4),%esi         
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
  10b08c:	e8 d5 26 00 00       	call   10d766 <_Thread_Enable_dispatch>
        return( return_value );                                       
  10b091:	e9 08 01 00 00       	jmp    10b19e <rtems_rate_monotonic_period+0x16d>
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
  10b096:	9c                   	pushf                                 
  10b097:	fa                   	cli                                   
  10b098:	8f 45 d4             	popl   -0x2c(%ebp)                    
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
  10b09b:	8b 47 38             	mov    0x38(%edi),%eax                
  10b09e:	85 c0                	test   %eax,%eax                      
  10b0a0:	75 4c                	jne    10b0ee <rtems_rate_monotonic_period+0xbd>
        _ISR_Enable( level );                                         
  10b0a2:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b0a5:	9d                   	popf                                  
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b0a6:	83 ec 0c             	sub    $0xc,%esp                      
  10b0a9:	57                   	push   %edi                           
  10b0aa:	e8 3f fe ff ff       	call   10aeee <_Rate_monotonic_Initiate_statistics>
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
  10b0af:	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;                        
  10b0b6:	c7 47 18 00 00 00 00 	movl   $0x0,0x18(%edi)                
  the_watchdog->routine   = routine;                                  
  10b0bd:	c7 47 2c a8 b3 10 00 	movl   $0x10b3a8,0x2c(%edi)           
  the_watchdog->id        = id;                                       
  10b0c4:	89 77 30             	mov    %esi,0x30(%edi)                
  the_watchdog->user_data = user_data;                                
  10b0c7:	c7 47 34 00 00 00 00 	movl   $0x0,0x34(%edi)                
          _Rate_monotonic_Timeout,                                    
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        the_period->next_length = length;                             
  10b0ce:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b0d1:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b0d4:	58                   	pop    %eax                           
  10b0d5:	5a                   	pop    %edx                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
  10b0d6:	83 c7 10             	add    $0x10,%edi                     
  10b0d9:	57                   	push   %edi                           
  10b0da:	68 48 6a 12 00       	push   $0x126a48                      
  10b0df:	e8 d0 33 00 00       	call   10e4b4 <_Watchdog_Insert>      
        _Thread_Enable_dispatch();                                    
  10b0e4:	e8 7d 26 00 00       	call   10d766 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  10b0e9:	83 c4 10             	add    $0x10,%esp                     
  10b0ec:	eb 65                	jmp    10b153 <rtems_rate_monotonic_period+0x122>
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
  10b0ee:	83 f8 02             	cmp    $0x2,%eax                      
  10b0f1:	75 64                	jne    10b157 <rtems_rate_monotonic_period+0x126>
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
  10b0f3:	83 ec 0c             	sub    $0xc,%esp                      
  10b0f6:	57                   	push   %edi                           
  10b0f7:	e8 5a fe ff ff       	call   10af56 <_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;         
  10b0fc:	c7 47 38 01 00 00 00 	movl   $0x1,0x38(%edi)                
        the_period->next_length = length;                             
  10b103:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
                                                                      
        _ISR_Enable( level );                                         
  10b106:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b109:	9d                   	popf                                  
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
  10b10a:	a1 a0 6b 12 00       	mov    0x126ba0,%eax                  
  10b10f:	8b 57 08             	mov    0x8(%edi),%edx                 
  10b112:	89 50 20             	mov    %edx,0x20(%eax)                
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10b115:	5b                   	pop    %ebx                           
  10b116:	5e                   	pop    %esi                           
  10b117:	68 00 40 00 00       	push   $0x4000                        
  10b11c:	50                   	push   %eax                           
  10b11d:	e8 d6 2d 00 00       	call   10def8 <_Thread_Set_state>     
                                                                      
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
  10b122:	9c                   	pushf                                 
  10b123:	fa                   	cli                                   
  10b124:	5a                   	pop    %edx                           
          local_state = the_period->state;                            
  10b125:	8b 47 38             	mov    0x38(%edi),%eax                
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  10b128:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
        _ISR_Enable( level );                                         
  10b12f:	52                   	push   %edx                           
  10b130:	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 )   
  10b131:	83 c4 10             	add    $0x10,%esp                     
  10b134:	83 f8 03             	cmp    $0x3,%eax                      
  10b137:	75 15                	jne    10b14e <rtems_rate_monotonic_period+0x11d>
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10b139:	51                   	push   %ecx                           
  10b13a:	51                   	push   %ecx                           
  10b13b:	68 00 40 00 00       	push   $0x4000                        
  10b140:	ff 35 a0 6b 12 00    	pushl  0x126ba0                       
  10b146:	e8 e9 22 00 00       	call   10d434 <_Thread_Clear_state>   
  10b14b:	83 c4 10             	add    $0x10,%esp                     
                                                                      
        _Thread_Enable_dispatch();                                    
  10b14e:	e8 13 26 00 00       	call   10d766 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  10b153:	31 f6                	xor    %esi,%esi                      
  10b155:	eb 47                	jmp    10b19e <rtems_rate_monotonic_period+0x16d>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b157:	be 04 00 00 00       	mov    $0x4,%esi                      
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
  10b15c:	83 f8 04             	cmp    $0x4,%eax                      
  10b15f:	75 3d                	jne    10b19e <rtems_rate_monotonic_period+0x16d><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
  10b161:	83 ec 0c             	sub    $0xc,%esp                      
  10b164:	57                   	push   %edi                           
  10b165:	e8 ec fd ff ff       	call   10af56 <_Rate_monotonic_Update_statistics>
                                                                      
        _ISR_Enable( level );                                         
  10b16a:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b16d:	9d                   	popf                                  
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
  10b16e:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
        the_period->next_length = length;                             
  10b175:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b178:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b17b:	58                   	pop    %eax                           
  10b17c:	5a                   	pop    %edx                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
  10b17d:	83 c7 10             	add    $0x10,%edi                     
  10b180:	57                   	push   %edi                           
  10b181:	68 48 6a 12 00       	push   $0x126a48                      
  10b186:	e8 29 33 00 00       	call   10e4b4 <_Watchdog_Insert>      
        _Thread_Enable_dispatch();                                    
  10b18b:	e8 d6 25 00 00       	call   10d766 <_Thread_Enable_dispatch>
        return RTEMS_TIMEOUT;                                         
  10b190:	83 c4 10             	add    $0x10,%esp                     
  10b193:	66 be 06 00          	mov    $0x6,%si                       
  10b197:	eb 05                	jmp    10b19e <rtems_rate_monotonic_period+0x16d>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b199:	be 04 00 00 00       	mov    $0x4,%esi                      
}                                                                     
  10b19e:	89 f0                	mov    %esi,%eax                      
  10b1a0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b1a3:	5b                   	pop    %ebx                           
  10b1a4:	5e                   	pop    %esi                           
  10b1a5:	5f                   	pop    %edi                           
  10b1a6:	c9                   	leave                                 
  10b1a7:	c3                   	ret                                   
                                                                      

0010b1a8 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
  10b1a8:	55                   	push   %ebp                           
  10b1a9:	89 e5                	mov    %esp,%ebp                      
  10b1ab:	57                   	push   %edi                           
  10b1ac:	56                   	push   %esi                           
  10b1ad:	53                   	push   %ebx                           
  10b1ae:	83 ec 7c             	sub    $0x7c,%esp                     
  10b1b1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b1b4:	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 )                                                       
  10b1b7:	85 ff                	test   %edi,%edi                      
  10b1b9:	0f 84 2b 01 00 00    	je     10b2ea <rtems_rate_monotonic_report_statistics_with_plugin+0x142><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  10b1bf:	52                   	push   %edx                           
  10b1c0:	52                   	push   %edx                           
  10b1c1:	68 9c fa 11 00       	push   $0x11fa9c                      
  10b1c6:	53                   	push   %ebx                           
  10b1c7:	ff d7                	call   *%edi                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
  10b1c9:	5e                   	pop    %esi                           
  10b1ca:	58                   	pop    %eax                           
  10b1cb:	68 ba fa 11 00       	push   $0x11faba                      
  10b1d0:	53                   	push   %ebx                           
  10b1d1:	ff d7                	call   *%edi                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
  10b1d3:	5a                   	pop    %edx                           
  10b1d4:	59                   	pop    %ecx                           
  10b1d5:	68 dc fa 11 00       	push   $0x11fadc                      
  10b1da:	53                   	push   %ebx                           
  10b1db:	ff d7                	call   *%edi                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
  10b1dd:	5e                   	pop    %esi                           
  10b1de:	58                   	pop    %eax                           
  10b1df:	68 ff fa 11 00       	push   $0x11faff                      
  10b1e4:	53                   	push   %ebx                           
  10b1e5:	ff d7                	call   *%edi                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
  10b1e7:	5a                   	pop    %edx                           
  10b1e8:	59                   	pop    %ecx                           
  10b1e9:	68 4a fb 11 00       	push   $0x11fb4a                      
  10b1ee:	53                   	push   %ebx                           
  10b1ef:	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 ;                   
  10b1f1:	8b 35 7c 68 12 00    	mov    0x12687c,%esi                  
  10b1f7:	83 c4 10             	add    $0x10,%esp                     
  10b1fa:	e9 df 00 00 00       	jmp    10b2de <rtems_rate_monotonic_report_statistics_with_plugin+0x136>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
  10b1ff:	50                   	push   %eax                           
  10b200:	50                   	push   %eax                           
  10b201:	8d 45 88             	lea    -0x78(%ebp),%eax               
  10b204:	50                   	push   %eax                           
  10b205:	56                   	push   %esi                           
  10b206:	e8 9d 4b 00 00       	call   10fda8 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
  10b20b:	83 c4 10             	add    $0x10,%esp                     
  10b20e:	85 c0                	test   %eax,%eax                      
  10b210:	0f 85 c7 00 00 00    	jne    10b2dd <rtems_rate_monotonic_report_statistics_with_plugin+0x135>
    #if defined(RTEMS_DEBUG)                                          
      status = rtems_rate_monotonic_get_status( id, &the_status );    
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #else                                                             
      (void) rtems_rate_monotonic_get_status( id, &the_status );      
  10b216:	51                   	push   %ecx                           
  10b217:	51                   	push   %ecx                           
  10b218:	8d 55 c0             	lea    -0x40(%ebp),%edx               
  10b21b:	52                   	push   %edx                           
  10b21c:	56                   	push   %esi                           
  10b21d:	e8 2a 4c 00 00       	call   10fe4c <rtems_rate_monotonic_get_status>
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
  10b222:	83 c4 0c             	add    $0xc,%esp                      
  10b225:	8d 45 e3             	lea    -0x1d(%ebp),%eax               
  10b228:	50                   	push   %eax                           
  10b229:	6a 05                	push   $0x5                           
  10b22b:	ff 75 c0             	pushl  -0x40(%ebp)                    
  10b22e:	e8 01 02 00 00       	call   10b434 <rtems_object_get_name> 
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
  10b233:	58                   	pop    %eax                           
  10b234:	5a                   	pop    %edx                           
  10b235:	ff 75 8c             	pushl  -0x74(%ebp)                    
  10b238:	ff 75 88             	pushl  -0x78(%ebp)                    
  10b23b:	8d 55 e3             	lea    -0x1d(%ebp),%edx               
  10b23e:	52                   	push   %edx                           
  10b23f:	56                   	push   %esi                           
  10b240:	68 96 fb 11 00       	push   $0x11fb96                      
  10b245:	53                   	push   %ebx                           
  10b246:	ff d7                	call   *%edi                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
  10b248:	8b 45 88             	mov    -0x78(%ebp),%eax               
  10b24b:	83 c4 20             	add    $0x20,%esp                     
  10b24e:	85 c0                	test   %eax,%eax                      
  10b250:	75 0f                	jne    10b261 <rtems_rate_monotonic_report_statistics_with_plugin+0xb9>
      (*print)( context, "\n" );                                      
  10b252:	51                   	push   %ecx                           
  10b253:	51                   	push   %ecx                           
  10b254:	68 10 fe 11 00       	push   $0x11fe10                      
  10b259:	53                   	push   %ebx                           
  10b25a:	ff d7                	call   *%edi                          
      continue;                                                       
  10b25c:	83 c4 10             	add    $0x10,%esp                     
  10b25f:	eb 7c                	jmp    10b2dd <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 );
  10b261:	52                   	push   %edx                           
  10b262:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10b265:	52                   	push   %edx                           
  10b266:	50                   	push   %eax                           
  10b267:	8d 45 a0             	lea    -0x60(%ebp),%eax               
  10b26a:	50                   	push   %eax                           
  10b26b:	e8 18 2f 00 00       	call   10e188 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10b270:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b273:	b9 e8 03 00 00       	mov    $0x3e8,%ecx                    
  10b278:	99                   	cltd                                  
  10b279:	f7 f9                	idiv   %ecx                           
  10b27b:	50                   	push   %eax                           
  10b27c:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10b27f:	8b 45 9c             	mov    -0x64(%ebp),%eax               
  10b282:	99                   	cltd                                  
  10b283:	f7 f9                	idiv   %ecx                           
  10b285:	50                   	push   %eax                           
  10b286:	ff 75 98             	pushl  -0x68(%ebp)                    
  10b289:	8b 45 94             	mov    -0x6c(%ebp),%eax               
  10b28c:	99                   	cltd                                  
  10b28d:	f7 f9                	idiv   %ecx                           
  10b28f:	50                   	push   %eax                           
  10b290:	ff 75 90             	pushl  -0x70(%ebp)                    
  10b293:	68 ad fb 11 00       	push   $0x11fbad                      
  10b298:	53                   	push   %ebx                           
  10b299:	89 4d 84             	mov    %ecx,-0x7c(%ebp)               
  10b29c:	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);
  10b29e:	83 c4 2c             	add    $0x2c,%esp                     
  10b2a1:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10b2a4:	52                   	push   %edx                           
  10b2a5:	ff 75 88             	pushl  -0x78(%ebp)                    
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      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;       
  10b2a8:	8d 45 b8             	lea    -0x48(%ebp),%eax               
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
  10b2ab:	50                   	push   %eax                           
  10b2ac:	e8 d7 2e 00 00       	call   10e188 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10b2b1:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b2b4:	8b 4d 84             	mov    -0x7c(%ebp),%ecx               
  10b2b7:	99                   	cltd                                  
  10b2b8:	f7 f9                	idiv   %ecx                           
  10b2ba:	50                   	push   %eax                           
  10b2bb:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10b2be:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10b2c1:	99                   	cltd                                  
  10b2c2:	f7 f9                	idiv   %ecx                           
  10b2c4:	50                   	push   %eax                           
  10b2c5:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10b2c8:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10b2cb:	99                   	cltd                                  
  10b2cc:	f7 f9                	idiv   %ecx                           
  10b2ce:	50                   	push   %eax                           
  10b2cf:	ff 75 a8             	pushl  -0x58(%ebp)                    
  10b2d2:	68 cc fb 11 00       	push   $0x11fbcc                      
  10b2d7:	53                   	push   %ebx                           
  10b2d8:	ff d7                	call   *%edi                          
  10b2da:	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++ ) {                                                      
  10b2dd:	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 ;                   
  10b2de:	3b 35 80 68 12 00    	cmp    0x126880,%esi                  
  10b2e4:	0f 86 15 ff ff ff    	jbe    10b1ff <rtems_rate_monotonic_report_statistics_with_plugin+0x57>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
  10b2ea:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b2ed:	5b                   	pop    %ebx                           
  10b2ee:	5e                   	pop    %esi                           
  10b2ef:	5f                   	pop    %edi                           
  10b2f0:	c9                   	leave                                 
  10b2f1:	c3                   	ret                                   
                                                                      

00115b4c <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
  115b4c:	55                   	push   %ebp                           
  115b4d:	89 e5                	mov    %esp,%ebp                      
  115b4f:	53                   	push   %ebx                           
  115b50:	83 ec 14             	sub    $0x14,%esp                     
  115b53:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
  115b56:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
  115b5b:	85 db                	test   %ebx,%ebx                      
  115b5d:	74 6d                	je     115bcc <rtems_signal_send+0x80>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  115b5f:	50                   	push   %eax                           
  115b60:	50                   	push   %eax                           
  115b61:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  115b64:	50                   	push   %eax                           
  115b65:	ff 75 08             	pushl  0x8(%ebp)                      
  115b68:	e8 4f 38 00 00       	call   1193bc <_Thread_Get>           
  switch ( location ) {                                               
  115b6d:	83 c4 10             	add    $0x10,%esp                     
  115b70:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  115b74:	75 51                	jne    115bc7 <rtems_signal_send+0x7b>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
  115b76:	8b 90 e4 00 00 00    	mov    0xe4(%eax),%edx                
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
  115b7c:	83 7a 0c 00          	cmpl   $0x0,0xc(%edx)                 
  115b80:	74 39                	je     115bbb <rtems_signal_send+0x6f>
        if ( asr->is_enabled ) {                                      
  115b82:	80 7a 08 00          	cmpb   $0x0,0x8(%edx)                 
  115b86:	74 22                	je     115baa <rtems_signal_send+0x5e>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  115b88:	9c                   	pushf                                 
  115b89:	fa                   	cli                                   
  115b8a:	59                   	pop    %ecx                           
    *signal_set |= signals;                                           
  115b8b:	09 5a 14             	or     %ebx,0x14(%edx)                
  _ISR_Enable( _level );                                              
  115b8e:	51                   	push   %ecx                           
  115b8f:	9d                   	popf                                  
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  115b90:	83 3d 94 c8 13 00 00 	cmpl   $0x0,0x13c894                  
  115b97:	74 19                	je     115bb2 <rtems_signal_send+0x66>
  115b99:	3b 05 98 c8 13 00    	cmp    0x13c898,%eax                  
  115b9f:	75 11                	jne    115bb2 <rtems_signal_send+0x66><== NEVER TAKEN
            _Thread_Dispatch_necessary = true;                        
  115ba1:	c6 05 a4 c8 13 00 01 	movb   $0x1,0x13c8a4                  
  115ba8:	eb 08                	jmp    115bb2 <rtems_signal_send+0x66>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  115baa:	9c                   	pushf                                 
  115bab:	fa                   	cli                                   
  115bac:	58                   	pop    %eax                           
    *signal_set |= signals;                                           
  115bad:	09 5a 18             	or     %ebx,0x18(%edx)                
  _ISR_Enable( _level );                                              
  115bb0:	50                   	push   %eax                           
  115bb1:	9d                   	popf                                  
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
  115bb2:	e8 e3 37 00 00       	call   11939a <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  115bb7:	31 c0                	xor    %eax,%eax                      
  115bb9:	eb 11                	jmp    115bcc <rtems_signal_send+0x80>
      }                                                               
      _Thread_Enable_dispatch();                                      
  115bbb:	e8 da 37 00 00       	call   11939a <_Thread_Enable_dispatch>
      return RTEMS_NOT_DEFINED;                                       
  115bc0:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  115bc5:	eb 05                	jmp    115bcc <rtems_signal_send+0x80>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  115bc7:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  115bcc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  115bcf:	c9                   	leave                                 
  115bd0:	c3                   	ret                                   
                                                                      

0010fef0 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
  10fef0:	55                   	push   %ebp                           
  10fef1:	89 e5                	mov    %esp,%ebp                      
  10fef3:	57                   	push   %edi                           
  10fef4:	56                   	push   %esi                           
  10fef5:	53                   	push   %ebx                           
  10fef6:	83 ec 1c             	sub    $0x1c,%esp                     
  10fef9:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10fefc:	b8 09 00 00 00       	mov    $0x9,%eax                      
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
  10ff01:	85 c9                	test   %ecx,%ecx                      
  10ff03:	0f 84 fb 00 00 00    	je     110004 <rtems_task_mode+0x114> <== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  10ff09:	8b 35 9c 34 12 00    	mov    0x12349c,%esi                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  10ff0f:	8b 9e e4 00 00 00    	mov    0xe4(%esi),%ebx                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
  10ff15:	80 7e 74 01          	cmpb   $0x1,0x74(%esi)                
  10ff19:	19 ff                	sbb    %edi,%edi                      
  10ff1b:	81 e7 00 01 00 00    	and    $0x100,%edi                    
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
  10ff21:	83 7e 7c 00          	cmpl   $0x0,0x7c(%esi)                
  10ff25:	74 06                	je     10ff2d <rtems_task_mode+0x3d>  
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
  10ff27:	81 cf 00 02 00 00    	or     $0x200,%edi                    
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  10ff2d:	80 7b 08 01          	cmpb   $0x1,0x8(%ebx)                 
  10ff31:	19 d2                	sbb    %edx,%edx                      
  10ff33:	81 e2 00 04 00 00    	and    $0x400,%edx                    
  old_mode |= _ISR_Get_level();                                       
  10ff39:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10ff3c:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10ff3f:	e8 01 d3 ff ff       	call   10d245 <_CPU_ISR_Get_level>    
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  10ff44:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10ff47:	09 d0                	or     %edx,%eax                      
  old_mode |= _ISR_Get_level();                                       
  10ff49:	09 f8                	or     %edi,%eax                      
  10ff4b:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10ff4e:	89 01                	mov    %eax,(%ecx)                    
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
  10ff50:	f7 45 0c 00 01 00 00 	testl  $0x100,0xc(%ebp)               
  10ff57:	74 0b                	je     10ff64 <rtems_task_mode+0x74>  
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
  10ff59:	f7 45 08 00 01 00 00 	testl  $0x100,0x8(%ebp)               
  10ff60:	0f 94 46 74          	sete   0x74(%esi)                     
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
  10ff64:	f7 45 0c 00 02 00 00 	testl  $0x200,0xc(%ebp)               
  10ff6b:	74 21                	je     10ff8e <rtems_task_mode+0x9e>  
    if ( _Modes_Is_timeslice(mode_set) ) {                            
  10ff6d:	f7 45 08 00 02 00 00 	testl  $0x200,0x8(%ebp)               
  10ff74:	74 11                	je     10ff87 <rtems_task_mode+0x97>  
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
  10ff76:	c7 46 7c 01 00 00 00 	movl   $0x1,0x7c(%esi)                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
  10ff7d:	a1 30 32 12 00       	mov    0x123230,%eax                  
  10ff82:	89 46 78             	mov    %eax,0x78(%esi)                
  10ff85:	eb 07                	jmp    10ff8e <rtems_task_mode+0x9e>  
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
  10ff87:	c7 46 7c 00 00 00 00 	movl   $0x0,0x7c(%esi)                
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
  10ff8e:	f6 45 0c 01          	testb  $0x1,0xc(%ebp)                 
  10ff92:	74 0a                	je     10ff9e <rtems_task_mode+0xae>  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
  10ff94:	f6 45 08 01          	testb  $0x1,0x8(%ebp)                 
  10ff98:	74 03                	je     10ff9d <rtems_task_mode+0xad>  
  10ff9a:	fa                   	cli                                   
  10ff9b:	eb 01                	jmp    10ff9e <rtems_task_mode+0xae>  
  10ff9d:	fb                   	sti                                   
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  10ff9e:	31 c9                	xor    %ecx,%ecx                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
  10ffa0:	f7 45 0c 00 04 00 00 	testl  $0x400,0xc(%ebp)               
  10ffa7:	74 2a                	je     10ffd3 <rtems_task_mode+0xe3>  
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
  10ffa9:	f7 45 08 00 04 00 00 	testl  $0x400,0x8(%ebp)               
  10ffb0:	0f 94 c0             	sete   %al                            
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
  10ffb3:	3a 43 08             	cmp    0x8(%ebx),%al                  
  10ffb6:	74 1b                	je     10ffd3 <rtems_task_mode+0xe3>  
      asr->is_enabled = is_asr_enabled;                               
  10ffb8:	88 43 08             	mov    %al,0x8(%ebx)                  
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
  10ffbb:	9c                   	pushf                                 
  10ffbc:	fa                   	cli                                   
  10ffbd:	58                   	pop    %eax                           
    _signals                     = information->signals_pending;      
  10ffbe:	8b 53 18             	mov    0x18(%ebx),%edx                
    information->signals_pending = information->signals_posted;       
  10ffc1:	8b 4b 14             	mov    0x14(%ebx),%ecx                
  10ffc4:	89 4b 18             	mov    %ecx,0x18(%ebx)                
    information->signals_posted  = _signals;                          
  10ffc7:	89 53 14             	mov    %edx,0x14(%ebx)                
  _ISR_Enable( _level );                                              
  10ffca:	50                   	push   %eax                           
  10ffcb:	9d                   	popf                                  
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  10ffcc:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10ffd0:	0f 95 c1             	setne  %cl                            
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  10ffd3:	31 c0                	xor    %eax,%eax                      
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
  10ffd5:	83 3d dc 33 12 00 03 	cmpl   $0x3,0x1233dc                  
  10ffdc:	75 26                	jne    110004 <rtems_task_mode+0x114> <== NEVER TAKEN
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
  10ffde:	8b 15 9c 34 12 00    	mov    0x12349c,%edx                  
                                                                      
  if ( are_signals_pending ||                                         
  10ffe4:	84 c9                	test   %cl,%cl                        
  10ffe6:	75 0e                	jne    10fff6 <rtems_task_mode+0x106> 
  10ffe8:	3b 15 a0 34 12 00    	cmp    0x1234a0,%edx                  
  10ffee:	74 14                	je     110004 <rtems_task_mode+0x114> 
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
  10fff0:	80 7a 74 00          	cmpb   $0x0,0x74(%edx)                
  10fff4:	74 0e                	je     110004 <rtems_task_mode+0x114> <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
  10fff6:	c6 05 a8 34 12 00 01 	movb   $0x1,0x1234a8                  
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  10fffd:	e8 be be ff ff       	call   10bec0 <_Thread_Dispatch>      
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  110002:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110004:	83 c4 1c             	add    $0x1c,%esp                     
  110007:	5b                   	pop    %ebx                           
  110008:	5e                   	pop    %esi                           
  110009:	5f                   	pop    %edi                           
  11000a:	c9                   	leave                                 
  11000b:	c3                   	ret                                   
                                                                      

0010dd30 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
  10dd30:	55                   	push   %ebp                           
  10dd31:	89 e5                	mov    %esp,%ebp                      
  10dd33:	56                   	push   %esi                           
  10dd34:	53                   	push   %ebx                           
  10dd35:	83 ec 10             	sub    $0x10,%esp                     
  10dd38:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10dd3b:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10dd3e:	85 db                	test   %ebx,%ebx                      
  10dd40:	74 10                	je     10dd52 <rtems_task_set_priority+0x22>
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
  10dd42:	0f b6 15 54 35 12 00 	movzbl 0x123554,%edx                  
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
  10dd49:	b8 13 00 00 00       	mov    $0x13,%eax                     
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10dd4e:	39 d3                	cmp    %edx,%ebx                      
  10dd50:	77 52                	ja     10dda4 <rtems_task_set_priority+0x74>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
  10dd52:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
  10dd57:	85 f6                	test   %esi,%esi                      
  10dd59:	74 49                	je     10dda4 <rtems_task_set_priority+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10dd5b:	51                   	push   %ecx                           
  10dd5c:	51                   	push   %ecx                           
  10dd5d:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10dd60:	50                   	push   %eax                           
  10dd61:	ff 75 08             	pushl  0x8(%ebp)                      
  10dd64:	e8 1f 1d 00 00       	call   10fa88 <_Thread_Get>           
  switch ( location ) {                                               
  10dd69:	83 c4 10             	add    $0x10,%esp                     
  10dd6c:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10dd70:	75 2d                	jne    10dd9f <rtems_task_set_priority+0x6f>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
  10dd72:	8b 50 14             	mov    0x14(%eax),%edx                
  10dd75:	89 16                	mov    %edx,(%esi)                    
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
  10dd77:	85 db                	test   %ebx,%ebx                      
  10dd79:	74 1b                	je     10dd96 <rtems_task_set_priority+0x66>
        the_thread->real_priority = new_priority;                     
  10dd7b:	89 58 18             	mov    %ebx,0x18(%eax)                
        if ( the_thread->resource_count == 0 ||                       
  10dd7e:	83 78 1c 00          	cmpl   $0x0,0x1c(%eax)                
  10dd82:	74 05                	je     10dd89 <rtems_task_set_priority+0x59>
  10dd84:	39 58 14             	cmp    %ebx,0x14(%eax)                
  10dd87:	76 0d                	jbe    10dd96 <rtems_task_set_priority+0x66><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
  10dd89:	52                   	push   %edx                           
  10dd8a:	6a 00                	push   $0x0                           
  10dd8c:	53                   	push   %ebx                           
  10dd8d:	50                   	push   %eax                           
  10dd8e:	e8 8d 18 00 00       	call   10f620 <_Thread_Change_priority>
  10dd93:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  10dd96:	e8 cb 1c 00 00       	call   10fa66 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10dd9b:	31 c0                	xor    %eax,%eax                      
  10dd9d:	eb 05                	jmp    10dda4 <rtems_task_set_priority+0x74>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10dd9f:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10dda4:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10dda7:	5b                   	pop    %ebx                           
  10dda8:	5e                   	pop    %esi                           
  10dda9:	c9                   	leave                                 
  10ddaa:	c3                   	ret                                   
                                                                      

001163a0 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
  1163a0:	55                   	push   %ebp                           
  1163a1:	89 e5                	mov    %esp,%ebp                      
  1163a3:	83 ec 1c             	sub    $0x1c,%esp                     
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  1163a6:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
  1163a9:	50                   	push   %eax                           
  1163aa:	ff 75 08             	pushl  0x8(%ebp)                      
  1163ad:	68 10 c9 13 00       	push   $0x13c910                      
  1163b2:	e8 31 26 00 00       	call   1189e8 <_Objects_Get>          
  switch ( location ) {                                               
  1163b7:	83 c4 10             	add    $0x10,%esp                     
  1163ba:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  1163be:	75 1e                	jne    1163de <rtems_timer_cancel+0x3e>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
  1163c0:	83 78 38 04          	cmpl   $0x4,0x38(%eax)                
  1163c4:	74 0f                	je     1163d5 <rtems_timer_cancel+0x35><== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
  1163c6:	83 ec 0c             	sub    $0xc,%esp                      
  1163c9:	83 c0 10             	add    $0x10,%eax                     
  1163cc:	50                   	push   %eax                           
  1163cd:	e8 a6 3f 00 00       	call   11a378 <_Watchdog_Remove>      
  1163d2:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Enable_dispatch();                                      
  1163d5:	e8 c0 2f 00 00       	call   11939a <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1163da:	31 c0                	xor    %eax,%eax                      
  1163dc:	eb 05                	jmp    1163e3 <rtems_timer_cancel+0x43>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1163de:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1163e3:	c9                   	leave                                 
  1163e4:	c3                   	ret                                   
                                                                      

00116800 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  116800:	55                   	push   %ebp                           
  116801:	89 e5                	mov    %esp,%ebp                      
  116803:	57                   	push   %edi                           
  116804:	56                   	push   %esi                           
  116805:	53                   	push   %ebx                           
  116806:	83 ec 1c             	sub    $0x1c,%esp                     
  116809:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
  11680c:	8b 35 50 c9 13 00    	mov    0x13c950,%esi                  
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
  116812:	bb 0e 00 00 00       	mov    $0xe,%ebx                      
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
  116817:	85 f6                	test   %esi,%esi                      
  116819:	0f 84 b1 00 00 00    	je     1168d0 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
  11681f:	b3 0b                	mov    $0xb,%bl                       
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  116821:	80 3d 68 c6 13 00 00 	cmpb   $0x0,0x13c668                  
  116828:	0f 84 a2 00 00 00    	je     1168d0 <rtems_timer_server_fire_when+0xd0><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  11682e:	b3 09                	mov    $0x9,%bl                       
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
  116830:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  116834:	0f 84 96 00 00 00    	je     1168d0 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  11683a:	83 ec 0c             	sub    $0xc,%esp                      
  11683d:	57                   	push   %edi                           
  11683e:	e8 ad d6 ff ff       	call   113ef0 <_TOD_Validate>         
  116843:	83 c4 10             	add    $0x10,%esp                     
    return RTEMS_INVALID_CLOCK;                                       
  116846:	b3 14                	mov    $0x14,%bl                      
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  116848:	84 c0                	test   %al,%al                        
  11684a:	0f 84 80 00 00 00    	je     1168d0 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  116850:	83 ec 0c             	sub    $0xc,%esp                      
  116853:	57                   	push   %edi                           
  116854:	e8 2f d6 ff ff       	call   113e88 <_TOD_To_seconds>       
  116859:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  11685b:	83 c4 10             	add    $0x10,%esp                     
  11685e:	3b 05 00 c7 13 00    	cmp    0x13c700,%eax                  
  116864:	76 6a                	jbe    1168d0 <rtems_timer_server_fire_when+0xd0>
  116866:	51                   	push   %ecx                           
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  116867:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11686a:	50                   	push   %eax                           
  11686b:	ff 75 08             	pushl  0x8(%ebp)                      
  11686e:	68 10 c9 13 00       	push   $0x13c910                      
  116873:	e8 70 21 00 00       	call   1189e8 <_Objects_Get>          
  116878:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  11687a:	83 c4 10             	add    $0x10,%esp                     
  11687d:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  116881:	75 48                	jne    1168cb <rtems_timer_server_fire_when+0xcb>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  116883:	83 ec 0c             	sub    $0xc,%esp                      
  116886:	8d 40 10             	lea    0x10(%eax),%eax                
  116889:	50                   	push   %eax                           
  11688a:	e8 e9 3a 00 00       	call   11a378 <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
  11688f:	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;                        
  116896:	c7 43 18 00 00 00 00 	movl   $0x0,0x18(%ebx)                
  the_watchdog->routine   = routine;                                  
  11689d:	8b 45 10             	mov    0x10(%ebp),%eax                
  1168a0:	89 43 2c             	mov    %eax,0x2c(%ebx)                
  the_watchdog->id        = id;                                       
  1168a3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1168a6:	89 43 30             	mov    %eax,0x30(%ebx)                
  the_watchdog->user_data = user_data;                                
  1168a9:	8b 45 14             	mov    0x14(%ebp),%eax                
  1168ac:	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();
  1168af:	2b 3d 00 c7 13 00    	sub    0x13c700,%edi                  
  1168b5:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  1168b8:	58                   	pop    %eax                           
  1168b9:	5a                   	pop    %edx                           
  1168ba:	53                   	push   %ebx                           
  1168bb:	56                   	push   %esi                           
  1168bc:	ff 56 04             	call   *0x4(%esi)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  1168bf:	e8 d6 2a 00 00       	call   11939a <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1168c4:	83 c4 10             	add    $0x10,%esp                     
  1168c7:	31 db                	xor    %ebx,%ebx                      
  1168c9:	eb 05                	jmp    1168d0 <rtems_timer_server_fire_when+0xd0>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1168cb:	bb 04 00 00 00       	mov    $0x4,%ebx                      
}                                                                     
  1168d0:	89 d8                	mov    %ebx,%eax                      
  1168d2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1168d5:	5b                   	pop    %ebx                           
  1168d6:	5e                   	pop    %esi                           
  1168d7:	5f                   	pop    %edi                           
  1168d8:	c9                   	leave                                 
  1168d9:	c3                   	ret