RTEMS 4.11
Annotated Report
Fri Feb 18 18:28:25 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 10 24 00 00       	call   119784 <_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 7e 26 00 00       	call   11489e <_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 3b 40 00 00       	call   116274 <_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 96 1e 00 00       	call   1140fc <_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 4c cb 12 00    	mov    0x12cb4c,%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 4c cb 12 00    	mov    0x12cb4c,%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 ac 41 11 00 	movl   $0x1141ac,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 7c 1b 00 00       	jmp    113ed0 <_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 00 45 12 00       	mov    0x124500,%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 5c 46 12 00 01 	cmpl   $0x1,0x12465c                  
  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 41 3d 00 00       	call   10e8fc <_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 1c 47 12 00       	mov    0x12471c,%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 1c 47 12 00       	mov    0x12471c,%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 00 45 12 00       	mov    0x124500,%eax                  
  10abf5:	40                   	inc    %eax                           
  10abf6:	a3 00 45 12 00       	mov    %eax,0x124500                  
  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                                   
                                                                      

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 9c 16 00 00       	call   10c3e4 <_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 18 47 12 00 00 	cmpl   $0x0,0x124718                  
  109d81:	74 49                	je     109dcc <_Event_Surrender+0x80> 
  109d83:	3b 1d 1c 47 12 00    	cmp    0x12471c,%ebx                  
  109d89:	75 41                	jne    109dcc <_Event_Surrender+0x80> 
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
  109d8b:	8b 0d 50 47 12 00    	mov    0x124750,%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 50 47 12 00    	mov    0x124750,%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 50 47 12 00 03 	movl   $0x3,0x124750                  
  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 8f 2f 00 00       	call   10cda4 <_Watchdog_Remove>      
  109e15:	58                   	pop    %eax                           
  109e16:	5a                   	pop    %edx                           
  109e17:	68 f8 ff 03 10       	push   $0x1003fff8                    
  109e1c:	53                   	push   %ebx                           
  109e1d:	e8 96 1f 00 00       	call   10bdb8 <_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 aa 22 00 00       	call   10c0f0 <_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 1c 47 12 00    	cmp    0x12471c,%eax                  
  109e5f:	75 13                	jne    109e74 <_Event_Timeout+0x40>   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
  109e61:	8b 0d 50 47 12 00    	mov    0x124750,%ecx                  
  109e67:	49                   	dec    %ecx                           
  109e68:	75 0a                	jne    109e74 <_Event_Timeout+0x40>   
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
  109e6a:	c7 05 50 47 12 00 02 	movl   $0x2,0x124750                  
  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 2e 1f 00 00       	call   10bdb8 <_Thread_Clear_state>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  109e8a:	a1 00 45 12 00       	mov    0x124500,%eax                  
  109e8f:	48                   	dec    %eax                           
  109e90:	a3 00 45 12 00       	mov    %eax,0x124500                  
      _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                                   
                                                                      

0010ef43 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
  10ef43:	55                   	push   %ebp                           
  10ef44:	89 e5                	mov    %esp,%ebp                      
  10ef46:	57                   	push   %edi                           
  10ef47:	56                   	push   %esi                           
  10ef48:	53                   	push   %ebx                           
  10ef49:	83 ec 4c             	sub    $0x4c,%esp                     
  10ef4c:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10ef4f:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
  10ef52:	8b 43 20             	mov    0x20(%ebx),%eax                
  10ef55:	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;                              
  10ef58:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  Heap_Block *extend_last_block = NULL;                               
  10ef5f:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  uintptr_t const page_size = heap->page_size;                        
  10ef66:	8b 53 10             	mov    0x10(%ebx),%edx                
  10ef69:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  10ef6c:	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;                       
  10ef6f:	8b 7b 30             	mov    0x30(%ebx),%edi                
  10ef72:	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;                                                     
  10ef75:	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 ) {                        
  10ef77:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10ef7a:	01 cf                	add    %ecx,%edi                      
  10ef7c:	0f 82 d4 01 00 00    	jb     10f156 <_Heap_Extend+0x213>    
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
  10ef82:	52                   	push   %edx                           
  10ef83:	52                   	push   %edx                           
  10ef84:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10ef87:	52                   	push   %edx                           
  10ef88:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  10ef8b:	52                   	push   %edx                           
  10ef8c:	50                   	push   %eax                           
  10ef8d:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10ef90:	51                   	push   %ecx                           
  10ef91:	ff 75 0c             	pushl  0xc(%ebp)                      
  10ef94:	e8 12 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 ) {                                             
  10ef99:	83 c4 20             	add    $0x20,%esp                     
  10ef9c:	84 c0                	test   %al,%al                        
  10ef9e:	0f 84 b2 01 00 00    	je     10f156 <_Heap_Extend+0x213>    
  10efa4:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10efa7:	c7 45 cc 00 00 00 00 	movl   $0x0,-0x34(%ebp)               
  10efae:	c7 45 c8 00 00 00 00 	movl   $0x0,-0x38(%ebp)               
  10efb5:	31 f6                	xor    %esi,%esi                      
  10efb7:	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;                     
  10efbe:	8b 43 18             	mov    0x18(%ebx),%eax                
  10efc1:	89 5d b8             	mov    %ebx,-0x48(%ebp)               
  10efc4:	eb 02                	jmp    10efc8 <_Heap_Extend+0x85>     
  10efc6:	89 c8                	mov    %ecx,%eax                      
    uintptr_t const sub_area_end = start_block->prev_size;            
  10efc8:	8b 19                	mov    (%ecx),%ebx                    
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
  10efca:	39 c7                	cmp    %eax,%edi                      
  10efcc:	76 09                	jbe    10efd7 <_Heap_Extend+0x94>     
  10efce:	39 5d 0c             	cmp    %ebx,0xc(%ebp)                 
  10efd1:	0f 82 7d 01 00 00    	jb     10f154 <_Heap_Extend+0x211>    
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  10efd7:	39 c7                	cmp    %eax,%edi                      
  10efd9:	74 06                	je     10efe1 <_Heap_Extend+0x9e>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  10efdb:	39 df                	cmp    %ebx,%edi                      
  10efdd:	72 07                	jb     10efe6 <_Heap_Extend+0xa3>     
  10efdf:	eb 08                	jmp    10efe9 <_Heap_Extend+0xa6>     
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  10efe1:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  10efe4:	eb 03                	jmp    10efe9 <_Heap_Extend+0xa6>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  10efe6:	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);                                 
  10efe9:	8d 43 f8             	lea    -0x8(%ebx),%eax                
  10efec:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10efef:	89 d8                	mov    %ebx,%eax                      
  10eff1:	31 d2                	xor    %edx,%edx                      
  10eff3:	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);                                        
  10eff6:	29 55 d4             	sub    %edx,-0x2c(%ebp)               
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
  10eff9:	3b 5d 0c             	cmp    0xc(%ebp),%ebx                 
  10effc:	75 07                	jne    10f005 <_Heap_Extend+0xc2>     
      start_block->prev_size = extend_area_end;                       
  10effe:	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 )   
  10f000:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  10f003:	eb 08                	jmp    10f00d <_Heap_Extend+0xca>     
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
  10f005:	73 06                	jae    10f00d <_Heap_Extend+0xca>     
  10f007:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10f00a:	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;                
  10f00d:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10f010:	8b 48 04             	mov    0x4(%eax),%ecx                 
  10f013:	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);                 
  10f016:	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 );                             
  10f018:	3b 4d c0             	cmp    -0x40(%ebp),%ecx               
  10f01b:	75 a9                	jne    10efc6 <_Heap_Extend+0x83>     
  10f01d:	8b 5d b8             	mov    -0x48(%ebp),%ebx               
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
  10f020:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10f023:	3b 53 18             	cmp    0x18(%ebx),%edx                
  10f026:	73 05                	jae    10f02d <_Heap_Extend+0xea>     
    heap->area_begin = extend_area_begin;                             
  10f028:	89 53 18             	mov    %edx,0x18(%ebx)                
  10f02b:	eb 08                	jmp    10f035 <_Heap_Extend+0xf2>     
  } else if ( heap->area_end < extend_area_end ) {                    
  10f02d:	39 7b 1c             	cmp    %edi,0x1c(%ebx)                
  10f030:	73 03                	jae    10f035 <_Heap_Extend+0xf2>     
    heap->area_end = extend_area_end;                                 
  10f032:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
  10f035:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10f038:	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 =                                           
  10f03b:	89 c1                	mov    %eax,%ecx                      
  10f03d:	29 d1                	sub    %edx,%ecx                      
  10f03f:	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;                    
  10f042:	89 3a                	mov    %edi,(%edx)                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  10f044:	83 c9 01             	or     $0x1,%ecx                      
  10f047:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  10f04a:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  10f04d:	89 08                	mov    %ecx,(%eax)                    
  extend_last_block->size_and_flag = 0;                               
  10f04f:	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 ) {
  10f056:	39 53 20             	cmp    %edx,0x20(%ebx)                
  10f059:	76 05                	jbe    10f060 <_Heap_Extend+0x11d>    
    heap->first_block = extend_first_block;                           
  10f05b:	89 53 20             	mov    %edx,0x20(%ebx)                
  10f05e:	eb 08                	jmp    10f068 <_Heap_Extend+0x125>    
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
  10f060:	39 43 24             	cmp    %eax,0x24(%ebx)                
  10f063:	73 03                	jae    10f068 <_Heap_Extend+0x125>    
    heap->last_block = extend_last_block;                             
  10f065:	89 43 24             	mov    %eax,0x24(%ebx)                
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
  10f068:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  10f06c:	74 3b                	je     10f0a9 <_Heap_Extend+0x166>    
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10f06e:	8b 43 10             	mov    0x10(%ebx),%eax                
  10f071:	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 );
  10f074:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10f077:	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;                            
  10f07a:	89 c8                	mov    %ecx,%eax                      
  10f07c:	31 d2                	xor    %edx,%edx                      
  10f07e:	f7 75 d4             	divl   -0x2c(%ebp)                    
                                                                      
  if ( remainder != 0 ) {                                             
  10f081:	85 d2                	test   %edx,%edx                      
  10f083:	74 05                	je     10f08a <_Heap_Extend+0x147>    <== ALWAYS TAKEN
    return value - remainder + alignment;                             
  10f085:	03 4d d4             	add    -0x2c(%ebp),%ecx               <== NOT EXECUTED
  10f088:	29 d1                	sub    %edx,%ecx                      <== NOT EXECUTED
  uintptr_t const new_first_block_begin =                             
  10f08a:	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;                
  10f08d:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10f090:	8b 00                	mov    (%eax),%eax                    
  10f092:	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 =                              
  10f095:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10f098:	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;
  10f09a:	83 c8 01             	or     $0x1,%eax                      
  10f09d:	89 42 04             	mov    %eax,0x4(%edx)                 
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
  10f0a0:	89 d8                	mov    %ebx,%eax                      
  10f0a2:	e8 81 fe ff ff       	call   10ef28 <_Heap_Free_block>      
  10f0a7:	eb 14                	jmp    10f0bd <_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 ) {                            
  10f0a9:	83 7d c8 00          	cmpl   $0x0,-0x38(%ebp)               
  10f0ad:	74 0e                	je     10f0bd <_Heap_Extend+0x17a>    
    _Heap_Link_below(                                                 
  10f0af:	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;           
  10f0b2:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10f0b5:	29 d0                	sub    %edx,%eax                      
  10f0b7:	83 c8 01             	or     $0x1,%eax                      
  10f0ba:	89 42 04             	mov    %eax,0x4(%edx)                 
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
  10f0bd:	85 f6                	test   %esi,%esi                      
  10f0bf:	74 30                	je     10f0f1 <_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,      
  10f0c1:	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(             
  10f0c4:	29 f7                	sub    %esi,%edi                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10f0c6:	89 f8                	mov    %edi,%eax                      
  10f0c8:	31 d2                	xor    %edx,%edx                      
  10f0ca:	f7 73 10             	divl   0x10(%ebx)                     
  10f0cd:	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)                 
  10f0cf:	8b 46 04             	mov    0x4(%esi),%eax                 
  10f0d2:	29 f8                	sub    %edi,%eax                      
      | HEAP_PREV_BLOCK_USED;                                         
  10f0d4:	83 c8 01             	or     $0x1,%eax                      
  10f0d7:	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;       
  10f0db:	8b 46 04             	mov    0x4(%esi),%eax                 
  10f0de:	83 e0 01             	and    $0x1,%eax                      
                                                                      
  block->size_and_flag = size | flag;                                 
  10f0e1:	09 f8                	or     %edi,%eax                      
  10f0e3:	89 46 04             	mov    %eax,0x4(%esi)                 
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
  10f0e6:	89 f2                	mov    %esi,%edx                      
  10f0e8:	89 d8                	mov    %ebx,%eax                      
  10f0ea:	e8 39 fe ff ff       	call   10ef28 <_Heap_Free_block>      
  10f0ef:	eb 21                	jmp    10f112 <_Heap_Extend+0x1cf>    
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
  10f0f1:	83 7d cc 00          	cmpl   $0x0,-0x34(%ebp)               
  10f0f5:	74 1b                	je     10f112 <_Heap_Extend+0x1cf>    
    _Heap_Link_above(                                                 
  10f0f7:	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 );       
  10f0fa:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f0fd:	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;       
  10f100:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  10f103:	8b 57 04             	mov    0x4(%edi),%edx                 
  10f106:	83 e2 01             	and    $0x1,%edx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  10f109:	09 d0                	or     %edx,%eax                      
  10f10b:	89 47 04             	mov    %eax,0x4(%edi)                 
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
  10f10e:	83 49 04 01          	orl    $0x1,0x4(%ecx)                 
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
  10f112:	85 f6                	test   %esi,%esi                      
  10f114:	75 10                	jne    10f126 <_Heap_Extend+0x1e3>    
  10f116:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  10f11a:	75 0a                	jne    10f126 <_Heap_Extend+0x1e3>    
    _Heap_Free_block( heap, extend_first_block );                     
  10f11c:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10f11f:	89 d8                	mov    %ebx,%eax                      
  10f121:	e8 02 fe ff ff       	call   10ef28 <_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      
  10f126:	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(                                               
  10f129:	8b 43 20             	mov    0x20(%ebx),%eax                
  10f12c:	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;       
  10f12e:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  10f131:	83 e1 01             	and    $0x1,%ecx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  10f134:	09 c8                	or     %ecx,%eax                      
  10f136:	89 42 04             	mov    %eax,0x4(%edx)                 
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
  10f139:	8b 43 30             	mov    0x30(%ebx),%eax                
  10f13c:	2b 45 bc             	sub    -0x44(%ebp),%eax               
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
  10f13f:	01 43 2c             	add    %eax,0x2c(%ebx)                
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
  10f142:	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 )                                    
  10f147:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10f14b:	74 09                	je     10f156 <_Heap_Extend+0x213>    <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
  10f14d:	8b 55 14             	mov    0x14(%ebp),%edx                
  10f150:	89 02                	mov    %eax,(%edx)                    
  10f152:	eb 02                	jmp    10f156 <_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;                                                   
  10f154:	31 f6                	xor    %esi,%esi                      
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
  10f156:	89 f0                	mov    %esi,%eax                      
  10f158:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f15b:	5b                   	pop    %ebx                           
  10f15c:	5e                   	pop    %esi                           
  10f15d:	5f                   	pop    %edi                           
  10f15e:	c9                   	leave                                 
  10f15f:	c3                   	ret                                   
                                                                      

0010eb88 <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
  10eb88:	55                   	push   %ebp                           
  10eb89:	89 e5                	mov    %esp,%ebp                      
  10eb8b:	57                   	push   %edi                           
  10eb8c:	56                   	push   %esi                           
  10eb8d:	53                   	push   %ebx                           
  10eb8e:	83 ec 14             	sub    $0x14,%esp                     
  10eb91:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10eb94:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10eb97:	8d 58 f8             	lea    -0x8(%eax),%ebx                
  10eb9a:	31 d2                	xor    %edx,%edx                      
  10eb9c:	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);                                        
  10eb9f:	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           
  10eba1:	8b 41 20             	mov    0x20(%ecx),%eax                
  10eba4:	89 45 ec             	mov    %eax,-0x14(%ebp)               
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  10eba7:	31 d2                	xor    %edx,%edx                      
  10eba9:	39 c3                	cmp    %eax,%ebx                      
  10ebab:	72 08                	jb     10ebb5 <_Heap_Free+0x2d>       
  10ebad:	31 d2                	xor    %edx,%edx                      
  10ebaf:	39 59 24             	cmp    %ebx,0x24(%ecx)                
  10ebb2:	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;                                                     
  10ebb5:	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 ) ) {                     
  10ebb7:	85 d2                	test   %edx,%edx                      
  10ebb9:	0f 84 21 01 00 00    	je     10ece0 <_Heap_Free+0x158>      
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10ebbf:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10ebc2:	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;                
  10ebc5:	89 c6                	mov    %eax,%esi                      
  10ebc7:	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);                 
  10ebca:	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;             
  10ebcd:	31 ff                	xor    %edi,%edi                      
  10ebcf:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10ebd2:	72 0a                	jb     10ebde <_Heap_Free+0x56>       <== NEVER TAKEN
  10ebd4:	31 c0                	xor    %eax,%eax                      
  10ebd6:	39 51 24             	cmp    %edx,0x24(%ecx)                
  10ebd9:	0f 93 c0             	setae  %al                            
  10ebdc:	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;                                                     
  10ebde:	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 ) ) {                
  10ebe0:	85 ff                	test   %edi,%edi                      
  10ebe2:	0f 84 f8 00 00 00    	je     10ece0 <_Heap_Free+0x158>      <== NEVER TAKEN
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10ebe8:	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 ) ) {                          
  10ebeb:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  10ebf1:	0f 84 e9 00 00 00    	je     10ece0 <_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;                
  10ebf7:	83 e7 fe             	and    $0xfffffffe,%edi               
  10ebfa:	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                       
  10ebfd:	8b 41 24             	mov    0x24(%ecx),%eax                
  10ec00:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
  10ec03:	31 c0                	xor    %eax,%eax                      
  10ec05:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10ec08:	74 0a                	je     10ec14 <_Heap_Free+0x8c>       
  10ec0a:	31 c0                	xor    %eax,%eax                      
  10ec0c:	f6 44 3a 04 01       	testb  $0x1,0x4(%edx,%edi,1)          
  10ec11:	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                       
  10ec14:	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 ) ) {                               
  10ec17:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)               
  10ec1b:	75 62                	jne    10ec7f <_Heap_Free+0xf7>       
    uintptr_t const prev_size = block->prev_size;                     
  10ec1d:	8b 03                	mov    (%ebx),%eax                    
  10ec1f:	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);                 
  10ec22:	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;             
  10ec24:	31 ff                	xor    %edi,%edi                      
  10ec26:	3b 5d ec             	cmp    -0x14(%ebp),%ebx               
  10ec29:	72 0a                	jb     10ec35 <_Heap_Free+0xad>       <== NEVER TAKEN
  10ec2b:	31 c0                	xor    %eax,%eax                      
  10ec2d:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)               
  10ec30:	0f 93 c0             	setae  %al                            
  10ec33:	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 );                                                
  10ec35:	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 ) ) {              
  10ec37:	85 ff                	test   %edi,%edi                      
  10ec39:	0f 84 a1 00 00 00    	je     10ece0 <_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) ) {                        
  10ec3f:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10ec43:	0f 84 97 00 00 00    	je     10ece0 <_Heap_Free+0x158>      <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
  10ec49:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10ec4d:	74 1a                	je     10ec69 <_Heap_Free+0xe1>       
      uintptr_t const size = block_size + prev_size + next_block_size;
  10ec4f:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10ec52:	8d 04 06             	lea    (%esi,%eax,1),%eax             
  10ec55:	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;                                     
  10ec58:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = block->prev;                                     
  10ec5b:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  prev->next = next;                                                  
  10ec5e:	89 7a 08             	mov    %edi,0x8(%edx)                 
  next->prev = prev;                                                  
  10ec61:	89 57 0c             	mov    %edx,0xc(%edi)                 
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
  10ec64:	ff 49 38             	decl   0x38(%ecx)                     
  10ec67:	eb 33                	jmp    10ec9c <_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;                  
  10ec69:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  10ec6c:	8d 04 06             	lea    (%esi,%eax,1),%eax             
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  10ec6f:	89 c7                	mov    %eax,%edi                      
  10ec71:	83 cf 01             	or     $0x1,%edi                      
  10ec74:	89 7b 04             	mov    %edi,0x4(%ebx)                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
  10ec77:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
      next_block->prev_size = size;                                   
  10ec7b:	89 02                	mov    %eax,(%edx)                    
  10ec7d:	eb 56                	jmp    10ecd5 <_Heap_Free+0x14d>      
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
  10ec7f:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10ec83:	74 24                	je     10eca9 <_Heap_Free+0x121>      
    uintptr_t const size = block_size + next_block_size;              
  10ec85:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10ec88:	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;                                 
  10ec8a:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = old_block->prev;                                 
  10ec8d:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  new_block->next = next;                                             
  10ec90:	89 7b 08             	mov    %edi,0x8(%ebx)                 
  new_block->prev = prev;                                             
  10ec93:	89 53 0c             	mov    %edx,0xc(%ebx)                 
                                                                      
  next->prev = new_block;                                             
  10ec96:	89 5f 0c             	mov    %ebx,0xc(%edi)                 
  prev->next = new_block;                                             
  10ec99:	89 5a 08             	mov    %ebx,0x8(%edx)                 
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
  10ec9c:	89 c2                	mov    %eax,%edx                      
  10ec9e:	83 ca 01             	or     $0x1,%edx                      
  10eca1:	89 53 04             	mov    %edx,0x4(%ebx)                 
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
  10eca4:	89 04 03             	mov    %eax,(%ebx,%eax,1)             
  10eca7:	eb 2c                	jmp    10ecd5 <_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;                              
  10eca9:	8b 41 08             	mov    0x8(%ecx),%eax                 
                                                                      
  new_block->next = next;                                             
  10ecac:	89 43 08             	mov    %eax,0x8(%ebx)                 
  new_block->prev = block_before;                                     
  10ecaf:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  block_before->next = new_block;                                     
  10ecb2:	89 59 08             	mov    %ebx,0x8(%ecx)                 
  next->prev = new_block;                                             
  10ecb5:	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;         
  10ecb8:	89 f0                	mov    %esi,%eax                      
  10ecba:	83 c8 01             	or     $0x1,%eax                      
  10ecbd:	89 43 04             	mov    %eax,0x4(%ebx)                 
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  10ecc0:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
    next_block->prev_size = block_size;                               
  10ecc4:	89 32                	mov    %esi,(%edx)                    
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
  10ecc6:	8b 41 38             	mov    0x38(%ecx),%eax                
  10ecc9:	40                   	inc    %eax                           
  10ecca:	89 41 38             	mov    %eax,0x38(%ecx)                
    if ( stats->max_free_blocks < stats->free_blocks ) {              
  10eccd:	39 41 3c             	cmp    %eax,0x3c(%ecx)                
  10ecd0:	73 03                	jae    10ecd5 <_Heap_Free+0x14d>      
      stats->max_free_blocks = stats->free_blocks;                    
  10ecd2:	89 41 3c             	mov    %eax,0x3c(%ecx)                
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  10ecd5:	ff 49 40             	decl   0x40(%ecx)                     
  ++stats->frees;                                                     
  10ecd8:	ff 41 50             	incl   0x50(%ecx)                     
  stats->free_size += block_size;                                     
  10ecdb:	01 71 30             	add    %esi,0x30(%ecx)                
                                                                      
  return( true );                                                     
  10ecde:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10ece0:	83 c4 14             	add    $0x14,%esp                     
  10ece3:	5b                   	pop    %ebx                           
  10ece4:	5e                   	pop    %esi                           
  10ece5:	5f                   	pop    %edi                           
  10ece6:	c9                   	leave                                 
  10ece7:	c3                   	ret                                   
                                                                      

0011c580 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
  11c580:	55                   	push   %ebp                           
  11c581:	89 e5                	mov    %esp,%ebp                      
  11c583:	57                   	push   %edi                           
  11c584:	56                   	push   %esi                           
  11c585:	53                   	push   %ebx                           
  11c586:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11c589:	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);                                 
  11c58c:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  11c58f:	89 f0                	mov    %esi,%eax                      
  11c591:	31 d2                	xor    %edx,%edx                      
  11c593:	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);                                        
  11c596:	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           
  11c598:	8b 53 20             	mov    0x20(%ebx),%edx                
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  11c59b:	31 ff                	xor    %edi,%edi                      
  11c59d:	39 d1                	cmp    %edx,%ecx                      
  11c59f:	72 0a                	jb     11c5ab <_Heap_Size_of_alloc_area+0x2b>
  11c5a1:	31 c0                	xor    %eax,%eax                      
  11c5a3:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11c5a6:	0f 93 c0             	setae  %al                            
  11c5a9:	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;                                                     
  11c5ab:	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 ) ) {                     
  11c5ad:	85 ff                	test   %edi,%edi                      
  11c5af:	74 30                	je     11c5e1 <_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;                
  11c5b1:	8b 41 04             	mov    0x4(%ecx),%eax                 
  11c5b4:	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);                 
  11c5b7:	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;             
  11c5b9:	31 ff                	xor    %edi,%edi                      
  11c5bb:	39 d1                	cmp    %edx,%ecx                      
  11c5bd:	72 0a                	jb     11c5c9 <_Heap_Size_of_alloc_area+0x49><== NEVER TAKEN
  11c5bf:	31 c0                	xor    %eax,%eax                      
  11c5c1:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11c5c4:	0f 93 c0             	setae  %al                            
  11c5c7:	89 c7                	mov    %eax,%edi                      
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  11c5c9:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
  11c5cb:	85 ff                	test   %edi,%edi                      
  11c5cd:	74 12                	je     11c5e1 <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  11c5cf:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  11c5d3:	74 0c                	je     11c5e1 <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
  11c5d5:	29 f1                	sub    %esi,%ecx                      
  11c5d7:	8d 51 04             	lea    0x4(%ecx),%edx                 
  11c5da:	8b 45 10             	mov    0x10(%ebp),%eax                
  11c5dd:	89 10                	mov    %edx,(%eax)                    
                                                                      
  return true;                                                        
  11c5df:	b0 01                	mov    $0x1,%al                       
}                                                                     
  11c5e1:	5b                   	pop    %ebx                           
  11c5e2:	5e                   	pop    %esi                           
  11c5e3:	5f                   	pop    %edi                           
  11c5e4:	c9                   	leave                                 
  11c5e5:	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 44 6a 12 00 03 	cmpl   $0x3,0x126a44                  
  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 d5 f0 11 00       	push   $0x11f0d5                      
  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 66 f1 11 00       	push   $0x11f166                      
  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 79 f1 11 00       	push   $0x11f179                      
  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 97 f1 11 00       	push   $0x11f197                      
  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 bb f1 11 00       	push   $0x11f1bb                      
  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 ec f1 11 00       	push   $0x11f1ec                      
  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 1a f2 11 00       	push   $0x11f21a                      
  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 2f f2 11 00       	push   $0x11f22f                      <== 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 5e f2 11 00       	push   $0x11f25e                      
  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 7e f2 11 00       	push   $0x11f27e                      
  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 ae f2 11 00       	push   $0x11f2ae                      
  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 ca f2 11 00       	push   $0x11f2ca                      
  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 fc f2 11 00       	push   $0x11f2fc                      
  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 29 f3 11 00       	push   $0x11f329                      
  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 57 f3 11 00       	push   $0x11f357                      
  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 82 f3 11 00       	push   $0x11f382                      
  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 a2 f0 11 00       	mov    $0x11f0a2,%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 ed ef 11 00       	mov    $0x11efed,%edx                 
  10bdc2:	39 f1                	cmp    %esi,%ecx                      
  10bdc4:	75 05                	jne    10bdcb <_Heap_Walk+0x265>      
  10bdc6:	ba b1 f0 11 00       	mov    $0x11f0b1,%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 bb f0 11 00       	mov    $0x11f0bb,%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 ed ef 11 00       	mov    $0x11efed,%eax                 
  10bde3:	39 75 cc             	cmp    %esi,-0x34(%ebp)               
  10bde6:	75 05                	jne    10bded <_Heap_Walk+0x287>      
  10bde8:	b8 cb f0 11 00       	mov    $0x11f0cb,%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 b6 f3 11 00       	push   $0x11f3b6                      
  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 eb f3 11 00       	push   $0x11f3eb                      
  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 24 f4 11 00       	push   $0x11f424                      
  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 8f f4 11 00       	push   $0x11f48f                      
  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 53 f4 11 00       	push   $0x11f453                      
  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 6a f4 11 00       	push   $0x11f46a                      
  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 98 45 12 00       	mov    %eax,0x124598                  
  _Internal_errors_What_happened.is_internal = is_internal;           
  10b19d:	88 15 9c 45 12 00    	mov    %dl,0x12459c                   
  _Internal_errors_What_happened.the_error   = the_error;             
  10b1a3:	89 1d a0 45 12 00    	mov    %ebx,0x1245a0                  
                                                                      
  _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 af 19 00 00       	call   10cb63 <_User_extensions_Fatal>
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
  10b1b4:	c7 05 5c 46 12 00 05 	movl   $0x5,0x12465c                  <== 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                                   
                                                                      

0010b59c <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
  10b59c:	55                   	push   %ebp                           
  10b59d:	89 e5                	mov    %esp,%ebp                      
  10b59f:	57                   	push   %edi                           
  10b5a0:	56                   	push   %esi                           
  10b5a1:	53                   	push   %ebx                           
  10b5a2:	83 ec 0c             	sub    $0xc,%esp                      
  10b5a5:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b5a8:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
  10b5ab:	31 db                	xor    %ebx,%ebx                      
)                                                                     
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
  10b5ad:	66 85 ff             	test   %di,%di                        
  10b5b0:	74 37                	je     10b5e9 <_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 );      
  10b5b2:	83 ec 0c             	sub    $0xc,%esp                      
  10b5b5:	56                   	push   %esi                           
  10b5b6:	e8 2d 37 00 00       	call   10ece8 <_Objects_API_maximum_class>
  if ( the_class_api_maximum == 0 )                                   
  10b5bb:	83 c4 10             	add    $0x10,%esp                     
  10b5be:	85 c0                	test   %eax,%eax                      
  10b5c0:	74 27                	je     10b5e9 <_Objects_Get_information+0x4d>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
  10b5c2:	0f b7 ff             	movzwl %di,%edi                       
  10b5c5:	39 c7                	cmp    %eax,%edi                      
  10b5c7:	77 20                	ja     10b5e9 <_Objects_Get_information+0x4d>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10b5c9:	8b 04 b5 d8 44 12 00 	mov    0x1244d8(,%esi,4),%eax         
  10b5d0:	85 c0                	test   %eax,%eax                      
  10b5d2:	74 15                	je     10b5e9 <_Objects_Get_information+0x4d><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
  10b5d4:	8b 1c b8             	mov    (%eax,%edi,4),%ebx             
  if ( !info )                                                        
  10b5d7:	85 db                	test   %ebx,%ebx                      
  10b5d9:	74 0e                	je     10b5e9 <_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;                                                    
  10b5db:	31 c0                	xor    %eax,%eax                      
  10b5dd:	66 83 7b 10 00       	cmpw   $0x0,0x10(%ebx)                
  10b5e2:	0f 95 c0             	setne  %al                            
  10b5e5:	f7 d8                	neg    %eax                           
  10b5e7:	21 c3                	and    %eax,%ebx                      
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
  10b5e9:	89 d8                	mov    %ebx,%eax                      
  10b5eb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b5ee:	5b                   	pop    %ebx                           
  10b5ef:	5e                   	pop    %esi                           
  10b5f0:	5f                   	pop    %edi                           
  10b5f1:	c9                   	leave                                 
  10b5f2:	c3                   	ret                                   
                                                                      

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

0010c7b8 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
  10c7b8:	55                   	push   %ebp                           
  10c7b9:	89 e5                	mov    %esp,%ebp                      
  10c7bb:	53                   	push   %ebx                           
  10c7bc:	83 ec 14             	sub    $0x14,%esp                     
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10c7bf:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c7c2:	85 c0                	test   %eax,%eax                      
  10c7c4:	75 08                	jne    10c7ce <_Objects_Id_to_name+0x16>
  10c7c6:	a1 68 6d 12 00       	mov    0x126d68,%eax                  
  10c7cb:	8b 40 08             	mov    0x8(%eax),%eax                 
  10c7ce:	89 c2                	mov    %eax,%edx                      
  10c7d0:	c1 ea 18             	shr    $0x18,%edx                     
  10c7d3:	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 )                      
  10c7d6:	8d 4a ff             	lea    -0x1(%edx),%ecx                
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
  10c7d9:	bb 03 00 00 00       	mov    $0x3,%ebx                      
  10c7de:	83 f9 02             	cmp    $0x2,%ecx                      
  10c7e1:	77 30                	ja     10c813 <_Objects_Id_to_name+0x5b>
  10c7e3:	eb 35                	jmp    10c81a <_Objects_Id_to_name+0x62>
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10c7e5:	89 c1                	mov    %eax,%ecx                      
  10c7e7:	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 ];   
  10c7ea:	8b 14 8a             	mov    (%edx,%ecx,4),%edx             
  if ( !information )                                                 
  10c7ed:	85 d2                	test   %edx,%edx                      
  10c7ef:	74 22                	je     10c813 <_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 ); 
  10c7f1:	51                   	push   %ecx                           
  10c7f2:	8d 4d f4             	lea    -0xc(%ebp),%ecx                
  10c7f5:	51                   	push   %ecx                           
  10c7f6:	50                   	push   %eax                           
  10c7f7:	52                   	push   %edx                           
  10c7f8:	e8 63 ff ff ff       	call   10c760 <_Objects_Get>          
  if ( !the_object )                                                  
  10c7fd:	83 c4 10             	add    $0x10,%esp                     
  10c800:	85 c0                	test   %eax,%eax                      
  10c802:	74 0f                	je     10c813 <_Objects_Id_to_name+0x5b>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  10c804:	8b 50 0c             	mov    0xc(%eax),%edx                 
  10c807:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c80a:	89 10                	mov    %edx,(%eax)                    
  _Thread_Enable_dispatch();                                          
  10c80c:	e8 49 0a 00 00       	call   10d25a <_Thread_Enable_dispatch>
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
  10c811:	31 db                	xor    %ebx,%ebx                      
}                                                                     
  10c813:	89 d8                	mov    %ebx,%eax                      
  10c815:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c818:	c9                   	leave                                 
  10c819:	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 ] )                       
  10c81a:	8b 14 95 24 6b 12 00 	mov    0x126b24(,%edx,4),%edx         
  10c821:	85 d2                	test   %edx,%edx                      
  10c823:	75 c0                	jne    10c7e5 <_Objects_Id_to_name+0x2d>
  10c825:	eb ec                	jmp    10c813 <_Objects_Id_to_name+0x5b>
                                                                      

0010b69c <_Objects_Initialize_information>: , bool supports_global, Objects_Thread_queue_Extract_callout extract #endif ) {
  10b69c:	55                   	push   %ebp                           
  10b69d:	89 e5                	mov    %esp,%ebp                      
  10b69f:	57                   	push   %edi                           
  10b6a0:	56                   	push   %esi                           
  10b6a1:	53                   	push   %ebx                           
  10b6a2:	83 ec 0c             	sub    $0xc,%esp                      
  10b6a5:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b6a8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10b6ab:	8b 75 10             	mov    0x10(%ebp),%esi                
  10b6ae:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10b6b1:	8b 7d 20             	mov    0x20(%ebp),%edi                
  10b6b4:	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;                          
  10b6b8:	89 18                	mov    %ebx,(%eax)                    
  information->the_class          = the_class;                        
  10b6ba:	66 89 70 04          	mov    %si,0x4(%eax)                  
  information->size               = size;                             
  10b6be:	89 50 18             	mov    %edx,0x18(%eax)                
  information->local_table        = 0;                                
  10b6c1:	c7 40 1c 00 00 00 00 	movl   $0x0,0x1c(%eax)                
  information->inactive_per_block = 0;                                
  10b6c8:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  information->object_blocks      = 0;                                
  10b6cf:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  information->inactive           = 0;                                
  10b6d6:	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;                                           
  10b6dc:	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;   
  10b6e2:	0f b7 f6             	movzwl %si,%esi                       
  10b6e5:	8b 14 9d d8 44 12 00 	mov    0x1244d8(,%ebx,4),%edx         
  10b6ec:	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;         
  10b6ef:	89 ca                	mov    %ecx,%edx                      
  10b6f1:	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 =                                          
  10b6f4:	88 50 12             	mov    %dl,0x12(%eax)                 
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  maximum_per_allocation = maximum & ~OBJECTS_UNLIMITED_OBJECTS;      
  10b6f7:	81 e1 ff ff ff 7f    	and    $0x7fffffff,%ecx               
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
  10b6fd:	85 d2                	test   %edx,%edx                      
  10b6ff:	74 10                	je     10b711 <_Objects_Initialize_information+0x75>
  10b701:	85 c9                	test   %ecx,%ecx                      
  10b703:	75 0c                	jne    10b711 <_Objects_Initialize_information+0x75>
    _Internal_error_Occurred(                                         
  10b705:	50                   	push   %eax                           
  10b706:	6a 13                	push   $0x13                          
  10b708:	6a 01                	push   $0x1                           
  10b70a:	6a 00                	push   $0x0                           
  10b70c:	e8 77 fa ff ff       	call   10b188 <_Internal_error_Occurred>
  }                                                                   
                                                                      
  /*                                                                  
   *  The allocation unit is the maximum value                        
   */                                                                 
  information->allocation_size = maximum_per_allocation;              
  10b711:	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;                       
  10b715:	c7 40 1c bc 41 12 00 	movl   $0x1241bc,0x1c(%eax)           
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b71c:	89 da                	mov    %ebx,%edx                      
  10b71e:	c1 e2 18             	shl    $0x18,%edx                     
  10b721:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
  10b727:	c1 e6 1b             	shl    $0x1b,%esi                     
  10b72a:	09 f2                	or     %esi,%edx                      
                                                                      
  /*                                                                  
   *  Calculate minimum and maximum Id's                              
   */                                                                 
  minimum_index = (maximum_per_allocation == 0) ? 0 : 1;              
  10b72c:	31 db                	xor    %ebx,%ebx                      
  10b72e:	85 c9                	test   %ecx,%ecx                      
  10b730:	0f 95 c3             	setne  %bl                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b733:	09 da                	or     %ebx,%edx                      
  10b735:	89 50 08             	mov    %edx,0x8(%eax)                 
   *        lengths that may be an odd number of bytes.               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  #if !defined(RTEMS_POSIX_API)                                       
    if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                   
  10b738:	89 fa                	mov    %edi,%edx                      
  10b73a:	f6 c2 03             	test   $0x3,%dl                       
  10b73d:	74 06                	je     10b745 <_Objects_Initialize_information+0xa9><== ALWAYS TAKEN
      name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &          
  10b73f:	83 c2 04             	add    $0x4,%edx                      <== NOT EXECUTED
  10b742:	83 e2 fc             	and    $0xfffffffc,%edx               <== NOT EXECUTED
                    ~(OBJECTS_NAME_ALIGNMENT-1);                      
  #endif                                                              
                                                                      
  information->name_length = name_length;                             
  10b745:	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 );                        
  10b749:	8d 50 24             	lea    0x24(%eax),%edx                
  10b74c:	89 50 20             	mov    %edx,0x20(%eax)                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10b74f:	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 );                        
  10b756:	8d 50 20             	lea    0x20(%eax),%edx                
  10b759:	89 50 28             	mov    %edx,0x28(%eax)                
  _Chain_Initialize_empty( &information->Inactive );                  
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
  if ( maximum_per_allocation ) {                                     
  10b75c:	85 c9                	test   %ecx,%ecx                      
  10b75e:	74 0f                	je     10b76f <_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 );                       
  10b760:	89 45 08             	mov    %eax,0x8(%ebp)                 
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10b763:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b766:	5b                   	pop    %ebx                           
  10b767:	5e                   	pop    %esi                           
  10b768:	5f                   	pop    %edi                           
  10b769:	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 );                       
  10b76a:	e9 3d fb ff ff       	jmp    10b2ac <_Objects_Extend_information>
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10b76f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b772:	5b                   	pop    %ebx                           
  10b773:	5e                   	pop    %esi                           
  10b774:	5f                   	pop    %edi                           
  10b775:	c9                   	leave                                 
  10b776:	c3                   	ret                                   
                                                                      

0010e5fd <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
  10e5fd:	55                   	push   %ebp                           
  10e5fe:	89 e5                	mov    %esp,%ebp                      
  10e600:	57                   	push   %edi                           
  10e601:	56                   	push   %esi                           
  10e602:	53                   	push   %ebx                           
  10e603:	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 ];                
  10e606:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10e609:	8b 98 e4 00 00 00    	mov    0xe4(%eax),%ebx                
  if ( !api )                                                         
  10e60f:	85 db                	test   %ebx,%ebx                      
  10e611:	74 45                	je     10e658 <_RTEMS_tasks_Post_switch_extension+0x5b><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
  10e613:	9c                   	pushf                                 
  10e614:	fa                   	cli                                   
  10e615:	58                   	pop    %eax                           
    signal_set = asr->signals_posted;                                 
  10e616:	8b 7b 14             	mov    0x14(%ebx),%edi                
    asr->signals_posted = 0;                                          
  10e619:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
  _ISR_Enable( level );                                               
  10e620:	50                   	push   %eax                           
  10e621:	9d                   	popf                                  
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
  10e622:	85 ff                	test   %edi,%edi                      
  10e624:	74 32                	je     10e658 <_RTEMS_tasks_Post_switch_extension+0x5b>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
  10e626:	ff 43 1c             	incl   0x1c(%ebx)                     
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
  10e629:	50                   	push   %eax                           
  10e62a:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10e62d:	56                   	push   %esi                           
  10e62e:	68 ff ff 00 00       	push   $0xffff                        
  10e633:	ff 73 10             	pushl  0x10(%ebx)                     
  10e636:	e8 25 18 00 00       	call   10fe60 <rtems_task_mode>       
                                                                      
  (*asr->handler)( signal_set );                                      
  10e63b:	89 3c 24             	mov    %edi,(%esp)                    
  10e63e:	ff 53 0c             	call   *0xc(%ebx)                     
                                                                      
  asr->nest_level -= 1;                                               
  10e641:	ff 4b 1c             	decl   0x1c(%ebx)                     
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
  10e644:	83 c4 0c             	add    $0xc,%esp                      
  10e647:	56                   	push   %esi                           
  10e648:	68 ff ff 00 00       	push   $0xffff                        
  10e64d:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e650:	e8 0b 18 00 00       	call   10fe60 <rtems_task_mode>       
  10e655:	83 c4 10             	add    $0x10,%esp                     
                                                                      
}                                                                     
  10e658:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e65b:	5b                   	pop    %ebx                           
  10e65c:	5e                   	pop    %esi                           
  10e65d:	5f                   	pop    %edi                           
  10e65e:	c9                   	leave                                 
  10e65f:	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 f4 62 12 00       	push   $0x1262f4                      
  10b3bb:	e8 f0 19 00 00       	call   10cdb0 <_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 3b 21 00 00       	call   10d524 <_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 a8 64 12 00       	push   $0x1264a8                      
  10b413:	e8 d4 30 00 00       	call   10e4ec <_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 e4 63 12 00       	mov    0x1263e4,%eax                  
  10b429:	48                   	dec    %eax                           
  10b42a:	a3 e4 63 12 00       	mov    %eax,0x1263e4                  
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  10b42f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b432:	c9                   	leave                                 
  10b433:	c3                   	ret                                   
                                                                      

0010b940 <_Scheduler_priority_Block>: #include <rtems/score/thread.h> void _Scheduler_priority_Block( Thread_Control *the_thread ) {
  10b940:	55                   	push   %ebp                           
  10b941:	89 e5                	mov    %esp,%ebp                      
  10b943:	56                   	push   %esi                           
  10b944:	53                   	push   %ebx                           
  10b945:	8b 55 08             	mov    0x8(%ebp),%edx                 
)                                                                     
{                                                                     
  Scheduler_priority_Per_thread *sched_info;                          
  Chain_Control                 *ready;                               
                                                                      
  sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
  10b948:	8b 8a 8c 00 00 00    	mov    0x8c(%edx),%ecx                
  ready      = sched_info->ready_chain;                               
  10b94e:	8b 01                	mov    (%ecx),%eax                    
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
  10b950:	8b 58 08             	mov    0x8(%eax),%ebx                 
  10b953:	39 18                	cmp    %ebx,(%eax)                    
  10b955:	75 32                	jne    10b989 <_Scheduler_priority_Block+0x49>
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10b957:	8d 58 04             	lea    0x4(%eax),%ebx                 
  10b95a:	89 18                	mov    %ebx,(%eax)                    
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10b95c:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
  tail->previous = head;                                              
  10b963:	89 40 08             	mov    %eax,0x8(%eax)                 
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
  10b966:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  10b969:	66 8b 03             	mov    (%ebx),%ax                     
  10b96c:	66 23 41 0e          	and    0xe(%ecx),%ax                  
  10b970:	66 89 03             	mov    %ax,(%ebx)                     
  if ( *the_priority_map->minor == 0 )                                
  10b973:	66 85 c0             	test   %ax,%ax                        
  10b976:	75 1b                	jne    10b993 <_Scheduler_priority_Block+0x53>
    _Priority_Major_bit_map &= the_priority_map->block_major;         
  10b978:	66 a1 2c 47 12 00    	mov    0x12472c,%ax                   
  10b97e:	23 41 0c             	and    0xc(%ecx),%eax                 
  10b981:	66 a3 2c 47 12 00    	mov    %ax,0x12472c                   
  10b987:	eb 0a                	jmp    10b993 <_Scheduler_priority_Block+0x53>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10b989:	8b 0a                	mov    (%edx),%ecx                    
  previous       = the_node->previous;                                
  10b98b:	8b 42 04             	mov    0x4(%edx),%eax                 
  next->previous = previous;                                          
  10b98e:	89 41 04             	mov    %eax,0x4(%ecx)                 
  previous->next = next;                                              
  10b991:	89 08                	mov    %ecx,(%eax)                    
  _Scheduler_priority_Ready_queue_extract( the_thread );              
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
  10b993:	3b 15 20 47 12 00    	cmp    0x124720,%edx                  
  10b999:	75 43                	jne    10b9de <_Scheduler_priority_Block+0x9e>
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 );         
  10b99b:	66 8b 35 2c 47 12 00 	mov    0x12472c,%si                   
  10b9a2:	31 c9                	xor    %ecx,%ecx                      
  10b9a4:	89 cb                	mov    %ecx,%ebx                      
  10b9a6:	66 0f bc de          	bsf    %si,%bx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10b9aa:	0f b7 db             	movzwl %bx,%ebx                       
  10b9ad:	66 8b b4 1b 30 47 12 	mov    0x124730(%ebx,%ebx,1),%si      
  10b9b4:	00                                                          
  10b9b5:	66 0f bc ce          	bsf    %si,%cx                        
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
  10b9b9:	c1 e3 04             	shl    $0x4,%ebx                      
  10b9bc:	0f b7 c9             	movzwl %cx,%ecx                       
  10b9bf:	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 ] ) )                
  10b9c2:	6b c0 0c             	imul   $0xc,%eax,%eax                 
  10b9c5:	03 05 90 03 12 00    	add    0x120390,%eax                  
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Thread_Dispatch_necessary = true;                                
                                                                      
}                                                                     
  10b9cb:	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 );                            
  10b9cd:	83 c0 04             	add    $0x4,%eax                      
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
  10b9d0:	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 ] ) )                
  10b9d2:	39 c3                	cmp    %eax,%ebx                      
  10b9d4:	74 02                	je     10b9d8 <_Scheduler_priority_Block+0x98><== NEVER TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
  10b9d6:	89 d9                	mov    %ebx,%ecx                      
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
  10b9d8:	89 0d 20 47 12 00    	mov    %ecx,0x124720                  
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
  10b9de:	3b 15 1c 47 12 00    	cmp    0x12471c,%edx                  
  10b9e4:	75 07                	jne    10b9ed <_Scheduler_priority_Block+0xad>
    _Thread_Dispatch_necessary = true;                                
  10b9e6:	c6 05 28 47 12 00 01 	movb   $0x1,0x124728                  
                                                                      
}                                                                     
  10b9ed:	5b                   	pop    %ebx                           
  10b9ee:	5e                   	pop    %esi                           
  10b9ef:	c9                   	leave                                 
  10b9f0:	c3                   	ret                                   
                                                                      

0010bb40 <_Scheduler_priority_Schedule>: #include <rtems/system.h> #include <rtems/score/scheduler.h> #include <rtems/score/schedulerpriority.h> void _Scheduler_priority_Schedule(void) {
  10bb40:	55                   	push   %ebp                           
  10bb41:	89 e5                	mov    %esp,%ebp                      
  10bb43:	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 );         
  10bb44:	66 8b 1d 2c 47 12 00 	mov    0x12472c,%bx                   
  10bb4b:	31 d2                	xor    %edx,%edx                      
  10bb4d:	89 d1                	mov    %edx,%ecx                      
  10bb4f:	66 0f bc cb          	bsf    %bx,%cx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10bb53:	0f b7 c9             	movzwl %cx,%ecx                       
  10bb56:	66 8b 9c 09 30 47 12 	mov    0x124730(%ecx,%ecx,1),%bx      
  10bb5d:	00                                                          
  10bb5e:	66 0f bc d3          	bsf    %bx,%dx                        
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
  10bb62:	c1 e1 04             	shl    $0x4,%ecx                      
  10bb65:	0f b7 d2             	movzwl %dx,%edx                       
  10bb68:	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 ] ) )                
  10bb6b:	6b c0 0c             	imul   $0xc,%eax,%eax                 
  10bb6e:	03 05 90 03 12 00    	add    0x120390,%eax                  
  _Scheduler_priority_Schedule_body();                                
}                                                                     
  10bb74:	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 );                            
  10bb76:	83 c0 04             	add    $0x4,%eax                      
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
  10bb79:	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 ] ) )                
  10bb7b:	39 c1                	cmp    %eax,%ecx                      
  10bb7d:	74 02                	je     10bb81 <_Scheduler_priority_Schedule+0x41><== NEVER TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
  10bb7f:	89 ca                	mov    %ecx,%edx                      
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
  10bb81:	89 15 20 47 12 00    	mov    %edx,0x124720                  
  10bb87:	5b                   	pop    %ebx                           
  10bb88:	c9                   	leave                                 
  10bb89:	c3                   	ret                                   
                                                                      

0010bc4c <_Scheduler_priority_Yield>: * ready chain * select heir */ void _Scheduler_priority_Yield(void) {
  10bc4c:	55                   	push   %ebp                           
  10bc4d:	89 e5                	mov    %esp,%ebp                      
  10bc4f:	56                   	push   %esi                           
  10bc50:	53                   	push   %ebx                           
  Scheduler_priority_Per_thread *sched_info;                          
  ISR_Level                      level;                               
  Thread_Control                *executing;                           
  Chain_Control                 *ready;                               
                                                                      
  executing  = _Thread_Executing;                                     
  10bc51:	a1 1c 47 12 00       	mov    0x12471c,%eax                  
  sched_info = (Scheduler_priority_Per_thread *) executing->scheduler_info;
  ready      = sched_info->ready_chain;                               
  10bc56:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  10bc5c:	8b 12                	mov    (%edx),%edx                    
  _ISR_Disable( level );                                              
  10bc5e:	9c                   	pushf                                 
  10bc5f:	fa                   	cli                                   
  10bc60:	59                   	pop    %ecx                           
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
  10bc61:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  10bc64:	39 1a                	cmp    %ebx,(%edx)                    
  10bc66:	74 2e                	je     10bc96 <_Scheduler_priority_Yield+0x4a>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10bc68:	8b 30                	mov    (%eax),%esi                    
  previous       = the_node->previous;                                
  10bc6a:	8b 58 04             	mov    0x4(%eax),%ebx                 
  next->previous = previous;                                          
  10bc6d:	89 5e 04             	mov    %ebx,0x4(%esi)                 
  previous->next = next;                                              
  10bc70:	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;                              
  10bc72:	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 );                        
  10bc75:	8d 72 04             	lea    0x4(%edx),%esi                 
  10bc78:	89 30                	mov    %esi,(%eax)                    
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  10bc7a:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last->next = the_node;                                          
  10bc7d:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous = old_last;                                      
  10bc7f:	89 58 04             	mov    %ebx,0x4(%eax)                 
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
  10bc82:	51                   	push   %ecx                           
  10bc83:	9d                   	popf                                  
  10bc84:	fa                   	cli                                   
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
  10bc85:	3b 05 20 47 12 00    	cmp    0x124720,%eax                  
  10bc8b:	75 11                	jne    10bc9e <_Scheduler_priority_Yield+0x52><== NEVER TAKEN
        _Thread_Heir = (Thread_Control *) _Chain_First( ready );      
  10bc8d:	8b 02                	mov    (%edx),%eax                    
  10bc8f:	a3 20 47 12 00       	mov    %eax,0x124720                  
  10bc94:	eb 08                	jmp    10bc9e <_Scheduler_priority_Yield+0x52>
      _Thread_Dispatch_necessary = true;                              
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
  10bc96:	3b 05 20 47 12 00    	cmp    0x124720,%eax                  
  10bc9c:	74 07                	je     10bca5 <_Scheduler_priority_Yield+0x59><== ALWAYS TAKEN
      _Thread_Dispatch_necessary = true;                              
  10bc9e:	c6 05 28 47 12 00 01 	movb   $0x1,0x124728                  
                                                                      
  _ISR_Enable( level );                                               
  10bca5:	51                   	push   %ecx                           
  10bca6:	9d                   	popf                                  
}                                                                     
  10bca7:	5b                   	pop    %ebx                           
  10bca8:	5e                   	pop    %esi                           
  10bca9:	c9                   	leave                                 
  10bcaa:	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 f4 35 12 00    	mov    0x1235f4,%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 a4 09 12 00 	mov    0x1209a4(,%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 70 09 12 00 	mov    0x120970(,%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                                   
                                                                      

0010bcf8 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
  10bcf8:	55                   	push   %ebp                           
  10bcf9:	89 e5                	mov    %esp,%ebp                      
  10bcfb:	57                   	push   %edi                           
  10bcfc:	56                   	push   %esi                           
  10bcfd:	53                   	push   %ebx                           
  10bcfe:	83 ec 28             	sub    $0x28,%esp                     
  10bd01:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10bd04:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10bd07:	8a 45 10             	mov    0x10(%ebp),%al                 
  10bd0a:	88 45 e7             	mov    %al,-0x19(%ebp)                
  States_Control state, original_state;                               
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
  10bd0d:	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 );                                
  10bd10:	53                   	push   %ebx                           
  10bd11:	e8 3a 0b 00 00       	call   10c850 <_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 )                  
  10bd16:	83 c4 10             	add    $0x10,%esp                     
  10bd19:	39 73 14             	cmp    %esi,0x14(%ebx)                
  10bd1c:	74 0c                	je     10bd2a <_Thread_Change_priority+0x32>
    _Thread_Set_priority( the_thread, new_priority );                 
  10bd1e:	50                   	push   %eax                           
  10bd1f:	50                   	push   %eax                           
  10bd20:	56                   	push   %esi                           
  10bd21:	53                   	push   %ebx                           
  10bd22:	e8 d9 0a 00 00       	call   10c800 <_Thread_Set_priority>  
  10bd27:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _ISR_Disable( level );                                              
  10bd2a:	9c                   	pushf                                 
  10bd2b:	fa                   	cli                                   
  10bd2c:	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;                                  
  10bd2d:	8b 43 10             	mov    0x10(%ebx),%eax                
  if ( state != STATES_TRANSIENT ) {                                  
  10bd30:	83 f8 04             	cmp    $0x4,%eax                      
  10bd33:	74 2b                	je     10bd60 <_Thread_Change_priority+0x68>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
  10bd35:	83 e7 04             	and    $0x4,%edi                      
  10bd38:	75 08                	jne    10bd42 <_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);                         
  10bd3a:	89 c2                	mov    %eax,%edx                      
  10bd3c:	83 e2 fb             	and    $0xfffffffb,%edx               
  10bd3f:	89 53 10             	mov    %edx,0x10(%ebx)                
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
  10bd42:	56                   	push   %esi                           
  10bd43:	9d                   	popf                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
  10bd44:	a9 e0 be 03 00       	test   $0x3bee0,%eax                  
  10bd49:	74 65                	je     10bdb0 <_Thread_Change_priority+0xb8>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
  10bd4b:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10bd4e:	8b 43 44             	mov    0x44(%ebx),%eax                
  10bd51:	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 );                                               
}                                                                     
  10bd54:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bd57:	5b                   	pop    %ebx                           
  10bd58:	5e                   	pop    %esi                           
  10bd59:	5f                   	pop    %edi                           
  10bd5a:	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 );    
  10bd5b:	e9 18 0a 00 00       	jmp    10c778 <_Thread_queue_Requeue> 
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
  10bd60:	83 e7 04             	and    $0x4,%edi                      
  10bd63:	75 26                	jne    10bd8b <_Thread_Change_priority+0x93><== NEVER TAKEN
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
  10bd65:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
    if ( prepend_it )                                                 
  10bd6c:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  10bd70:	74 0c                	je     10bd7e <_Thread_Change_priority+0x86>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue_first(                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue_first( the_thread );                  
  10bd72:	83 ec 0c             	sub    $0xc,%esp                      
  10bd75:	53                   	push   %ebx                           
  10bd76:	ff 15 b8 03 12 00    	call   *0x1203b8                      
  10bd7c:	eb 0a                	jmp    10bd88 <_Thread_Change_priority+0x90>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue(                         
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue( the_thread );                        
  10bd7e:	83 ec 0c             	sub    $0xc,%esp                      
  10bd81:	53                   	push   %ebx                           
  10bd82:	ff 15 b4 03 12 00    	call   *0x1203b4                      
  10bd88:	83 c4 10             	add    $0x10,%esp                     
      _Scheduler_Enqueue_first( the_thread );                         
    else                                                              
      _Scheduler_Enqueue( the_thread );                               
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
  10bd8b:	56                   	push   %esi                           
  10bd8c:	9d                   	popf                                  
  10bd8d:	fa                   	cli                                   
 *  This kernel routine implements the scheduling decision logic for  
 *  the scheduler. It does NOT dispatch.                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Schedule( void )                 
{                                                                     
  _Scheduler.Operations.schedule();                                   
  10bd8e:	ff 15 98 03 12 00    	call   *0x120398                      
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
  10bd94:	a1 1c 47 12 00       	mov    0x12471c,%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();                                              
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
  10bd99:	3b 05 20 47 12 00    	cmp    0x124720,%eax                  
  10bd9f:	74 0d                	je     10bdae <_Thread_Change_priority+0xb6>
  10bda1:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10bda5:	74 07                	je     10bdae <_Thread_Change_priority+0xb6>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  10bda7:	c6 05 28 47 12 00 01 	movb   $0x1,0x124728                  
  _ISR_Enable( level );                                               
  10bdae:	56                   	push   %esi                           
  10bdaf:	9d                   	popf                                  
}                                                                     
  10bdb0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bdb3:	5b                   	pop    %ebx                           
  10bdb4:	5e                   	pop    %esi                           
  10bdb5:	5f                   	pop    %edi                           
  10bdb6:	c9                   	leave                                 
  10bdb7:	c3                   	ret                                   
                                                                      

0010bf5c <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10bf5c:	55                   	push   %ebp                           
  10bf5d:	89 e5                	mov    %esp,%ebp                      
  10bf5f:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10bf62:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bf65:	50                   	push   %eax                           
  10bf66:	ff 75 08             	pushl  0x8(%ebp)                      
  10bf69:	e8 82 01 00 00       	call   10c0f0 <_Thread_Get>           
  switch ( location ) {                                               
  10bf6e:	83 c4 10             	add    $0x10,%esp                     
  10bf71:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10bf75:	75 1b                	jne    10bf92 <_Thread_Delay_ended+0x36><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
  10bf77:	52                   	push   %edx                           
  10bf78:	52                   	push   %edx                           
  10bf79:	68 18 00 00 10       	push   $0x10000018                    
  10bf7e:	50                   	push   %eax                           
  10bf7f:	e8 34 fe ff ff       	call   10bdb8 <_Thread_Clear_state>   
  10bf84:	a1 00 45 12 00       	mov    0x124500,%eax                  
  10bf89:	48                   	dec    %eax                           
  10bf8a:	a3 00 45 12 00       	mov    %eax,0x124500                  
  10bf8f:	83 c4 10             	add    $0x10,%esp                     
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10bf92:	c9                   	leave                                 
  10bf93:	c3                   	ret                                   
                                                                      

0010bf94 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
  10bf94:	55                   	push   %ebp                           
  10bf95:	89 e5                	mov    %esp,%ebp                      
  10bf97:	57                   	push   %edi                           
  10bf98:	56                   	push   %esi                           
  10bf99:	53                   	push   %ebx                           
  10bf9a:	83 ec 1c             	sub    $0x1c,%esp                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  10bf9d:	8b 1d 1c 47 12 00    	mov    0x12471c,%ebx                  
  _ISR_Disable( level );                                              
  10bfa3:	9c                   	pushf                                 
  10bfa4:	fa                   	cli                                   
  10bfa5:	58                   	pop    %eax                           
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
  10bfa6:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
  10bfa9:	e9 f9 00 00 00       	jmp    10c0a7 <_Thread_Dispatch+0x113>
    heir = _Thread_Heir;                                              
  10bfae:	8b 35 20 47 12 00    	mov    0x124720,%esi                  
    _Thread_Dispatch_disable_level = 1;                               
  10bfb4:	c7 05 00 45 12 00 01 	movl   $0x1,0x124500                  
  10bfbb:	00 00 00                                                    
    _Thread_Dispatch_necessary = false;                               
  10bfbe:	c6 05 28 47 12 00 00 	movb   $0x0,0x124728                  
    _Thread_Executing = heir;                                         
  10bfc5:	89 35 1c 47 12 00    	mov    %esi,0x12471c                  
    /*                                                                
     *  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 )                                          
  10bfcb:	39 de                	cmp    %ebx,%esi                      
  10bfcd:	0f 84 e2 00 00 00    	je     10c0b5 <_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 )
  10bfd3:	83 7e 7c 01          	cmpl   $0x1,0x7c(%esi)                
  10bfd7:	75 09                	jne    10bfe2 <_Thread_Dispatch+0x4e> 
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
  10bfd9:	8b 15 d0 44 12 00    	mov    0x1244d0,%edx                  
  10bfdf:	89 56 78             	mov    %edx,0x78(%esi)                
                                                                      
    _ISR_Enable( level );                                             
  10bfe2:	50                   	push   %eax                           
  10bfe3:	9d                   	popf                                  
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
  10bfe4:	83 ec 0c             	sub    $0xc,%esp                      
  10bfe7:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10bfea:	50                   	push   %eax                           
  10bfeb:	e8 e0 29 00 00       	call   10e9d0 <_TOD_Get_uptime>       
        _Timestamp_Subtract(                                          
  10bff0:	83 c4 0c             	add    $0xc,%esp                      
  10bff3:	57                   	push   %edi                           
  10bff4:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10bff7:	50                   	push   %eax                           
  10bff8:	68 b0 45 12 00       	push   $0x1245b0                      
  10bffd:	e8 16 0a 00 00       	call   10ca18 <_Timespec_Subtract>    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
  10c002:	58                   	pop    %eax                           
  10c003:	5a                   	pop    %edx                           
  10c004:	57                   	push   %edi                           
  10c005:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  10c00b:	50                   	push   %eax                           
  10c00c:	e8 d7 09 00 00       	call   10c9e8 <_Timespec_Add_to>      
        _Thread_Time_of_last_context_switch = uptime;                 
  10c011:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10c014:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10c017:	a3 b0 45 12 00       	mov    %eax,0x1245b0                  
  10c01c:	89 15 b4 45 12 00    	mov    %edx,0x1245b4                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
  10c022:	a1 88 45 12 00       	mov    0x124588,%eax                  
  10c027:	83 c4 10             	add    $0x10,%esp                     
  10c02a:	85 c0                	test   %eax,%eax                      
  10c02c:	74 10                	je     10c03e <_Thread_Dispatch+0xaa> <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
  10c02e:	8b 10                	mov    (%eax),%edx                    
  10c030:	89 93 e0 00 00 00    	mov    %edx,0xe0(%ebx)                
      *_Thread_libc_reent = heir->libc_reent;                         
  10c036:	8b 96 e0 00 00 00    	mov    0xe0(%esi),%edx                
  10c03c:	89 10                	mov    %edx,(%eax)                    
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
  10c03e:	51                   	push   %ecx                           
  10c03f:	51                   	push   %ecx                           
  10c040:	56                   	push   %esi                           
  10c041:	53                   	push   %ebx                           
  10c042:	e8 09 0c 00 00       	call   10cc50 <_User_extensions_Thread_switch>
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
  10c047:	58                   	pop    %eax                           
  10c048:	5a                   	pop    %edx                           
  10c049:	81 c6 c4 00 00 00    	add    $0xc4,%esi                     
  10c04f:	56                   	push   %esi                           
  10c050:	8d 83 c4 00 00 00    	lea    0xc4(%ebx),%eax                
  10c056:	50                   	push   %eax                           
  10c057:	e8 c4 0e 00 00       	call   10cf20 <_CPU_Context_switch>   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
  10c05c:	83 c4 10             	add    $0x10,%esp                     
  10c05f:	83 bb dc 00 00 00 00 	cmpl   $0x0,0xdc(%ebx)                
  10c066:	74 36                	je     10c09e <_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 );                      
  10c068:	a1 84 45 12 00       	mov    0x124584,%eax                  
  10c06d:	39 c3                	cmp    %eax,%ebx                      
  10c06f:	74 2d                	je     10c09e <_Thread_Dispatch+0x10a>
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
  10c071:	85 c0                	test   %eax,%eax                      
  10c073:	74 11                	je     10c086 <_Thread_Dispatch+0xf2> 
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
  10c075:	83 ec 0c             	sub    $0xc,%esp                      
  10c078:	05 dc 00 00 00       	add    $0xdc,%eax                     
  10c07d:	50                   	push   %eax                           
  10c07e:	e8 d1 0e 00 00       	call   10cf54 <_CPU_Context_save_fp>  
  10c083:	83 c4 10             	add    $0x10,%esp                     
      _Context_Restore_fp( &executing->fp_context );                  
  10c086:	83 ec 0c             	sub    $0xc,%esp                      
  10c089:	8d 83 dc 00 00 00    	lea    0xdc(%ebx),%eax                
  10c08f:	50                   	push   %eax                           
  10c090:	e8 c9 0e 00 00       	call   10cf5e <_CPU_Context_restore_fp>
      _Thread_Allocated_fp = executing;                               
  10c095:	89 1d 84 45 12 00    	mov    %ebx,0x124584                  
  10c09b:	83 c4 10             	add    $0x10,%esp                     
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
  10c09e:	8b 1d 1c 47 12 00    	mov    0x12471c,%ebx                  
                                                                      
    _ISR_Disable( level );                                            
  10c0a4:	9c                   	pushf                                 
  10c0a5:	fa                   	cli                                   
  10c0a6:	58                   	pop    %eax                           
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
  10c0a7:	8a 15 28 47 12 00    	mov    0x124728,%dl                   
  10c0ad:	84 d2                	test   %dl,%dl                        
  10c0af:	0f 85 f9 fe ff ff    	jne    10bfae <_Thread_Dispatch+0x1a> 
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
  10c0b5:	c7 05 00 45 12 00 00 	movl   $0x0,0x124500                  
  10c0bc:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10c0bf:	50                   	push   %eax                           
  10c0c0:	9d                   	popf                                  
                                                                      
  _API_extensions_Run_postswitch();                                   
  10c0c1:	e8 c9 e7 ff ff       	call   10a88f <_API_extensions_Run_postswitch>
}                                                                     
  10c0c6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c0c9:	5b                   	pop    %ebx                           
  10c0ca:	5e                   	pop    %esi                           
  10c0cb:	5f                   	pop    %edi                           
  10c0cc:	c9                   	leave                                 
  10c0cd:	c3                   	ret                                   
                                                                      

0010c0f0 <_Thread_Get>: */ Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location ) {
  10c0f0:	55                   	push   %ebp                           
  10c0f1:	89 e5                	mov    %esp,%ebp                      
  10c0f3:	53                   	push   %ebx                           
  10c0f4:	83 ec 04             	sub    $0x4,%esp                      
  10c0f7:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10c0fa:	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 ) ) {           
  10c0fd:	85 d2                	test   %edx,%edx                      
  10c0ff:	75 1a                	jne    10c11b <_Thread_Get+0x2b>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c101:	8b 15 00 45 12 00    	mov    0x124500,%edx                  
  10c107:	42                   	inc    %edx                           
  10c108:	89 15 00 45 12 00    	mov    %edx,0x124500                  
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
  10c10e:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
    tp = _Thread_Executing;                                           
  10c114:	a1 1c 47 12 00       	mov    0x12471c,%eax                  
    goto done;                                                        
  10c119:	eb 3a                	jmp    10c155 <_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);
  10c11b:	89 d1                	mov    %edx,%ecx                      
  10c11d:	c1 e9 18             	shr    $0x18,%ecx                     
  10c120:	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 )                      
  10c123:	8d 59 ff             	lea    -0x1(%ecx),%ebx                
  10c126:	83 fb 02             	cmp    $0x2,%ebx                      
  10c129:	76 2f                	jbe    10c15a <_Thread_Get+0x6a>      
  10c12b:	eb 12                	jmp    10c13f <_Thread_Get+0x4f>      
  if ( the_class != 1 ) {       /* threads are always first class :) */
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  api_information = _Objects_Information_table[ the_api ];            
  10c12d:	8b 0c 8d d8 44 12 00 	mov    0x1244d8(,%ecx,4),%ecx         
  /*                                                                  
   *  There is no way for this to happen if POSIX is enabled.         
   */                                                                 
  #if !defined(RTEMS_POSIX_API)                                       
    if ( !api_information ) {                                         
  10c134:	85 c9                	test   %ecx,%ecx                      
  10c136:	74 07                	je     10c13f <_Thread_Get+0x4f>      <== NEVER TAKEN
      *location = OBJECTS_ERROR;                                      
      goto done;                                                      
    }                                                                 
  #endif                                                              
                                                                      
  information = api_information[ the_class ];                         
  10c138:	8b 49 04             	mov    0x4(%ecx),%ecx                 
  if ( !information ) {                                               
  10c13b:	85 c9                	test   %ecx,%ecx                      
  10c13d:	75 0a                	jne    10c149 <_Thread_Get+0x59>      
    *location = OBJECTS_ERROR;                                        
  10c13f:	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;                     
  10c145:	31 c0                	xor    %eax,%eax                      
  #endif                                                              
                                                                      
  information = api_information[ the_class ];                         
  if ( !information ) {                                               
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  10c147:	eb 0c                	jmp    10c155 <_Thread_Get+0x65>      
  }                                                                   
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
  10c149:	53                   	push   %ebx                           
  10c14a:	50                   	push   %eax                           
  10c14b:	52                   	push   %edx                           
  10c14c:	51                   	push   %ecx                           
  10c14d:	e8 f2 f4 ff ff       	call   10b644 <_Objects_Get>          
  10c152:	83 c4 10             	add    $0x10,%esp                     
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10c155:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c158:	c9                   	leave                                 
  10c159:	c3                   	ret                                   
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10c15a:	89 d3                	mov    %edx,%ebx                      
  10c15c:	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 :) */
  10c15f:	4b                   	dec    %ebx                           
  10c160:	74 cb                	je     10c12d <_Thread_Get+0x3d>      
  10c162:	eb db                	jmp    10c13f <_Thread_Get+0x4f>      
                                                                      

00110080 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
  110080:	55                   	push   %ebp                           
  110081:	89 e5                	mov    %esp,%ebp                      
  110083:	53                   	push   %ebx                           
  110084:	83 ec 14             	sub    $0x14,%esp                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
  110087:	8b 1d 1c 47 12 00    	mov    0x12471c,%ebx                  
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  11008d:	8b 83 ac 00 00 00    	mov    0xac(%ebx),%eax                
  _ISR_Set_level(level);                                              
  110093:	85 c0                	test   %eax,%eax                      
  110095:	74 03                	je     11009a <_Thread_Handler+0x1a>  
  110097:	fa                   	cli                                   
  110098:	eb 01                	jmp    11009b <_Thread_Handler+0x1b>  
  11009a:	fb                   	sti                                   
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
  11009b:	a0 c4 41 12 00       	mov    0x1241c4,%al                   
  1100a0:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    doneConstructors = 1;                                             
  1100a3:	c6 05 c4 41 12 00 01 	movb   $0x1,0x1241c4                  
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
  1100aa:	83 bb dc 00 00 00 00 	cmpl   $0x0,0xdc(%ebx)                
  1100b1:	74 24                	je     1100d7 <_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 );                      
  1100b3:	a1 84 45 12 00       	mov    0x124584,%eax                  
  1100b8:	39 c3                	cmp    %eax,%ebx                      
  1100ba:	74 1b                	je     1100d7 <_Thread_Handler+0x57>  
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
  1100bc:	85 c0                	test   %eax,%eax                      
  1100be:	74 11                	je     1100d1 <_Thread_Handler+0x51>  
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
  1100c0:	83 ec 0c             	sub    $0xc,%esp                      
  1100c3:	05 dc 00 00 00       	add    $0xdc,%eax                     
  1100c8:	50                   	push   %eax                           
  1100c9:	e8 86 ce ff ff       	call   10cf54 <_CPU_Context_save_fp>  
  1100ce:	83 c4 10             	add    $0x10,%esp                     
        _Thread_Allocated_fp = executing;                             
  1100d1:	89 1d 84 45 12 00    	mov    %ebx,0x124584                  
  /*                                                                  
   * 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 );                         
  1100d7:	83 ec 0c             	sub    $0xc,%esp                      
  1100da:	53                   	push   %ebx                           
  1100db:	e8 20 ca ff ff       	call   10cb00 <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
  1100e0:	e8 e9 bf ff ff       	call   10c0ce <_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) */ {                 
  1100e5:	83 c4 10             	add    $0x10,%esp                     
  1100e8:	80 7d f7 00          	cmpb   $0x0,-0x9(%ebp)                
  1100ec:	75 05                	jne    1100f3 <_Thread_Handler+0x73>  
      INIT_NAME ();                                                   
  1100ee:	e8 ed c6 00 00       	call   11c7e0 <__start_set_sysctl_set>
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  1100f3:	83 bb 94 00 00 00 00 	cmpl   $0x0,0x94(%ebx)                
  1100fa:	75 15                	jne    110111 <_Thread_Handler+0x91>  <== NEVER TAKEN
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
  1100fc:	83 ec 0c             	sub    $0xc,%esp                      
  1100ff:	ff b3 9c 00 00 00    	pushl  0x9c(%ebx)                     
  110105:	ff 93 90 00 00 00    	call   *0x90(%ebx)                    
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
  11010b:	89 43 28             	mov    %eax,0x28(%ebx)                
  11010e:	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 );                       
  110111:	83 ec 0c             	sub    $0xc,%esp                      
  110114:	53                   	push   %ebx                           
  110115:	e8 17 ca ff ff       	call   10cb31 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
  11011a:	83 c4 0c             	add    $0xc,%esp                      
  11011d:	6a 05                	push   $0x5                           
  11011f:	6a 01                	push   $0x1                           
  110121:	6a 00                	push   $0x0                           
  110123:	e8 60 b0 ff ff       	call   10b188 <_Internal_error_Occurred>
                                                                      

0010c164 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
  10c164:	55                   	push   %ebp                           
  10c165:	89 e5                	mov    %esp,%ebp                      
  10c167:	57                   	push   %edi                           
  10c168:	56                   	push   %esi                           
  10c169:	53                   	push   %ebx                           
  10c16a:	83 ec 24             	sub    $0x24,%esp                     
  10c16d:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c170:	8b 75 14             	mov    0x14(%ebp),%esi                
  10c173:	8a 55 18             	mov    0x18(%ebp),%dl                 
  10c176:	8a 45 20             	mov    0x20(%ebp),%al                 
  10c179:	88 45 e7             	mov    %al,-0x19(%ebp)                
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
  10c17c:	c7 83 e4 00 00 00 00 	movl   $0x0,0xe4(%ebx)                
  10c183:	00 00 00                                                    
  10c186:	c7 83 e8 00 00 00 00 	movl   $0x0,0xe8(%ebx)                
  10c18d:	00 00 00                                                    
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
  10c190:	c7 83 e0 00 00 00 00 	movl   $0x0,0xe0(%ebx)                
  10c197:	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 );
  10c19a:	56                   	push   %esi                           
  10c19b:	53                   	push   %ebx                           
  10c19c:	88 55 e0             	mov    %dl,-0x20(%ebp)                
  10c19f:	e8 dc 06 00 00       	call   10c880 <_Thread_Stack_Allocate>
    if ( !actual_stack_size || actual_stack_size < stack_size )       
  10c1a4:	83 c4 10             	add    $0x10,%esp                     
  10c1a7:	39 f0                	cmp    %esi,%eax                      
  10c1a9:	8a 55 e0             	mov    -0x20(%ebp),%dl                
  10c1ac:	0f 82 9f 01 00 00    	jb     10c351 <_Thread_Initialize+0x1ed>
  10c1b2:	85 c0                	test   %eax,%eax                      
  10c1b4:	0f 84 97 01 00 00    	je     10c351 <_Thread_Initialize+0x1ed><== NEVER TAKEN
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
  10c1ba:	8b 8b c0 00 00 00    	mov    0xc0(%ebx),%ecx                
  10c1c0:	89 8b b8 00 00 00    	mov    %ecx,0xb8(%ebx)                
  the_stack->size = size;                                             
  10c1c6:	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;                                                   
  10c1cc:	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 ) {                                                    
  10c1ce:	84 d2                	test   %dl,%dl                        
  10c1d0:	74 17                	je     10c1e9 <_Thread_Initialize+0x85>
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
  10c1d2:	83 ec 0c             	sub    $0xc,%esp                      
  10c1d5:	6a 6c                	push   $0x6c                          
  10c1d7:	e8 e2 0c 00 00       	call   10cebe <_Workspace_Allocate>   
  10c1dc:	89 c7                	mov    %eax,%edi                      
      if ( !fp_area )                                                 
  10c1de:	83 c4 10             	add    $0x10,%esp                     
  10c1e1:	85 c0                	test   %eax,%eax                      
  10c1e3:	0f 84 15 01 00 00    	je     10c2fe <_Thread_Initialize+0x19a>
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
  10c1e9:	89 bb dc 00 00 00    	mov    %edi,0xdc(%ebx)                
    the_thread->Start.fp_context = fp_area;                           
  10c1ef:	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;                        
  10c1f5:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10c1fc:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
  the_watchdog->id        = id;                                       
  10c203:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10c20a:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c211:	a1 94 45 12 00       	mov    0x124594,%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;                                             
  10c216:	31 f6                	xor    %esi,%esi                      
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c218:	85 c0                	test   %eax,%eax                      
  10c21a:	74 1d                	je     10c239 <_Thread_Initialize+0xd5>
    extensions_area = _Workspace_Allocate(                            
  10c21c:	83 ec 0c             	sub    $0xc,%esp                      
  10c21f:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax              
  10c226:	50                   	push   %eax                           
  10c227:	e8 92 0c 00 00       	call   10cebe <_Workspace_Allocate>   
  10c22c:	89 c6                	mov    %eax,%esi                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
  10c22e:	83 c4 10             	add    $0x10,%esp                     
  10c231:	85 c0                	test   %eax,%eax                      
  10c233:	0f 84 c7 00 00 00    	je     10c300 <_Thread_Initialize+0x19c>
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10c239:	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 ) {                                     
  10c23f:	85 f6                	test   %esi,%esi                      
  10c241:	74 16                	je     10c259 <_Thread_Initialize+0xf5>
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
  10c243:	8b 15 94 45 12 00    	mov    0x124594,%edx                  
  10c249:	31 c0                	xor    %eax,%eax                      
  10c24b:	eb 08                	jmp    10c255 <_Thread_Initialize+0xf1>
      the_thread->extensions[i] = NULL;                               
  10c24d:	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++ )              
  10c254:	40                   	inc    %eax                           
  10c255:	39 d0                	cmp    %edx,%eax                      
  10c257:	76 f4                	jbe    10c24d <_Thread_Initialize+0xe9>
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  10c259:	8a 45 e7             	mov    -0x19(%ebp),%al                
  10c25c:	88 83 a0 00 00 00    	mov    %al,0xa0(%ebx)                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  10c262:	8b 45 24             	mov    0x24(%ebp),%eax                
  10c265:	89 83 a4 00 00 00    	mov    %eax,0xa4(%ebx)                
  the_thread->Start.budget_callout   = budget_callout;                
  10c26b:	8b 45 28             	mov    0x28(%ebp),%eax                
  10c26e:	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;                    
  10c274:	8b 45 2c             	mov    0x2c(%ebp),%eax                
  10c277:	89 83 ac 00 00 00    	mov    %eax,0xac(%ebx)                
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  10c27d:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)                
  the_thread->Wait.queue              = NULL;                         
  10c284:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  the_thread->resource_count          = 0;                            
  10c28b:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  the_thread->real_priority           = priority;                     
  10c292:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c295:	89 43 18             	mov    %eax,0x18(%ebx)                
  the_thread->Start.initial_priority  = priority;                     
  10c298:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)                
 */                                                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Allocate(                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.allocate( the_thread );                
  10c29e:	83 ec 0c             	sub    $0xc,%esp                      
  10c2a1:	53                   	push   %ebx                           
  10c2a2:	ff 15 a8 03 12 00    	call   *0x1203a8                      
  10c2a8:	89 c2                	mov    %eax,%edx                      
  sched =_Scheduler_Allocate( the_thread );                           
  if ( !sched )                                                       
  10c2aa:	83 c4 10             	add    $0x10,%esp                     
  10c2ad:	85 c0                	test   %eax,%eax                      
  10c2af:	74 51                	je     10c302 <_Thread_Initialize+0x19e>
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
  10c2b1:	51                   	push   %ecx                           
  10c2b2:	51                   	push   %ecx                           
  10c2b3:	ff 75 1c             	pushl  0x1c(%ebp)                     
  10c2b6:	53                   	push   %ebx                           
  10c2b7:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  10c2ba:	e8 41 05 00 00       	call   10c800 <_Thread_Set_priority>  
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
  10c2bf:	c7 83 84 00 00 00 00 	movl   $0x0,0x84(%ebx)                
  10c2c6:	00 00 00                                                    
  10c2c9:	c7 83 88 00 00 00 00 	movl   $0x0,0x88(%ebx)                
  10c2d0:	00 00 00                                                    
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
  10c2d3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c2d6:	8b 40 1c             	mov    0x1c(%eax),%eax                
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10c2d9:	0f b7 4b 08          	movzwl 0x8(%ebx),%ecx                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c2dd:	89 1c 88             	mov    %ebx,(%eax,%ecx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10c2e0:	8b 45 30             	mov    0x30(%ebp),%eax                
  10c2e3:	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 );    
  10c2e6:	89 1c 24             	mov    %ebx,(%esp)                    
  10c2e9:	e8 b2 08 00 00       	call   10cba0 <_User_extensions_Thread_create>
  10c2ee:	88 c1                	mov    %al,%cl                        
  if ( extension_status )                                             
  10c2f0:	83 c4 10             	add    $0x10,%esp                     
    return true;                                                      
  10c2f3:	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 )                                             
  10c2f5:	84 c9                	test   %cl,%cl                        
  10c2f7:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10c2fa:	74 06                	je     10c302 <_Thread_Initialize+0x19e>
  10c2fc:	eb 55                	jmp    10c353 <_Thread_Initialize+0x1ef>
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  10c2fe:	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;                                  
  10c300:	31 d2                	xor    %edx,%edx                      
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
  10c302:	83 ec 0c             	sub    $0xc,%esp                      
  10c305:	ff b3 e0 00 00 00    	pushl  0xe0(%ebx)                     
  10c30b:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10c30e:	e8 c4 0b 00 00       	call   10ced7 <_Workspace_Free>       
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
  10c313:	5a                   	pop    %edx                           
  10c314:	ff b3 e4 00 00 00    	pushl  0xe4(%ebx)                     
  10c31a:	e8 b8 0b 00 00       	call   10ced7 <_Workspace_Free>       
  10c31f:	58                   	pop    %eax                           
  10c320:	ff b3 e8 00 00 00    	pushl  0xe8(%ebx)                     
  10c326:	e8 ac 0b 00 00       	call   10ced7 <_Workspace_Free>       
                                                                      
  _Workspace_Free( extensions_area );                                 
  10c32b:	89 34 24             	mov    %esi,(%esp)                    
  10c32e:	e8 a4 0b 00 00       	call   10ced7 <_Workspace_Free>       
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
  10c333:	89 3c 24             	mov    %edi,(%esp)                    
  10c336:	e8 9c 0b 00 00       	call   10ced7 <_Workspace_Free>       
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
  10c33b:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10c33e:	89 14 24             	mov    %edx,(%esp)                    
  10c341:	e8 91 0b 00 00       	call   10ced7 <_Workspace_Free>       
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  10c346:	89 1c 24             	mov    %ebx,(%esp)                    
  10c349:	e8 82 05 00 00       	call   10c8d0 <_Thread_Stack_Free>    
  return false;                                                       
  10c34e:	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 */ 
  10c351:	31 c0                	xor    %eax,%eax                      
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
  10c353:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c356:	5b                   	pop    %ebx                           
  10c357:	5e                   	pop    %esi                           
  10c358:	5f                   	pop    %edi                           
  10c359:	c9                   	leave                                 
  10c35a:	c3                   	ret                                   
                                                                      

0010f588 <_Thread_Resume>: */ void _Thread_Resume( Thread_Control *the_thread, bool force ) {
  10f588:	55                   	push   %ebp                           
  10f589:	89 e5                	mov    %esp,%ebp                      
  10f58b:	53                   	push   %ebx                           
  10f58c:	83 ec 04             	sub    $0x4,%esp                      
  10f58f:	8b 45 08             	mov    0x8(%ebp),%eax                 
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10f592:	9c                   	pushf                                 
  10f593:	fa                   	cli                                   
  10f594:	5b                   	pop    %ebx                           
                                                                      
  current_state = the_thread->current_state;                          
  10f595:	8b 50 10             	mov    0x10(%eax),%edx                
  if ( current_state & STATES_SUSPENDED ) {                           
  10f598:	f6 c2 02             	test   $0x2,%dl                       
  10f59b:	74 17                	je     10f5b4 <_Thread_Resume+0x2c>   <== NEVER TAKEN
  10f59d:	83 e2 fd             	and    $0xfffffffd,%edx               
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
  10f5a0:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
  10f5a3:	85 d2                	test   %edx,%edx                      
  10f5a5:	75 0d                	jne    10f5b4 <_Thread_Resume+0x2c>   
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Unblock(                         
    Thread_Control    *the_thread                                     
)                                                                     
{                                                                     
  _Scheduler.Operations.unblock( the_thread );                        
  10f5a7:	83 ec 0c             	sub    $0xc,%esp                      
  10f5aa:	50                   	push   %eax                           
  10f5ab:	ff 15 04 36 12 00    	call   *0x123604                      
  10f5b1:	83 c4 10             	add    $0x10,%esp                     
      _Scheduler_Unblock( the_thread );                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10f5b4:	53                   	push   %ebx                           
  10f5b5:	9d                   	popf                                  
}                                                                     
  10f5b6:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f5b9:	c9                   	leave                                 
  10f5ba:	c3                   	ret                                   
                                                                      

0010c57c <_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 ) {
  10c57c:	55                   	push   %ebp                           
  10c57d:	89 e5                	mov    %esp,%ebp                      
  10c57f:	57                   	push   %edi                           
  10c580:	56                   	push   %esi                           
  10c581:	53                   	push   %ebx                           
  10c582:	83 ec 14             	sub    $0x14,%esp                     
  10c585:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10c588:	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 );                        
  10c58b:	8d 50 3c             	lea    0x3c(%eax),%edx                
  10c58e:	89 50 38             	mov    %edx,0x38(%eax)                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10c591:	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 );                        
  10c598:	8d 50 38             	lea    0x38(%eax),%edx                
  10c59b:	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;                        
  10c59e:	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);      
  10c5a1:	89 da                	mov    %ebx,%edx                      
  10c5a3:	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;                             
  10c5a6:	8b 71 38             	mov    0x38(%ecx),%esi                
  10c5a9:	89 75 e8             	mov    %esi,-0x18(%ebp)               
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
  10c5ac:	f6 c3 20             	test   $0x20,%bl                      
  10c5af:	75 77                	jne    10c628 <_Thread_queue_Enqueue_priority+0xac>
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
  10c5b1:	6b d2 0c             	imul   $0xc,%edx,%edx                 
  10c5b4:	8d 14 11             	lea    (%ecx,%edx,1),%edx             
  10c5b7:	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));                        
  10c5ba:	83 c2 04             	add    $0x4,%edx                      
  10c5bd:	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 );                                              
  10c5c0:	9c                   	pushf                                 
  10c5c1:	fa                   	cli                                   
  10c5c2:	8f 45 f0             	popl   -0x10(%ebp)                    
  10c5c5:	8b 75 f0             	mov    -0x10(%ebp),%esi               
  search_thread = (Thread_Control *) _Chain_First( header );          
  10c5c8:	8b 7d ec             	mov    -0x14(%ebp),%edi               
  10c5cb:	8b 17                	mov    (%edi),%edx                    
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  10c5cd:	83 cf ff             	or     $0xffffffff,%edi               
  10c5d0:	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 ) ) {  
  10c5d3:	eb 1c                	jmp    10c5f1 <_Thread_queue_Enqueue_priority+0x75>
    search_priority = search_thread->current_priority;                
  10c5d5:	8b 7a 14             	mov    0x14(%edx),%edi                
    if ( priority <= search_priority )                                
  10c5d8:	39 fb                	cmp    %edi,%ebx                      
  10c5da:	76 1a                	jbe    10c5f6 <_Thread_queue_Enqueue_priority+0x7a>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c5dc:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c5df:	9d                   	popf                                  
  10c5e0:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c5e1:	8b 75 e8             	mov    -0x18(%ebp),%esi               
  10c5e4:	85 72 10             	test   %esi,0x10(%edx)                
  10c5e7:	75 06                	jne    10c5ef <_Thread_queue_Enqueue_priority+0x73><== ALWAYS TAKEN
      _ISR_Enable( level );                                           
  10c5e9:	ff 75 f0             	pushl  -0x10(%ebp)                    <== NOT EXECUTED
  10c5ec:	9d                   	popf                                  <== NOT EXECUTED
      goto restart_forward_search;                                    
  10c5ed:	eb d1                	jmp    10c5c0 <_Thread_queue_Enqueue_priority+0x44><== NOT EXECUTED
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  10c5ef:	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 ) ) {  
  10c5f1:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10c5f4:	75 df                	jne    10c5d5 <_Thread_queue_Enqueue_priority+0x59>
  10c5f6:	8b 75 e0             	mov    -0x20(%ebp),%esi               
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c5f9:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c5fd:	0f 85 b6 00 00 00    	jne    10c6b9 <_Thread_queue_Enqueue_priority+0x13d>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c603:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c60a:	39 fb                	cmp    %edi,%ebx                      
  10c60c:	0f 84 90 00 00 00    	je     10c6a2 <_Thread_queue_Enqueue_priority+0x126>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
  10c612:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10c615:	89 10                	mov    %edx,(%eax)                    
  the_node->previous     = previous_node;                             
  10c617:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c61a:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c61c:	89 42 04             	mov    %eax,0x4(%edx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c61f:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c622:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c625:	9d                   	popf                                  
  10c626:	eb 73                	jmp    10c69b <_Thread_queue_Enqueue_priority+0x11f>
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
  10c628:	6b d2 0c             	imul   $0xc,%edx,%edx                 
  10c62b:	8d 14 11             	lea    (%ecx,%edx,1),%edx             
  10c62e:	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;                         
  10c631:	0f b6 3d 64 04 12 00 	movzbl 0x120464,%edi                  
  10c638:	47                   	inc    %edi                           
  10c639:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  10c63c:	9c                   	pushf                                 
  10c63d:	fa                   	cli                                   
  10c63e:	8f 45 f0             	popl   -0x10(%ebp)                    
  10c641:	8b 75 f0             	mov    -0x10(%ebp),%esi               
  search_thread = (Thread_Control *) _Chain_Last( header );           
  10c644:	8b 7d ec             	mov    -0x14(%ebp),%edi               
  10c647:	8b 57 08             	mov    0x8(%edi),%edx                 
  10c64a:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  10c64d:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10c650:	eb 1d                	jmp    10c66f <_Thread_queue_Enqueue_priority+0xf3>
    search_priority = search_thread->current_priority;                
  10c652:	8b 7a 14             	mov    0x14(%edx),%edi                
    if ( priority >= search_priority )                                
  10c655:	39 fb                	cmp    %edi,%ebx                      
  10c657:	73 1b                	jae    10c674 <_Thread_queue_Enqueue_priority+0xf8>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c659:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c65c:	9d                   	popf                                  
  10c65d:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c65e:	8b 75 e8             	mov    -0x18(%ebp),%esi               
  10c661:	85 72 10             	test   %esi,0x10(%edx)                
  10c664:	75 06                	jne    10c66c <_Thread_queue_Enqueue_priority+0xf0>
      _ISR_Enable( level );                                           
  10c666:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c669:	9d                   	popf                                  
      goto restart_reverse_search;                                    
  10c66a:	eb c5                	jmp    10c631 <_Thread_queue_Enqueue_priority+0xb5>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  10c66c:	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 ) ) {  
  10c66f:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10c672:	75 de                	jne    10c652 <_Thread_queue_Enqueue_priority+0xd6>
  10c674:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c677:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c67b:	75 3c                	jne    10c6b9 <_Thread_queue_Enqueue_priority+0x13d>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c67d:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c684:	39 fb                	cmp    %edi,%ebx                      
  10c686:	74 1a                	je     10c6a2 <_Thread_queue_Enqueue_priority+0x126>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  10c688:	8b 1a                	mov    (%edx),%ebx                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  10c68a:	89 18                	mov    %ebx,(%eax)                    
  the_node->previous      = search_node;                              
  10c68c:	89 50 04             	mov    %edx,0x4(%eax)                 
  search_node->next       = the_node;                                 
  10c68f:	89 02                	mov    %eax,(%edx)                    
  next_node->previous    = the_node;                                  
  10c691:	89 43 04             	mov    %eax,0x4(%ebx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c694:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c697:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c69a:	9d                   	popf                                  
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
  10c69b:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10c6a0:	eb 1f                	jmp    10c6c1 <_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;                              
  10c6a2:	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 );        
  10c6a5:	8d 7a 3c             	lea    0x3c(%edx),%edi                
  10c6a8:	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;                             
  10c6aa:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c6ad:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c6af:	89 42 40             	mov    %eax,0x40(%edx)                
  the_thread->Wait.queue = the_thread_queue;                          
  10c6b2:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c6b5:	56                   	push   %esi                           
  10c6b6:	9d                   	popf                                  
  10c6b7:	eb e2                	jmp    10c69b <_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;                                                   
  10c6b9:	8b 45 10             	mov    0x10(%ebp),%eax                
  10c6bc:	89 30                	mov    %esi,(%eax)                    
  return the_thread_queue->sync_state;                                
  10c6be:	8b 41 30             	mov    0x30(%ecx),%eax                
}                                                                     
  10c6c1:	83 c4 14             	add    $0x14,%esp                     
  10c6c4:	5b                   	pop    %ebx                           
  10c6c5:	5e                   	pop    %esi                           
  10c6c6:	5f                   	pop    %edi                           
  10c6c7:	c9                   	leave                                 
  10c6c8:	c3                   	ret                                   
                                                                      

0010c778 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  10c778:	55                   	push   %ebp                           
  10c779:	89 e5                	mov    %esp,%ebp                      
  10c77b:	57                   	push   %edi                           
  10c77c:	56                   	push   %esi                           
  10c77d:	53                   	push   %ebx                           
  10c77e:	83 ec 1c             	sub    $0x1c,%esp                     
  10c781:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10c784:	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 )                                            
  10c787:	85 f6                	test   %esi,%esi                      
  10c789:	74 36                	je     10c7c1 <_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 ) {
  10c78b:	83 7e 34 01          	cmpl   $0x1,0x34(%esi)                
  10c78f:	75 30                	jne    10c7c1 <_Thread_queue_Requeue+0x49><== NEVER TAKEN
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
  10c791:	9c                   	pushf                                 
  10c792:	fa                   	cli                                   
  10c793:	5b                   	pop    %ebx                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  10c794:	f7 47 10 e0 be 03 00 	testl  $0x3bee0,0x10(%edi)            
  10c79b:	74 22                	je     10c7bf <_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;
  10c79d:	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 );  
  10c7a4:	50                   	push   %eax                           
  10c7a5:	6a 01                	push   $0x1                           
  10c7a7:	57                   	push   %edi                           
  10c7a8:	56                   	push   %esi                           
  10c7a9:	e8 b2 26 00 00       	call   10ee60 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
  10c7ae:	83 c4 0c             	add    $0xc,%esp                      
  10c7b1:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c7b4:	50                   	push   %eax                           
  10c7b5:	57                   	push   %edi                           
  10c7b6:	56                   	push   %esi                           
  10c7b7:	e8 c0 fd ff ff       	call   10c57c <_Thread_queue_Enqueue_priority>
  10c7bc:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
    _ISR_Enable( level );                                             
  10c7bf:	53                   	push   %ebx                           
  10c7c0:	9d                   	popf                                  
  }                                                                   
}                                                                     
  10c7c1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c7c4:	5b                   	pop    %ebx                           
  10c7c5:	5e                   	pop    %esi                           
  10c7c6:	5f                   	pop    %edi                           
  10c7c7:	c9                   	leave                                 
  10c7c8:	c3                   	ret                                   
                                                                      

0010c7cc <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10c7cc:	55                   	push   %ebp                           
  10c7cd:	89 e5                	mov    %esp,%ebp                      
  10c7cf:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10c7d2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c7d5:	50                   	push   %eax                           
  10c7d6:	ff 75 08             	pushl  0x8(%ebp)                      
  10c7d9:	e8 12 f9 ff ff       	call   10c0f0 <_Thread_Get>           
  switch ( location ) {                                               
  10c7de:	83 c4 10             	add    $0x10,%esp                     
  10c7e1:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10c7e5:	75 17                	jne    10c7fe <_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 );                    
  10c7e7:	83 ec 0c             	sub    $0xc,%esp                      
  10c7ea:	50                   	push   %eax                           
  10c7eb:	e8 28 27 00 00       	call   10ef18 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10c7f0:	a1 00 45 12 00       	mov    0x124500,%eax                  
  10c7f5:	48                   	dec    %eax                           
  10c7f6:	a3 00 45 12 00       	mov    %eax,0x124500                  
  10c7fb:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10c7fe:	c9                   	leave                                 
  10c7ff:	c3                   	ret                                   
                                                                      

00116970 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
  116970:	55                   	push   %ebp                           
  116971:	89 e5                	mov    %esp,%ebp                      
  116973:	57                   	push   %edi                           
  116974:	56                   	push   %esi                           
  116975:	53                   	push   %ebx                           
  116976:	83 ec 4c             	sub    $0x4c,%esp                     
  116979:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  11697c:	8d 55 dc             	lea    -0x24(%ebp),%edx               
  11697f:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  116982:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  head->previous = NULL;                                              
  116985:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  tail->previous = head;                                              
  11698c:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  11698f:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  116992:	8d 4d d4             	lea    -0x2c(%ebp),%ecx               
  116995:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  head->previous = NULL;                                              
  116998:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  tail->previous = head;                                              
  11699f:	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 );  
  1169a2:	8d 53 30             	lea    0x30(%ebx),%edx                
  1169a5:	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 ); 
  1169a8:	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;                                       
  1169ab:	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;                                    
  1169ae:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  1169b1:	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;            
  1169b4:	a1 a8 da 13 00       	mov    0x13daa8,%eax                  
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  1169b9:	8b 53 3c             	mov    0x3c(%ebx),%edx                
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  1169bc:	89 43 3c             	mov    %eax,0x3c(%ebx)                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  1169bf:	51                   	push   %ecx                           
  1169c0:	57                   	push   %edi                           
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  1169c1:	29 d0                	sub    %edx,%eax                      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  1169c3:	50                   	push   %eax                           
  1169c4:	ff 75 c0             	pushl  -0x40(%ebp)                    
  1169c7:	e8 38 38 00 00       	call   11a204 <_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();
  1169cc:	a1 20 da 13 00       	mov    0x13da20,%eax                  
  1169d1:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
  1169d4:	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 ) {                                   
  1169d7:	83 c4 10             	add    $0x10,%esp                     
  1169da:	39 45 c4             	cmp    %eax,-0x3c(%ebp)               
  1169dd:	76 10                	jbe    1169ef <_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 );
  1169df:	52                   	push   %edx                           
  1169e0:	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;                                 
  1169e1:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  1169e4:	29 c2                	sub    %eax,%edx                      
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
  1169e6:	52                   	push   %edx                           
  1169e7:	56                   	push   %esi                           
  1169e8:	e8 17 38 00 00       	call   11a204 <_Watchdog_Adjust_to_chain>
  1169ed:	eb 0f                	jmp    1169fe <_Timer_server_Body+0x8e>
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
  1169ef:	73 10                	jae    116a01 <_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 ); 
  1169f1:	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;                                
  1169f2:	2b 45 c4             	sub    -0x3c(%ebp),%eax               
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  1169f5:	50                   	push   %eax                           
  1169f6:	6a 01                	push   $0x1                           
  1169f8:	56                   	push   %esi                           
  1169f9:	e8 9a 37 00 00       	call   11a198 <_Watchdog_Adjust>      
  1169fe:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  116a01:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  116a04:	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 );
  116a07:	8b 43 78             	mov    0x78(%ebx),%eax                
  116a0a:	83 ec 0c             	sub    $0xc,%esp                      
  116a0d:	50                   	push   %eax                           
  116a0e:	e8 b1 08 00 00       	call   1172c4 <_Chain_Get>            
                                                                      
    if ( timer == NULL ) {                                            
  116a13:	83 c4 10             	add    $0x10,%esp                     
  116a16:	85 c0                	test   %eax,%eax                      
  116a18:	74 29                	je     116a43 <_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 ) {                 
  116a1a:	8b 50 38             	mov    0x38(%eax),%edx                <== NOT EXECUTED
  116a1d:	83 fa 01             	cmp    $0x1,%edx                      <== NOT EXECUTED
  116a20:	75 0b                	jne    116a2d <_Timer_server_Body+0xbd><== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116a22:	52                   	push   %edx                           <== NOT EXECUTED
  116a23:	52                   	push   %edx                           <== NOT EXECUTED
  116a24:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116a27:	50                   	push   %eax                           <== NOT EXECUTED
  116a28:	ff 75 c0             	pushl  -0x40(%ebp)                    <== NOT EXECUTED
  116a2b:	eb 0c                	jmp    116a39 <_Timer_server_Body+0xc9><== NOT EXECUTED
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116a2d:	83 fa 03             	cmp    $0x3,%edx                      <== NOT EXECUTED
  116a30:	75 d5                	jne    116a07 <_Timer_server_Body+0x97><== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116a32:	51                   	push   %ecx                           <== NOT EXECUTED
  116a33:	51                   	push   %ecx                           <== NOT EXECUTED
  116a34:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116a37:	50                   	push   %eax                           <== NOT EXECUTED
  116a38:	56                   	push   %esi                           <== NOT EXECUTED
  116a39:	e8 4e 38 00 00       	call   11a28c <_Watchdog_Insert>      <== NOT EXECUTED
  116a3e:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  116a41:	eb c4                	jmp    116a07 <_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 );                                            
  116a43:	9c                   	pushf                                 
  116a44:	fa                   	cli                                   
  116a45:	5a                   	pop    %edx                           
      tmp = ts->insert_chain;                                         
  116a46:	8b 43 78             	mov    0x78(%ebx),%eax                
      if ( _Chain_Is_empty( insert_chain ) ) {                        
  116a49:	b0 01                	mov    $0x1,%al                       
  116a4b:	8b 4d b4             	mov    -0x4c(%ebp),%ecx               
  116a4e:	39 4d dc             	cmp    %ecx,-0x24(%ebp)               
  116a51:	75 09                	jne    116a5c <_Timer_server_Body+0xec><== NEVER TAKEN
        ts->insert_chain = NULL;                                      
  116a53:	c7 43 78 00 00 00 00 	movl   $0x0,0x78(%ebx)                
        do_loop          = false;                                     
  116a5a:	31 c0                	xor    %eax,%eax                      
      }                                                               
    _ISR_Enable( level );                                             
  116a5c:	52                   	push   %edx                           
  116a5d:	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 ) {                                                 
  116a5e:	84 c0                	test   %al,%al                        
  116a60:	0f 85 4e ff ff ff    	jne    1169b4 <_Timer_server_Body+0x44><== NEVER TAKEN
  116a66:	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 ) ) {                          
  116a69:	39 45 d0             	cmp    %eax,-0x30(%ebp)               
  116a6c:	74 3a                	je     116aa8 <_Timer_server_Body+0x138>
  116a6e:	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 );                                        
  116a71:	9c                   	pushf                                 
  116a72:	fa                   	cli                                   
  116a73:	59                   	pop    %ecx                           
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  116a74:	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))                                   
  116a77:	3b 45 b0             	cmp    -0x50(%ebp),%eax               
  116a7a:	74 25                	je     116aa1 <_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;                            
  116a7c:	8b 10                	mov    (%eax),%edx                    
                                                                      
  head->next = new_first;                                             
  116a7e:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  new_first->previous = head;                                         
  116a81:	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 ) {                                     
  116a84:	85 c0                	test   %eax,%eax                      
  116a86:	74 19                	je     116aa1 <_Timer_server_Body+0x131><== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
  116a88:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
          _ISR_Enable( level );                                       
  116a8f:	51                   	push   %ecx                           
  116a90:	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 );    
  116a91:	52                   	push   %edx                           
  116a92:	52                   	push   %edx                           
  116a93:	ff 70 24             	pushl  0x24(%eax)                     
  116a96:	ff 70 20             	pushl  0x20(%eax)                     
  116a99:	ff 50 1c             	call   *0x1c(%eax)                    
      }                                                               
  116a9c:	83 c4 10             	add    $0x10,%esp                     
  116a9f:	eb d0                	jmp    116a71 <_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 );                                       
  116aa1:	51                   	push   %ecx                           
  116aa2:	9d                   	popf                                  
  116aa3:	e9 06 ff ff ff       	jmp    1169ae <_Timer_server_Body+0x3e>
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
  116aa8:	c6 43 7c 00          	movb   $0x0,0x7c(%ebx)                
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
  116aac:	e8 23 fe ff ff       	call   1168d4 <_Thread_Disable_dispatch>
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
  116ab1:	51                   	push   %ecx                           
  116ab2:	51                   	push   %ecx                           
  116ab3:	6a 08                	push   $0x8                           
  116ab5:	ff 33                	pushl  (%ebx)                         
  116ab7:	e8 b4 31 00 00       	call   119c70 <_Thread_Set_state>     
        _Timer_server_Reset_interval_system_watchdog( ts );           
  116abc:	89 d8                	mov    %ebx,%eax                      
  116abe:	e8 21 fe ff ff       	call   1168e4 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
  116ac3:	89 d8                	mov    %ebx,%eax                      
  116ac5:	e8 60 fe ff ff       	call   11692a <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
  116aca:	e8 9f 29 00 00       	call   11946e <_Thread_Enable_dispatch>
                                                                      
      ts->active = true;                                              
  116acf:	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 );        
  116ad3:	8d 43 08             	lea    0x8(%ebx),%eax                 
  116ad6:	89 04 24             	mov    %eax,(%esp)                    
  116ad9:	e8 ce 38 00 00       	call   11a3ac <_Watchdog_Remove>      
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  116ade:	8d 43 40             	lea    0x40(%ebx),%eax                
  116ae1:	89 04 24             	mov    %eax,(%esp)                    
  116ae4:	e8 c3 38 00 00       	call   11a3ac <_Watchdog_Remove>      
  116ae9:	83 c4 10             	add    $0x10,%esp                     
  116aec:	e9 bd fe ff ff       	jmp    1169ae <_Timer_server_Body+0x3e>
                                                                      

00116af1 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
  116af1:	55                   	push   %ebp                           
  116af2:	89 e5                	mov    %esp,%ebp                      
  116af4:	57                   	push   %edi                           
  116af5:	56                   	push   %esi                           
  116af6:	53                   	push   %ebx                           
  116af7:	83 ec 2c             	sub    $0x2c,%esp                     
  116afa:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  116afd:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( ts->insert_chain == NULL ) {                                   
  116b00:	8b 43 78             	mov    0x78(%ebx),%eax                
  116b03:	85 c0                	test   %eax,%eax                      
  116b05:	0f 85 de 00 00 00    	jne    116be9 <_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();                                         
  116b0b:	e8 c4 fd ff ff       	call   1168d4 <_Thread_Disable_dispatch>
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  116b10:	8b 46 38             	mov    0x38(%esi),%eax                
  116b13:	83 f8 01             	cmp    $0x1,%eax                      
  116b16:	75 5a                	jne    116b72 <_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 );                                            
  116b18:	9c                   	pushf                                 
  116b19:	fa                   	cli                                   
  116b1a:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = _Watchdog_Ticks_since_boot;                            
  116b1d:	8b 15 a8 da 13 00    	mov    0x13daa8,%edx                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
  116b23:	8b 4b 3c             	mov    0x3c(%ebx),%ecx                
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  116b26:	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 );                            
  116b29:	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 ) ) {        
  116b2c:	39 f8                	cmp    %edi,%eax                      
  116b2e:	74 19                	je     116b49 <_Timer_server_Schedule_operation_method+0x58>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
  116b30:	89 d7                	mov    %edx,%edi                      
  116b32:	29 cf                	sub    %ecx,%edi                      
  116b34:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
  116b37:	8b 78 10             	mov    0x10(%eax),%edi                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
  116b3a:	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) {                                   
  116b3c:	3b 7d e4             	cmp    -0x1c(%ebp),%edi               
  116b3f:	76 05                	jbe    116b46 <_Timer_server_Schedule_operation_method+0x55>
        delta_interval -= delta;                                      
  116b41:	89 f9                	mov    %edi,%ecx                      
  116b43:	2b 4d e4             	sub    -0x1c(%ebp),%ecx               
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116b46:	89 48 10             	mov    %ecx,0x10(%eax)                
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
  116b49:	89 53 3c             	mov    %edx,0x3c(%ebx)                
    _ISR_Enable( level );                                             
  116b4c:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116b4f:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116b50:	50                   	push   %eax                           
  116b51:	50                   	push   %eax                           
  116b52:	83 c6 10             	add    $0x10,%esi                     
  116b55:	56                   	push   %esi                           
  116b56:	8d 43 30             	lea    0x30(%ebx),%eax                
  116b59:	50                   	push   %eax                           
  116b5a:	e8 2d 37 00 00       	call   11a28c <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116b5f:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116b62:	83 c4 10             	add    $0x10,%esp                     
  116b65:	84 c0                	test   %al,%al                        
  116b67:	75 74                	jne    116bdd <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_interval_system_watchdog( ts );             
  116b69:	89 d8                	mov    %ebx,%eax                      
  116b6b:	e8 74 fd ff ff       	call   1168e4 <_Timer_server_Reset_interval_system_watchdog>
  116b70:	eb 6b                	jmp    116bdd <_Timer_server_Schedule_operation_method+0xec>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116b72:	83 f8 03             	cmp    $0x3,%eax                      
  116b75:	75 66                	jne    116bdd <_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 );                                            
  116b77:	9c                   	pushf                                 
  116b78:	fa                   	cli                                   
  116b79:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
  116b7c:	8b 15 20 da 13 00    	mov    0x13da20,%edx                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
  116b82:	8b 43 74             	mov    0x74(%ebx),%eax                
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  116b85:	8b 4b 68             	mov    0x68(%ebx),%ecx                
  116b88:	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 ) ) {             
  116b8b:	39 f9                	cmp    %edi,%ecx                      
  116b8d:	74 27                	je     116bb6 <_Timer_server_Schedule_operation_method+0xc5>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
  116b8f:	8b 79 10             	mov    0x10(%ecx),%edi                
  116b92:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
      if ( snapshot > last_snapshot ) {                               
  116b95:	39 c2                	cmp    %eax,%edx                      
  116b97:	76 15                	jbe    116bae <_Timer_server_Schedule_operation_method+0xbd>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
  116b99:	89 d7                	mov    %edx,%edi                      
  116b9b:	29 c7                	sub    %eax,%edi                      
  116b9d:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
        if (delta_interval > delta) {                                 
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
  116ba0:	31 c0                	xor    %eax,%eax                      
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
  116ba2:	39 7d d4             	cmp    %edi,-0x2c(%ebp)               
  116ba5:	76 0c                	jbe    116bb3 <_Timer_server_Schedule_operation_method+0xc2><== NEVER TAKEN
          delta_interval -= delta;                                    
  116ba7:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  116baa:	29 f8                	sub    %edi,%eax                      
  116bac:	eb 05                	jmp    116bb3 <_Timer_server_Schedule_operation_method+0xc2>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
  116bae:	03 45 d4             	add    -0x2c(%ebp),%eax               
        delta_interval += delta;                                      
  116bb1:	29 d0                	sub    %edx,%eax                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116bb3:	89 41 10             	mov    %eax,0x10(%ecx)                
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
  116bb6:	89 53 74             	mov    %edx,0x74(%ebx)                
    _ISR_Enable( level );                                             
  116bb9:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116bbc:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116bbd:	57                   	push   %edi                           
  116bbe:	57                   	push   %edi                           
  116bbf:	83 c6 10             	add    $0x10,%esi                     
  116bc2:	56                   	push   %esi                           
  116bc3:	8d 43 68             	lea    0x68(%ebx),%eax                
  116bc6:	50                   	push   %eax                           
  116bc7:	e8 c0 36 00 00       	call   11a28c <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116bcc:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116bcf:	83 c4 10             	add    $0x10,%esp                     
  116bd2:	84 c0                	test   %al,%al                        
  116bd4:	75 07                	jne    116bdd <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
  116bd6:	89 d8                	mov    %ebx,%eax                      
  116bd8:	e8 4d fd ff ff       	call   11692a <_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 );           
  }                                                                   
}                                                                     
  116bdd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116be0:	5b                   	pop    %ebx                           
  116be1:	5e                   	pop    %esi                           
  116be2:	5f                   	pop    %edi                           
  116be3:	c9                   	leave                                 
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
  116be4:	e9 85 28 00 00       	jmp    11946e <_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 );           
  116be9:	8b 43 78             	mov    0x78(%ebx),%eax                <== NOT EXECUTED
  116bec:	89 75 0c             	mov    %esi,0xc(%ebp)                 <== NOT EXECUTED
  116bef:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
  }                                                                   
}                                                                     
  116bf2:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  116bf5:	5b                   	pop    %ebx                           <== NOT EXECUTED
  116bf6:	5e                   	pop    %esi                           <== NOT EXECUTED
  116bf7:	5f                   	pop    %edi                           <== NOT EXECUTED
  116bf8:	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 );           
  116bf9:	e9 8a 06 00 00       	jmp    117288 <_Chain_Append>         <== NOT EXECUTED
                                                                      

0010cb63 <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10cb63:	55                   	push   %ebp                           
  10cb64:	89 e5                	mov    %esp,%ebp                      
  10cb66:	57                   	push   %edi                           
  10cb67:	56                   	push   %esi                           
  10cb68:	53                   	push   %ebx                           
  10cb69:	83 ec 0c             	sub    $0xc,%esp                      
  10cb6c:	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 );
  }                                                                   
}                                                                     
  10cb6f:	8b 1d d4 46 12 00    	mov    0x1246d4,%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 );
  10cb75:	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 );             
  10cb79:	eb 15                	jmp    10cb90 <_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 )                      
  10cb7b:	8b 43 30             	mov    0x30(%ebx),%eax                
  10cb7e:	85 c0                	test   %eax,%eax                      
  10cb80:	74 0b                	je     10cb8d <_User_extensions_Fatal+0x2a>
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  10cb82:	52                   	push   %edx                           
  10cb83:	57                   	push   %edi                           
  10cb84:	56                   	push   %esi                           
  10cb85:	ff 75 08             	pushl  0x8(%ebp)                      
  10cb88:	ff d0                	call   *%eax                          
  10cb8a:	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 ) {                             
  10cb8d:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10cb90:	81 fb cc 46 12 00    	cmp    $0x1246cc,%ebx                 
  10cb96:	75 e3                	jne    10cb7b <_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 );
  }                                                                   
}                                                                     
  10cb98:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10cb9b:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10cb9c:	5e                   	pop    %esi                           <== NOT EXECUTED
  10cb9d:	5f                   	pop    %edi                           <== NOT EXECUTED
  10cb9e:	c9                   	leave                                 <== NOT EXECUTED
  10cb9f:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010ca4c <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
  10ca4c:	55                   	push   %ebp                           
  10ca4d:	89 e5                	mov    %esp,%ebp                      
  10ca4f:	57                   	push   %edi                           
  10ca50:	56                   	push   %esi                           
  10ca51:	53                   	push   %ebx                           
  10ca52:	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;  
  10ca55:	a1 a0 04 12 00       	mov    0x1204a0,%eax                  
  10ca5a:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  initial_extensions   = Configuration.User_extension_table;          
  10ca5d:	8b 35 a4 04 12 00    	mov    0x1204a4,%esi                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  10ca63:	c7 05 cc 46 12 00 d0 	movl   $0x1246d0,0x1246cc             
  10ca6a:	46 12 00                                                    
  head->previous = NULL;                                              
  10ca6d:	c7 05 d0 46 12 00 00 	movl   $0x0,0x1246d0                  
  10ca74:	00 00 00                                                    
  tail->previous = head;                                              
  10ca77:	c7 05 d4 46 12 00 cc 	movl   $0x1246cc,0x1246d4             
  10ca7e:	46 12 00                                                    
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  10ca81:	c7 05 04 45 12 00 08 	movl   $0x124508,0x124504             
  10ca88:	45 12 00                                                    
  head->previous = NULL;                                              
  10ca8b:	c7 05 08 45 12 00 00 	movl   $0x0,0x124508                  
  10ca92:	00 00 00                                                    
  tail->previous = head;                                              
  10ca95:	c7 05 0c 45 12 00 04 	movl   $0x124504,0x12450c             
  10ca9c:	45 12 00                                                    
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
  10ca9f:	85 f6                	test   %esi,%esi                      
  10caa1:	74 53                	je     10caf6 <_User_extensions_Handler_initialization+0xaa><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
  10caa3:	6b c8 34             	imul   $0x34,%eax,%ecx                
  10caa6:	83 ec 0c             	sub    $0xc,%esp                      
  10caa9:	51                   	push   %ecx                           
  10caaa:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10caad:	e8 3d 04 00 00       	call   10ceef <_Workspace_Allocate_or_fatal_error>
  10cab2:	89 c3                	mov    %eax,%ebx                      
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
  10cab4:	31 c0                	xor    %eax,%eax                      
  10cab6:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10cab9:	89 df                	mov    %ebx,%edi                      
  10cabb:	f3 aa                	rep stos %al,%es:(%edi)               
  10cabd:	89 f0                	mov    %esi,%eax                      
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10cabf:	83 c4 10             	add    $0x10,%esp                     
  10cac2:	31 d2                	xor    %edx,%edx                      
  10cac4:	eb 2b                	jmp    10caf1 <_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;                             
  10cac6:	8d 7b 14             	lea    0x14(%ebx),%edi                
  10cac9:	89 c6                	mov    %eax,%esi                      
  10cacb:	b9 08 00 00 00       	mov    $0x8,%ecx                      
  10cad0:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _User_extensions_Add_set( extension );                              
  10cad2:	83 ec 0c             	sub    $0xc,%esp                      
  10cad5:	53                   	push   %ebx                           
  10cad6:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  10cad9:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10cadc:	e8 df 24 00 00       	call   10efc0 <_User_extensions_Add_set>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
  10cae1:	83 c3 34             	add    $0x34,%ebx                     
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10cae4:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10cae7:	42                   	inc    %edx                           
  10cae8:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10caeb:	83 c0 20             	add    $0x20,%eax                     
  10caee:	83 c4 10             	add    $0x10,%esp                     
  10caf1:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10caf4:	72 d0                	jb     10cac6 <_User_extensions_Handler_initialization+0x7a>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
  10caf6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10caf9:	5b                   	pop    %ebx                           
  10cafa:	5e                   	pop    %esi                           
  10cafb:	5f                   	pop    %edi                           
  10cafc:	c9                   	leave                                 
  10cafd:	c3                   	ret                                   
                                                                      

0010cb31 <_User_extensions_Thread_exitted>: void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
  10cb31:	55                   	push   %ebp                           
  10cb32:	89 e5                	mov    %esp,%ebp                      
  10cb34:	56                   	push   %esi                           
  10cb35:	53                   	push   %ebx                           
  10cb36:	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 );
  }                                                                   
}                                                                     
  10cb39:	8b 1d d4 46 12 00    	mov    0x1246d4,%ebx                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10cb3f:	eb 13                	jmp    10cb54 <_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 )             
  10cb41:	8b 43 2c             	mov    0x2c(%ebx),%eax                
  10cb44:	85 c0                	test   %eax,%eax                      
  10cb46:	74 09                	je     10cb51 <_User_extensions_Thread_exitted+0x20>
      (*the_extension->Callouts.thread_exitted)( executing );         
  10cb48:	83 ec 0c             	sub    $0xc,%esp                      
  10cb4b:	56                   	push   %esi                           
  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 cc 46 12 00    	cmp    $0x1246cc,%ebx                 
  10cb5a:	75 e5                	jne    10cb41 <_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 );         
  }                                                                   
}                                                                     
  10cb5c:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10cb5f:	5b                   	pop    %ebx                           
  10cb60:	5e                   	pop    %esi                           
  10cb61:	c9                   	leave                                 
  10cb62:	c3                   	ret                                   
                                                                      

0010e38c <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
  10e38c:	55                   	push   %ebp                           
  10e38d:	89 e5                	mov    %esp,%ebp                      
  10e38f:	57                   	push   %edi                           
  10e390:	56                   	push   %esi                           
  10e391:	53                   	push   %ebx                           
  10e392:	83 ec 1c             	sub    $0x1c,%esp                     
  10e395:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e398:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10e39b:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  10e39e:	9c                   	pushf                                 
  10e39f:	fa                   	cli                                   
  10e3a0:	58                   	pop    %eax                           
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
  10e3a1:	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 );                            
  10e3a3:	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 ) ) {                                 
  10e3a6:	39 ca                	cmp    %ecx,%edx                      
  10e3a8:	74 44                	je     10e3ee <_Watchdog_Adjust+0x62> 
    switch ( direction ) {                                            
  10e3aa:	85 ff                	test   %edi,%edi                      
  10e3ac:	74 3c                	je     10e3ea <_Watchdog_Adjust+0x5e> 
  10e3ae:	4f                   	dec    %edi                           
  10e3af:	75 3d                	jne    10e3ee <_Watchdog_Adjust+0x62> <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
  10e3b1:	01 5a 10             	add    %ebx,0x10(%edx)                
        break;                                                        
  10e3b4:	eb 38                	jmp    10e3ee <_Watchdog_Adjust+0x62> 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
  10e3b6:	8b 16                	mov    (%esi),%edx                    
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  10e3b8:	8b 7a 10             	mov    0x10(%edx),%edi                
  10e3bb:	39 fb                	cmp    %edi,%ebx                      
  10e3bd:	73 07                	jae    10e3c6 <_Watchdog_Adjust+0x3a> 
            _Watchdog_First( header )->delta_interval -= units;       
  10e3bf:	29 df                	sub    %ebx,%edi                      
  10e3c1:	89 7a 10             	mov    %edi,0x10(%edx)                
            break;                                                    
  10e3c4:	eb 28                	jmp    10e3ee <_Watchdog_Adjust+0x62> 
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
  10e3c6:	c7 42 10 01 00 00 00 	movl   $0x1,0x10(%edx)                
                                                                      
            _ISR_Enable( level );                                     
  10e3cd:	50                   	push   %eax                           
  10e3ce:	9d                   	popf                                  
                                                                      
            _Watchdog_Tickle( header );                               
  10e3cf:	83 ec 0c             	sub    $0xc,%esp                      
  10e3d2:	56                   	push   %esi                           
  10e3d3:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10e3d6:	e8 a5 01 00 00       	call   10e580 <_Watchdog_Tickle>      
                                                                      
            _ISR_Disable( level );                                    
  10e3db:	9c                   	pushf                                 
  10e3dc:	fa                   	cli                                   
  10e3dd:	58                   	pop    %eax                           
                                                                      
            if ( _Chain_Is_empty( header ) )                          
  10e3de:	83 c4 10             	add    $0x10,%esp                     
  10e3e1:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10e3e4:	39 0e                	cmp    %ecx,(%esi)                    
  10e3e6:	74 06                	je     10e3ee <_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;       
  10e3e8:	29 fb                	sub    %edi,%ebx                      
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  10e3ea:	85 db                	test   %ebx,%ebx                      
  10e3ec:	75 c8                	jne    10e3b6 <_Watchdog_Adjust+0x2a> <== ALWAYS TAKEN
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10e3ee:	50                   	push   %eax                           
  10e3ef:	9d                   	popf                                  
                                                                      
}                                                                     
  10e3f0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e3f3:	5b                   	pop    %ebx                           
  10e3f4:	5e                   	pop    %esi                           
  10e3f5:	5f                   	pop    %edi                           
  10e3f6:	c9                   	leave                                 
  10e3f7:	c3                   	ret                                   
                                                                      

0010cda4 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
  10cda4:	55                   	push   %ebp                           
  10cda5:	89 e5                	mov    %esp,%ebp                      
  10cda7:	56                   	push   %esi                           
  10cda8:	53                   	push   %ebx                           
  10cda9:	8b 55 08             	mov    0x8(%ebp),%edx                 
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  10cdac:	9c                   	pushf                                 
  10cdad:	fa                   	cli                                   
  10cdae:	5e                   	pop    %esi                           
  previous_state = the_watchdog->state;                               
  10cdaf:	8b 42 08             	mov    0x8(%edx),%eax                 
  switch ( previous_state ) {                                         
  10cdb2:	83 f8 01             	cmp    $0x1,%eax                      
  10cdb5:	74 09                	je     10cdc0 <_Watchdog_Remove+0x1c> 
  10cdb7:	72 42                	jb     10cdfb <_Watchdog_Remove+0x57> 
  10cdb9:	83 f8 03             	cmp    $0x3,%eax                      
  10cdbc:	77 3d                	ja     10cdfb <_Watchdog_Remove+0x57> <== NEVER TAKEN
  10cdbe:	eb 09                	jmp    10cdc9 <_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;                        
  10cdc0:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
      break;                                                          
  10cdc7:	eb 32                	jmp    10cdfb <_Watchdog_Remove+0x57> 
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
  10cdc9:	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 );                                           
}                                                                     
  10cdd0:	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) )                            
  10cdd2:	83 39 00             	cmpl   $0x0,(%ecx)                    
  10cdd5:	74 06                	je     10cddd <_Watchdog_Remove+0x39> 
        next_watchdog->delta_interval += the_watchdog->delta_interval;
  10cdd7:	8b 5a 10             	mov    0x10(%edx),%ebx                
  10cdda:	01 59 10             	add    %ebx,0x10(%ecx)                
                                                                      
      if ( _Watchdog_Sync_count )                                     
  10cddd:	8b 1d 10 46 12 00    	mov    0x124610,%ebx                  
  10cde3:	85 db                	test   %ebx,%ebx                      
  10cde5:	74 0c                	je     10cdf3 <_Watchdog_Remove+0x4f> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
  10cde7:	8b 1d 18 47 12 00    	mov    0x124718,%ebx                  
  10cded:	89 1d a8 45 12 00    	mov    %ebx,0x1245a8                  
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  10cdf3:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  next->previous = previous;                                          
  10cdf6:	89 59 04             	mov    %ebx,0x4(%ecx)                 
  previous->next = next;                                              
  10cdf9:	89 0b                	mov    %ecx,(%ebx)                    
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
  10cdfb:	8b 0d 14 46 12 00    	mov    0x124614,%ecx                  
  10ce01:	89 4a 18             	mov    %ecx,0x18(%edx)                
                                                                      
  _ISR_Enable( level );                                               
  10ce04:	56                   	push   %esi                           
  10ce05:	9d                   	popf                                  
  return( previous_state );                                           
}                                                                     
  10ce06:	5b                   	pop    %ebx                           
  10ce07:	5e                   	pop    %esi                           
  10ce08:	c9                   	leave                                 
  10ce09:	c3                   	ret                                   
                                                                      

0010df30 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
  10df30:	55                   	push   %ebp                           
  10df31:	89 e5                	mov    %esp,%ebp                      
  10df33:	57                   	push   %edi                           
  10df34:	56                   	push   %esi                           
  10df35:	53                   	push   %ebx                           
  10df36:	83 ec 20             	sub    $0x20,%esp                     
  10df39:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10df3c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
  10df3f:	9c                   	pushf                                 
  10df40:	fa                   	cli                                   
  10df41:	8f 45 e4             	popl   -0x1c(%ebp)                    
    printk( "Watchdog Chain: %s %p\n", name, header );                
  10df44:	56                   	push   %esi                           
  10df45:	57                   	push   %edi                           
  10df46:	68 ec 04 12 00       	push   $0x1204ec                      
  10df4b:	e8 88 ab ff ff       	call   108ad8 <printk>                
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
  10df50:	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 );                            
  10df52:	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 ) ) {                               
  10df55:	83 c4 10             	add    $0x10,%esp                     
  10df58:	39 f3                	cmp    %esi,%ebx                      
  10df5a:	74 1d                	je     10df79 <_Watchdog_Report_chain+0x49>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
  10df5c:	52                   	push   %edx                           
  10df5d:	52                   	push   %edx                           
  10df5e:	53                   	push   %ebx                           
  10df5f:	6a 00                	push   $0x0                           
  10df61:	e8 32 00 00 00       	call   10df98 <_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 )                                       
  10df66:	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 ) ;                           
  10df68:	83 c4 10             	add    $0x10,%esp                     
  10df6b:	39 f3                	cmp    %esi,%ebx                      
  10df6d:	75 ed                	jne    10df5c <_Watchdog_Report_chain+0x2c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
  10df6f:	50                   	push   %eax                           
  10df70:	50                   	push   %eax                           
  10df71:	57                   	push   %edi                           
  10df72:	68 03 05 12 00       	push   $0x120503                      
  10df77:	eb 08                	jmp    10df81 <_Watchdog_Report_chain+0x51>
    } else {                                                          
      printk( "Chain is empty\n" );                                   
  10df79:	83 ec 0c             	sub    $0xc,%esp                      
  10df7c:	68 12 05 12 00       	push   $0x120512                      
  10df81:	e8 52 ab ff ff       	call   108ad8 <printk>                
  10df86:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
  _ISR_Enable( level );                                               
  10df89:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10df8c:	9d                   	popf                                  
}                                                                     
  10df8d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10df90:	5b                   	pop    %ebx                           
  10df91:	5e                   	pop    %esi                           
  10df92:	5f                   	pop    %edi                           
  10df93:	c9                   	leave                                 
  10df94:	c3                   	ret                                   
                                                                      

0010ab2c <rtems_chain_append_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
  10ab2c:	55                   	push   %ebp                           
  10ab2d:	89 e5                	mov    %esp,%ebp                      
  10ab2f:	56                   	push   %esi                           
  10ab30:	53                   	push   %ebx                           
  10ab31:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10ab34:	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 );               
  10ab37:	50                   	push   %eax                           
  10ab38:	50                   	push   %eax                           
  10ab39:	ff 75 0c             	pushl  0xc(%ebp)                      
  10ab3c:	ff 75 08             	pushl  0x8(%ebp)                      
  10ab3f:	e8 48 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 ) {                                                  
  10ab44:	83 c4 10             	add    $0x10,%esp                     
  10ab47:	84 c0                	test   %al,%al                        
  10ab49:	74 11                	je     10ab5c <rtems_chain_append_with_notification+0x30><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
  10ab4b:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10ab4e:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10ab51:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ab54:	5b                   	pop    %ebx                           
  10ab55:	5e                   	pop    %esi                           
  10ab56:	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 );                            
  10ab57:	e9 d4 f6 ff ff       	jmp    10a230 <rtems_event_send>      
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10ab5c:	31 c0                	xor    %eax,%eax                      
  10ab5e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ab61:	5b                   	pop    %ebx                           
  10ab62:	5e                   	pop    %esi                           
  10ab63:	c9                   	leave                                 
  10ab64:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010aba4 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
  10aba4:	55                   	push   %ebp                           
  10aba5:	89 e5                	mov    %esp,%ebp                      
  10aba7:	57                   	push   %edi                           
  10aba8:	56                   	push   %esi                           
  10aba9:	53                   	push   %ebx                           
  10abaa:	83 ec 1c             	sub    $0x1c,%esp                     
  10abad:	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(                                         
  10abb0:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10abb3:	eb 13                	jmp    10abc8 <rtems_chain_get_with_wait+0x24>
  10abb5:	56                   	push   %esi                           
  10abb6:	ff 75 10             	pushl  0x10(%ebp)                     
  10abb9:	6a 00                	push   $0x0                           
  10abbb:	57                   	push   %edi                           
  10abbc:	e8 0f f5 ff ff       	call   10a0d0 <rtems_event_receive>   
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
  10abc1:	83 c4 10             	add    $0x10,%esp                     
  10abc4:	85 c0                	test   %eax,%eax                      
  10abc6:	75 16                	jne    10abde <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 );                                     
  10abc8:	83 ec 0c             	sub    $0xc,%esp                      
  10abcb:	ff 75 08             	pushl  0x8(%ebp)                      
  10abce:	e8 59 04 00 00       	call   10b02c <_Chain_Get>            
  10abd3:	89 c3                	mov    %eax,%ebx                      
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  10abd5:	83 c4 10             	add    $0x10,%esp                     
  10abd8:	85 c0                	test   %eax,%eax                      
  10abda:	74 d9                	je     10abb5 <rtems_chain_get_with_wait+0x11>
  10abdc:	31 c0                	xor    %eax,%eax                      
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
  10abde:	8b 55 14             	mov    0x14(%ebp),%edx                
  10abe1:	89 1a                	mov    %ebx,(%edx)                    
                                                                      
  return sc;                                                          
}                                                                     
  10abe3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10abe6:	5b                   	pop    %ebx                           
  10abe7:	5e                   	pop    %esi                           
  10abe8:	5f                   	pop    %edi                           
  10abe9:	c9                   	leave                                 
  10abea:	c3                   	ret                                   
                                                                      

0010abec <rtems_chain_prepend_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
  10abec:	55                   	push   %ebp                           
  10abed:	89 e5                	mov    %esp,%ebp                      
  10abef:	56                   	push   %esi                           
  10abf0:	53                   	push   %ebx                           
  10abf1:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10abf4:	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 );              
  10abf7:	50                   	push   %eax                           
  10abf8:	50                   	push   %eax                           
  10abf9:	ff 75 0c             	pushl  0xc(%ebp)                      
  10abfc:	ff 75 08             	pushl  0x8(%ebp)                      
  10abff:	e8 6c 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) {                                                    
  10ac04:	83 c4 10             	add    $0x10,%esp                     
  10ac07:	84 c0                	test   %al,%al                        
  10ac09:	74 11                	je     10ac1c <rtems_chain_prepend_with_notification+0x30><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
  10ac0b:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10ac0e:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10ac11:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ac14:	5b                   	pop    %ebx                           
  10ac15:	5e                   	pop    %esi                           
  10ac16:	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 );                            
  10ac17:	e9 14 f6 ff ff       	jmp    10a230 <rtems_event_send>      
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10ac1c:	31 c0                	xor    %eax,%eax                      
  10ac1e:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  10ac21:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10ac22:	5e                   	pop    %esi                           <== NOT EXECUTED
  10ac23:	c9                   	leave                                 <== NOT EXECUTED
  10ac24:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010b710 <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 ) {
  10b710:	55                   	push   %ebp                           
  10b711:	89 e5                	mov    %esp,%ebp                      
  10b713:	57                   	push   %edi                           
  10b714:	56                   	push   %esi                           
  10b715:	53                   	push   %ebx                           
  10b716:	83 ec 0c             	sub    $0xc,%esp                      
  10b719:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b71c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10b71f:	8b 45 10             	mov    0x10(%ebp),%eax                
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
  10b722:	8b 15 f4 7d 12 00    	mov    0x127df4,%edx                  
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
  10b728:	83 3d 38 7d 12 00 00 	cmpl   $0x0,0x127d38                  
  10b72f:	0f 85 cc 00 00 00    	jne    10b801 <rtems_io_register_driver+0xf1><== NEVER TAKEN
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
  10b735:	85 c0                	test   %eax,%eax                      
  10b737:	0f 84 cb 00 00 00    	je     10b808 <rtems_io_register_driver+0xf8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
  10b73d:	89 10                	mov    %edx,(%eax)                    
                                                                      
  if ( driver_table == NULL )                                         
  10b73f:	85 f6                	test   %esi,%esi                      
  10b741:	0f 84 c1 00 00 00    	je     10b808 <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;
  10b747:	83 3e 00             	cmpl   $0x0,(%esi)                    
  10b74a:	0f 85 cc 00 00 00    	jne    10b81c <rtems_io_register_driver+0x10c>
  10b750:	83 7e 04 00          	cmpl   $0x0,0x4(%esi)                 
  10b754:	0f 85 c2 00 00 00    	jne    10b81c <rtems_io_register_driver+0x10c>
  10b75a:	e9 a9 00 00 00       	jmp    10b808 <rtems_io_register_driver+0xf8>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10b75f:	8b 15 20 7b 12 00    	mov    0x127b20,%edx                  
  10b765:	42                   	inc    %edx                           
  10b766:	89 15 20 7b 12 00    	mov    %edx,0x127b20                  
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
  10b76c:	85 db                	test   %ebx,%ebx                      
  10b76e:	75 32                	jne    10b7a2 <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;                
  10b770:	8b 0d f4 7d 12 00    	mov    0x127df4,%ecx                  
  10b776:	8b 15 f8 7d 12 00    	mov    0x127df8,%edx                  
  10b77c:	eb 15                	jmp    10b793 <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;
  10b77e:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10b781:	0f 85 9f 00 00 00    	jne    10b826 <rtems_io_register_driver+0x116>
  10b787:	83 7a 04 00          	cmpl   $0x0,0x4(%edx)                 
  10b78b:	0f 85 95 00 00 00    	jne    10b826 <rtems_io_register_driver+0x116>
  10b791:	eb 04                	jmp    10b797 <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 ) {                                         
  10b793:	39 cb                	cmp    %ecx,%ebx                      
  10b795:	72 e7                	jb     10b77e <rtems_io_register_driver+0x6e>
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
  10b797:	89 18                	mov    %ebx,(%eax)                    
                                                                      
  if ( m != n )                                                       
  10b799:	39 cb                	cmp    %ecx,%ebx                      
  10b79b:	75 30                	jne    10b7cd <rtems_io_register_driver+0xbd>
  10b79d:	e9 8d 00 00 00       	jmp    10b82f <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;
  10b7a2:	6b d3 18             	imul   $0x18,%ebx,%edx                
  10b7a5:	03 15 f8 7d 12 00    	add    0x127df8,%edx                  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10b7ab:	31 c9                	xor    %ecx,%ecx                      
  10b7ad:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10b7b0:	75 09                	jne    10b7bb <rtems_io_register_driver+0xab>
  10b7b2:	31 c9                	xor    %ecx,%ecx                      
  10b7b4:	83 7a 04 00          	cmpl   $0x0,0x4(%edx)                 
  10b7b8:	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 ) ) {                        
  10b7bb:	85 c9                	test   %ecx,%ecx                      
  10b7bd:	75 0c                	jne    10b7cb <rtems_io_register_driver+0xbb>
      _Thread_Enable_dispatch();                                      
  10b7bf:	e8 26 1a 00 00       	call   10d1ea <_Thread_Enable_dispatch>
      return RTEMS_RESOURCE_IN_USE;                                   
  10b7c4:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  10b7c9:	eb 49                	jmp    10b814 <rtems_io_register_driver+0x104>
    }                                                                 
                                                                      
    *registered_major = major;                                        
  10b7cb:	89 18                	mov    %ebx,(%eax)                    
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
  10b7cd:	6b c3 18             	imul   $0x18,%ebx,%eax                
  10b7d0:	03 05 f8 7d 12 00    	add    0x127df8,%eax                  
  10b7d6:	b9 06 00 00 00       	mov    $0x6,%ecx                      
  10b7db:	89 c7                	mov    %eax,%edi                      
  10b7dd:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _Thread_Enable_dispatch();                                          
  10b7df:	e8 06 1a 00 00       	call   10d1ea <_Thread_Enable_dispatch>
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10b7e4:	c7 45 10 00 00 00 00 	movl   $0x0,0x10(%ebp)                
  10b7eb:	c7 45 0c 00 00 00 00 	movl   $0x0,0xc(%ebp)                 
  10b7f2:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
}                                                                     
  10b7f5:	83 c4 0c             	add    $0xc,%esp                      
  10b7f8:	5b                   	pop    %ebx                           
  10b7f9:	5e                   	pop    %esi                           
  10b7fa:	5f                   	pop    %edi                           
  10b7fb:	c9                   	leave                                 
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10b7fc:	e9 f7 66 00 00       	jmp    111ef8 <rtems_io_initialize>   
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
  10b801:	b8 12 00 00 00       	mov    $0x12,%eax                     
  10b806:	eb 0c                	jmp    10b814 <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;                                     
  10b808:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10b80d:	eb 05                	jmp    10b814 <rtems_io_register_driver+0x104>
                                                                      
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
  10b80f:	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 );                       
}                                                                     
  10b814:	83 c4 0c             	add    $0xc,%esp                      
  10b817:	5b                   	pop    %ebx                           
  10b818:	5e                   	pop    %esi                           
  10b819:	5f                   	pop    %edi                           
  10b81a:	c9                   	leave                                 
  10b81b:	c3                   	ret                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
  10b81c:	39 d3                	cmp    %edx,%ebx                      
  10b81e:	0f 82 3b ff ff ff    	jb     10b75f <rtems_io_register_driver+0x4f>
  10b824:	eb e9                	jmp    10b80f <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 ) {                                         
  10b826:	43                   	inc    %ebx                           
  10b827:	83 c2 18             	add    $0x18,%edx                     
  10b82a:	e9 64 ff ff ff       	jmp    10b793 <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();                                      
  10b82f:	e8 b6 19 00 00       	call   10d1ea <_Thread_Enable_dispatch>
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
  10b834:	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;                                                      
  10b839:	eb d9                	jmp    10b814 <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 7c 7a 12 00 	mov    0x127a7c(,%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 94 d9 13 00       	mov    0x13d994,%eax                  
  11485a:	40                   	inc    %eax                           
  11485b:	a3 94 d9 13 00       	mov    %eax,0x13d994                  
 *  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 24 d8 13 00       	push   $0x13d824                      
  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 ed 4b 00 00       	call   11946e <_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 40 d8 13 00    	mov    0x13d840,%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 9f 4b 00 00       	call   11946e <_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 f4 62 12 00       	push   $0x1262f4                      
  10b04a:	e8 61 1d 00 00       	call   10cdb0 <_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 00 66 12 00       	mov    0x126600,%eax                  
  10b063:	39 47 40             	cmp    %eax,0x40(%edi)                
  10b066:	74 0f                	je     10b077 <rtems_rate_monotonic_period+0x46>
        _Thread_Enable_dispatch();                                    
  10b068:	e8 cd 27 00 00       	call   10d83a <_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 c0 02 12 00 	mov    0x1202c0(,%eax,4),%esi         
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
  10b08c:	e8 a9 27 00 00       	call   10d83a <_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 a8 64 12 00       	push   $0x1264a8                      
  10b0df:	e8 08 34 00 00       	call   10e4ec <_Watchdog_Insert>      
        _Thread_Enable_dispatch();                                    
  10b0e4:	e8 51 27 00 00       	call   10d83a <_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 00 66 12 00       	mov    0x126600,%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 62 2e 00 00       	call   10df84 <_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 00 66 12 00    	pushl  0x126600                       
  10b146:	e8 d9 23 00 00       	call   10d524 <_Thread_Clear_state>   
  10b14b:	83 c4 10             	add    $0x10,%esp                     
                                                                      
        _Thread_Enable_dispatch();                                    
  10b14e:	e8 e7 26 00 00       	call   10d83a <_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 a8 64 12 00       	push   $0x1264a8                      
  10b186:	e8 61 33 00 00       	call   10e4ec <_Watchdog_Insert>      
        _Thread_Enable_dispatch();                                    
  10b18b:	e8 aa 26 00 00       	call   10d83a <_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 d4 02 12 00       	push   $0x1202d4                      
  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 f2 02 12 00       	push   $0x1202f2                      
  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 14 03 12 00       	push   $0x120314                      
  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 37 03 12 00       	push   $0x120337                      
  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 82 03 12 00       	push   $0x120382                      
  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 fc 62 12 00    	mov    0x1262fc,%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 dd 4b 00 00       	call   10fde8 <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 6a 4c 00 00       	call   10fe8c <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 ce 03 12 00       	push   $0x1203ce                      
  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 34 06 12 00       	push   $0x120634                      
  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 50 2f 00 00       	call   10e1c0 <_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 e5 03 12 00       	push   $0x1203e5                      
  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 0f 2f 00 00       	call   10e1c0 <_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 04 04 12 00       	push   $0x120404                      
  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 00 63 12 00    	cmp    0x126300,%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 23 39 00 00       	call   119490 <_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 b4 db 13 00 00 	cmpl   $0x0,0x13dbb4                  
  115b97:	74 19                	je     115bb2 <rtems_signal_send+0x66>
  115b99:	3b 05 b8 db 13 00    	cmp    0x13dbb8,%eax                  
  115b9f:	75 11                	jne    115bb2 <rtems_signal_send+0x66><== NEVER TAKEN
            _Thread_Dispatch_necessary = true;                        
  115ba1:	c6 05 c4 db 13 00 01 	movb   $0x1,0x13dbc4                  
  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 b7 38 00 00       	call   11946e <_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 ae 38 00 00       	call   11946e <_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                                   
                                                                      

0010fe60 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
  10fe60:	55                   	push   %ebp                           
  10fe61:	89 e5                	mov    %esp,%ebp                      
  10fe63:	57                   	push   %edi                           
  10fe64:	56                   	push   %esi                           
  10fe65:	53                   	push   %ebx                           
  10fe66:	83 ec 1c             	sub    $0x1c,%esp                     
  10fe69:	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;                                     
  10fe6c:	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 )                                           
  10fe71:	85 c9                	test   %ecx,%ecx                      
  10fe73:	0f 84 fb 00 00 00    	je     10ff74 <rtems_task_mode+0x114> <== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  10fe79:	8b 35 1c 47 12 00    	mov    0x12471c,%esi                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  10fe7f:	8b 9e e4 00 00 00    	mov    0xe4(%esi),%ebx                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
  10fe85:	80 7e 74 01          	cmpb   $0x1,0x74(%esi)                
  10fe89:	19 ff                	sbb    %edi,%edi                      
  10fe8b:	81 e7 00 01 00 00    	and    $0x100,%edi                    
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
  10fe91:	83 7e 7c 00          	cmpl   $0x0,0x7c(%esi)                
  10fe95:	74 06                	je     10fe9d <rtems_task_mode+0x3d>  
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
  10fe97:	81 cf 00 02 00 00    	or     $0x200,%edi                    
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  10fe9d:	80 7b 08 01          	cmpb   $0x1,0x8(%ebx)                 
  10fea1:	19 d2                	sbb    %edx,%edx                      
  10fea3:	81 e2 00 04 00 00    	and    $0x400,%edx                    
  old_mode |= _ISR_Get_level();                                       
  10fea9:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10feac:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10feaf:	e8 d1 d3 ff ff       	call   10d285 <_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;           
  10feb4:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10feb7:	09 d0                	or     %edx,%eax                      
  old_mode |= _ISR_Get_level();                                       
  10feb9:	09 f8                	or     %edi,%eax                      
  10febb:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10febe:	89 01                	mov    %eax,(%ecx)                    
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
  10fec0:	f7 45 0c 00 01 00 00 	testl  $0x100,0xc(%ebp)               
  10fec7:	74 0b                	je     10fed4 <rtems_task_mode+0x74>  
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
  10fec9:	f7 45 08 00 01 00 00 	testl  $0x100,0x8(%ebp)               
  10fed0:	0f 94 46 74          	sete   0x74(%esi)                     
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
  10fed4:	f7 45 0c 00 02 00 00 	testl  $0x200,0xc(%ebp)               
  10fedb:	74 21                	je     10fefe <rtems_task_mode+0x9e>  
    if ( _Modes_Is_timeslice(mode_set) ) {                            
  10fedd:	f7 45 08 00 02 00 00 	testl  $0x200,0x8(%ebp)               
  10fee4:	74 11                	je     10fef7 <rtems_task_mode+0x97>  
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
  10fee6:	c7 46 7c 01 00 00 00 	movl   $0x1,0x7c(%esi)                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
  10feed:	a1 d0 44 12 00       	mov    0x1244d0,%eax                  
  10fef2:	89 46 78             	mov    %eax,0x78(%esi)                
  10fef5:	eb 07                	jmp    10fefe <rtems_task_mode+0x9e>  
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
  10fef7:	c7 46 7c 00 00 00 00 	movl   $0x0,0x7c(%esi)                
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
  10fefe:	f6 45 0c 01          	testb  $0x1,0xc(%ebp)                 
  10ff02:	74 0a                	je     10ff0e <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 ) );           
  10ff04:	f6 45 08 01          	testb  $0x1,0x8(%ebp)                 
  10ff08:	74 03                	je     10ff0d <rtems_task_mode+0xad>  
  10ff0a:	fa                   	cli                                   
  10ff0b:	eb 01                	jmp    10ff0e <rtems_task_mode+0xae>  
  10ff0d:	fb                   	sti                                   
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  10ff0e:	31 c9                	xor    %ecx,%ecx                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
  10ff10:	f7 45 0c 00 04 00 00 	testl  $0x400,0xc(%ebp)               
  10ff17:	74 2a                	je     10ff43 <rtems_task_mode+0xe3>  
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
  10ff19:	f7 45 08 00 04 00 00 	testl  $0x400,0x8(%ebp)               
  10ff20:	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 ) {                        
  10ff23:	3a 43 08             	cmp    0x8(%ebx),%al                  
  10ff26:	74 1b                	je     10ff43 <rtems_task_mode+0xe3>  
      asr->is_enabled = is_asr_enabled;                               
  10ff28:	88 43 08             	mov    %al,0x8(%ebx)                  
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
  10ff2b:	9c                   	pushf                                 
  10ff2c:	fa                   	cli                                   
  10ff2d:	58                   	pop    %eax                           
    _signals                     = information->signals_pending;      
  10ff2e:	8b 53 18             	mov    0x18(%ebx),%edx                
    information->signals_pending = information->signals_posted;       
  10ff31:	8b 4b 14             	mov    0x14(%ebx),%ecx                
  10ff34:	89 4b 18             	mov    %ecx,0x18(%ebx)                
    information->signals_posted  = _signals;                          
  10ff37:	89 53 14             	mov    %edx,0x14(%ebx)                
  _ISR_Enable( _level );                                              
  10ff3a:	50                   	push   %eax                           
  10ff3b:	9d                   	popf                                  
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  10ff3c:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10ff40:	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;                                            
  10ff43:	31 c0                	xor    %eax,%eax                      
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
  10ff45:	83 3d 5c 46 12 00 03 	cmpl   $0x3,0x12465c                  
  10ff4c:	75 26                	jne    10ff74 <rtems_task_mode+0x114> <== NEVER TAKEN
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
  10ff4e:	8b 15 1c 47 12 00    	mov    0x12471c,%edx                  
                                                                      
  if ( are_signals_pending ||                                         
  10ff54:	84 c9                	test   %cl,%cl                        
  10ff56:	75 0e                	jne    10ff66 <rtems_task_mode+0x106> 
  10ff58:	3b 15 20 47 12 00    	cmp    0x124720,%edx                  
  10ff5e:	74 14                	je     10ff74 <rtems_task_mode+0x114> 
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
  10ff60:	80 7a 74 00          	cmpb   $0x0,0x74(%edx)                
  10ff64:	74 0e                	je     10ff74 <rtems_task_mode+0x114> <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
  10ff66:	c6 05 28 47 12 00 01 	movb   $0x1,0x124728                  
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  10ff6d:	e8 22 c0 ff ff       	call   10bf94 <_Thread_Dispatch>      
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  10ff72:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10ff74:	83 c4 1c             	add    $0x1c,%esp                     
  10ff77:	5b                   	pop    %ebx                           
  10ff78:	5e                   	pop    %esi                           
  10ff79:	5f                   	pop    %edi                           
  10ff7a:	c9                   	leave                                 
  10ff7b:	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 24 32 12 00 	movzbl 0x123224,%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 f3 1d 00 00       	call   10fb5c <_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 d1 19 00 00       	call   10f764 <_Thread_Change_priority>
  10dd93:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  10dd96:	e8 9f 1d 00 00       	call   10fb3a <_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                                   
                                                                      

00116398 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
  116398:	55                   	push   %ebp                           
  116399:	89 e5                	mov    %esp,%ebp                      
  11639b:	83 ec 1c             	sub    $0x1c,%esp                     
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  11639e:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
  1163a1:	50                   	push   %eax                           
  1163a2:	ff 75 08             	pushl  0x8(%ebp)                      
  1163a5:	68 30 dc 13 00       	push   $0x13dc30                      
  1163aa:	e8 35 26 00 00       	call   1189e4 <_Objects_Get>          
  switch ( location ) {                                               
  1163af:	83 c4 10             	add    $0x10,%esp                     
  1163b2:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  1163b6:	75 1e                	jne    1163d6 <rtems_timer_cancel+0x3e>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
  1163b8:	83 78 38 04          	cmpl   $0x4,0x38(%eax)                
  1163bc:	74 0f                	je     1163cd <rtems_timer_cancel+0x35><== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
  1163be:	83 ec 0c             	sub    $0xc,%esp                      
  1163c1:	83 c0 10             	add    $0x10,%eax                     
  1163c4:	50                   	push   %eax                           
  1163c5:	e8 e2 3f 00 00       	call   11a3ac <_Watchdog_Remove>      
  1163ca:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Enable_dispatch();                                      
  1163cd:	e8 9c 30 00 00       	call   11946e <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1163d2:	31 c0                	xor    %eax,%eax                      
  1163d4:	eb 05                	jmp    1163db <rtems_timer_cancel+0x43>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1163d6:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1163db:	c9                   	leave                                 
  1163dc:	c3                   	ret                                   
                                                                      

001167f8 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  1167f8:	55                   	push   %ebp                           
  1167f9:	89 e5                	mov    %esp,%ebp                      
  1167fb:	57                   	push   %edi                           
  1167fc:	56                   	push   %esi                           
  1167fd:	53                   	push   %ebx                           
  1167fe:	83 ec 1c             	sub    $0x1c,%esp                     
  116801:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
  116804:	8b 35 70 dc 13 00    	mov    0x13dc70,%esi                  
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
  11680a:	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 )                                                
  11680f:	85 f6                	test   %esi,%esi                      
  116811:	0f 84 b1 00 00 00    	je     1168c8 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
  116817:	b3 0b                	mov    $0xb,%bl                       
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  116819:	80 3d a8 d9 13 00 00 	cmpb   $0x0,0x13d9a8                  
  116820:	0f 84 a2 00 00 00    	je     1168c8 <rtems_timer_server_fire_when+0xd0><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  116826:	b3 09                	mov    $0x9,%bl                       
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
  116828:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  11682c:	0f 84 96 00 00 00    	je     1168c8 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  116832:	83 ec 0c             	sub    $0xc,%esp                      
  116835:	57                   	push   %edi                           
  116836:	e8 b5 d6 ff ff       	call   113ef0 <_TOD_Validate>         
  11683b:	83 c4 10             	add    $0x10,%esp                     
    return RTEMS_INVALID_CLOCK;                                       
  11683e:	b3 14                	mov    $0x14,%bl                      
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  116840:	84 c0                	test   %al,%al                        
  116842:	0f 84 80 00 00 00    	je     1168c8 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  116848:	83 ec 0c             	sub    $0xc,%esp                      
  11684b:	57                   	push   %edi                           
  11684c:	e8 37 d6 ff ff       	call   113e88 <_TOD_To_seconds>       
  116851:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  116853:	83 c4 10             	add    $0x10,%esp                     
  116856:	3b 05 20 da 13 00    	cmp    0x13da20,%eax                  
  11685c:	76 6a                	jbe    1168c8 <rtems_timer_server_fire_when+0xd0>
  11685e:	51                   	push   %ecx                           
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  11685f:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  116862:	50                   	push   %eax                           
  116863:	ff 75 08             	pushl  0x8(%ebp)                      
  116866:	68 30 dc 13 00       	push   $0x13dc30                      
  11686b:	e8 74 21 00 00       	call   1189e4 <_Objects_Get>          
  116870:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  116872:	83 c4 10             	add    $0x10,%esp                     
  116875:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  116879:	75 48                	jne    1168c3 <rtems_timer_server_fire_when+0xcb>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  11687b:	83 ec 0c             	sub    $0xc,%esp                      
  11687e:	8d 40 10             	lea    0x10(%eax),%eax                
  116881:	50                   	push   %eax                           
  116882:	e8 25 3b 00 00       	call   11a3ac <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
  116887:	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;                        
  11688e:	c7 43 18 00 00 00 00 	movl   $0x0,0x18(%ebx)                
  the_watchdog->routine   = routine;                                  
  116895:	8b 45 10             	mov    0x10(%ebp),%eax                
  116898:	89 43 2c             	mov    %eax,0x2c(%ebx)                
  the_watchdog->id        = id;                                       
  11689b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  11689e:	89 43 30             	mov    %eax,0x30(%ebx)                
  the_watchdog->user_data = user_data;                                
  1168a1:	8b 45 14             	mov    0x14(%ebp),%eax                
  1168a4:	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();
  1168a7:	2b 3d 20 da 13 00    	sub    0x13da20,%edi                  
  1168ad:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  1168b0:	58                   	pop    %eax                           
  1168b1:	5a                   	pop    %edx                           
  1168b2:	53                   	push   %ebx                           
  1168b3:	56                   	push   %esi                           
  1168b4:	ff 56 04             	call   *0x4(%esi)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  1168b7:	e8 b2 2b 00 00       	call   11946e <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1168bc:	83 c4 10             	add    $0x10,%esp                     
  1168bf:	31 db                	xor    %ebx,%ebx                      
  1168c1:	eb 05                	jmp    1168c8 <rtems_timer_server_fire_when+0xd0>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1168c3:	bb 04 00 00 00       	mov    $0x4,%ebx                      
}                                                                     
  1168c8:	89 d8                	mov    %ebx,%eax                      
  1168ca:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1168cd:	5b                   	pop    %ebx                           
  1168ce:	5e                   	pop    %esi                           
  1168cf:	5f                   	pop    %edi                           
  1168d0:	c9                   	leave                                 
  1168d1:	c3                   	ret