RTEMS 4.11
Annotated Report
Thu Jul 1 17:55:42 2010

0010cb80 <_CORE_RWLock_Obtain_for_reading>:                           
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_RWLock_API_mp_support_callout   api_rwlock_mp_support          
)                                                                     
{                                                                     
  10cb80:	55                   	push   %ebp                           
  10cb81:	89 e5                	mov    %esp,%ebp                      
  10cb83:	57                   	push   %edi                           
  10cb84:	56                   	push   %esi                           
  10cb85:	53                   	push   %ebx                           
  10cb86:	83 ec 1c             	sub    $0x1c,%esp                     
  10cb89:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10cb8c:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10cb8f:	8b 45 14             	mov    0x14(%ebp),%eax                
  10cb92:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10cb95:	8a 55 10             	mov    0x10(%ebp),%dl                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
  10cb98:	8b 35 44 77 12 00    	mov    0x127744,%esi                  
   *  If unlocked, then OK to read.                                   
   *  If locked for reading and no waiters, then OK to read.          
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
  10cb9e:	9c                   	pushf                                 
  10cb9f:	fa                   	cli                                   
  10cba0:	5f                   	pop    %edi                           
    switch ( the_rwlock->current_state ) {                            
  10cba1:	8b 43 44             	mov    0x44(%ebx),%eax                
  10cba4:	85 c0                	test   %eax,%eax                      
  10cba6:	74 05                	je     10cbad <_CORE_RWLock_Obtain_for_reading+0x2d>
  10cba8:	48                   	dec    %eax                           
  10cba9:	75 3a                	jne    10cbe5 <_CORE_RWLock_Obtain_for_reading+0x65>
  10cbab:	eb 0e                	jmp    10cbbb <_CORE_RWLock_Obtain_for_reading+0x3b>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
  10cbad:	c7 43 44 01 00 00 00 	movl   $0x1,0x44(%ebx)                
	the_rwlock->number_of_readers += 1;                                  
  10cbb4:	ff 43 48             	incl   0x48(%ebx)                     
	_ISR_Enable( level );                                                
  10cbb7:	57                   	push   %edi                           
  10cbb8:	9d                   	popf                                  
  10cbb9:	eb 21                	jmp    10cbdc <_CORE_RWLock_Obtain_for_reading+0x5c>
	executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;                
	return;                                                              
                                                                      
      case CORE_RWLOCK_LOCKED_FOR_READING: {                          
        Thread_Control *waiter;                                       
        waiter = _Thread_queue_First( &the_rwlock->Wait_queue );      
  10cbbb:	83 ec 0c             	sub    $0xc,%esp                      
  10cbbe:	53                   	push   %ebx                           
  10cbbf:	88 55 dc             	mov    %dl,-0x24(%ebp)                
  10cbc2:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10cbc5:	e8 9e 1a 00 00       	call   10e668 <_Thread_queue_First>   
        if ( !waiter ) {                                              
  10cbca:	83 c4 10             	add    $0x10,%esp                     
  10cbcd:	85 c0                	test   %eax,%eax                      
  10cbcf:	8a 55 dc             	mov    -0x24(%ebp),%dl                
  10cbd2:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10cbd5:	75 0e                	jne    10cbe5 <_CORE_RWLock_Obtain_for_reading+0x65><== NEVER TAKEN
	  the_rwlock->number_of_readers += 1;                                
  10cbd7:	ff 43 48             	incl   0x48(%ebx)                     
	  _ISR_Enable( level );                                              
  10cbda:	57                   	push   %edi                           
  10cbdb:	9d                   	popf                                  
	  executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;              
  10cbdc:	c7 46 34 00 00 00 00 	movl   $0x0,0x34(%esi)                
          return;                                                     
  10cbe3:	eb 48                	jmp    10cc2d <_CORE_RWLock_Obtain_for_reading+0xad>
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
  10cbe5:	84 d2                	test   %dl,%dl                        
  10cbe7:	75 0b                	jne    10cbf4 <_CORE_RWLock_Obtain_for_reading+0x74>
      _ISR_Enable( level );                                           
  10cbe9:	57                   	push   %edi                           
  10cbea:	9d                   	popf                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
  10cbeb:	c7 46 34 02 00 00 00 	movl   $0x2,0x34(%esi)                
  10cbf2:	eb 39                	jmp    10cc2d <_CORE_RWLock_Obtain_for_reading+0xad>
  10cbf4:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
    /*                                                                
     *  We need to wait to enter this critical section                
     */                                                               
                                                                      
    _Thread_queue_Enter_critical_section( &the_rwlock->Wait_queue );  
    executing->Wait.queue       = &the_rwlock->Wait_queue;            
  10cbfb:	89 5e 44             	mov    %ebx,0x44(%esi)                
    executing->Wait.id          = id;                                 
  10cbfe:	89 4e 20             	mov    %ecx,0x20(%esi)                
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
  10cc01:	c7 46 30 00 00 00 00 	movl   $0x0,0x30(%esi)                
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
  10cc08:	c7 46 34 00 00 00 00 	movl   $0x0,0x34(%esi)                
    _ISR_Enable( level );                                             
  10cc0f:	57                   	push   %edi                           
  10cc10:	9d                   	popf                                  
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
  10cc11:	c7 45 10 5c cd 10 00 	movl   $0x10cd5c,0x10(%ebp)           
  10cc18:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10cc1b:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  10cc1e:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10cc21:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cc24:	5b                   	pop    %ebx                           
  10cc25:	5e                   	pop    %esi                           
  10cc26:	5f                   	pop    %edi                           
  10cc27:	c9                   	leave                                 
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
  10cc28:	e9 57 17 00 00       	jmp    10e384 <_Thread_queue_Enqueue_with_handler>
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10cc2d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cc30:	5b                   	pop    %ebx                           
  10cc31:	5e                   	pop    %esi                           
  10cc32:	5f                   	pop    %edi                           
  10cc33:	c9                   	leave                                 
  10cc34:	c3                   	ret                                   
                                                                      

0010ccbc <_CORE_RWLock_Release>: */ CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) {
  10ccbc:	55                   	push   %ebp                           
  10ccbd:	89 e5                	mov    %esp,%ebp                      
  10ccbf:	53                   	push   %ebx                           
  10ccc0:	83 ec 04             	sub    $0x4,%esp                      
  10ccc3:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
  10ccc6:	8b 15 44 77 12 00    	mov    0x127744,%edx                  
   *  Otherwise, we have to block.                                    
   *  If locked for reading and no waiters, then OK to read.          
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
  10cccc:	9c                   	pushf                                 
  10cccd:	fa                   	cli                                   
  10ccce:	58                   	pop    %eax                           
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
  10cccf:	8b 4b 44             	mov    0x44(%ebx),%ecx                
  10ccd2:	85 c9                	test   %ecx,%ecx                      
  10ccd4:	75 0b                	jne    10cce1 <_CORE_RWLock_Release+0x25>
      _ISR_Enable( level );                                           
  10ccd6:	50                   	push   %eax                           
  10ccd7:	9d                   	popf                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
  10ccd8:	c7 42 34 02 00 00 00 	movl   $0x2,0x34(%edx)                
      return CORE_RWLOCK_SUCCESSFUL;                                  
  10ccdf:	eb 72                	jmp    10cd53 <_CORE_RWLock_Release+0x97>
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
  10cce1:	49                   	dec    %ecx                           
  10cce2:	75 0f                	jne    10ccf3 <_CORE_RWLock_Release+0x37>
	the_rwlock->number_of_readers -= 1;                                  
  10cce4:	8b 4b 48             	mov    0x48(%ebx),%ecx                
  10cce7:	49                   	dec    %ecx                           
  10cce8:	89 4b 48             	mov    %ecx,0x48(%ebx)                
	if ( the_rwlock->number_of_readers != 0 ) {                          
  10cceb:	85 c9                	test   %ecx,%ecx                      
  10cced:	74 04                	je     10ccf3 <_CORE_RWLock_Release+0x37>
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
  10ccef:	50                   	push   %eax                           
  10ccf0:	9d                   	popf                                  
          return CORE_RWLOCK_SUCCESSFUL;                              
  10ccf1:	eb 60                	jmp    10cd53 <_CORE_RWLock_Release+0x97>
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
  10ccf3:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
  10ccfa:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  _ISR_Enable( level );                                               
  10cd01:	50                   	push   %eax                           
  10cd02:	9d                   	popf                                  
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
  10cd03:	83 ec 0c             	sub    $0xc,%esp                      
  10cd06:	53                   	push   %ebx                           
  10cd07:	e8 70 15 00 00       	call   10e27c <_Thread_queue_Dequeue> 
                                                                      
  if ( next ) {                                                       
  10cd0c:	83 c4 10             	add    $0x10,%esp                     
  10cd0f:	85 c0                	test   %eax,%eax                      
  10cd11:	74 40                	je     10cd53 <_CORE_RWLock_Release+0x97>
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
  10cd13:	83 78 30 01          	cmpl   $0x1,0x30(%eax)                
  10cd17:	75 09                	jne    10cd22 <_CORE_RWLock_Release+0x66>
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
  10cd19:	c7 43 44 02 00 00 00 	movl   $0x2,0x44(%ebx)                
      return CORE_RWLOCK_SUCCESSFUL;                                  
  10cd20:	eb 31                	jmp    10cd53 <_CORE_RWLock_Release+0x97>
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
  10cd22:	ff 43 48             	incl   0x48(%ebx)                     
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
  10cd25:	c7 43 44 01 00 00 00 	movl   $0x1,0x44(%ebx)                
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
  10cd2c:	83 ec 0c             	sub    $0xc,%esp                      
  10cd2f:	53                   	push   %ebx                           
  10cd30:	e8 33 19 00 00       	call   10e668 <_Thread_queue_First>   
      if ( !next ||                                                   
  10cd35:	83 c4 10             	add    $0x10,%esp                     
  10cd38:	85 c0                	test   %eax,%eax                      
  10cd3a:	74 17                	je     10cd53 <_CORE_RWLock_Release+0x97>
  10cd3c:	83 78 30 01          	cmpl   $0x1,0x30(%eax)                
  10cd40:	74 11                	je     10cd53 <_CORE_RWLock_Release+0x97><== NEVER TAKEN
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
  10cd42:	ff 43 48             	incl   0x48(%ebx)                     
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
  10cd45:	52                   	push   %edx                           
  10cd46:	52                   	push   %edx                           
  10cd47:	50                   	push   %eax                           
  10cd48:	53                   	push   %ebx                           
  10cd49:	e8 0e 18 00 00       	call   10e55c <_Thread_queue_Extract> 
    }                                                                 
  10cd4e:	83 c4 10             	add    $0x10,%esp                     
  10cd51:	eb d9                	jmp    10cd2c <_CORE_RWLock_Release+0x70>
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
  10cd53:	31 c0                	xor    %eax,%eax                      
  10cd55:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10cd58:	c9                   	leave                                 
  10cd59:	c3                   	ret                                   
                                                                      

0010cd5c <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
  10cd5c:	55                   	push   %ebp                           
  10cd5d:	89 e5                	mov    %esp,%ebp                      
  10cd5f:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10cd62:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10cd65:	50                   	push   %eax                           
  10cd66:	ff 75 08             	pushl  0x8(%ebp)                      
  10cd69:	e8 ae 11 00 00       	call   10df1c <_Thread_Get>           
  switch ( location ) {                                               
  10cd6e:	83 c4 10             	add    $0x10,%esp                     
  10cd71:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10cd75:	75 17                	jne    10cd8e <_CORE_RWLock_Timeout+0x32><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
  10cd77:	83 ec 0c             	sub    $0xc,%esp                      
  10cd7a:	50                   	push   %eax                           
  10cd7b:	e8 b4 19 00 00       	call   10e734 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10cd80:	a1 f4 71 12 00       	mov    0x1271f4,%eax                  
  10cd85:	48                   	dec    %eax                           
  10cd86:	a3 f4 71 12 00       	mov    %eax,0x1271f4                  
  10cd8b:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10cd8e:	c9                   	leave                                 
  10cd8f:	c3                   	ret                                   
                                                                      

00117474 <_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 ) {
  117474:	55                   	push   %ebp                           
  117475:	89 e5                	mov    %esp,%ebp                      
  117477:	57                   	push   %edi                           
  117478:	56                   	push   %esi                           
  117479:	53                   	push   %ebx                           
  11747a:	83 ec 1c             	sub    $0x1c,%esp                     
  11747d:	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;                    
  117480:	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 ) {             
  117485:	8b 55 10             	mov    0x10(%ebp),%edx                
  117488:	3b 53 4c             	cmp    0x4c(%ebx),%edx                
  11748b:	77 4e                	ja     1174db <_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 ) {         
  11748d:	83 7b 48 00          	cmpl   $0x0,0x48(%ebx)                
  117491:	75 09                	jne    11749c <_CORE_message_queue_Broadcast+0x28>
  117493:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  11749a:	eb 23                	jmp    1174bf <_CORE_message_queue_Broadcast+0x4b>
    *count = 0;                                                       
  11749c:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  11749f:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  1174a5:	eb 32                	jmp    1174d9 <_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;                                          
  1174a7:	ff 45 e4             	incl   -0x1c(%ebp)                    
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  1174aa:	8b 42 2c             	mov    0x2c(%edx),%eax                
  1174ad:	89 c7                	mov    %eax,%edi                      
  1174af:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1174b2:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  1174b5:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
  1174b7:	8b 42 28             	mov    0x28(%edx),%eax                
  1174ba:	8b 55 10             	mov    0x10(%ebp),%edx                
  1174bd:	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 =                                                
  1174bf:	83 ec 0c             	sub    $0xc,%esp                      
  1174c2:	53                   	push   %ebx                           
  1174c3:	e8 9c 22 00 00       	call   119764 <_Thread_queue_Dequeue> 
  1174c8:	89 c2                	mov    %eax,%edx                      
  1174ca:	83 c4 10             	add    $0x10,%esp                     
  1174cd:	85 c0                	test   %eax,%eax                      
  1174cf:	75 d6                	jne    1174a7 <_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;                                        
  1174d1:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1174d4:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  1174d7:	89 10                	mov    %edx,(%eax)                    
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
  1174d9:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1174db:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1174de:	5b                   	pop    %ebx                           
  1174df:	5e                   	pop    %esi                           
  1174e0:	5f                   	pop    %edi                           
  1174e1:	c9                   	leave                                 
  1174e2:	c3                   	ret                                   
                                                                      

00112294 <_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 ) {
  112294:	55                   	push   %ebp                           
  112295:	89 e5                	mov    %esp,%ebp                      
  112297:	57                   	push   %edi                           
  112298:	56                   	push   %esi                           
  112299:	53                   	push   %ebx                           
  11229a:	83 ec 1c             	sub    $0x1c,%esp                     
  11229d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1122a0:	8b 7d 10             	mov    0x10(%ebp),%edi                
  1122a3:	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;
  1122a6:	89 7b 44             	mov    %edi,0x44(%ebx)                
  the_message_queue->number_of_pending_messages = 0;                  
  1122a9:	c7 43 48 00 00 00 00 	movl   $0x0,0x48(%ebx)                
  the_message_queue->maximum_message_size       = maximum_message_size;
  1122b0:	89 53 4c             	mov    %edx,0x4c(%ebx)                
    CORE_message_queue_Control        *the_message_queue,             
    CORE_message_queue_Notify_Handler  the_handler,                   
    void                              *the_argument                   
  )                                                                   
  {                                                                   
    the_message_queue->notify_handler  = the_handler;                 
  1122b3:	c7 43 60 00 00 00 00 	movl   $0x0,0x60(%ebx)                
    the_message_queue->notify_argument = the_argument;                
  1122ba:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%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)) {              
  1122c1:	89 d0                	mov    %edx,%eax                      
  1122c3:	f6 c2 03             	test   $0x3,%dl                       
  1122c6:	74 0c                	je     1122d4 <_CORE_message_queue_Initialize+0x40>
    allocated_message_size += sizeof(uint32_t);                       
  1122c8:	83 c0 04             	add    $0x4,%eax                      
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  1122cb:	83 e0 fc             	and    $0xfffffffc,%eax               
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
    return false;                                                     
  1122ce:	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)                  
  1122d0:	39 d0                	cmp    %edx,%eax                      
  1122d2:	72 68                	jb     11233c <_CORE_message_queue_Initialize+0xa8><== 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));
  1122d4:	8d 50 14             	lea    0x14(%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 *    
  1122d7:	89 d1                	mov    %edx,%ecx                      
  1122d9:	0f af cf             	imul   %edi,%ecx                      
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
    return false;                                                     
  1122dc:	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)            
  1122de:	39 c1                	cmp    %eax,%ecx                      
  1122e0:	72 5a                	jb     11233c <_CORE_message_queue_Initialize+0xa8><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
  1122e2:	83 ec 0c             	sub    $0xc,%esp                      
  1122e5:	51                   	push   %ecx                           
  1122e6:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  1122e9:	e8 b0 26 00 00       	call   11499e <_Workspace_Allocate>   
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
  1122ee:	89 43 5c             	mov    %eax,0x5c(%ebx)                
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
  1122f1:	83 c4 10             	add    $0x10,%esp                     
  1122f4:	85 c0                	test   %eax,%eax                      
  1122f6:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1122f9:	74 41                	je     11233c <_CORE_message_queue_Initialize+0xa8>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
  1122fb:	52                   	push   %edx                           
  1122fc:	57                   	push   %edi                           
  1122fd:	50                   	push   %eax                           
  1122fe:	8d 43 68             	lea    0x68(%ebx),%eax                
  112301:	50                   	push   %eax                           
  112302:	e8 e9 48 00 00       	call   116bf0 <_Chain_Initialize>     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  112307:	8d 43 54             	lea    0x54(%ebx),%eax                
  11230a:	89 43 50             	mov    %eax,0x50(%ebx)                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  11230d:	c7 43 54 00 00 00 00 	movl   $0x0,0x54(%ebx)                
    the_message_queue->message_buffers,                               
    (size_t) maximum_pending_messages,                                
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
  112314:	8d 43 50             	lea    0x50(%ebx),%eax                
  112317:	89 43 58             	mov    %eax,0x58(%ebx)                
                                                                      
  _Thread_queue_Initialize(                                           
  11231a:	6a 06                	push   $0x6                           
  11231c:	68 80 00 00 00       	push   $0x80                          
  112321:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  112324:	83 38 01             	cmpl   $0x1,(%eax)                    
  112327:	0f 94 c0             	sete   %al                            
  11232a:	0f b6 c0             	movzbl %al,%eax                       
  11232d:	50                   	push   %eax                           
  11232e:	53                   	push   %ebx                           
  11232f:	e8 14 1d 00 00       	call   114048 <_Thread_queue_Initialize>
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
  112334:	83 c4 20             	add    $0x20,%esp                     
  112337:	be 01 00 00 00       	mov    $0x1,%esi                      
}                                                                     
  11233c:	89 f0                	mov    %esi,%eax                      
  11233e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112341:	5b                   	pop    %ebx                           
  112342:	5e                   	pop    %esi                           
  112343:	5f                   	pop    %edi                           
  112344:	c9                   	leave                                 
  112345:	c3                   	ret                                   
                                                                      

00112348 <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
  112348:	55                   	push   %ebp                           
  112349:	89 e5                	mov    %esp,%ebp                      
  11234b:	57                   	push   %edi                           
  11234c:	56                   	push   %esi                           
  11234d:	53                   	push   %ebx                           
  11234e:	83 ec 2c             	sub    $0x2c,%esp                     
  112351:	8b 55 08             	mov    0x8(%ebp),%edx                 
  112354:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  112357:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  11235a:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  11235d:	89 5d e0             	mov    %ebx,-0x20(%ebp)               
  112360:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  112363:	8b 75 1c             	mov    0x1c(%ebp),%esi                
  112366:	89 75 d4             	mov    %esi,-0x2c(%ebp)               
  112369:	8a 45 18             	mov    0x18(%ebp),%al                 
  11236c:	88 45 db             	mov    %al,-0x25(%ebp)                
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  11236f:	a1 9c c8 12 00       	mov    0x12c89c,%eax                  
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  112374:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  _ISR_Disable( level );                                              
  11237b:	9c                   	pushf                                 
  11237c:	fa                   	cli                                   
  11237d:	8f 45 e4             	popl   -0x1c(%ebp)                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  112380:	8b 5a 50             	mov    0x50(%edx),%ebx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  112383:	8d 72 54             	lea    0x54(%edx),%esi                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
  112386:	39 f3                	cmp    %esi,%ebx                      
  112388:	0f 84 8a 00 00 00    	je     112418 <_CORE_message_queue_Seize+0xd0>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  11238e:	8b 33                	mov    (%ebx),%esi                    
  the_chain->first    = new_first;                                    
  112390:	89 72 50             	mov    %esi,0x50(%edx)                
  CORE_message_queue_Buffer_control *_CORE_message_queue_Get_pending_message (
  CORE_message_queue_Control *the_message_queue                       
)                                                                     
{                                                                     
  return (CORE_message_queue_Buffer_control *)                        
    _Chain_Get_unprotected( &the_message_queue->Pending_messages );   
  112393:	8d 7a 50             	lea    0x50(%edx),%edi                
  112396:	89 7e 04             	mov    %edi,0x4(%esi)                 
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
  112399:	85 db                	test   %ebx,%ebx                      
  11239b:	74 7b                	je     112418 <_CORE_message_queue_Seize+0xd0><== NEVER TAKEN
    the_message_queue->number_of_pending_messages -= 1;               
  11239d:	ff 4a 48             	decl   0x48(%edx)                     
    _ISR_Enable( level );                                             
  1123a0:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1123a3:	9d                   	popf                                  
                                                                      
    *size_p = the_message->Contents.size;                             
  1123a4:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  1123a7:	89 01                	mov    %eax,(%ecx)                    
    _Thread_Executing->Wait.count =                                   
  1123a9:	8b 73 08             	mov    0x8(%ebx),%esi                 
  1123ac:	a1 9c c8 12 00       	mov    0x12c89c,%eax                  
  1123b1:	89 70 24             	mov    %esi,0x24(%eax)                
      _CORE_message_queue_Get_message_priority( the_message );        
    _CORE_message_queue_Copy_buffer(                                  
      the_message->Contents.buffer,                                   
  1123b4:	8d 73 10             	lea    0x10(%ebx),%esi                
  1123b7:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  1123ba:	8b 09                	mov    (%ecx),%ecx                    
  1123bc:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  1123bf:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
       *  is not, then we can go ahead and free the buffer.           
       *                                                              
       *  NOTE: If we note that the queue was not full before this receive,
       *  then we can avoid this dequeue.                             
       */                                                             
      the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
  1123c1:	83 ec 0c             	sub    $0xc,%esp                      
  1123c4:	52                   	push   %edx                           
  1123c5:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  1123c8:	e8 4b 19 00 00       	call   113d18 <_Thread_queue_Dequeue> 
      if ( !the_thread ) {                                            
  1123cd:	83 c4 10             	add    $0x10,%esp                     
  1123d0:	85 c0                	test   %eax,%eax                      
  1123d2:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  1123d5:	75 15                	jne    1123ec <_CORE_message_queue_Seize+0xa4>
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 );
  1123d7:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  1123da:	83 c2 68             	add    $0x68,%edx                     
  1123dd:	89 55 08             	mov    %edx,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 );   
}                                                                     
  1123e0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1123e3:	5b                   	pop    %ebx                           
  1123e4:	5e                   	pop    %esi                           
  1123e5:	5f                   	pop    %edi                           
  1123e6:	c9                   	leave                                 
  1123e7:	e9 28 fe ff ff       	jmp    112214 <_Chain_Append>         
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
  1123ec:	8b 48 24             	mov    0x24(%eax),%ecx                
  1123ef:	89 4b 08             	mov    %ecx,0x8(%ebx)                 
       */                                                             
      _CORE_message_queue_Set_message_priority(                       
        the_message,                                                  
        the_thread->Wait.count                                        
      );                                                              
      the_message->Contents.size = (size_t) the_thread->Wait.option;  
  1123f2:	8b 48 30             	mov    0x30(%eax),%ecx                
  1123f5:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  1123f8:	8b 70 2c             	mov    0x2c(%eax),%esi                
  1123fb:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  1123fe:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
  112400:	8b 43 08             	mov    0x8(%ebx),%eax                 
  112403:	89 45 10             	mov    %eax,0x10(%ebp)                
  112406:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  112409:	89 55 08             	mov    %edx,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 );   
}                                                                     
  11240c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11240f:	5b                   	pop    %ebx                           
  112410:	5e                   	pop    %esi                           
  112411:	5f                   	pop    %edi                           
  112412:	c9                   	leave                                 
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
  112413:	e9 10 48 00 00       	jmp    116c28 <_CORE_message_queue_Insert_message>
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
  112418:	80 7d db 00          	cmpb   $0x0,-0x25(%ebp)               
  11241c:	75 13                	jne    112431 <_CORE_message_queue_Seize+0xe9>
    _ISR_Enable( level );                                             
  11241e:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  112421:	9d                   	popf                                  
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
  112422:	c7 40 34 04 00 00 00 	movl   $0x4,0x34(%eax)                
  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 );   
}                                                                     
  112429:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11242c:	5b                   	pop    %ebx                           
  11242d:	5e                   	pop    %esi                           
  11242e:	5f                   	pop    %edi                           
  11242f:	c9                   	leave                                 
  112430:	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;
  112431:	c7 42 30 01 00 00 00 	movl   $0x1,0x30(%edx)                
    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;             
  112438:	89 50 44             	mov    %edx,0x44(%eax)                
  executing->Wait.id = id;                                            
  11243b:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
  11243e:	89 58 20             	mov    %ebx,0x20(%eax)                
  executing->Wait.return_argument_second.mutable_object = buffer;     
  112441:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  112444:	89 70 2c             	mov    %esi,0x2c(%eax)                
  executing->Wait.return_argument = size_p;                           
  112447:	89 48 28             	mov    %ecx,0x28(%eax)                
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
  11244a:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  11244d:	9d                   	popf                                  
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
  11244e:	c7 45 10 f8 40 11 00 	movl   $0x1140f8,0x10(%ebp)           
  112455:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  112458:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  11245b:	89 55 08             	mov    %edx,0x8(%ebp)                 
}                                                                     
  11245e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112461:	5b                   	pop    %ebx                           
  112462:	5e                   	pop    %esi                           
  112463:	5f                   	pop    %edi                           
  112464:	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 );   
  112465:	e9 b6 19 00 00       	jmp    113e20 <_Thread_queue_Enqueue_with_handler>
                                                                      

0010abb4 <_CORE_mutex_Initialize>: CORE_mutex_Status _CORE_mutex_Initialize( CORE_mutex_Control *the_mutex, CORE_mutex_Attributes *the_mutex_attributes, uint32_t initial_lock ) {
  10abb4:	55                   	push   %ebp                           
  10abb5:	89 e5                	mov    %esp,%ebp                      
  10abb7:	57                   	push   %edi                           
  10abb8:	56                   	push   %esi                           
  10abb9:	53                   	push   %ebx                           
  10abba:	83 ec 0c             	sub    $0xc,%esp                      
  10abbd:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10abc0:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10abc3:	8b 45 10             	mov    0x10(%ebp),%eax                
/* Add this to the RTEMS environment later ?????????                  
  rtems_assert( initial_lock == CORE_MUTEX_LOCKED ||                  
                initial_lock == CORE_MUTEX_UNLOCKED );                
 */                                                                   
                                                                      
  the_mutex->Attributes    = *the_mutex_attributes;                   
  10abc6:	8d 7a 40             	lea    0x40(%edx),%edi                
  10abc9:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10abce:	89 de                	mov    %ebx,%esi                      
  10abd0:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  the_mutex->lock          = initial_lock;                            
  10abd2:	89 42 50             	mov    %eax,0x50(%edx)                
  the_mutex->blocked_count = 0;                                       
  10abd5:	c7 42 58 00 00 00 00 	movl   $0x0,0x58(%edx)                
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
  10abdc:	85 c0                	test   %eax,%eax                      
  10abde:	75 35                	jne    10ac15 <_CORE_mutex_Initialize+0x61>
    the_mutex->nest_count = 1;                                        
  10abe0:	c7 42 54 01 00 00 00 	movl   $0x1,0x54(%edx)                
    the_mutex->holder     = _Thread_Executing;                        
  10abe7:	8b 0d 34 47 12 00    	mov    0x124734,%ecx                  
  10abed:	89 4a 5c             	mov    %ecx,0x5c(%edx)                
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
  10abf0:	8b 41 08             	mov    0x8(%ecx),%eax                 
  10abf3:	89 42 60             	mov    %eax,0x60(%edx)                
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
  10abf6:	8b 42 48             	mov    0x48(%edx),%eax                
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
    the_mutex->nest_count = 1;                                        
    the_mutex->holder     = _Thread_Executing;                        
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
  10abf9:	83 f8 02             	cmp    $0x2,%eax                      
  10abfc:	74 05                	je     10ac03 <_CORE_mutex_Initialize+0x4f>
  10abfe:	83 f8 03             	cmp    $0x3,%eax                      
  10ac01:	75 27                	jne    10ac2a <_CORE_mutex_Initialize+0x76>
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
             the_mutex->Attributes.priority_ceiling )                 
       return CORE_MUTEX_STATUS_CEILING_VIOLATED;                     
  10ac03:	b8 06 00 00 00       	mov    $0x6,%eax                      
    the_mutex->holder     = _Thread_Executing;                        
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
  10ac08:	8b 72 4c             	mov    0x4c(%edx),%esi                
  10ac0b:	39 71 14             	cmp    %esi,0x14(%ecx)                
  10ac0e:	72 36                	jb     10ac46 <_CORE_mutex_Initialize+0x92><== NEVER TAKEN
       _Chain_Prepend_unprotected( &_Thread_Executing->lock_mutex,    
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = _Thread_Executing->current_priority;
#endif                                                                
                                                                      
      _Thread_Executing->resource_count++;                            
  10ac10:	ff 41 1c             	incl   0x1c(%ecx)                     
  10ac13:	eb 15                	jmp    10ac2a <_CORE_mutex_Initialize+0x76>
    }                                                                 
  } else {                                                            
    the_mutex->nest_count = 0;                                        
  10ac15:	c7 42 54 00 00 00 00 	movl   $0x0,0x54(%edx)                
    the_mutex->holder     = NULL;                                     
  10ac1c:	c7 42 5c 00 00 00 00 	movl   $0x0,0x5c(%edx)                
    the_mutex->holder_id  = 0;                                        
  10ac23:	c7 42 60 00 00 00 00 	movl   $0x0,0x60(%edx)                
  }                                                                   
                                                                      
  _Thread_queue_Initialize(                                           
  10ac2a:	6a 05                	push   $0x5                           
  10ac2c:	68 00 04 00 00       	push   $0x400                         
  10ac31:	31 c0                	xor    %eax,%eax                      
  10ac33:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)                 
  10ac37:	0f 95 c0             	setne  %al                            
  10ac3a:	50                   	push   %eax                           
  10ac3b:	52                   	push   %edx                           
  10ac3c:	e8 cb 19 00 00       	call   10c60c <_Thread_queue_Initialize>
      THREAD_QUEUE_DISCIPLINE_FIFO : THREAD_QUEUE_DISCIPLINE_PRIORITY,
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
  10ac41:	83 c4 10             	add    $0x10,%esp                     
  10ac44:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10ac46:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ac49:	5b                   	pop    %ebx                           
  10ac4a:	5e                   	pop    %esi                           
  10ac4b:	5f                   	pop    %edi                           
  10ac4c:	c9                   	leave                                 
  10ac4d:	c3                   	ret                                   
                                                                      

0010ac9d <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
  10ac9d:	55                   	push   %ebp                           
  10ac9e:	89 e5                	mov    %esp,%ebp                      
  10aca0:	53                   	push   %ebx                           
  10aca1:	83 ec 14             	sub    $0x14,%esp                     
  10aca4:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10aca7:	8a 55 10             	mov    0x10(%ebp),%dl                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
  10acaa:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  10acaf:	85 c0                	test   %eax,%eax                      
  10acb1:	74 19                	je     10accc <_CORE_mutex_Seize+0x2f>
  10acb3:	84 d2                	test   %dl,%dl                        
  10acb5:	74 15                	je     10accc <_CORE_mutex_Seize+0x2f><== NEVER TAKEN
  10acb7:	83 3d 64 43 12 00 01 	cmpl   $0x1,0x124364                  
  10acbe:	76 0c                	jbe    10accc <_CORE_mutex_Seize+0x2f>
  10acc0:	53                   	push   %ebx                           
  10acc1:	6a 13                	push   $0x13                          
  10acc3:	6a 00                	push   $0x0                           
  10acc5:	6a 00                	push   $0x0                           
  10acc7:	e8 f8 05 00 00       	call   10b2c4 <_Internal_error_Occurred>
  10accc:	51                   	push   %ecx                           
  10accd:	51                   	push   %ecx                           
  10acce:	8d 45 18             	lea    0x18(%ebp),%eax                
  10acd1:	50                   	push   %eax                           
  10acd2:	53                   	push   %ebx                           
  10acd3:	88 55 f4             	mov    %dl,-0xc(%ebp)                 
  10acd6:	e8 91 45 00 00       	call   10f26c <_CORE_mutex_Seize_interrupt_trylock>
  10acdb:	83 c4 10             	add    $0x10,%esp                     
  10acde:	85 c0                	test   %eax,%eax                      
  10ace0:	8a 55 f4             	mov    -0xc(%ebp),%dl                 
  10ace3:	74 48                	je     10ad2d <_CORE_mutex_Seize+0x90>
  10ace5:	84 d2                	test   %dl,%dl                        
  10ace7:	75 12                	jne    10acfb <_CORE_mutex_Seize+0x5e>
  10ace9:	ff 75 18             	pushl  0x18(%ebp)                     
  10acec:	9d                   	popf                                  
  10aced:	a1 34 47 12 00       	mov    0x124734,%eax                  
  10acf2:	c7 40 34 01 00 00 00 	movl   $0x1,0x34(%eax)                
  10acf9:	eb 32                	jmp    10ad2d <_CORE_mutex_Seize+0x90>
  10acfb:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
  10ad02:	a1 34 47 12 00       	mov    0x124734,%eax                  
  10ad07:	89 58 44             	mov    %ebx,0x44(%eax)                
  10ad0a:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10ad0d:	89 50 20             	mov    %edx,0x20(%eax)                
  10ad10:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  10ad15:	40                   	inc    %eax                           
  10ad16:	a3 e4 41 12 00       	mov    %eax,0x1241e4                  
  10ad1b:	ff 75 18             	pushl  0x18(%ebp)                     
  10ad1e:	9d                   	popf                                  
  10ad1f:	50                   	push   %eax                           
  10ad20:	50                   	push   %eax                           
  10ad21:	ff 75 14             	pushl  0x14(%ebp)                     
  10ad24:	53                   	push   %ebx                           
  10ad25:	e8 26 ff ff ff       	call   10ac50 <_CORE_mutex_Seize_interrupt_blocking>
  10ad2a:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10ad2d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ad30:	c9                   	leave                                 
  10ad31:	c3                   	ret                                   
                                                                      

0010ae60 <_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 ) {
  10ae60:	55                   	push   %ebp                           
  10ae61:	89 e5                	mov    %esp,%ebp                      
  10ae63:	53                   	push   %ebx                           
  10ae64:	83 ec 10             	sub    $0x10,%esp                     
  10ae67:	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)) ) {
  10ae6a:	53                   	push   %ebx                           
  10ae6b:	e8 6c 14 00 00       	call   10c2dc <_Thread_queue_Dequeue> 
  10ae70:	89 c2                	mov    %eax,%edx                      
  10ae72:	83 c4 10             	add    $0x10,%esp                     
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10ae75:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
  10ae77:	85 d2                	test   %edx,%edx                      
  10ae79:	75 15                	jne    10ae90 <_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 );                                            
  10ae7b:	9c                   	pushf                                 
  10ae7c:	fa                   	cli                                   
  10ae7d:	59                   	pop    %ecx                           
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
  10ae7e:	8b 53 48             	mov    0x48(%ebx),%edx                
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
  10ae81:	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 )
  10ae83:	3b 53 40             	cmp    0x40(%ebx),%edx                
  10ae86:	73 06                	jae    10ae8e <_CORE_semaphore_Surrender+0x2e><== NEVER TAKEN
        the_semaphore->count += 1;                                    
  10ae88:	42                   	inc    %edx                           
  10ae89:	89 53 48             	mov    %edx,0x48(%ebx)                
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10ae8c:	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 );                                             
  10ae8e:	51                   	push   %ecx                           
  10ae8f:	9d                   	popf                                  
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
  10ae90:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ae93:	c9                   	leave                                 
  10ae94:	c3                   	ret                                   
                                                                      

00109c74 <_Event_Seize>: rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out ) {
  109c74:	55                   	push   %ebp                           
  109c75:	89 e5                	mov    %esp,%ebp                      
  109c77:	57                   	push   %edi                           
  109c78:	56                   	push   %esi                           
  109c79:	53                   	push   %ebx                           
  109c7a:	83 ec 1c             	sub    $0x1c,%esp                     
  109c7d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  109c80:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  109c83:	8b 55 10             	mov    0x10(%ebp),%edx                
  109c86:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  109c89:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
  109c8c:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
  109c92:	c7 43 34 00 00 00 00 	movl   $0x0,0x34(%ebx)                
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  109c99:	8b bb f4 00 00 00    	mov    0xf4(%ebx),%edi                
                                                                      
  _ISR_Disable( level );                                              
  109c9f:	9c                   	pushf                                 
  109ca0:	fa                   	cli                                   
  109ca1:	8f 45 e0             	popl   -0x20(%ebp)                    
  pending_events = api->pending_events;                               
  109ca4:	8b 17                	mov    (%edi),%edx                    
  109ca6:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
  109ca9:	21 c2                	and    %eax,%edx                      
  109cab:	74 1b                	je     109cc8 <_Event_Seize+0x54>     
  109cad:	39 c2                	cmp    %eax,%edx                      
  109caf:	74 08                	je     109cb9 <_Event_Seize+0x45>     
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
  109cb1:	f7 c6 02 00 00 00    	test   $0x2,%esi                      
  109cb7:	74 0f                	je     109cc8 <_Event_Seize+0x54>     <== 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) );                            
  109cb9:	89 d0                	mov    %edx,%eax                      
  109cbb:	f7 d0                	not    %eax                           
  109cbd:	23 45 e4             	and    -0x1c(%ebp),%eax               
  109cc0:	89 07                	mov    %eax,(%edi)                    
    api->pending_events =                                             
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
  109cc2:	ff 75 e0             	pushl  -0x20(%ebp)                    
  109cc5:	9d                   	popf                                  
  109cc6:	eb 13                	jmp    109cdb <_Event_Seize+0x67>     
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
  109cc8:	f7 c6 01 00 00 00    	test   $0x1,%esi                      
  109cce:	74 12                	je     109ce2 <_Event_Seize+0x6e>     
    _ISR_Enable( level );                                             
  109cd0:	ff 75 e0             	pushl  -0x20(%ebp)                    
  109cd3:	9d                   	popf                                  
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
  109cd4:	c7 43 34 0d 00 00 00 	movl   $0xd,0x34(%ebx)                
    *event_out = seized_events;                                       
  109cdb:	89 11                	mov    %edx,(%ecx)                    
    return;                                                           
  109cdd:	e9 91 00 00 00       	jmp    109d73 <_Event_Seize+0xff>     
   *  set properly when we are marked as in the event critical section.
   *                                                                  
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
  109ce2:	89 73 30             	mov    %esi,0x30(%ebx)                
  executing->Wait.count             = (uint32_t) event_in;            
  109ce5:	89 43 24             	mov    %eax,0x24(%ebx)                
  executing->Wait.return_argument   = event_out;                      
  109ce8:	89 4b 28             	mov    %ecx,0x28(%ebx)                
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
  109ceb:	c7 05 e4 4a 12 00 01 	movl   $0x1,0x124ae4                  
  109cf2:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  109cf5:	ff 75 e0             	pushl  -0x20(%ebp)                    
  109cf8:	9d                   	popf                                  
                                                                      
  if ( ticks ) {                                                      
  109cf9:	83 7d dc 00          	cmpl   $0x0,-0x24(%ebp)               
  109cfd:	74 34                	je     109d33 <_Event_Seize+0xbf>     
    _Watchdog_Initialize(                                             
  109cff:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  109d02:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  109d09:	c7 43 64 b0 9e 10 00 	movl   $0x109eb0,0x64(%ebx)           
  the_watchdog->id        = id;                                       
  109d10:	89 43 68             	mov    %eax,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  109d13:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  109d1a:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  109d1d:	89 43 54             	mov    %eax,0x54(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  109d20:	52                   	push   %edx                           
  109d21:	52                   	push   %edx                           
      &executing->Timer,                                              
      _Event_Timeout,                                                 
      executing->Object.id,                                           
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  109d22:	8d 43 48             	lea    0x48(%ebx),%eax                
  109d25:	50                   	push   %eax                           
  109d26:	68 ac 42 12 00       	push   $0x1242ac                      
  109d2b:	e8 00 30 00 00       	call   10cd30 <_Watchdog_Insert>      
  109d30:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
  109d33:	50                   	push   %eax                           
  109d34:	50                   	push   %eax                           
  109d35:	68 00 01 00 00       	push   $0x100                         
  109d3a:	53                   	push   %ebx                           
  109d3b:	e8 18 2a 00 00       	call   10c758 <_Thread_Set_state>     
                                                                      
  _ISR_Disable( level );                                              
  109d40:	9c                   	pushf                                 
  109d41:	fa                   	cli                                   
  109d42:	5a                   	pop    %edx                           
                                                                      
  sync_state = _Event_Sync_state;                                     
  109d43:	a1 e4 4a 12 00       	mov    0x124ae4,%eax                  
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  109d48:	c7 05 e4 4a 12 00 00 	movl   $0x0,0x124ae4                  
  109d4f:	00 00 00                                                    
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
  109d52:	83 c4 10             	add    $0x10,%esp                     
  109d55:	83 f8 01             	cmp    $0x1,%eax                      
  109d58:	75 04                	jne    109d5e <_Event_Seize+0xea>     
    _ISR_Enable( level );                                             
  109d5a:	52                   	push   %edx                           
  109d5b:	9d                   	popf                                  
  109d5c:	eb 15                	jmp    109d73 <_Event_Seize+0xff>     
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
  109d5e:	89 55 10             	mov    %edx,0x10(%ebp)                
  109d61:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  109d64:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  109d67:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109d6a:	5b                   	pop    %ebx                           
  109d6b:	5e                   	pop    %esi                           
  109d6c:	5f                   	pop    %edi                           
  109d6d:	c9                   	leave                                 
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
  109d6e:	e9 09 1d 00 00       	jmp    10ba7c <_Thread_blocking_operation_Cancel>
}                                                                     
  109d73:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109d76:	5b                   	pop    %ebx                           
  109d77:	5e                   	pop    %esi                           
  109d78:	5f                   	pop    %edi                           
  109d79:	c9                   	leave                                 
  109d7a:	c3                   	ret                                   
                                                                      

00109dc8 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
  109dc8:	55                   	push   %ebp                           
  109dc9:	89 e5                	mov    %esp,%ebp                      
  109dcb:	57                   	push   %edi                           
  109dcc:	56                   	push   %esi                           
  109dcd:	53                   	push   %ebx                           
  109dce:	83 ec 2c             	sub    $0x2c,%esp                     
  109dd1:	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 ];               
  109dd4:	8b bb f4 00 00 00    	mov    0xf4(%ebx),%edi                
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
  109dda:	8b 43 30             	mov    0x30(%ebx),%eax                
  109ddd:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  109de0:	9c                   	pushf                                 
  109de1:	fa                   	cli                                   
  109de2:	58                   	pop    %eax                           
  pending_events  = api->pending_events;                              
  109de3:	8b 17                	mov    (%edi),%edx                    
  109de5:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
  109de8:	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 ) ) {                      
  109deb:	21 f2                	and    %esi,%edx                      
  109ded:	75 07                	jne    109df6 <_Event_Surrender+0x2e> 
    _ISR_Enable( level );                                             
  109def:	50                   	push   %eax                           
  109df0:	9d                   	popf                                  
    return;                                                           
  109df1:	e9 af 00 00 00       	jmp    109ea5 <_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() &&                                       
  109df6:	83 3d 30 47 12 00 00 	cmpl   $0x0,0x124730                  
  109dfd:	74 49                	je     109e48 <_Event_Surrender+0x80> 
  109dff:	3b 1d 34 47 12 00    	cmp    0x124734,%ebx                  
  109e05:	75 41                	jne    109e48 <_Event_Surrender+0x80> 
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
  109e07:	8b 0d e4 4a 12 00    	mov    0x124ae4,%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 ) &&                          
  109e0d:	83 f9 02             	cmp    $0x2,%ecx                      
  109e10:	74 09                	je     109e1b <_Event_Surrender+0x53> <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
  109e12:	8b 0d e4 4a 12 00    	mov    0x124ae4,%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) ||   
  109e18:	49                   	dec    %ecx                           
  109e19:	75 2d                	jne    109e48 <_Event_Surrender+0x80> 
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
  109e1b:	39 f2                	cmp    %esi,%edx                      
  109e1d:	74 06                	je     109e25 <_Event_Surrender+0x5d> 
  109e1f:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  109e23:	74 1f                	je     109e44 <_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) );                            
  109e25:	89 d6                	mov    %edx,%esi                      
  109e27:	f7 d6                	not    %esi                           
  109e29:	23 75 d4             	and    -0x2c(%ebp),%esi               
  109e2c:	89 37                	mov    %esi,(%edi)                    
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
  109e2e:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  109e35:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  109e38:	89 11                	mov    %edx,(%ecx)                    
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
  109e3a:	c7 05 e4 4a 12 00 03 	movl   $0x3,0x124ae4                  
  109e41:	00 00 00                                                    
    }                                                                 
    _ISR_Enable( level );                                             
  109e44:	50                   	push   %eax                           
  109e45:	9d                   	popf                                  
    return;                                                           
  109e46:	eb 5d                	jmp    109ea5 <_Event_Surrender+0xdd> 
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
  109e48:	f6 43 11 01          	testb  $0x1,0x11(%ebx)                
  109e4c:	74 55                	je     109ea3 <_Event_Surrender+0xdb> 
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
  109e4e:	39 f2                	cmp    %esi,%edx                      
  109e50:	74 06                	je     109e58 <_Event_Surrender+0x90> 
  109e52:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  109e56:	74 4b                	je     109ea3 <_Event_Surrender+0xdb> <== NEVER TAKEN
  109e58:	89 d6                	mov    %edx,%esi                      
  109e5a:	f7 d6                	not    %esi                           
  109e5c:	23 75 d4             	and    -0x2c(%ebp),%esi               
  109e5f:	89 37                	mov    %esi,(%edi)                    
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
  109e61:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  109e68:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  109e6b:	89 11                	mov    %edx,(%ecx)                    
                                                                      
      _ISR_Flash( level );                                            
  109e6d:	50                   	push   %eax                           
  109e6e:	9d                   	popf                                  
  109e6f:	fa                   	cli                                   
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
  109e70:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  109e74:	74 06                	je     109e7c <_Event_Surrender+0xb4> 
        _ISR_Enable( level );                                         
  109e76:	50                   	push   %eax                           
  109e77:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  109e78:	51                   	push   %ecx                           
  109e79:	51                   	push   %ecx                           
  109e7a:	eb 17                	jmp    109e93 <_Event_Surrender+0xcb> 
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
  109e7c:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
  109e83:	50                   	push   %eax                           
  109e84:	9d                   	popf                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
  109e85:	83 ec 0c             	sub    $0xc,%esp                      
  109e88:	8d 43 48             	lea    0x48(%ebx),%eax                
  109e8b:	50                   	push   %eax                           
  109e8c:	e8 b7 2f 00 00       	call   10ce48 <_Watchdog_Remove>      
  109e91:	58                   	pop    %eax                           
  109e92:	5a                   	pop    %edx                           
  109e93:	68 f8 ff 03 10       	push   $0x1003fff8                    
  109e98:	53                   	push   %ebx                           
  109e99:	e8 4a 1d 00 00       	call   10bbe8 <_Thread_Clear_state>   
  109e9e:	83 c4 10             	add    $0x10,%esp                     
  109ea1:	eb 02                	jmp    109ea5 <_Event_Surrender+0xdd> 
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
  109ea3:	50                   	push   %eax                           
  109ea4:	9d                   	popf                                  
}                                                                     
  109ea5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109ea8:	5b                   	pop    %ebx                           
  109ea9:	5e                   	pop    %esi                           
  109eaa:	5f                   	pop    %edi                           
  109eab:	c9                   	leave                                 
  109eac:	c3                   	ret                                   
                                                                      

00109eb0 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
  109eb0:	55                   	push   %ebp                           
  109eb1:	89 e5                	mov    %esp,%ebp                      
  109eb3:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  109eb6:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  109eb9:	50                   	push   %eax                           
  109eba:	ff 75 08             	pushl  0x8(%ebp)                      
  109ebd:	e8 ba 20 00 00       	call   10bf7c <_Thread_Get>           
  switch ( location ) {                                               
  109ec2:	83 c4 10             	add    $0x10,%esp                     
  109ec5:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  109ec9:	75 49                	jne    109f14 <_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 );                                          
  109ecb:	9c                   	pushf                                 
  109ecc:	fa                   	cli                                   
  109ecd:	5a                   	pop    %edx                           
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
  109ece:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
        if ( _Thread_Is_executing( the_thread ) ) {                   
  109ed5:	3b 05 34 47 12 00    	cmp    0x124734,%eax                  
  109edb:	75 13                	jne    109ef0 <_Event_Timeout+0x40>   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
  109edd:	8b 0d e4 4a 12 00    	mov    0x124ae4,%ecx                  
  109ee3:	49                   	dec    %ecx                           
  109ee4:	75 0a                	jne    109ef0 <_Event_Timeout+0x40>   
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
  109ee6:	c7 05 e4 4a 12 00 02 	movl   $0x2,0x124ae4                  
  109eed:	00 00 00                                                    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
  109ef0:	c7 40 34 06 00 00 00 	movl   $0x6,0x34(%eax)                
      _ISR_Enable( level );                                           
  109ef7:	52                   	push   %edx                           
  109ef8:	9d                   	popf                                  
  109ef9:	52                   	push   %edx                           
  109efa:	52                   	push   %edx                           
  109efb:	68 f8 ff 03 10       	push   $0x1003fff8                    
  109f00:	50                   	push   %eax                           
  109f01:	e8 e2 1c 00 00       	call   10bbe8 <_Thread_Clear_state>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  109f06:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  109f0b:	48                   	dec    %eax                           
  109f0c:	a3 e4 41 12 00       	mov    %eax,0x1241e4                  
      _Thread_Unblock( the_thread );                                  
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  109f11:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  109f14:	c9                   	leave                                 
  109f15:	c3                   	ret                                   
                                                                      

0010f3ac <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
  10f3ac:	55                   	push   %ebp                           
  10f3ad:	89 e5                	mov    %esp,%ebp                      
  10f3af:	57                   	push   %edi                           
  10f3b0:	56                   	push   %esi                           
  10f3b1:	53                   	push   %ebx                           
  10f3b2:	83 ec 3c             	sub    $0x3c,%esp                     
  10f3b5:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10f3b8:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
  10f3bb:	8b 4e 08             	mov    0x8(%esi),%ecx                 
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
  10f3be:	8d 47 04             	lea    0x4(%edi),%eax                 
  10f3c1:	89 45 d0             	mov    %eax,-0x30(%ebp)               
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  10f3c4:	8b 46 10             	mov    0x10(%esi),%eax                
  10f3c7:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
    /* Integer overflow occured */                                    
    return NULL;                                                      
  10f3ca:	31 c0                	xor    %eax,%eax                      
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
  10f3cc:	39 7d d0             	cmp    %edi,-0x30(%ebp)               
  10f3cf:	0f 82 22 01 00 00    	jb     10f4f7 <_Heap_Allocate_aligned_with_boundary+0x14b>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
  10f3d5:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10f3d9:	74 15                	je     10f3f0 <_Heap_Allocate_aligned_with_boundary+0x44>
    if ( boundary < alloc_size ) {                                    
  10f3db:	39 7d 14             	cmp    %edi,0x14(%ebp)                
  10f3de:	0f 82 13 01 00 00    	jb     10f4f7 <_Heap_Allocate_aligned_with_boundary+0x14b>
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
  10f3e4:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10f3e8:	75 06                	jne    10f3f0 <_Heap_Allocate_aligned_with_boundary+0x44>
      alignment = page_size;                                          
  10f3ea:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10f3ed:	89 45 10             	mov    %eax,0x10(%ebp)                
  10f3f0:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
  10f3f7:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10f3fa:	83 c0 07             	add    $0x7,%eax                      
  10f3fd:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  10f400:	c7 45 d4 04 00 00 00 	movl   $0x4,-0x2c(%ebp)               
  10f407:	29 7d d4             	sub    %edi,-0x2c(%ebp)               
  10f40a:	89 75 dc             	mov    %esi,-0x24(%ebp)               
  10f40d:	e9 ca 00 00 00       	jmp    10f4dc <_Heap_Allocate_aligned_with_boundary+0x130>
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
  10f412:	ff 45 e4             	incl   -0x1c(%ebp)                    
    /*                                                                
     * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
     * field.  Thus the value is about one unit larger than the real block
     * size.  The greater than operator takes this into account.      
     */                                                               
    if ( block->size_and_flag > block_size_floor ) {                  
  10f415:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  10f418:	3b 5d d0             	cmp    -0x30(%ebp),%ebx               
  10f41b:	0f 86 b8 00 00 00    	jbe    10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d>
      if ( alignment == 0 ) {                                         
  10f421:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10f425:	8d 41 08             	lea    0x8(%ecx),%eax                 
  10f428:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  10f42b:	75 07                	jne    10f434 <_Heap_Allocate_aligned_with_boundary+0x88>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10f42d:	89 c3                	mov    %eax,%ebx                      
  10f42f:	e9 8a 00 00 00       	jmp    10f4be <_Heap_Allocate_aligned_with_boundary+0x112>
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  10f434:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10f437:	8b 40 14             	mov    0x14(%eax),%eax                
  10f43a:	89 45 cc             	mov    %eax,-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;                
  10f43d:	83 e3 fe             	and    $0xfffffffe,%ebx               
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
  10f440:	8d 1c 19             	lea    (%ecx,%ebx,1),%ebx             
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
  10f443:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  10f446:	29 c6                	sub    %eax,%esi                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
  10f448:	01 de                	add    %ebx,%esi                      
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
  10f44a:	03 5d d4             	add    -0x2c(%ebp),%ebx               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10f44d:	89 d8                	mov    %ebx,%eax                      
  10f44f:	31 d2                	xor    %edx,%edx                      
  10f451:	f7 75 10             	divl   0x10(%ebp)                     
  10f454:	29 d3                	sub    %edx,%ebx                      
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
  10f456:	39 f3                	cmp    %esi,%ebx                      
  10f458:	76 0b                	jbe    10f465 <_Heap_Allocate_aligned_with_boundary+0xb9>
  10f45a:	89 f0                	mov    %esi,%eax                      
  10f45c:	31 d2                	xor    %edx,%edx                      
  10f45e:	f7 75 10             	divl   0x10(%ebp)                     
  10f461:	89 f3                	mov    %esi,%ebx                      
  10f463:	29 d3                	sub    %edx,%ebx                      
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
  10f465:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10f469:	74 35                	je     10f4a0 <_Heap_Allocate_aligned_with_boundary+0xf4>
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
    alloc_begin = _Heap_Align_down( alloc_begin_ceiling, alignment ); 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
  10f46b:	8d 34 3b             	lea    (%ebx,%edi,1),%esi             
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
  10f46e:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  10f471:	01 f8                	add    %edi,%eax                      
  10f473:	89 45 c8             	mov    %eax,-0x38(%ebp)               
  10f476:	eb 15                	jmp    10f48d <_Heap_Allocate_aligned_with_boundary+0xe1>
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
  10f478:	3b 45 c8             	cmp    -0x38(%ebp),%eax               
  10f47b:	72 5c                	jb     10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
  10f47d:	89 c3                	mov    %eax,%ebx                      
  10f47f:	29 fb                	sub    %edi,%ebx                      
  10f481:	89 d8                	mov    %ebx,%eax                      
  10f483:	31 d2                	xor    %edx,%edx                      
  10f485:	f7 75 10             	divl   0x10(%ebp)                     
  10f488:	29 d3                	sub    %edx,%ebx                      
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
  10f48a:	8d 34 3b             	lea    (%ebx,%edi,1),%esi             
  10f48d:	89 f0                	mov    %esi,%eax                      
  10f48f:	31 d2                	xor    %edx,%edx                      
  10f491:	f7 75 14             	divl   0x14(%ebp)                     
  10f494:	89 f0                	mov    %esi,%eax                      
  10f496:	29 d0                	sub    %edx,%eax                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
  10f498:	39 f0                	cmp    %esi,%eax                      
  10f49a:	73 04                	jae    10f4a0 <_Heap_Allocate_aligned_with_boundary+0xf4>
  10f49c:	39 c3                	cmp    %eax,%ebx                      
  10f49e:	72 d8                	jb     10f478 <_Heap_Allocate_aligned_with_boundary+0xcc>
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
  10f4a0:	3b 5d d8             	cmp    -0x28(%ebp),%ebx               
  10f4a3:	72 34                	jb     10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d>
  10f4a5:	be f8 ff ff ff       	mov    $0xfffffff8,%esi               
  10f4aa:	29 ce                	sub    %ecx,%esi                      
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
  10f4ac:	01 de                	add    %ebx,%esi                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10f4ae:	89 d8                	mov    %ebx,%eax                      
  10f4b0:	31 d2                	xor    %edx,%edx                      
  10f4b2:	f7 75 e0             	divl   -0x20(%ebp)                    
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
  10f4b5:	29 d6                	sub    %edx,%esi                      
  10f4b7:	74 05                	je     10f4be <_Heap_Allocate_aligned_with_boundary+0x112>
  10f4b9:	3b 75 cc             	cmp    -0x34(%ebp),%esi               
  10f4bc:	72 1b                	jb     10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
  10f4be:	85 db                	test   %ebx,%ebx                      
  10f4c0:	74 17                	je     10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d><== NEVER TAKEN
  10f4c2:	8b 75 dc             	mov    -0x24(%ebp),%esi               
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
  10f4c5:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f4c8:	01 46 4c             	add    %eax,0x4c(%esi)                
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
  10f4cb:	57                   	push   %edi                           
  10f4cc:	53                   	push   %ebx                           
  10f4cd:	51                   	push   %ecx                           
  10f4ce:	56                   	push   %esi                           
  10f4cf:	e8 11 bd ff ff       	call   10b1e5 <_Heap_Block_allocate>  
  10f4d4:	83 c4 10             	add    $0x10,%esp                     
  10f4d7:	eb 11                	jmp    10f4ea <_Heap_Allocate_aligned_with_boundary+0x13e>
                                                                      
    if ( alloc_begin != 0 ) {                                         
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
  10f4d9:	8b 49 08             	mov    0x8(%ecx),%ecx                 
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
  10f4dc:	3b 4d dc             	cmp    -0x24(%ebp),%ecx               
  10f4df:	0f 85 2d ff ff ff    	jne    10f412 <_Heap_Allocate_aligned_with_boundary+0x66>
  10f4e5:	8b 75 dc             	mov    -0x24(%ebp),%esi               
  10f4e8:	31 db                	xor    %ebx,%ebx                      
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
  10f4ea:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f4ed:	39 46 44             	cmp    %eax,0x44(%esi)                
  10f4f0:	73 03                	jae    10f4f5 <_Heap_Allocate_aligned_with_boundary+0x149>
    stats->max_search = search_count;                                 
  10f4f2:	89 46 44             	mov    %eax,0x44(%esi)                
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
  10f4f5:	89 d8                	mov    %ebx,%eax                      
}                                                                     
  10f4f7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f4fa:	5b                   	pop    %ebx                           
  10f4fb:	5e                   	pop    %esi                           
  10f4fc:	5f                   	pop    %edi                           
  10f4fd:	c9                   	leave                                 
  10f4fe:	c3                   	ret                                   
                                                                      

001128e3 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
  1128e3:	55                   	push   %ebp                           
  1128e4:	89 e5                	mov    %esp,%ebp                      
  1128e6:	57                   	push   %edi                           
  1128e7:	56                   	push   %esi                           
  1128e8:	53                   	push   %ebx                           
  1128e9:	83 ec 4c             	sub    $0x4c,%esp                     
  1128ec:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1128ef:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
  1128f2:	8b 43 20             	mov    0x20(%ebx),%eax                
  1128f5:	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;                              
  1128f8:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  Heap_Block *extend_last_block = NULL;                               
  1128ff:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  uintptr_t const page_size = heap->page_size;                        
  112906:	8b 53 10             	mov    0x10(%ebx),%edx                
  112909:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  11290c:	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;                       
  11290f:	8b 7b 30             	mov    0x30(%ebx),%edi                
  112912:	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;                                                     
  112915:	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 ) {                        
  112917:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  11291a:	01 cf                	add    %ecx,%edi                      
  11291c:	0f 82 d4 01 00 00    	jb     112af6 <_Heap_Extend+0x213>    
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
  112922:	52                   	push   %edx                           
  112923:	52                   	push   %edx                           
  112924:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  112927:	52                   	push   %edx                           
  112928:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  11292b:	52                   	push   %edx                           
  11292c:	50                   	push   %eax                           
  11292d:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  112930:	51                   	push   %ecx                           
  112931:	ff 75 0c             	pushl  0xc(%ebp)                      
  112934:	e8 8f b4 ff ff       	call   10ddc8 <_Heap_Get_first_and_last_block>
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
  112939:	83 c4 20             	add    $0x20,%esp                     
  11293c:	84 c0                	test   %al,%al                        
  11293e:	0f 84 b2 01 00 00    	je     112af6 <_Heap_Extend+0x213>    
  112944:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  112947:	c7 45 cc 00 00 00 00 	movl   $0x0,-0x34(%ebp)               
  11294e:	c7 45 c8 00 00 00 00 	movl   $0x0,-0x38(%ebp)               
  112955:	31 f6                	xor    %esi,%esi                      
  112957:	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;                     
  11295e:	8b 43 18             	mov    0x18(%ebx),%eax                
  112961:	89 5d b8             	mov    %ebx,-0x48(%ebp)               
  112964:	eb 02                	jmp    112968 <_Heap_Extend+0x85>     
  112966:	89 c8                	mov    %ecx,%eax                      
    uintptr_t const sub_area_end = start_block->prev_size;            
  112968:	8b 19                	mov    (%ecx),%ebx                    
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
  11296a:	39 c7                	cmp    %eax,%edi                      
  11296c:	76 09                	jbe    112977 <_Heap_Extend+0x94>     
  11296e:	39 5d 0c             	cmp    %ebx,0xc(%ebp)                 
  112971:	0f 82 7d 01 00 00    	jb     112af4 <_Heap_Extend+0x211>    <== NEVER TAKEN
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  112977:	39 c7                	cmp    %eax,%edi                      
  112979:	74 06                	je     112981 <_Heap_Extend+0x9e>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  11297b:	39 df                	cmp    %ebx,%edi                      
  11297d:	72 07                	jb     112986 <_Heap_Extend+0xa3>     
  11297f:	eb 08                	jmp    112989 <_Heap_Extend+0xa6>     
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  112981:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  112984:	eb 03                	jmp    112989 <_Heap_Extend+0xa6>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  112986:	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);                                 
  112989:	8d 43 f8             	lea    -0x8(%ebx),%eax                
  11298c:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  11298f:	89 d8                	mov    %ebx,%eax                      
  112991:	31 d2                	xor    %edx,%edx                      
  112993:	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);                                        
  112996:	29 55 d4             	sub    %edx,-0x2c(%ebp)               
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
  112999:	3b 5d 0c             	cmp    0xc(%ebp),%ebx                 
  11299c:	75 07                	jne    1129a5 <_Heap_Extend+0xc2>     
      start_block->prev_size = extend_area_end;                       
  11299e:	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 )   
  1129a0:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  1129a3:	eb 08                	jmp    1129ad <_Heap_Extend+0xca>     
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
  1129a5:	73 06                	jae    1129ad <_Heap_Extend+0xca>     
  1129a7:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  1129aa:	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;                
  1129ad:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  1129b0:	8b 48 04             	mov    0x4(%eax),%ecx                 
  1129b3:	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);                 
  1129b6:	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 );                             
  1129b8:	3b 4d c0             	cmp    -0x40(%ebp),%ecx               
  1129bb:	75 a9                	jne    112966 <_Heap_Extend+0x83>     
  1129bd:	8b 5d b8             	mov    -0x48(%ebp),%ebx               
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
  1129c0:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  1129c3:	3b 53 18             	cmp    0x18(%ebx),%edx                
  1129c6:	73 05                	jae    1129cd <_Heap_Extend+0xea>     
    heap->area_begin = extend_area_begin;                             
  1129c8:	89 53 18             	mov    %edx,0x18(%ebx)                
  1129cb:	eb 08                	jmp    1129d5 <_Heap_Extend+0xf2>     
  } else if ( heap->area_end < extend_area_end ) {                    
  1129cd:	39 7b 1c             	cmp    %edi,0x1c(%ebx)                
  1129d0:	73 03                	jae    1129d5 <_Heap_Extend+0xf2>     
    heap->area_end = extend_area_end;                                 
  1129d2:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
  1129d5:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  1129d8:	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 =                                           
  1129db:	89 c1                	mov    %eax,%ecx                      
  1129dd:	29 d1                	sub    %edx,%ecx                      
  1129df:	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;                    
  1129e2:	89 3a                	mov    %edi,(%edx)                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  1129e4:	83 c9 01             	or     $0x1,%ecx                      
  1129e7:	89 4a 04             	mov    %ecx,0x4(%edx)                 
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  1129ea:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  1129ed:	89 08                	mov    %ecx,(%eax)                    
  extend_last_block->size_and_flag = 0;                               
  1129ef:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
  1129f6:	39 53 20             	cmp    %edx,0x20(%ebx)                
  1129f9:	76 05                	jbe    112a00 <_Heap_Extend+0x11d>    
    heap->first_block = extend_first_block;                           
  1129fb:	89 53 20             	mov    %edx,0x20(%ebx)                
  1129fe:	eb 08                	jmp    112a08 <_Heap_Extend+0x125>    
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
  112a00:	39 43 24             	cmp    %eax,0x24(%ebx)                
  112a03:	73 03                	jae    112a08 <_Heap_Extend+0x125>    
    heap->last_block = extend_last_block;                             
  112a05:	89 43 24             	mov    %eax,0x24(%ebx)                
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
  112a08:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  112a0c:	74 3b                	je     112a49 <_Heap_Extend+0x166>    
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  112a0e:	8b 43 10             	mov    0x10(%ebx),%eax                
  112a11:	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 );
  112a14:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  112a17:	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;                            
  112a1a:	89 c8                	mov    %ecx,%eax                      
  112a1c:	31 d2                	xor    %edx,%edx                      
  112a1e:	f7 75 d4             	divl   -0x2c(%ebp)                    
                                                                      
  if ( remainder != 0 ) {                                             
  112a21:	85 d2                	test   %edx,%edx                      
  112a23:	74 05                	je     112a2a <_Heap_Extend+0x147>    <== ALWAYS TAKEN
    return value - remainder + alignment;                             
  112a25:	03 4d d4             	add    -0x2c(%ebp),%ecx               <== NOT EXECUTED
  112a28:	29 d1                	sub    %edx,%ecx                      <== NOT EXECUTED
  uintptr_t const new_first_block_begin =                             
  112a2a:	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;                
  112a2d:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  112a30:	8b 00                	mov    (%eax),%eax                    
  112a32:	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 =                              
  112a35:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  112a38:	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;
  112a3a:	83 c8 01             	or     $0x1,%eax                      
  112a3d:	89 42 04             	mov    %eax,0x4(%edx)                 
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
  112a40:	89 d8                	mov    %ebx,%eax                      
  112a42:	e8 81 fe ff ff       	call   1128c8 <_Heap_Free_block>      
  112a47:	eb 14                	jmp    112a5d <_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 ) {                            
  112a49:	83 7d c8 00          	cmpl   $0x0,-0x38(%ebp)               
  112a4d:	74 0e                	je     112a5d <_Heap_Extend+0x17a>    
    _Heap_Link_below(                                                 
  112a4f:	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;           
  112a52:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  112a55:	29 d0                	sub    %edx,%eax                      
  112a57:	83 c8 01             	or     $0x1,%eax                      
  112a5a:	89 42 04             	mov    %eax,0x4(%edx)                 
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
  112a5d:	85 f6                	test   %esi,%esi                      
  112a5f:	74 30                	je     112a91 <_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,      
  112a61:	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(             
  112a64:	29 f7                	sub    %esi,%edi                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  112a66:	89 f8                	mov    %edi,%eax                      
  112a68:	31 d2                	xor    %edx,%edx                      
  112a6a:	f7 73 10             	divl   0x10(%ebx)                     
  112a6d:	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)                 
  112a6f:	8b 46 04             	mov    0x4(%esi),%eax                 
  112a72:	29 f8                	sub    %edi,%eax                      
      | HEAP_PREV_BLOCK_USED;                                         
  112a74:	83 c8 01             	or     $0x1,%eax                      
  112a77:	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;       
  112a7b:	8b 46 04             	mov    0x4(%esi),%eax                 
  112a7e:	83 e0 01             	and    $0x1,%eax                      
                                                                      
  block->size_and_flag = size | flag;                                 
  112a81:	09 f8                	or     %edi,%eax                      
  112a83:	89 46 04             	mov    %eax,0x4(%esi)                 
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
  112a86:	89 f2                	mov    %esi,%edx                      
  112a88:	89 d8                	mov    %ebx,%eax                      
  112a8a:	e8 39 fe ff ff       	call   1128c8 <_Heap_Free_block>      
  112a8f:	eb 21                	jmp    112ab2 <_Heap_Extend+0x1cf>    
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
  112a91:	83 7d cc 00          	cmpl   $0x0,-0x34(%ebp)               
  112a95:	74 1b                	je     112ab2 <_Heap_Extend+0x1cf>    
    _Heap_Link_above(                                                 
  112a97:	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 );       
  112a9a:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  112a9d:	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;       
  112aa0:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  112aa3:	8b 57 04             	mov    0x4(%edi),%edx                 
  112aa6:	83 e2 01             	and    $0x1,%edx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  112aa9:	09 d0                	or     %edx,%eax                      
  112aab:	89 47 04             	mov    %eax,0x4(%edi)                 
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
  112aae:	83 49 04 01          	orl    $0x1,0x4(%ecx)                 
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
  112ab2:	85 f6                	test   %esi,%esi                      
  112ab4:	75 10                	jne    112ac6 <_Heap_Extend+0x1e3>    
  112ab6:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  112aba:	75 0a                	jne    112ac6 <_Heap_Extend+0x1e3>    
    _Heap_Free_block( heap, extend_first_block );                     
  112abc:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  112abf:	89 d8                	mov    %ebx,%eax                      
  112ac1:	e8 02 fe ff ff       	call   1128c8 <_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      
  112ac6:	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(                                               
  112ac9:	8b 43 20             	mov    0x20(%ebx),%eax                
  112acc:	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;       
  112ace:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  112ad1:	83 e1 01             	and    $0x1,%ecx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  112ad4:	09 c8                	or     %ecx,%eax                      
  112ad6:	89 42 04             	mov    %eax,0x4(%edx)                 
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
  112ad9:	8b 43 30             	mov    0x30(%ebx),%eax                
  112adc:	2b 45 bc             	sub    -0x44(%ebp),%eax               
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
  112adf:	01 43 2c             	add    %eax,0x2c(%ebx)                
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
  112ae2:	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 )                                    
  112ae7:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  112aeb:	74 09                	je     112af6 <_Heap_Extend+0x213>    <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
  112aed:	8b 55 14             	mov    0x14(%ebp),%edx                
  112af0:	89 02                	mov    %eax,(%edx)                    
  112af2:	eb 02                	jmp    112af6 <_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;                                                   
  112af4:	31 f6                	xor    %esi,%esi                      
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
  112af6:	89 f0                	mov    %esi,%eax                      
  112af8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112afb:	5b                   	pop    %ebx                           
  112afc:	5e                   	pop    %esi                           
  112afd:	5f                   	pop    %edi                           
  112afe:	c9                   	leave                                 
  112aff:	c3                   	ret                                   
                                                                      

0010f500 <_Heap_Free>: #include <rtems/system.h> #include <rtems/score/sysstate.h> #include <rtems/score/heap.h> bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
  10f500:	55                   	push   %ebp                           
  10f501:	89 e5                	mov    %esp,%ebp                      
  10f503:	57                   	push   %edi                           
  10f504:	56                   	push   %esi                           
  10f505:	53                   	push   %ebx                           
  10f506:	83 ec 14             	sub    $0x14,%esp                     
  10f509:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10f50c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f50f:	8d 58 f8             	lea    -0x8(%eax),%ebx                
  10f512:	31 d2                	xor    %edx,%edx                      
  10f514:	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);                                        
  10f517:	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           
  10f519:	8b 41 20             	mov    0x20(%ecx),%eax                
  10f51c:	89 45 ec             	mov    %eax,-0x14(%ebp)               
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  10f51f:	31 d2                	xor    %edx,%edx                      
  10f521:	39 c3                	cmp    %eax,%ebx                      
  10f523:	72 08                	jb     10f52d <_Heap_Free+0x2d>       
  10f525:	31 d2                	xor    %edx,%edx                      
  10f527:	39 59 24             	cmp    %ebx,0x24(%ecx)                
  10f52a:	0f 93 c2             	setae  %dl                            
  uintptr_t block_size = 0;                                           
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
    return false;                                                     
  10f52d:	31 c0                	xor    %eax,%eax                      
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
  10f52f:	85 d2                	test   %edx,%edx                      
  10f531:	0f 84 21 01 00 00    	je     10f658 <_Heap_Free+0x158>      
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10f537:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10f53a:	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;                
  10f53d:	89 c6                	mov    %eax,%esi                      
  10f53f:	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);                 
  10f542:	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;             
  10f545:	31 ff                	xor    %edi,%edi                      
  10f547:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10f54a:	72 0a                	jb     10f556 <_Heap_Free+0x56>       <== NEVER TAKEN
  10f54c:	31 c0                	xor    %eax,%eax                      
  10f54e:	39 51 24             	cmp    %edx,0x24(%ecx)                
  10f551:	0f 93 c0             	setae  %al                            
  10f554:	89 c7                	mov    %eax,%edi                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  10f556:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
  10f558:	85 ff                	test   %edi,%edi                      
  10f55a:	0f 84 f8 00 00 00    	je     10f658 <_Heap_Free+0x158>      <== NEVER TAKEN
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10f560:	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 ) ) {                          
  10f563:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  10f569:	0f 84 e9 00 00 00    	je     10f658 <_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;                
  10f56f:	83 e7 fe             	and    $0xfffffffe,%edi               
  10f572:	89 7d e8             	mov    %edi,-0x18(%ebp)               
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  10f575:	8b 41 24             	mov    0x24(%ecx),%eax                
  10f578:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
  10f57b:	31 c0                	xor    %eax,%eax                      
  10f57d:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10f580:	74 0a                	je     10f58c <_Heap_Free+0x8c>       
  10f582:	31 c0                	xor    %eax,%eax                      
  10f584:	f6 44 3a 04 01       	testb  $0x1,0x4(%edx,%edi,1)          
  10f589:	0f 94 c0             	sete   %al                            
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  10f58c:	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 ) ) {                               
  10f58f:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)               
  10f593:	75 62                	jne    10f5f7 <_Heap_Free+0xf7>       
    uintptr_t const prev_size = block->prev_size;                     
  10f595:	8b 03                	mov    (%ebx),%eax                    
  10f597:	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);                 
  10f59a:	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;             
  10f59c:	31 ff                	xor    %edi,%edi                      
  10f59e:	3b 5d ec             	cmp    -0x14(%ebp),%ebx               
  10f5a1:	72 0a                	jb     10f5ad <_Heap_Free+0xad>       <== NEVER TAKEN
  10f5a3:	31 c0                	xor    %eax,%eax                      
  10f5a5:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)               
  10f5a8:	0f 93 c0             	setae  %al                            
  10f5ab:	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 );                                                
  10f5ad:	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 ) ) {              
  10f5af:	85 ff                	test   %edi,%edi                      
  10f5b1:	0f 84 a1 00 00 00    	je     10f658 <_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) ) {                        
  10f5b7:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10f5bb:	0f 84 97 00 00 00    	je     10f658 <_Heap_Free+0x158>      <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
  10f5c1:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10f5c5:	74 1a                	je     10f5e1 <_Heap_Free+0xe1>       
      uintptr_t const size = block_size + prev_size + next_block_size;
  10f5c7:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10f5ca:	8d 04 06             	lea    (%esi,%eax,1),%eax             
  10f5cd:	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;                                     
  10f5d0:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = block->prev;                                     
  10f5d3:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  prev->next = next;                                                  
  10f5d6:	89 7a 08             	mov    %edi,0x8(%edx)                 
  next->prev = prev;                                                  
  10f5d9:	89 57 0c             	mov    %edx,0xc(%edi)                 
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
  10f5dc:	ff 49 38             	decl   0x38(%ecx)                     
  10f5df:	eb 33                	jmp    10f614 <_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;                  
  10f5e1:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  10f5e4:	8d 04 06             	lea    (%esi,%eax,1),%eax             
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  10f5e7:	89 c7                	mov    %eax,%edi                      
  10f5e9:	83 cf 01             	or     $0x1,%edi                      
  10f5ec:	89 7b 04             	mov    %edi,0x4(%ebx)                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
  10f5ef:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
      next_block->prev_size = size;                                   
  10f5f3:	89 02                	mov    %eax,(%edx)                    
  10f5f5:	eb 56                	jmp    10f64d <_Heap_Free+0x14d>      
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
  10f5f7:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10f5fb:	74 24                	je     10f621 <_Heap_Free+0x121>      
    uintptr_t const size = block_size + next_block_size;              
  10f5fd:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10f600:	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;                                 
  10f602:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = old_block->prev;                                 
  10f605:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  new_block->next = next;                                             
  10f608:	89 7b 08             	mov    %edi,0x8(%ebx)                 
  new_block->prev = prev;                                             
  10f60b:	89 53 0c             	mov    %edx,0xc(%ebx)                 
                                                                      
  next->prev = new_block;                                             
  10f60e:	89 5f 0c             	mov    %ebx,0xc(%edi)                 
  prev->next = new_block;                                             
  10f611:	89 5a 08             	mov    %ebx,0x8(%edx)                 
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
  10f614:	89 c2                	mov    %eax,%edx                      
  10f616:	83 ca 01             	or     $0x1,%edx                      
  10f619:	89 53 04             	mov    %edx,0x4(%ebx)                 
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
  10f61c:	89 04 03             	mov    %eax,(%ebx,%eax,1)             
  10f61f:	eb 2c                	jmp    10f64d <_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;                              
  10f621:	8b 41 08             	mov    0x8(%ecx),%eax                 
                                                                      
  new_block->next = next;                                             
  10f624:	89 43 08             	mov    %eax,0x8(%ebx)                 
  new_block->prev = block_before;                                     
  10f627:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  block_before->next = new_block;                                     
  10f62a:	89 59 08             	mov    %ebx,0x8(%ecx)                 
  next->prev = new_block;                                             
  10f62d:	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;         
  10f630:	89 f0                	mov    %esi,%eax                      
  10f632:	83 c8 01             	or     $0x1,%eax                      
  10f635:	89 43 04             	mov    %eax,0x4(%ebx)                 
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  10f638:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
    next_block->prev_size = block_size;                               
  10f63c:	89 32                	mov    %esi,(%edx)                    
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
  10f63e:	8b 41 38             	mov    0x38(%ecx),%eax                
  10f641:	40                   	inc    %eax                           
  10f642:	89 41 38             	mov    %eax,0x38(%ecx)                
    if ( stats->max_free_blocks < stats->free_blocks ) {              
  10f645:	39 41 3c             	cmp    %eax,0x3c(%ecx)                
  10f648:	73 03                	jae    10f64d <_Heap_Free+0x14d>      
      stats->max_free_blocks = stats->free_blocks;                    
  10f64a:	89 41 3c             	mov    %eax,0x3c(%ecx)                
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  10f64d:	ff 49 40             	decl   0x40(%ecx)                     
  ++stats->frees;                                                     
  10f650:	ff 41 50             	incl   0x50(%ecx)                     
  stats->free_size += block_size;                                     
  10f653:	01 71 30             	add    %esi,0x30(%ecx)                
                                                                      
  return( true );                                                     
  10f656:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10f658:	83 c4 14             	add    $0x14,%esp                     
  10f65b:	5b                   	pop    %ebx                           
  10f65c:	5e                   	pop    %esi                           
  10f65d:	5f                   	pop    %edi                           
  10f65e:	c9                   	leave                                 
  10f65f:	c3                   	ret                                   
                                                                      

0011ce2c <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
  11ce2c:	55                   	push   %ebp                           
  11ce2d:	89 e5                	mov    %esp,%ebp                      
  11ce2f:	57                   	push   %edi                           
  11ce30:	56                   	push   %esi                           
  11ce31:	53                   	push   %ebx                           
  11ce32:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11ce35:	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);                                 
  11ce38:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  11ce3b:	89 f0                	mov    %esi,%eax                      
  11ce3d:	31 d2                	xor    %edx,%edx                      
  11ce3f:	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);                                        
  11ce42:	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           
  11ce44:	8b 53 20             	mov    0x20(%ebx),%edx                
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  11ce47:	31 ff                	xor    %edi,%edi                      
  11ce49:	39 d1                	cmp    %edx,%ecx                      
  11ce4b:	72 0a                	jb     11ce57 <_Heap_Size_of_alloc_area+0x2b>
  11ce4d:	31 c0                	xor    %eax,%eax                      
  11ce4f:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11ce52:	0f 93 c0             	setae  %al                            
  11ce55:	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;                                                     
  11ce57:	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 ) ) {                     
  11ce59:	85 ff                	test   %edi,%edi                      
  11ce5b:	74 30                	je     11ce8d <_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;                
  11ce5d:	8b 41 04             	mov    0x4(%ecx),%eax                 
  11ce60:	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);                 
  11ce63:	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;             
  11ce65:	31 ff                	xor    %edi,%edi                      
  11ce67:	39 d1                	cmp    %edx,%ecx                      
  11ce69:	72 0a                	jb     11ce75 <_Heap_Size_of_alloc_area+0x49><== NEVER TAKEN
  11ce6b:	31 c0                	xor    %eax,%eax                      
  11ce6d:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11ce70:	0f 93 c0             	setae  %al                            
  11ce73:	89 c7                	mov    %eax,%edi                      
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  11ce75:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
  11ce77:	85 ff                	test   %edi,%edi                      
  11ce79:	74 12                	je     11ce8d <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  11ce7b:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  11ce7f:	74 0c                	je     11ce8d <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
  11ce81:	29 f1                	sub    %esi,%ecx                      
  11ce83:	8d 51 04             	lea    0x4(%ecx),%edx                 
  11ce86:	8b 45 10             	mov    0x10(%ebp),%eax                
  11ce89:	89 10                	mov    %edx,(%eax)                    
                                                                      
  return true;                                                        
  11ce8b:	b0 01                	mov    $0x1,%al                       
}                                                                     
  11ce8d:	5b                   	pop    %ebx                           
  11ce8e:	5e                   	pop    %esi                           
  11ce8f:	5f                   	pop    %edi                           
  11ce90:	c9                   	leave                                 
  11ce91:	c3                   	ret                                   
                                                                      

0010bc92 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
  10bc92:	55                   	push   %ebp                           
  10bc93:	89 e5                	mov    %esp,%ebp                      
  10bc95:	57                   	push   %edi                           
  10bc96:	56                   	push   %esi                           
  10bc97:	53                   	push   %ebx                           
  10bc98:	83 ec 4c             	sub    $0x4c,%esp                     
  10bc9b:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10bc9e:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  uintptr_t const page_size = heap->page_size;                        
  10bca1:	8b 46 10             	mov    0x10(%esi),%eax                
  10bca4:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  10bca7:	8b 4e 14             	mov    0x14(%esi),%ecx                
  10bcaa:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  Heap_Block *const first_block = heap->first_block;                  
  10bcad:	8b 46 20             	mov    0x20(%esi),%eax                
  10bcb0:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  Heap_Block *const last_block = heap->last_block;                    
  10bcb3:	8b 4e 24             	mov    0x24(%esi),%ecx                
  10bcb6:	89 4d c8             	mov    %ecx,-0x38(%ebp)               
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
  10bcb9:	c7 45 e4 54 bc 10 00 	movl   $0x10bc54,-0x1c(%ebp)          
  10bcc0:	80 7d 10 00          	cmpb   $0x0,0x10(%ebp)                
  10bcc4:	74 07                	je     10bccd <_Heap_Walk+0x3b>       
  10bcc6:	c7 45 e4 59 bc 10 00 	movl   $0x10bc59,-0x1c(%ebp)          
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  10bccd:	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() ) ) {                
  10bccf:	83 3d ec 73 12 00 03 	cmpl   $0x3,0x1273ec                  
  10bcd6:	0f 85 e8 02 00 00    	jne    10bfc4 <_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)(                                                         
  10bcdc:	52                   	push   %edx                           
  10bcdd:	ff 76 0c             	pushl  0xc(%esi)                      
  10bce0:	ff 76 08             	pushl  0x8(%esi)                      
  10bce3:	ff 75 c8             	pushl  -0x38(%ebp)                    
  10bce6:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10bce9:	ff 76 1c             	pushl  0x1c(%esi)                     
  10bcec:	ff 76 18             	pushl  0x18(%esi)                     
  10bcef:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10bcf2:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10bcf5:	68 49 f9 11 00       	push   $0x11f949                      
  10bcfa:	6a 00                	push   $0x0                           
  10bcfc:	53                   	push   %ebx                           
  10bcfd:	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 ) {                                             
  10bd00:	83 c4 30             	add    $0x30,%esp                     
  10bd03:	83 7d d8 00          	cmpl   $0x0,-0x28(%ebp)               
  10bd07:	75 0b                	jne    10bd14 <_Heap_Walk+0x82>       
    (*printer)( source, true, "page size is zero\n" );                
  10bd09:	50                   	push   %eax                           
  10bd0a:	68 da f9 11 00       	push   $0x11f9da                      
  10bd0f:	e9 6b 02 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
  10bd14:	f6 45 d8 03          	testb  $0x3,-0x28(%ebp)               
  10bd18:	74 0d                	je     10bd27 <_Heap_Walk+0x95>       
    (*printer)(                                                       
  10bd1a:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10bd1d:	68 ed f9 11 00       	push   $0x11f9ed                      
  10bd22:	e9 58 02 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bd27:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10bd2a:	31 d2                	xor    %edx,%edx                      
  10bd2c:	f7 75 d8             	divl   -0x28(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
  10bd2f:	85 d2                	test   %edx,%edx                      
  10bd31:	74 0d                	je     10bd40 <_Heap_Walk+0xae>       
    (*printer)(                                                       
  10bd33:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10bd36:	68 0b fa 11 00       	push   $0x11fa0b                      
  10bd3b:	e9 3f 02 00 00       	jmp    10bf7f <_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;                  
  10bd40:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10bd43:	83 c0 08             	add    $0x8,%eax                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bd46:	31 d2                	xor    %edx,%edx                      
  10bd48:	f7 75 d8             	divl   -0x28(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10bd4b:	85 d2                	test   %edx,%edx                      
  10bd4d:	74 0d                	je     10bd5c <_Heap_Walk+0xca>       
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
  10bd4f:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10bd52:	68 2f fa 11 00       	push   $0x11fa2f                      
  10bd57:	e9 23 02 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
  10bd5c:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10bd5f:	f6 40 04 01          	testb  $0x1,0x4(%eax)                 
  10bd63:	75 0b                	jne    10bd70 <_Heap_Walk+0xde>       
    (*printer)(                                                       
  10bd65:	57                   	push   %edi                           
  10bd66:	68 60 fa 11 00       	push   $0x11fa60                      
  10bd6b:	e9 0f 02 00 00       	jmp    10bf7f <_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;                
  10bd70:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10bd73:	8b 79 04             	mov    0x4(%ecx),%edi                 
  10bd76:	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);                 
  10bd79:	01 cf                	add    %ecx,%edi                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
  10bd7b:	f6 47 04 01          	testb  $0x1,0x4(%edi)                 
  10bd7f:	75 0b                	jne    10bd8c <_Heap_Walk+0xfa>       
    (*printer)(                                                       
  10bd81:	56                   	push   %esi                           
  10bd82:	68 8e fa 11 00       	push   $0x11fa8e                      
  10bd87:	e9 f3 01 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10bd8c:	3b 7d d0             	cmp    -0x30(%ebp),%edi               
  10bd8f:	74 0b                	je     10bd9c <_Heap_Walk+0x10a>      <== ALWAYS TAKEN
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
  10bd91:	51                   	push   %ecx                           <== NOT EXECUTED
  10bd92:	68 a3 fa 11 00       	push   $0x11faa3                      <== NOT EXECUTED
  10bd97:	e9 e3 01 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      <== NOT EXECUTED
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10bd9c:	8b 46 10             	mov    0x10(%esi),%eax                
  10bd9f:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bda2:	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 );
  10bda5:	89 75 dc             	mov    %esi,-0x24(%ebp)               
  10bda8:	eb 75                	jmp    10be1f <_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;             
  10bdaa:	31 c0                	xor    %eax,%eax                      
  10bdac:	39 4e 20             	cmp    %ecx,0x20(%esi)                
  10bdaf:	77 08                	ja     10bdb9 <_Heap_Walk+0x127>      
  10bdb1:	31 c0                	xor    %eax,%eax                      
  10bdb3:	39 4e 24             	cmp    %ecx,0x24(%esi)                
  10bdb6:	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 ) ) {              
  10bdb9:	85 c0                	test   %eax,%eax                      
  10bdbb:	75 0b                	jne    10bdc8 <_Heap_Walk+0x136>      
      (*printer)(                                                     
  10bdbd:	51                   	push   %ecx                           
  10bdbe:	68 d2 fa 11 00       	push   $0x11fad2                      
  10bdc3:	e9 b7 01 00 00       	jmp    10bf7f <_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;                  
  10bdc8:	8d 41 08             	lea    0x8(%ecx),%eax                 
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bdcb:	31 d2                	xor    %edx,%edx                      
  10bdcd:	f7 75 e0             	divl   -0x20(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10bdd0:	85 d2                	test   %edx,%edx                      
  10bdd2:	74 0b                	je     10bddf <_Heap_Walk+0x14d>      
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
  10bdd4:	51                   	push   %ecx                           
  10bdd5:	68 f2 fa 11 00       	push   $0x11faf2                      
  10bdda:	e9 a0 01 00 00       	jmp    10bf7f <_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;                
  10bddf:	8b 41 04             	mov    0x4(%ecx),%eax                 
  10bde2:	83 e0 fe             	and    $0xfffffffe,%eax               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10bde5:	f6 44 01 04 01       	testb  $0x1,0x4(%ecx,%eax,1)          
  10bdea:	74 0b                	je     10bdf7 <_Heap_Walk+0x165>      
      (*printer)(                                                     
  10bdec:	51                   	push   %ecx                           
  10bded:	68 22 fb 11 00       	push   $0x11fb22                      
  10bdf2:	e9 88 01 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
  10bdf7:	8b 41 0c             	mov    0xc(%ecx),%eax                 
  10bdfa:	3b 45 dc             	cmp    -0x24(%ebp),%eax               
  10bdfd:	74 1a                	je     10be19 <_Heap_Walk+0x187>      
      (*printer)(                                                     
  10bdff:	83 ec 0c             	sub    $0xc,%esp                      
  10be02:	50                   	push   %eax                           
  10be03:	51                   	push   %ecx                           
  10be04:	68 3e fb 11 00       	push   $0x11fb3e                      
  10be09:	6a 01                	push   $0x1                           
  10be0b:	53                   	push   %ebx                           
  10be0c:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10be0f:	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;                                                     
  10be12:	31 c0                	xor    %eax,%eax                      
  10be14:	e9 ab 01 00 00       	jmp    10bfc4 <_Heap_Walk+0x332>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
  10be19:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  10be1c:	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 ) {                            
  10be1f:	39 f1                	cmp    %esi,%ecx                      
  10be21:	75 87                	jne    10bdaa <_Heap_Walk+0x118>      
  10be23:	89 5d dc             	mov    %ebx,-0x24(%ebp)               
  10be26:	eb 02                	jmp    10be2a <_Heap_Walk+0x198>      
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
  10be28:	89 df                	mov    %ebx,%edi                      
                                                                      
  return true;                                                        
}                                                                     
  10be2a:	8b 4f 04             	mov    0x4(%edi),%ecx                 
  10be2d:	89 4d cc             	mov    %ecx,-0x34(%ebp)               
  10be30:	83 e1 fe             	and    $0xfffffffe,%ecx               
  10be33:	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);                 
  10be36:	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;             
  10be39:	31 c0                	xor    %eax,%eax                      
  10be3b:	39 5e 20             	cmp    %ebx,0x20(%esi)                
  10be3e:	77 08                	ja     10be48 <_Heap_Walk+0x1b6>      <== NEVER TAKEN
  10be40:	31 c0                	xor    %eax,%eax                      
  10be42:	39 5e 24             	cmp    %ebx,0x24(%esi)                
  10be45:	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 ) ) {              
  10be48:	85 c0                	test   %eax,%eax                      
  10be4a:	75 11                	jne    10be5d <_Heap_Walk+0x1cb>      
  10be4c:	89 d9                	mov    %ebx,%ecx                      
  10be4e:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10be51:	83 ec 0c             	sub    $0xc,%esp                      
  10be54:	51                   	push   %ecx                           
  10be55:	57                   	push   %edi                           
  10be56:	68 70 fb 11 00       	push   $0x11fb70                      
  10be5b:	eb ac                	jmp    10be09 <_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;               
  10be5d:	3b 7d c8             	cmp    -0x38(%ebp),%edi               
  10be60:	0f 95 c1             	setne  %cl                            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10be63:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10be66:	31 d2                	xor    %edx,%edx                      
  10be68:	f7 75 d8             	divl   -0x28(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
  10be6b:	85 d2                	test   %edx,%edx                      
  10be6d:	74 15                	je     10be84 <_Heap_Walk+0x1f2>      
  10be6f:	84 c9                	test   %cl,%cl                        
  10be71:	74 11                	je     10be84 <_Heap_Walk+0x1f2>      
  10be73:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10be76:	83 ec 0c             	sub    $0xc,%esp                      
  10be79:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10be7c:	57                   	push   %edi                           
  10be7d:	68 9d fb 11 00       	push   $0x11fb9d                      
  10be82:	eb 85                	jmp    10be09 <_Heap_Walk+0x177>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
  10be84:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10be87:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  10be8a:	73 18                	jae    10bea4 <_Heap_Walk+0x212>      
  10be8c:	84 c9                	test   %cl,%cl                        
  10be8e:	74 14                	je     10bea4 <_Heap_Walk+0x212>      <== NEVER TAKEN
  10be90:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10be93:	52                   	push   %edx                           
  10be94:	52                   	push   %edx                           
  10be95:	50                   	push   %eax                           
  10be96:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10be99:	57                   	push   %edi                           
  10be9a:	68 cb fb 11 00       	push   $0x11fbcb                      
  10be9f:	e9 65 ff ff ff       	jmp    10be09 <_Heap_Walk+0x177>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
  10bea4:	39 fb                	cmp    %edi,%ebx                      
  10bea6:	77 18                	ja     10bec0 <_Heap_Walk+0x22e>      
  10bea8:	84 c9                	test   %cl,%cl                        
  10beaa:	74 14                	je     10bec0 <_Heap_Walk+0x22e>      
  10beac:	89 d9                	mov    %ebx,%ecx                      
  10beae:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10beb1:	83 ec 0c             	sub    $0xc,%esp                      
  10beb4:	51                   	push   %ecx                           
  10beb5:	57                   	push   %edi                           
  10beb6:	68 f6 fb 11 00       	push   $0x11fbf6                      
  10bebb:	e9 49 ff ff ff       	jmp    10be09 <_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;                 
  10bec0:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  10bec3:	83 e1 01             	and    $0x1,%ecx                      
  10bec6:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
  10bec9:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10becd:	0f 85 ba 00 00 00    	jne    10bf8d <_Heap_Walk+0x2fb>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bed3:	8b 46 08             	mov    0x8(%esi),%eax                 
  10bed6:	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 ?                                  
  10bed9:	8b 4f 08             	mov    0x8(%edi),%ecx                 
  10bedc:	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)(                                                         
  10bedf:	ba 16 f9 11 00       	mov    $0x11f916,%edx                 
  10bee4:	3b 4e 0c             	cmp    0xc(%esi),%ecx                 
  10bee7:	74 0e                	je     10bef7 <_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)" : "")          
  10bee9:	ba 4d f8 11 00       	mov    $0x11f84d,%edx                 
  10beee:	39 f1                	cmp    %esi,%ecx                      
  10bef0:	75 05                	jne    10bef7 <_Heap_Walk+0x265>      
  10bef2:	ba 25 f9 11 00       	mov    $0x11f925,%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 ?                                 
  10bef7:	8b 47 0c             	mov    0xc(%edi),%eax                 
  10befa:	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)(                                                         
  10befd:	b8 2f f9 11 00       	mov    $0x11f92f,%eax                 
  10bf02:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10bf05:	39 4d cc             	cmp    %ecx,-0x34(%ebp)               
  10bf08:	74 0f                	je     10bf19 <_Heap_Walk+0x287>      
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
  10bf0a:	b8 4d f8 11 00       	mov    $0x11f84d,%eax                 
  10bf0f:	39 75 cc             	cmp    %esi,-0x34(%ebp)               
  10bf12:	75 05                	jne    10bf19 <_Heap_Walk+0x287>      
  10bf14:	b8 3f f9 11 00       	mov    $0x11f93f,%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)(                                                         
  10bf19:	83 ec 0c             	sub    $0xc,%esp                      
  10bf1c:	52                   	push   %edx                           
  10bf1d:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10bf20:	50                   	push   %eax                           
  10bf21:	ff 75 cc             	pushl  -0x34(%ebp)                    
  10bf24:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bf27:	57                   	push   %edi                           
  10bf28:	68 2a fc 11 00       	push   $0x11fc2a                      
  10bf2d:	6a 00                	push   $0x0                           
  10bf2f:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10bf32:	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 ) {                        
  10bf35:	8b 03                	mov    (%ebx),%eax                    
  10bf37:	83 c4 30             	add    $0x30,%esp                     
  10bf3a:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  10bf3d:	74 16                	je     10bf55 <_Heap_Walk+0x2c3>      
  10bf3f:	89 d9                	mov    %ebx,%ecx                      
  10bf41:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
    (*printer)(                                                       
  10bf44:	56                   	push   %esi                           
  10bf45:	51                   	push   %ecx                           
  10bf46:	50                   	push   %eax                           
  10bf47:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bf4a:	57                   	push   %edi                           
  10bf4b:	68 5f fc 11 00       	push   $0x11fc5f                      
  10bf50:	e9 b4 fe ff ff       	jmp    10be09 <_Heap_Walk+0x177>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
  10bf55:	83 7d c4 00          	cmpl   $0x0,-0x3c(%ebp)               
  10bf59:	75 0b                	jne    10bf66 <_Heap_Walk+0x2d4>      
  10bf5b:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
    (*printer)(                                                       
  10bf5e:	57                   	push   %edi                           
  10bf5f:	68 98 fc 11 00       	push   $0x11fc98                      
  10bf64:	eb 19                	jmp    10bf7f <_Heap_Walk+0x2ed>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bf66:	8b 46 08             	mov    0x8(%esi),%eax                 
  10bf69:	eb 07                	jmp    10bf72 <_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 ) {                                      
  10bf6b:	39 f8                	cmp    %edi,%eax                      
  10bf6d:	74 4a                	je     10bfb9 <_Heap_Walk+0x327>      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
  10bf6f:	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 ) {                            
  10bf72:	39 f0                	cmp    %esi,%eax                      
  10bf74:	75 f5                	jne    10bf6b <_Heap_Walk+0x2d9>      
  10bf76:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
  10bf79:	57                   	push   %edi                           
  10bf7a:	68 03 fd 11 00       	push   $0x11fd03                      
  10bf7f:	6a 01                	push   $0x1                           
  10bf81:	53                   	push   %ebx                           
  10bf82:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10bf85:	83 c4 10             	add    $0x10,%esp                     
  10bf88:	e9 85 fe ff ff       	jmp    10be12 <_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) {                                           
  10bf8d:	83 7d c4 00          	cmpl   $0x0,-0x3c(%ebp)               
  10bf91:	74 0e                	je     10bfa1 <_Heap_Walk+0x30f>      
      (*printer)(                                                     
  10bf93:	83 ec 0c             	sub    $0xc,%esp                      
  10bf96:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bf99:	57                   	push   %edi                           
  10bf9a:	68 c7 fc 11 00       	push   $0x11fcc7                      
  10bf9f:	eb 0d                	jmp    10bfae <_Heap_Walk+0x31c>      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
  10bfa1:	51                   	push   %ecx                           
  10bfa2:	51                   	push   %ecx                           
  10bfa3:	ff 37                	pushl  (%edi)                         
  10bfa5:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bfa8:	57                   	push   %edi                           
  10bfa9:	68 de fc 11 00       	push   $0x11fcde                      
  10bfae:	6a 00                	push   $0x0                           
  10bfb0:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10bfb3:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10bfb6:	83 c4 20             	add    $0x20,%esp                     
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
  10bfb9:	3b 5d d0             	cmp    -0x30(%ebp),%ebx               
  10bfbc:	0f 85 66 fe ff ff    	jne    10be28 <_Heap_Walk+0x196>      
                                                                      
  return true;                                                        
  10bfc2:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10bfc4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bfc7:	5b                   	pop    %ebx                           
  10bfc8:	5e                   	pop    %esi                           
  10bfc9:	5f                   	pop    %edi                           
  10bfca:	c9                   	leave                                 
  10bfcb:	c3                   	ret                                   
                                                                      

0010b2c4 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10b2c4:	55                   	push   %ebp                           
  10b2c5:	89 e5                	mov    %esp,%ebp                      
  10b2c7:	53                   	push   %ebx                           
  10b2c8:	83 ec 08             	sub    $0x8,%esp                      
  10b2cb:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b2ce:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10b2d1:	8b 5d 10             	mov    0x10(%ebp),%ebx                
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  10b2d4:	a3 7c 42 12 00       	mov    %eax,0x12427c                  
  _Internal_errors_What_happened.is_internal = is_internal;           
  10b2d9:	88 15 80 42 12 00    	mov    %dl,0x124280                   
  _Internal_errors_What_happened.the_error   = the_error;             
  10b2df:	89 1d 84 42 12 00    	mov    %ebx,0x124284                  
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
  10b2e5:	53                   	push   %ebx                           
  10b2e6:	0f b6 d2             	movzbl %dl,%edx                       
  10b2e9:	52                   	push   %edx                           
  10b2ea:	50                   	push   %eax                           
  10b2eb:	e8 1f 19 00 00       	call   10cc0f <_User_extensions_Fatal>
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
  10b2f0:	c7 05 64 43 12 00 05 	movl   $0x5,0x124364                  <== NOT EXECUTED
  10b2f7:	00 00 00                                                    
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
  10b2fa:	fa                   	cli                                   <== NOT EXECUTED
  10b2fb:	89 d8                	mov    %ebx,%eax                      <== NOT EXECUTED
  10b2fd:	f4                   	hlt                                   <== NOT EXECUTED
  10b2fe:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10b301:	eb fe                	jmp    10b301 <_Internal_error_Occurred+0x3d><== NOT EXECUTED
                                                                      

0010b354 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
  10b354:	55                   	push   %ebp                           
  10b355:	89 e5                	mov    %esp,%ebp                      
  10b357:	56                   	push   %esi                           
  10b358:	53                   	push   %ebx                           
  10b359:	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;                                                      
  10b35c:	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 )                                       
  10b35e:	83 7b 18 00          	cmpl   $0x0,0x18(%ebx)                
  10b362:	74 53                	je     10b3b7 <_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 );
  10b364:	8d 73 20             	lea    0x20(%ebx),%esi                
  10b367:	83 ec 0c             	sub    $0xc,%esp                      
  10b36a:	56                   	push   %esi                           
  10b36b:	e8 1c f7 ff ff       	call   10aa8c <_Chain_Get>            
  10b370:	89 c1                	mov    %eax,%ecx                      
                                                                      
  if ( information->auto_extend ) {                                   
  10b372:	83 c4 10             	add    $0x10,%esp                     
  10b375:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10b379:	74 3c                	je     10b3b7 <_Objects_Allocate+0x63>
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
  10b37b:	85 c0                	test   %eax,%eax                      
  10b37d:	75 1a                	jne    10b399 <_Objects_Allocate+0x45>
      _Objects_Extend_information( information );                     
  10b37f:	83 ec 0c             	sub    $0xc,%esp                      
  10b382:	53                   	push   %ebx                           
  10b383:	e8 60 00 00 00       	call   10b3e8 <_Objects_Extend_information>
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
  10b388:	89 34 24             	mov    %esi,(%esp)                    
  10b38b:	e8 fc f6 ff ff       	call   10aa8c <_Chain_Get>            
  10b390:	89 c1                	mov    %eax,%ecx                      
    }                                                                 
                                                                      
    if ( the_object ) {                                               
  10b392:	83 c4 10             	add    $0x10,%esp                     
  10b395:	85 c0                	test   %eax,%eax                      
  10b397:	74 1e                	je     10b3b7 <_Objects_Allocate+0x63>
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
  10b399:	0f b7 41 08          	movzwl 0x8(%ecx),%eax                 
  10b39d:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10b3a1:	29 d0                	sub    %edx,%eax                      
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
  10b3a3:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10b3a7:	31 d2                	xor    %edx,%edx                      
  10b3a9:	f7 f6                	div    %esi                           
                                                                      
      information->inactive_per_block[ block ]--;                     
  10b3ab:	c1 e0 02             	shl    $0x2,%eax                      
  10b3ae:	03 43 30             	add    0x30(%ebx),%eax                
  10b3b1:	ff 08                	decl   (%eax)                         
      information->inactive--;                                        
  10b3b3:	66 ff 4b 2c          	decw   0x2c(%ebx)                     
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
  10b3b7:	89 c8                	mov    %ecx,%eax                      
  10b3b9:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b3bc:	5b                   	pop    %ebx                           
  10b3bd:	5e                   	pop    %esi                           
  10b3be:	c9                   	leave                                 
  10b3bf:	c3                   	ret                                   
                                                                      

0010b3e8 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
  10b3e8:	55                   	push   %ebp                           
  10b3e9:	89 e5                	mov    %esp,%ebp                      
  10b3eb:	57                   	push   %edi                           
  10b3ec:	56                   	push   %esi                           
  10b3ed:	53                   	push   %ebx                           
  10b3ee:	83 ec 4c             	sub    $0x4c,%esp                     
  10b3f1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10b3f4:	0f b7 43 08          	movzwl 0x8(%ebx),%eax                 
  10b3f8:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
  10b3fb:	8b 4b 34             	mov    0x34(%ebx),%ecx                
  10b3fe:	85 c9                	test   %ecx,%ecx                      
  10b400:	74 38                	je     10b43a <_Objects_Extend_information+0x52>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
  10b402:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10b406:	8b 43 10             	mov    0x10(%ebx),%eax                
  10b409:	31 d2                	xor    %edx,%edx                      
  10b40b:	66 f7 f6             	div    %si                            
  10b40e:	0f b7 d0             	movzwl %ax,%edx                       
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10b411:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10b414:	89 45 cc             	mov    %eax,-0x34(%ebp)               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
  10b417:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  10b41e:	31 c0                	xor    %eax,%eax                      
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10b420:	eb 0a                	jmp    10b42c <_Objects_Extend_information+0x44>
      if ( information->object_blocks[ block ] == NULL ) {            
  10b422:	83 3c 81 00          	cmpl   $0x0,(%ecx,%eax,4)             
  10b426:	74 28                	je     10b450 <_Objects_Extend_information+0x68>
  10b428:	01 75 cc             	add    %esi,-0x34(%ebp)               
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10b42b:	40                   	inc    %eax                           
  10b42c:	39 d0                	cmp    %edx,%eax                      
  10b42e:	72 f2                	jb     10b422 <_Objects_Extend_information+0x3a>
  10b430:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  10b433:	be 01 00 00 00       	mov    $0x1,%esi                      
  10b438:	eb 1b                	jmp    10b455 <_Objects_Extend_information+0x6d>
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10b43a:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10b43d:	89 55 cc             	mov    %edx,-0x34(%ebp)               
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  10b440:	be 01 00 00 00       	mov    $0x1,%esi                      
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
  10b445:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  10b44c:	31 d2                	xor    %edx,%edx                      
  10b44e:	eb 05                	jmp    10b455 <_Objects_Extend_information+0x6d>
  10b450:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
  10b453:	31 f6                	xor    %esi,%esi                      
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
  10b455:	0f b7 43 14          	movzwl 0x14(%ebx),%eax                
  10b459:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10b45d:	8d 0c 08             	lea    (%eax,%ecx,1),%ecx             
  10b460:	89 4d bc             	mov    %ecx,-0x44(%ebp)               
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
  10b463:	81 f9 ff ff 00 00    	cmp    $0xffff,%ecx                   
  10b469:	0f 87 d4 01 00 00    	ja     10b643 <_Objects_Extend_information+0x25b>
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  10b46f:	0f af 43 18          	imul   0x18(%ebx),%eax                
  if ( information->auto_extend ) {                                   
  10b473:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10b477:	74 1e                	je     10b497 <_Objects_Extend_information+0xaf>
    new_object_block = _Workspace_Allocate( block_size );             
  10b479:	83 ec 0c             	sub    $0xc,%esp                      
  10b47c:	50                   	push   %eax                           
  10b47d:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10b480:	e8 dd 1a 00 00       	call   10cf62 <_Workspace_Allocate>   
  10b485:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
    if ( !new_object_block )                                          
  10b488:	83 c4 10             	add    $0x10,%esp                     
  10b48b:	85 c0                	test   %eax,%eax                      
  10b48d:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  10b490:	75 1a                	jne    10b4ac <_Objects_Extend_information+0xc4>
  10b492:	e9 ac 01 00 00       	jmp    10b643 <_Objects_Extend_information+0x25b>
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
  10b497:	83 ec 0c             	sub    $0xc,%esp                      
  10b49a:	50                   	push   %eax                           
  10b49b:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10b49e:	e8 ed 1a 00 00       	call   10cf90 <_Workspace_Allocate_or_fatal_error>
  10b4a3:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10b4a6:	83 c4 10             	add    $0x10,%esp                     
  10b4a9:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
  10b4ac:	89 f1                	mov    %esi,%ecx                      
  10b4ae:	84 c9                	test   %cl,%cl                        
  10b4b0:	0f 84 0d 01 00 00    	je     10b5c3 <_Objects_Extend_information+0x1db><== NEVER TAKEN
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
  10b4b6:	8d 72 01             	lea    0x1(%edx),%esi                 
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
  10b4b9:	83 ec 0c             	sub    $0xc,%esp                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
  10b4bc:	8b 4d bc             	mov    -0x44(%ebp),%ecx               
  10b4bf:	03 4d d0             	add    -0x30(%ebp),%ecx               
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
  10b4c2:	8d 04 76             	lea    (%esi,%esi,2),%eax             
  10b4c5:	8d 04 01             	lea    (%ecx,%eax,1),%eax             
    block_count++;                                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
  10b4c8:	c1 e0 02             	shl    $0x2,%eax                      
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
  10b4cb:	50                   	push   %eax                           
  10b4cc:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10b4cf:	e8 8e 1a 00 00       	call   10cf62 <_Workspace_Allocate>   
                                                                      
    if ( !object_blocks ) {                                           
  10b4d4:	83 c4 10             	add    $0x10,%esp                     
  10b4d7:	85 c0                	test   %eax,%eax                      
  10b4d9:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  10b4dc:	75 13                	jne    10b4f1 <_Objects_Extend_information+0x109>
      _Workspace_Free( new_object_block );                            
  10b4de:	83 ec 0c             	sub    $0xc,%esp                      
  10b4e1:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10b4e4:	e8 92 1a 00 00       	call   10cf7b <_Workspace_Free>       
      return;                                                         
  10b4e9:	83 c4 10             	add    $0x10,%esp                     
  10b4ec:	e9 52 01 00 00       	jmp    10b643 <_Objects_Extend_information+0x25b>
  10b4f1:	8d 0c b0             	lea    (%eax,%esi,4),%ecx             
  10b4f4:	89 4d b8             	mov    %ecx,-0x48(%ebp)               
  10b4f7:	8d 34 f0             	lea    (%eax,%esi,8),%esi             
  10b4fa:	89 75 c0             	mov    %esi,-0x40(%ebp)               
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
  10b4fd:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10b501:	3b 4d d0             	cmp    -0x30(%ebp),%ecx               
  10b504:	77 04                	ja     10b50a <_Objects_Extend_information+0x122>
  10b506:	31 c9                	xor    %ecx,%ecx                      
  10b508:	eb 3e                	jmp    10b548 <_Objects_Extend_information+0x160>
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
  10b50a:	8d 34 95 00 00 00 00 	lea    0x0(,%edx,4),%esi              
  10b511:	89 75 c8             	mov    %esi,-0x38(%ebp)               
  10b514:	8b 73 34             	mov    0x34(%ebx),%esi                
  10b517:	89 c7                	mov    %eax,%edi                      
  10b519:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10b51c:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
  10b51e:	8b 73 30             	mov    0x30(%ebx),%esi                
  10b521:	8b 7d b8             	mov    -0x48(%ebp),%edi               
  10b524:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10b527:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
  10b529:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10b52d:	03 4d d0             	add    -0x30(%ebp),%ecx               
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
  10b530:	c1 e1 02             	shl    $0x2,%ecx                      
  10b533:	8b 73 1c             	mov    0x1c(%ebx),%esi                
  10b536:	8b 7d c0             	mov    -0x40(%ebp),%edi               
  10b539:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  10b53b:	eb 10                	jmp    10b54d <_Objects_Extend_information+0x165>
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
  10b53d:	8b 75 c0             	mov    -0x40(%ebp),%esi               
  10b540:	c7 04 8e 00 00 00 00 	movl   $0x0,(%esi,%ecx,4)             
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
  10b547:	41                   	inc    %ecx                           
  10b548:	3b 4d d0             	cmp    -0x30(%ebp),%ecx               
  10b54b:	72 f0                	jb     10b53d <_Objects_Extend_information+0x155>
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
  10b54d:	c7 04 90 00 00 00 00 	movl   $0x0,(%eax,%edx,4)             
    inactive_per_block[block_count] = 0;                              
  10b554:	8b 4d b8             	mov    -0x48(%ebp),%ecx               
  10b557:	c7 04 91 00 00 00 00 	movl   $0x0,(%ecx,%edx,4)             
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
  10b55e:	0f b7 4b 14          	movzwl 0x14(%ebx),%ecx                
  10b562:	03 4d cc             	add    -0x34(%ebp),%ecx               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10b565:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  10b568:	eb 0b                	jmp    10b575 <_Objects_Extend_information+0x18d>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
  10b56a:	8b 75 c0             	mov    -0x40(%ebp),%esi               
  10b56d:	c7 04 96 00 00 00 00 	movl   $0x0,(%esi,%edx,4)             
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
  10b574:	42                   	inc    %edx                           
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10b575:	39 ca                	cmp    %ecx,%edx                      
  10b577:	72 f1                	jb     10b56a <_Objects_Extend_information+0x182>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
  10b579:	9c                   	pushf                                 
  10b57a:	fa                   	cli                                   
  10b57b:	5e                   	pop    %esi                           
                                                                      
    old_tables = information->object_blocks;                          
  10b57c:	8b 53 34             	mov    0x34(%ebx),%edx                
                                                                      
    information->object_blocks = object_blocks;                       
  10b57f:	89 43 34             	mov    %eax,0x34(%ebx)                
    information->inactive_per_block = inactive_per_block;             
  10b582:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  10b585:	89 43 30             	mov    %eax,0x30(%ebx)                
    information->local_table = local_table;                           
  10b588:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10b58b:	89 4b 1c             	mov    %ecx,0x1c(%ebx)                
    information->maximum = (Objects_Maximum) maximum;                 
  10b58e:	8b 45 bc             	mov    -0x44(%ebp),%eax               
  10b591:	66 89 43 10          	mov    %ax,0x10(%ebx)                 
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b595:	8b 03                	mov    (%ebx),%eax                    
  10b597:	c1 e0 18             	shl    $0x18,%eax                     
  10b59a:	0d 00 00 01 00       	or     $0x10000,%eax                  
    information->maximum_id = _Objects_Build_id(                      
  10b59f:	0f b7 4b 04          	movzwl 0x4(%ebx),%ecx                 
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
  10b5a3:	c1 e1 1b             	shl    $0x1b,%ecx                     
  10b5a6:	09 c8                	or     %ecx,%eax                      
  10b5a8:	0f b7 4d bc          	movzwl -0x44(%ebp),%ecx               
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b5ac:	09 c8                	or     %ecx,%eax                      
  10b5ae:	89 43 0c             	mov    %eax,0xc(%ebx)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
  10b5b1:	56                   	push   %esi                           
  10b5b2:	9d                   	popf                                  
                                                                      
    if ( old_tables )                                                 
  10b5b3:	85 d2                	test   %edx,%edx                      
  10b5b5:	74 0c                	je     10b5c3 <_Objects_Extend_information+0x1db>
      _Workspace_Free( old_tables );                                  
  10b5b7:	83 ec 0c             	sub    $0xc,%esp                      
  10b5ba:	52                   	push   %edx                           
  10b5bb:	e8 bb 19 00 00       	call   10cf7b <_Workspace_Free>       
  10b5c0:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
  10b5c3:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10b5c6:	c1 e2 02             	shl    $0x2,%edx                      
  10b5c9:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10b5cc:	8b 43 34             	mov    0x34(%ebx),%eax                
  10b5cf:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  10b5d2:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  10b5d5:	89 34 88             	mov    %esi,(%eax,%ecx,4)             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
  10b5d8:	ff 73 18             	pushl  0x18(%ebx)                     
  10b5db:	0f b7 43 14          	movzwl 0x14(%ebx),%eax                
  10b5df:	50                   	push   %eax                           
  10b5e0:	56                   	push   %esi                           
  10b5e1:	8d 7d dc             	lea    -0x24(%ebp),%edi               
  10b5e4:	57                   	push   %edi                           
  10b5e5:	e8 b2 3b 00 00       	call   10f19c <_Chain_Initialize>     
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
  10b5ea:	83 c4 10             	add    $0x10,%esp                     
  );                                                                  
                                                                      
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
  10b5ed:	8b 75 cc             	mov    -0x34(%ebp),%esi               
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10b5f0:	8d 43 20             	lea    0x20(%ebx),%eax                
  10b5f3:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
  10b5f6:	eb 28                	jmp    10b620 <_Objects_Extend_information+0x238>
  10b5f8:	8b 13                	mov    (%ebx),%edx                    
  10b5fa:	c1 e2 18             	shl    $0x18,%edx                     
  10b5fd:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
                                                                      
    the_object->id = _Objects_Build_id(                               
  10b603:	0f b7 4b 04          	movzwl 0x4(%ebx),%ecx                 
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
  10b607:	c1 e1 1b             	shl    $0x1b,%ecx                     
  10b60a:	09 ca                	or     %ecx,%edx                      
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b60c:	09 f2                	or     %esi,%edx                      
  10b60e:	89 50 08             	mov    %edx,0x8(%eax)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10b611:	52                   	push   %edx                           
  10b612:	52                   	push   %edx                           
  10b613:	50                   	push   %eax                           
  10b614:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b617:	e8 34 f4 ff ff       	call   10aa50 <_Chain_Append>         
                                                                      
    index++;                                                          
  10b61c:	46                   	inc    %esi                           
  10b61d:	83 c4 10             	add    $0x10,%esp                     
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
  10b620:	83 ec 0c             	sub    $0xc,%esp                      
  10b623:	57                   	push   %edi                           
  10b624:	e8 63 f4 ff ff       	call   10aa8c <_Chain_Get>            
  10b629:	83 c4 10             	add    $0x10,%esp                     
  10b62c:	85 c0                	test   %eax,%eax                      
  10b62e:	75 c8                	jne    10b5f8 <_Objects_Extend_information+0x210>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  10b630:	8b 43 14             	mov    0x14(%ebx),%eax                
  10b633:	8b 53 30             	mov    0x30(%ebx),%edx                
  10b636:	0f b7 c8             	movzwl %ax,%ecx                       
  10b639:	8b 75 d0             	mov    -0x30(%ebp),%esi               
  10b63c:	89 0c 32             	mov    %ecx,(%edx,%esi,1)             
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
  10b63f:	66 01 43 2c          	add    %ax,0x2c(%ebx)                 
}                                                                     
  10b643:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b646:	5b                   	pop    %ebx                           
  10b647:	5e                   	pop    %esi                           
  10b648:	5f                   	pop    %edi                           
  10b649:	c9                   	leave                                 
  10b64a:	c3                   	ret                                   
                                                                      

0010b6dc <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint32_t the_class ) {
  10b6dc:	55                   	push   %ebp                           
  10b6dd:	89 e5                	mov    %esp,%ebp                      
  10b6df:	57                   	push   %edi                           
  10b6e0:	56                   	push   %esi                           
  10b6e1:	53                   	push   %ebx                           
  10b6e2:	83 ec 0c             	sub    $0xc,%esp                      
  10b6e5:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10b6e8:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
  10b6eb:	31 db                	xor    %ebx,%ebx                      
)                                                                     
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
  10b6ed:	85 f6                	test   %esi,%esi                      
  10b6ef:	74 34                	je     10b725 <_Objects_Get_information+0x49>
                                                                      
  /*                                                                  
   *  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 );      
  10b6f1:	83 ec 0c             	sub    $0xc,%esp                      
  10b6f4:	57                   	push   %edi                           
  10b6f5:	e8 66 3f 00 00       	call   10f660 <_Objects_API_maximum_class>
  if ( the_class_api_maximum == 0 )                                   
  10b6fa:	83 c4 10             	add    $0x10,%esp                     
  10b6fd:	85 c0                	test   %eax,%eax                      
  10b6ff:	74 24                	je     10b725 <_Objects_Get_information+0x49>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
  10b701:	39 c6                	cmp    %eax,%esi                      
  10b703:	77 20                	ja     10b725 <_Objects_Get_information+0x49>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10b705:	8b 04 bd bc 41 12 00 	mov    0x1241bc(,%edi,4),%eax         
  10b70c:	85 c0                	test   %eax,%eax                      
  10b70e:	74 15                	je     10b725 <_Objects_Get_information+0x49><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
  10b710:	8b 1c b0             	mov    (%eax,%esi,4),%ebx             
  if ( !info )                                                        
  10b713:	85 db                	test   %ebx,%ebx                      
  10b715:	74 0e                	je     10b725 <_Objects_Get_information+0x49><== 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;                                                    
  10b717:	31 c0                	xor    %eax,%eax                      
  10b719:	66 83 7b 10 00       	cmpw   $0x0,0x10(%ebx)                
  10b71e:	0f 95 c0             	setne  %al                            
  10b721:	f7 d8                	neg    %eax                           
  10b723:	21 c3                	and    %eax,%ebx                      
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
  10b725:	89 d8                	mov    %ebx,%eax                      
  10b727:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b72a:	5b                   	pop    %ebx                           
  10b72b:	5e                   	pop    %esi                           
  10b72c:	5f                   	pop    %edi                           
  10b72d:	c9                   	leave                                 
  10b72e:	c3                   	ret                                   
                                                                      

00118bcc <_Objects_Get_no_protection>: Objects_Control *_Objects_Get_no_protection( Objects_Information *information, Objects_Id id, Objects_Locations *location ) {
  118bcc:	55                   	push   %ebp                           
  118bcd:	89 e5                	mov    %esp,%ebp                      
  118bcf:	53                   	push   %ebx                           
  118bd0:	8b 55 08             	mov    0x8(%ebp),%edx                 
  118bd3:	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;                           
  118bd6:	b8 01 00 00 00       	mov    $0x1,%eax                      
  118bdb:	2b 42 08             	sub    0x8(%edx),%eax                 
  118bde:	03 45 0c             	add    0xc(%ebp),%eax                 
                                                                      
  if ( information->maximum >= index ) {                              
  118be1:	0f b7 5a 10          	movzwl 0x10(%edx),%ebx                
  118be5:	39 c3                	cmp    %eax,%ebx                      
  118be7:	72 12                	jb     118bfb <_Objects_Get_no_protection+0x2f>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
  118be9:	8b 52 1c             	mov    0x1c(%edx),%edx                
  118bec:	8b 04 82             	mov    (%edx,%eax,4),%eax             
  118bef:	85 c0                	test   %eax,%eax                      
  118bf1:	74 08                	je     118bfb <_Objects_Get_no_protection+0x2f><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
  118bf3:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)                    
      return the_object;                                              
  118bf9:	eb 08                	jmp    118c03 <_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;                                          
  118bfb:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)                    
  return NULL;                                                        
  118c01:	31 c0                	xor    %eax,%eax                      
}                                                                     
  118c03:	5b                   	pop    %ebx                           
  118c04:	c9                   	leave                                 
  118c05:	c3                   	ret                                   
                                                                      

0010c8ec <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
  10c8ec:	55                   	push   %ebp                           
  10c8ed:	89 e5                	mov    %esp,%ebp                      
  10c8ef:	53                   	push   %ebx                           
  10c8f0:	83 ec 14             	sub    $0x14,%esp                     
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10c8f3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c8f6:	85 c0                	test   %eax,%eax                      
  10c8f8:	75 08                	jne    10c902 <_Objects_Id_to_name+0x16>
  10c8fa:	a1 80 77 12 00       	mov    0x127780,%eax                  
  10c8ff:	8b 40 08             	mov    0x8(%eax),%eax                 
  10c902:	89 c2                	mov    %eax,%edx                      
  10c904:	c1 ea 18             	shr    $0x18,%edx                     
  10c907:	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 )                      
  10c90a:	8d 4a ff             	lea    -0x1(%edx),%ecx                
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
  10c90d:	bb 03 00 00 00       	mov    $0x3,%ebx                      
  10c912:	83 f9 02             	cmp    $0x2,%ecx                      
  10c915:	77 36                	ja     10c94d <_Objects_Id_to_name+0x61>
  10c917:	eb 3b                	jmp    10c954 <_Objects_Id_to_name+0x68>
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10c919:	89 c1                	mov    %eax,%ecx                      
  10c91b:	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 ];   
  10c91e:	8b 14 8a             	mov    (%edx,%ecx,4),%edx             
  if ( !information )                                                 
  10c921:	85 d2                	test   %edx,%edx                      
  10c923:	74 28                	je     10c94d <_Objects_Id_to_name+0x61><== NEVER TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
  10c925:	80 7a 38 00          	cmpb   $0x0,0x38(%edx)                
  10c929:	75 22                	jne    10c94d <_Objects_Id_to_name+0x61><== NEVER TAKEN
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  10c92b:	51                   	push   %ecx                           
  10c92c:	8d 4d f4             	lea    -0xc(%ebp),%ecx                
  10c92f:	51                   	push   %ecx                           
  10c930:	50                   	push   %eax                           
  10c931:	52                   	push   %edx                           
  10c932:	e8 5d ff ff ff       	call   10c894 <_Objects_Get>          
  if ( !the_object )                                                  
  10c937:	83 c4 10             	add    $0x10,%esp                     
  10c93a:	85 c0                	test   %eax,%eax                      
  10c93c:	74 0f                	je     10c94d <_Objects_Id_to_name+0x61>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  10c93e:	8b 50 0c             	mov    0xc(%eax),%edx                 
  10c941:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c944:	89 10                	mov    %edx,(%eax)                    
  _Thread_Enable_dispatch();                                          
  10c946:	e8 9b 07 00 00       	call   10d0e6 <_Thread_Enable_dispatch>
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
  10c94b:	31 db                	xor    %ebx,%ebx                      
}                                                                     
  10c94d:	89 d8                	mov    %ebx,%eax                      
  10c94f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c952:	c9                   	leave                                 
  10c953:	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 ] )                       
  10c954:	8b 14 95 08 72 12 00 	mov    0x127208(,%edx,4),%edx         
  10c95b:	85 d2                	test   %edx,%edx                      
  10c95d:	75 ba                	jne    10c919 <_Objects_Id_to_name+0x2d><== ALWAYS TAKEN
  10c95f:	eb ec                	jmp    10c94d <_Objects_Id_to_name+0x61><== NOT EXECUTED
                                                                      

0010bf6c <_Objects_Set_name>: bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name ) {
  10bf6c:	55                   	push   %ebp                           
  10bf6d:	89 e5                	mov    %esp,%ebp                      
  10bf6f:	57                   	push   %edi                           
  10bf70:	56                   	push   %esi                           
  10bf71:	53                   	push   %ebx                           
  10bf72:	83 ec 24             	sub    $0x24,%esp                     
  10bf75:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bf78:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10bf7b:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
  10bf7e:	0f b7 42 3a          	movzwl 0x3a(%edx),%eax                
  10bf82:	50                   	push   %eax                           
  10bf83:	53                   	push   %ebx                           
  10bf84:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10bf87:	e8 7c 6e 00 00       	call   112e08 <strnlen>               
  10bf8c:	89 c6                	mov    %eax,%esi                      
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
  10bf8e:	83 c4 10             	add    $0x10,%esp                     
  10bf91:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bf94:	80 7a 38 00          	cmpb   $0x0,0x38(%edx)                
  10bf98:	74 52                	je     10bfec <_Objects_Set_name+0x80>
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
  10bf9a:	83 ec 0c             	sub    $0xc,%esp                      
  10bf9d:	8d 40 01             	lea    0x1(%eax),%eax                 
  10bfa0:	50                   	push   %eax                           
  10bfa1:	e8 9c 16 00 00       	call   10d642 <_Workspace_Allocate>   
  10bfa6:	89 c2                	mov    %eax,%edx                      
    if ( !d )                                                         
  10bfa8:	83 c4 10             	add    $0x10,%esp                     
      return false;                                                   
  10bfab:	31 c0                	xor    %eax,%eax                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
    if ( !d )                                                         
  10bfad:	85 d2                	test   %edx,%edx                      
  10bfaf:	74 7c                	je     10c02d <_Objects_Set_name+0xc1><== NEVER TAKEN
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
  10bfb1:	8b 47 0c             	mov    0xc(%edi),%eax                 
  10bfb4:	85 c0                	test   %eax,%eax                      
  10bfb6:	74 19                	je     10bfd1 <_Objects_Set_name+0x65>
      _Workspace_Free( (void *)the_object->name.name_p );             
  10bfb8:	83 ec 0c             	sub    $0xc,%esp                      
  10bfbb:	50                   	push   %eax                           
  10bfbc:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10bfbf:	e8 97 16 00 00       	call   10d65b <_Workspace_Free>       
      the_object->name.name_p = NULL;                                 
  10bfc4:	c7 47 0c 00 00 00 00 	movl   $0x0,0xc(%edi)                 
  10bfcb:	83 c4 10             	add    $0x10,%esp                     
  10bfce:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
  10bfd1:	50                   	push   %eax                           
  10bfd2:	56                   	push   %esi                           
  10bfd3:	53                   	push   %ebx                           
  10bfd4:	52                   	push   %edx                           
  10bfd5:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10bfd8:	e8 af 6d 00 00       	call   112d8c <strncpy>               
    d[length] = '\0';                                                 
  10bfdd:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bfe0:	c6 04 32 00          	movb   $0x0,(%edx,%esi,1)             
    the_object->name.name_p = d;                                      
  10bfe4:	89 57 0c             	mov    %edx,0xc(%edi)                 
  10bfe7:	83 c4 10             	add    $0x10,%esp                     
  10bfea:	eb 3f                	jmp    10c02b <_Objects_Set_name+0xbf>
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
  10bfec:	0f be 13             	movsbl (%ebx),%edx                    
  10bfef:	c1 e2 18             	shl    $0x18,%edx                     
  10bff2:	b8 00 00 20 00       	mov    $0x200000,%eax                 
  10bff7:	83 fe 01             	cmp    $0x1,%esi                      
  10bffa:	76 07                	jbe    10c003 <_Objects_Set_name+0x97>
  10bffc:	0f be 43 01          	movsbl 0x1(%ebx),%eax                 
  10c000:	c1 e0 10             	shl    $0x10,%eax                     
  10c003:	09 c2                	or     %eax,%edx                      
  10c005:	b8 00 20 00 00       	mov    $0x2000,%eax                   
  10c00a:	83 fe 02             	cmp    $0x2,%esi                      
  10c00d:	76 07                	jbe    10c016 <_Objects_Set_name+0xaa>
  10c00f:	0f be 43 02          	movsbl 0x2(%ebx),%eax                 
  10c013:	c1 e0 08             	shl    $0x8,%eax                      
  10c016:	09 d0                	or     %edx,%eax                      
  10c018:	b9 20 00 00 00       	mov    $0x20,%ecx                     
  10c01d:	83 fe 03             	cmp    $0x3,%esi                      
  10c020:	76 04                	jbe    10c026 <_Objects_Set_name+0xba>
  10c022:	0f be 4b 03          	movsbl 0x3(%ebx),%ecx                 
  10c026:	09 c1                	or     %eax,%ecx                      
  10c028:	89 4f 0c             	mov    %ecx,0xc(%edi)                 
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
  10c02b:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10c02d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c030:	5b                   	pop    %ebx                           
  10c031:	5e                   	pop    %esi                           
  10c032:	5f                   	pop    %edi                           
  10c033:	c9                   	leave                                 
  10c034:	c3                   	ret                                   
                                                                      

0010ae1c <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
  10ae1c:	55                   	push   %ebp                           
  10ae1d:	89 e5                	mov    %esp,%ebp                      
  10ae1f:	57                   	push   %edi                           
  10ae20:	56                   	push   %esi                           
  10ae21:	53                   	push   %ebx                           
  10ae22:	83 ec 34             	sub    $0x34,%esp                     
  10ae25:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10ae28:	8a 45 14             	mov    0x14(%ebp),%al                 
  10ae2b:	88 45 d7             	mov    %al,-0x29(%ebp)                
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
  10ae2e:	8d 7d e4             	lea    -0x1c(%ebp),%edi               
  10ae31:	57                   	push   %edi                           
  10ae32:	56                   	push   %esi                           
  10ae33:	e8 48 01 00 00       	call   10af80 <_POSIX_Mutex_Get>      
  10ae38:	83 c4 10             	add    $0x10,%esp                     
     return EINVAL;                                                   
  10ae3b:	bb 16 00 00 00       	mov    $0x16,%ebx                     
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
  10ae40:	85 c0                	test   %eax,%eax                      
  10ae42:	0f 84 bb 00 00 00    	je     10af03 <_POSIX_Condition_variables_Wait_support+0xe7>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10ae48:	a1 e4 73 12 00       	mov    0x1273e4,%eax                  
  10ae4d:	48                   	dec    %eax                           
  10ae4e:	a3 e4 73 12 00       	mov    %eax,0x1273e4                  
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  10ae53:	52                   	push   %edx                           
  10ae54:	52                   	push   %edx                           
  10ae55:	57                   	push   %edi                           
  10ae56:	ff 75 08             	pushl  0x8(%ebp)                      
  10ae59:	e8 16 fe ff ff       	call   10ac74 <_POSIX_Condition_variables_Get>
  10ae5e:	89 c7                	mov    %eax,%edi                      
  switch ( location ) {                                               
  10ae60:	83 c4 10             	add    $0x10,%esp                     
  10ae63:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10ae67:	0f 85 96 00 00 00    	jne    10af03 <_POSIX_Condition_variables_Wait_support+0xe7>
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
  10ae6d:	8b 40 14             	mov    0x14(%eax),%eax                
  10ae70:	85 c0                	test   %eax,%eax                      
  10ae72:	74 0e                	je     10ae82 <_POSIX_Condition_variables_Wait_support+0x66>
  10ae74:	3b 06                	cmp    (%esi),%eax                    
  10ae76:	74 0a                	je     10ae82 <_POSIX_Condition_variables_Wait_support+0x66>
        _Thread_Enable_dispatch();                                    
  10ae78:	e8 81 2d 00 00       	call   10dbfe <_Thread_Enable_dispatch>
        return EINVAL;                                                
  10ae7d:	e9 81 00 00 00       	jmp    10af03 <_POSIX_Condition_variables_Wait_support+0xe7>
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
  10ae82:	83 ec 0c             	sub    $0xc,%esp                      
  10ae85:	56                   	push   %esi                           
  10ae86:	e8 25 03 00 00       	call   10b1b0 <pthread_mutex_unlock>  
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
  10ae8b:	83 c4 10             	add    $0x10,%esp                     
  10ae8e:	80 7d d7 00          	cmpb   $0x0,-0x29(%ebp)               
  10ae92:	75 50                	jne    10aee4 <_POSIX_Condition_variables_Wait_support+0xc8>
        the_cond->Mutex = *mutex;                                     
  10ae94:	8b 06                	mov    (%esi),%eax                    
  10ae96:	89 47 14             	mov    %eax,0x14(%edi)                
                                                                      
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;
  10ae99:	c7 47 48 01 00 00 00 	movl   $0x1,0x48(%edi)                
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
  10aea0:	a1 34 79 12 00       	mov    0x127934,%eax                  
  10aea5:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
  10aeac:	83 c7 18             	add    $0x18,%edi                     
  10aeaf:	89 78 44             	mov    %edi,0x44(%eax)                
        _Thread_Executing->Wait.id          = *cond;                  
  10aeb2:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10aeb5:	8b 11                	mov    (%ecx),%edx                    
  10aeb7:	89 50 20             	mov    %edx,0x20(%eax)                
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
  10aeba:	50                   	push   %eax                           
  10aebb:	68 a8 e3 10 00       	push   $0x10e3a8                      
  10aec0:	ff 75 10             	pushl  0x10(%ebp)                     
  10aec3:	57                   	push   %edi                           
  10aec4:	e8 bf 31 00 00       	call   10e088 <_Thread_queue_Enqueue_with_handler>
                                                                      
        _Thread_Enable_dispatch();                                    
  10aec9:	e8 30 2d 00 00       	call   10dbfe <_Thread_Enable_dispatch>
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
  10aece:	a1 34 79 12 00       	mov    0x127934,%eax                  
  10aed3:	8b 58 34             	mov    0x34(%eax),%ebx                
        if ( status && status != ETIMEDOUT )                          
  10aed6:	83 c4 10             	add    $0x10,%esp                     
  10aed9:	83 fb 74             	cmp    $0x74,%ebx                     
  10aedc:	74 10                	je     10aeee <_POSIX_Condition_variables_Wait_support+0xd2>
  10aede:	85 db                	test   %ebx,%ebx                      
  10aee0:	74 0c                	je     10aeee <_POSIX_Condition_variables_Wait_support+0xd2><== ALWAYS TAKEN
  10aee2:	eb 1f                	jmp    10af03 <_POSIX_Condition_variables_Wait_support+0xe7><== NOT EXECUTED
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
  10aee4:	e8 15 2d 00 00       	call   10dbfe <_Thread_Enable_dispatch>
        status = ETIMEDOUT;                                           
  10aee9:	bb 74 00 00 00       	mov    $0x74,%ebx                     
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
  10aeee:	83 ec 0c             	sub    $0xc,%esp                      
  10aef1:	56                   	push   %esi                           
  10aef2:	e8 39 02 00 00       	call   10b130 <pthread_mutex_lock>    
      if ( mutex_status )                                             
  10aef7:	83 c4 10             	add    $0x10,%esp                     
  10aefa:	85 c0                	test   %eax,%eax                      
  10aefc:	74 05                	je     10af03 <_POSIX_Condition_variables_Wait_support+0xe7>
        return EINVAL;                                                
  10aefe:	bb 16 00 00 00       	mov    $0x16,%ebx                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10af03:	89 d8                	mov    %ebx,%eax                      
  10af05:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10af08:	5b                   	pop    %ebx                           
  10af09:	5e                   	pop    %esi                           
  10af0a:	5f                   	pop    %edi                           
  10af0b:	c9                   	leave                                 
  10af0c:	c3                   	ret                                   
                                                                      

0010e2bc <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
  10e2bc:	55                   	push   %ebp                           
  10e2bd:	89 e5                	mov    %esp,%ebp                      
  10e2bf:	57                   	push   %edi                           
  10e2c0:	56                   	push   %esi                           
  10e2c1:	53                   	push   %ebx                           
  10e2c2:	83 ec 30             	sub    $0x30,%esp                     
  10e2c5:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e2c8:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  10e2cb:	8a 55 18             	mov    0x18(%ebp),%dl                 
  POSIX_Message_queue_Control_fd  *the_mq_fd;                         
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  10e2ce:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *_POSIX_Message_queue_Get_fd (
  mqd_t              id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control_fd *) _Objects_Get(             
  10e2d1:	50                   	push   %eax                           
  10e2d2:	56                   	push   %esi                           
  10e2d3:	68 7c d9 12 00       	push   $0x12d97c                      
  10e2d8:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  10e2db:	e8 dc 2a 00 00       	call   110dbc <_Objects_Get>          
  switch ( location ) {                                               
  10e2e0:	83 c4 10             	add    $0x10,%esp                     
  10e2e3:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10e2e7:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  10e2ea:	0f 85 aa 00 00 00    	jne    10e39a <_POSIX_Message_queue_Receive_support+0xde>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
  10e2f0:	8b 78 14             	mov    0x14(%eax),%edi                
  10e2f3:	89 f9                	mov    %edi,%ecx                      
  10e2f5:	83 e1 03             	and    $0x3,%ecx                      
  10e2f8:	49                   	dec    %ecx                           
  10e2f9:	75 0a                	jne    10e305 <_POSIX_Message_queue_Receive_support+0x49>
        _Thread_Enable_dispatch();                                    
  10e2fb:	e8 da 32 00 00       	call   1115da <_Thread_Enable_dispatch>
  10e300:	e9 95 00 00 00       	jmp    10e39a <_POSIX_Message_queue_Receive_support+0xde>
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
  10e305:	8b 40 10             	mov    0x10(%eax),%eax                
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
  10e308:	8b 48 68             	mov    0x68(%eax),%ecx                
  10e30b:	39 4d 10             	cmp    %ecx,0x10(%ebp)                
  10e30e:	73 15                	jae    10e325 <_POSIX_Message_queue_Receive_support+0x69>
        _Thread_Enable_dispatch();                                    
  10e310:	e8 c5 32 00 00       	call   1115da <_Thread_Enable_dispatch>
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
  10e315:	e8 2a 8a 00 00       	call   116d44 <__errno>               
  10e31a:	c7 00 7a 00 00 00    	movl   $0x7a,(%eax)                   
  10e320:	e9 80 00 00 00       	jmp    10e3a5 <_POSIX_Message_queue_Receive_support+0xe9>
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
  10e325:	c7 45 e0 ff ff ff ff 	movl   $0xffffffff,-0x20(%ebp)        
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
  10e32c:	31 c9                	xor    %ecx,%ecx                      
  10e32e:	84 d2                	test   %dl,%dl                        
  10e330:	74 09                	je     10e33b <_POSIX_Message_queue_Receive_support+0x7f><== NEVER TAKEN
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
  10e332:	81 e7 00 40 00 00    	and    $0x4000,%edi                   
  10e338:	0f 94 c1             	sete   %cl                            
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
  10e33b:	52                   	push   %edx                           
  10e33c:	52                   	push   %edx                           
  10e33d:	ff 75 1c             	pushl  0x1c(%ebp)                     
  10e340:	0f b6 c9             	movzbl %cl,%ecx                       
  10e343:	51                   	push   %ecx                           
  10e344:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10e347:	52                   	push   %edx                           
  10e348:	ff 75 0c             	pushl  0xc(%ebp)                      
  10e34b:	56                   	push   %esi                           
  10e34c:	83 c0 1c             	add    $0x1c,%eax                     
  10e34f:	50                   	push   %eax                           
  10e350:	e8 4f 1c 00 00       	call   10ffa4 <_CORE_message_queue_Seize>
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10e355:	83 c4 20             	add    $0x20,%esp                     
  10e358:	e8 7d 32 00 00       	call   1115da <_Thread_Enable_dispatch>
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
  10e35d:	a1 f4 d9 12 00       	mov    0x12d9f4,%eax                  
RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
  CORE_message_queue_Submit_types priority                            
)                                                                     
{                                                                     
  /* absolute value without a library dependency */                   
  return ((priority >= 0) ? priority : -priority);                    
  10e362:	8b 50 24             	mov    0x24(%eax),%edx                
  10e365:	c1 fa 1f             	sar    $0x1f,%edx                     
  10e368:	8b 48 24             	mov    0x24(%eax),%ecx                
  10e36b:	31 d1                	xor    %edx,%ecx                      
  10e36d:	89 0b                	mov    %ecx,(%ebx)                    
  10e36f:	29 13                	sub    %edx,(%ebx)                    
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
  10e371:	83 78 34 00          	cmpl   $0x0,0x34(%eax)                
  10e375:	75 05                	jne    10e37c <_POSIX_Message_queue_Receive_support+0xc0>
        return length_out;                                            
  10e377:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10e37a:	eb 2c                	jmp    10e3a8 <_POSIX_Message_queue_Receive_support+0xec>
                                                                      
      rtems_set_errno_and_return_minus_one(                           
  10e37c:	e8 c3 89 00 00       	call   116d44 <__errno>               
  10e381:	89 c3                	mov    %eax,%ebx                      
  10e383:	83 ec 0c             	sub    $0xc,%esp                      
  10e386:	a1 f4 d9 12 00       	mov    0x12d9f4,%eax                  
  10e38b:	ff 70 34             	pushl  0x34(%eax)                     
  10e38e:	e8 ed 01 00 00       	call   10e580 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
  10e393:	89 03                	mov    %eax,(%ebx)                    
  10e395:	83 c4 10             	add    $0x10,%esp                     
  10e398:	eb 0b                	jmp    10e3a5 <_POSIX_Message_queue_Receive_support+0xe9>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
  10e39a:	e8 a5 89 00 00       	call   116d44 <__errno>               
  10e39f:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  10e3a5:	83 c8 ff             	or     $0xffffffff,%eax               
}                                                                     
  10e3a8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e3ab:	5b                   	pop    %ebx                           
  10e3ac:	5e                   	pop    %esi                           
  10e3ad:	5f                   	pop    %edi                           
  10e3ae:	c9                   	leave                                 
  10e3af:	c3                   	ret                                   
                                                                      

0010e7f4 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: #include <rtems/posix/pthread.h> void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( Thread_Control *the_thread ) {
  10e7f4:	55                   	push   %ebp                           
  10e7f5:	89 e5                	mov    %esp,%ebp                      
  10e7f7:	83 ec 08             	sub    $0x8,%esp                      
  10e7fa:	8b 55 08             	mov    0x8(%ebp),%edx                 
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
  10e7fd:	8b 82 f8 00 00 00    	mov    0xf8(%edx),%eax                
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
  10e803:	83 b8 d4 00 00 00 00 	cmpl   $0x0,0xd4(%eax)                
  10e80a:	75 2c                	jne    10e838 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x44><== NEVER TAKEN
  10e80c:	83 b8 d8 00 00 00 01 	cmpl   $0x1,0xd8(%eax)                
  10e813:	75 23                	jne    10e838 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x44>
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
  10e815:	83 b8 dc 00 00 00 00 	cmpl   $0x0,0xdc(%eax)                
  10e81c:	74 1a                	je     10e838 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x44>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10e81e:	a1 d4 51 12 00       	mov    0x1251d4,%eax                  
  10e823:	48                   	dec    %eax                           
  10e824:	a3 d4 51 12 00       	mov    %eax,0x1251d4                  
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  10e829:	50                   	push   %eax                           
  10e82a:	50                   	push   %eax                           
  10e82b:	6a ff                	push   $0xffffffff                    
  10e82d:	52                   	push   %edx                           
  10e82e:	e8 4d 08 00 00       	call   10f080 <_POSIX_Thread_Exit>    
  10e833:	83 c4 10             	add    $0x10,%esp                     
  } else                                                              
    _Thread_Enable_dispatch();                                        
                                                                      
}                                                                     
  10e836:	c9                   	leave                                 
  10e837:	c3                   	ret                                   
  10e838:	c9                   	leave                                 
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  } else                                                              
    _Thread_Enable_dispatch();                                        
  10e839:	e9 c4 da ff ff       	jmp    10c302 <_Thread_Enable_dispatch>
                                                                      

0010faa0 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
  10faa0:	55                   	push   %ebp                           
  10faa1:	89 e5                	mov    %esp,%ebp                      
  10faa3:	57                   	push   %edi                           
  10faa4:	56                   	push   %esi                           
  10faa5:	53                   	push   %ebx                           
  10faa6:	83 ec 28             	sub    $0x28,%esp                     
  10faa9:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10faac:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10faaf:	8b 7d 10             	mov    0x10(%ebp),%edi                
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
  10fab2:	ff 33                	pushl  (%ebx)                         
  10fab4:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10fab7:	e8 c4 ff ff ff       	call   10fa80 <_POSIX_Priority_Is_valid>
  10fabc:	83 c4 10             	add    $0x10,%esp                     
    return EINVAL;                                                    
  10fabf:	be 16 00 00 00       	mov    $0x16,%esi                     
  struct sched_param                  *param,                         
  Thread_CPU_budget_algorithms        *budget_algorithm,              
  Thread_CPU_budget_algorithm_callout *budget_callout                 
)                                                                     
{                                                                     
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
  10fac4:	84 c0                	test   %al,%al                        
  10fac6:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10fac9:	0f 84 a4 00 00 00    	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  10facf:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    
  *budget_callout = NULL;                                             
  10fad5:	8b 45 14             	mov    0x14(%ebp),%eax                
  10fad8:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
  10fade:	85 d2                	test   %edx,%edx                      
  10fae0:	75 0b                	jne    10faed <_POSIX_Thread_Translate_sched_param+0x4d>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
  10fae2:	c7 07 01 00 00 00    	movl   $0x1,(%edi)                    
  10fae8:	e9 83 00 00 00       	jmp    10fb70 <_POSIX_Thread_Translate_sched_param+0xd0>
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  10faed:	31 f6                	xor    %esi,%esi                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
  10faef:	83 fa 01             	cmp    $0x1,%edx                      
  10faf2:	74 7f                	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
  10faf4:	83 fa 02             	cmp    $0x2,%edx                      
  10faf7:	75 08                	jne    10fb01 <_POSIX_Thread_Translate_sched_param+0x61>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
  10faf9:	c7 07 02 00 00 00    	movl   $0x2,(%edi)                    
    return 0;                                                         
  10faff:	eb 72                	jmp    10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
  10fb01:	be 16 00 00 00       	mov    $0x16,%esi                     
  if ( policy == SCHED_RR ) {                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
  10fb06:	83 fa 04             	cmp    $0x4,%edx                      
  10fb09:	75 68                	jne    10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
  10fb0b:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)                 
  10fb0f:	75 06                	jne    10fb17 <_POSIX_Thread_Translate_sched_param+0x77>
  10fb11:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)                 
  10fb15:	74 5c                	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
  10fb17:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10fb1b:	75 0b                	jne    10fb28 <_POSIX_Thread_Translate_sched_param+0x88>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
  10fb1d:	be 16 00 00 00       	mov    $0x16,%esi                     
  if ( policy == SCHED_SPORADIC ) {                                   
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
  10fb22:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10fb26:	74 4b                	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
  10fb28:	83 ec 0c             	sub    $0xc,%esp                      
  10fb2b:	8d 43 08             	lea    0x8(%ebx),%eax                 
  10fb2e:	50                   	push   %eax                           
  10fb2f:	e8 f4 de ff ff       	call   10da28 <_Timespec_To_ticks>    
  10fb34:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
  10fb37:	8d 43 10             	lea    0x10(%ebx),%eax                
  10fb3a:	89 04 24             	mov    %eax,(%esp)                    
  10fb3d:	e8 e6 de ff ff       	call   10da28 <_Timespec_To_ticks>    
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
  10fb42:	83 c4 10             	add    $0x10,%esp                     
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
  10fb45:	be 16 00 00 00       	mov    $0x16,%esi                     
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
  10fb4a:	39 45 e4             	cmp    %eax,-0x1c(%ebp)               
  10fb4d:	72 24                	jb     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
  10fb4f:	83 ec 0c             	sub    $0xc,%esp                      
  10fb52:	ff 73 04             	pushl  0x4(%ebx)                      
  10fb55:	e8 26 ff ff ff       	call   10fa80 <_POSIX_Priority_Is_valid>
  10fb5a:	83 c4 10             	add    $0x10,%esp                     
  10fb5d:	84 c0                	test   %al,%al                        
  10fb5f:	74 12                	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
  10fb61:	c7 07 03 00 00 00    	movl   $0x3,(%edi)                    
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
  10fb67:	8b 45 14             	mov    0x14(%ebp),%eax                
  10fb6a:	c7 00 5d a8 10 00    	movl   $0x10a85d,(%eax)               
    return 0;                                                         
  10fb70:	66 31 f6             	xor    %si,%si                        
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10fb73:	89 f0                	mov    %esi,%eax                      
  10fb75:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fb78:	5b                   	pop    %ebx                           
  10fb79:	5e                   	pop    %esi                           
  10fb7a:	5f                   	pop    %edi                           
  10fb7b:	c9                   	leave                                 
  10fb7c:	c3                   	ret                                   
                                                                      

0010a560 <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
  10a560:	55                   	push   %ebp                           
  10a561:	89 e5                	mov    %esp,%ebp                      
  10a563:	57                   	push   %edi                           
  10a564:	56                   	push   %esi                           
  10a565:	53                   	push   %ebx                           
  10a566:	83 ec 5c             	sub    $0x5c,%esp                     
  uint32_t                            maximum;                        
  posix_initialization_threads_table *user_threads;                   
  pthread_t                           thread_id;                      
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
  10a569:	8b 3d 10 12 12 00    	mov    0x121210,%edi                  
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
  10a56f:	8b 15 0c 12 12 00    	mov    0x12120c,%edx                  
                                                                      
  if ( !user_threads || maximum == 0 )                                
  10a575:	85 d2                	test   %edx,%edx                      
  10a577:	74 54                	je     10a5cd <_POSIX_Threads_Initialize_user_threads_body+0x6d><== NEVER TAKEN
  10a579:	85 ff                	test   %edi,%edi                      
  10a57b:	74 50                	je     10a5cd <_POSIX_Threads_Initialize_user_threads_body+0x6d><== NEVER TAKEN
  10a57d:	31 db                	xor    %ebx,%ebx                      
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
  10a57f:	8d 75 a8             	lea    -0x58(%ebp),%esi               
  10a582:	83 ec 0c             	sub    $0xc,%esp                      
  10a585:	56                   	push   %esi                           
  10a586:	89 55 a4             	mov    %edx,-0x5c(%ebp)               
  10a589:	e8 f2 55 00 00       	call   10fb80 <pthread_attr_init>     
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
  10a58e:	5a                   	pop    %edx                           
  10a58f:	59                   	pop    %ecx                           
  10a590:	6a 02                	push   $0x2                           
  10a592:	56                   	push   %esi                           
  10a593:	e8 10 56 00 00       	call   10fba8 <pthread_attr_setinheritsched>
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
  10a598:	59                   	pop    %ecx                           
  10a599:	58                   	pop    %eax                           
  10a59a:	ff 74 df 04          	pushl  0x4(%edi,%ebx,8)               
  10a59e:	56                   	push   %esi                           
  10a59f:	e8 30 56 00 00       	call   10fbd4 <pthread_attr_setstacksize>
                                                                      
    status = pthread_create(                                          
  10a5a4:	6a 00                	push   $0x0                           
  10a5a6:	ff 34 df             	pushl  (%edi,%ebx,8)                  
  10a5a9:	56                   	push   %esi                           
  10a5aa:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a5ad:	50                   	push   %eax                           
  10a5ae:	e8 e5 fc ff ff       	call   10a298 <pthread_create>        
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
  10a5b3:	83 c4 20             	add    $0x20,%esp                     
  10a5b6:	85 c0                	test   %eax,%eax                      
  10a5b8:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10a5bb:	74 0b                	je     10a5c8 <_POSIX_Threads_Initialize_user_threads_body+0x68>
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  10a5bd:	52                   	push   %edx                           
  10a5be:	50                   	push   %eax                           
  10a5bf:	6a 01                	push   $0x1                           
  10a5c1:	6a 02                	push   $0x2                           
  10a5c3:	e8 04 1c 00 00       	call   10c1cc <_Internal_error_Occurred>
   *                                                                  
   *  Setting the attributes explicitly is critical, since we don't want
   *  to inherit the idle tasks attributes.                           
   */                                                                 
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
  10a5c8:	43                   	inc    %ebx                           
  10a5c9:	39 d3                	cmp    %edx,%ebx                      
  10a5cb:	72 b5                	jb     10a582 <_POSIX_Threads_Initialize_user_threads_body+0x22><== NEVER TAKEN
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  }                                                                   
}                                                                     
  10a5cd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a5d0:	5b                   	pop    %ebx                           
  10a5d1:	5e                   	pop    %esi                           
  10a5d2:	5f                   	pop    %edi                           
  10a5d3:	c9                   	leave                                 
  10a5d4:	c3                   	ret                                   
                                                                      

0010ebd3 <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
  10ebd3:	55                   	push   %ebp                           
  10ebd4:	89 e5                	mov    %esp,%ebp                      
  10ebd6:	56                   	push   %esi                           
  10ebd7:	53                   	push   %ebx                           
  10ebd8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10ebdb:	8b b3 f8 00 00 00    	mov    0xf8(%ebx),%esi                
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
  10ebe1:	83 ec 0c             	sub    $0xc,%esp                      
  10ebe4:	8d 86 94 00 00 00    	lea    0x94(%esi),%eax                
  10ebea:	50                   	push   %eax                           
  10ebeb:	e8 58 0e 00 00       	call   10fa48 <_Timespec_To_ticks>    
                                                                      
  the_thread->cpu_time_budget = ticks;                                
  10ebf0:	89 43 78             	mov    %eax,0x78(%ebx)                
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
  10ebf3:	0f b6 05 f4 01 12 00 	movzbl 0x1201f4,%eax                  
  10ebfa:	2b 86 84 00 00 00    	sub    0x84(%esi),%eax                
                                                                      
  new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
  the_thread->real_priority = new_priority;                           
  10ec00:	89 43 18             	mov    %eax,0x18(%ebx)                
   */                                                                 
  #if 0                                                               
    printk( "TSR %d %d %d\n", the_thread->resource_count,             
        the_thread->current_priority, new_priority );                 
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
  10ec03:	83 c4 10             	add    $0x10,%esp                     
  10ec06:	83 7b 1c 00          	cmpl   $0x0,0x1c(%ebx)                
  10ec0a:	75 12                	jne    10ec1e <_POSIX_Threads_Sporadic_budget_TSR+0x4b><== NEVER TAKEN
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
  10ec0c:	39 43 14             	cmp    %eax,0x14(%ebx)                
  10ec0f:	76 0d                	jbe    10ec1e <_POSIX_Threads_Sporadic_budget_TSR+0x4b>
      _Thread_Change_priority( the_thread, new_priority, true );      
  10ec11:	52                   	push   %edx                           
  10ec12:	6a 01                	push   $0x1                           
  10ec14:	50                   	push   %eax                           
  10ec15:	53                   	push   %ebx                           
  10ec16:	e8 ad ce ff ff       	call   10bac8 <_Thread_Change_priority>
  10ec1b:	83 c4 10             	add    $0x10,%esp                     
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
  10ec1e:	83 ec 0c             	sub    $0xc,%esp                      
  10ec21:	8d 86 8c 00 00 00    	lea    0x8c(%esi),%eax                
  10ec27:	50                   	push   %eax                           
  10ec28:	e8 1b 0e 00 00       	call   10fa48 <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10ec2d:	89 86 b0 00 00 00    	mov    %eax,0xb0(%esi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10ec33:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
  10ec36:	81 c6 a4 00 00 00    	add    $0xa4,%esi                     
  10ec3c:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10ec3f:	c7 45 08 ac 42 12 00 	movl   $0x1242ac,0x8(%ebp)            
}                                                                     
  10ec46:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ec49:	5b                   	pop    %ebx                           
  10ec4a:	5e                   	pop    %esi                           
  10ec4b:	c9                   	leave                                 
  10ec4c:	e9 df e0 ff ff       	jmp    10cd30 <_Watchdog_Insert>      
                                                                      

0010ec51 <_POSIX_Threads_Sporadic_budget_callout>: * _POSIX_Threads_Sporadic_budget_callout */ void _POSIX_Threads_Sporadic_budget_callout( Thread_Control *the_thread ) {
  10ec51:	55                   	push   %ebp                           
  10ec52:	89 e5                	mov    %esp,%ebp                      
  10ec54:	83 ec 08             	sub    $0x8,%esp                      
  10ec57:	8b 45 08             	mov    0x8(%ebp),%eax                 
  POSIX_API_Control *api;                                             
  uint32_t           new_priority;                                    
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10ec5a:	8b 88 f8 00 00 00    	mov    0xf8(%eax),%ecx                
                                                                      
  /*                                                                  
   *  This will prevent the thread from consuming its entire "budget" 
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
  10ec60:	c7 40 78 ff ff ff ff 	movl   $0xffffffff,0x78(%eax)         
  10ec67:	0f b6 15 f4 01 12 00 	movzbl 0x1201f4,%edx                  
  10ec6e:	2b 91 88 00 00 00    	sub    0x88(%ecx),%edx                
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
  10ec74:	89 50 18             	mov    %edx,0x18(%eax)                
   */                                                                 
  #if 0                                                               
    printk( "callout %d %d %d\n", the_thread->resource_count,         
	the_thread->current_priority, new_priority );                        
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
  10ec77:	83 78 1c 00          	cmpl   $0x0,0x1c(%eax)                
  10ec7b:	75 12                	jne    10ec8f <_POSIX_Threads_Sporadic_budget_callout+0x3e><== NEVER TAKEN
    /*                                                                
     *  Make sure we are actually lowering it. If they have lowered it
     *  to logically lower than sched_ss_low_priority, then we do not want to
     *  change it.                                                    
     */                                                               
    if ( the_thread->current_priority < new_priority ) {              
  10ec7d:	39 50 14             	cmp    %edx,0x14(%eax)                
  10ec80:	73 0d                	jae    10ec8f <_POSIX_Threads_Sporadic_budget_callout+0x3e><== NEVER TAKEN
      _Thread_Change_priority( the_thread, new_priority, true );      
  10ec82:	51                   	push   %ecx                           
  10ec83:	6a 01                	push   $0x1                           
  10ec85:	52                   	push   %edx                           
  10ec86:	50                   	push   %eax                           
  10ec87:	e8 3c ce ff ff       	call   10bac8 <_Thread_Change_priority>
  10ec8c:	83 c4 10             	add    $0x10,%esp                     
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
  10ec8f:	c9                   	leave                                 
  10ec90:	c3                   	ret                                   
                                                                      

00110a78 <_POSIX_Threads_cancel_run>: #include <rtems/posix/threadsup.h> void _POSIX_Threads_cancel_run( Thread_Control *the_thread ) {
  110a78:	55                   	push   %ebp                           
  110a79:	89 e5                	mov    %esp,%ebp                      
  110a7b:	57                   	push   %edi                           
  110a7c:	56                   	push   %esi                           
  110a7d:	53                   	push   %ebx                           
  110a7e:	83 ec 0c             	sub    $0xc,%esp                      
  POSIX_Cancel_Handler_control      *handler;                         
  Chain_Control                     *handler_stack;                   
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
  110a81:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110a84:	8b 98 f8 00 00 00    	mov    0xf8(%eax),%ebx                
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
  110a8a:	c7 83 d4 00 00 00 01 	movl   $0x1,0xd4(%ebx)                
  110a91:	00 00 00                                                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  110a94:	8d b3 e4 00 00 00    	lea    0xe4(%ebx),%esi                
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
  110a9a:	eb 26                	jmp    110ac2 <_POSIX_Threads_cancel_run+0x4a>
    _ISR_Disable( level );                                            
  110a9c:	9c                   	pushf                                 
  110a9d:	fa                   	cli                                   
  110a9e:	59                   	pop    %ecx                           
      handler = (POSIX_Cancel_Handler_control *)                      
  110a9f:	8b 7e 04             	mov    0x4(%esi),%edi                 
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  110aa2:	8b 17                	mov    (%edi),%edx                    
  previous       = the_node->previous;                                
  110aa4:	8b 47 04             	mov    0x4(%edi),%eax                 
  next->previous = previous;                                          
  110aa7:	89 42 04             	mov    %eax,0x4(%edx)                 
  previous->next = next;                                              
  110aaa:	89 10                	mov    %edx,(%eax)                    
           _Chain_Tail( handler_stack )->previous;                    
      _Chain_Extract_unprotected( &handler->Node );                   
    _ISR_Enable( level );                                             
  110aac:	51                   	push   %ecx                           
  110aad:	9d                   	popf                                  
                                                                      
    (*handler->routine)( handler->arg );                              
  110aae:	83 ec 0c             	sub    $0xc,%esp                      
  110ab1:	ff 77 0c             	pushl  0xc(%edi)                      
  110ab4:	ff 57 08             	call   *0x8(%edi)                     
                                                                      
    _Workspace_Free( handler );                                       
  110ab7:	89 3c 24             	mov    %edi,(%esp)                    
  110aba:	e8 bc c4 ff ff       	call   10cf7b <_Workspace_Free>       
  110abf:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
  110ac2:	39 b3 e0 00 00 00    	cmp    %esi,0xe0(%ebx)                
  110ac8:	75 d2                	jne    110a9c <_POSIX_Threads_cancel_run+0x24><== NEVER TAKEN
                                                                      
    (*handler->routine)( handler->arg );                              
                                                                      
    _Workspace_Free( handler );                                       
  }                                                                   
}                                                                     
  110aca:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110acd:	5b                   	pop    %ebx                           
  110ace:	5e                   	pop    %esi                           
  110acf:	5f                   	pop    %edi                           
  110ad0:	c9                   	leave                                 
  110ad1:	c3                   	ret                                   
                                                                      

0010a330 <_POSIX_Timer_TSR>: * This is the operation that is run when a timer expires */ void _POSIX_Timer_TSR( Objects_Id timer __attribute__((unused)), void *data) {
  10a330:	55                   	push   %ebp                           
  10a331:	89 e5                	mov    %esp,%ebp                      
  10a333:	53                   	push   %ebx                           
  10a334:	83 ec 04             	sub    $0x4,%esp                      
  10a337:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
  10a33a:	ff 43 68             	incl   0x68(%ebx)                     
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
  10a33d:	83 7b 54 00          	cmpl   $0x0,0x54(%ebx)                
  10a341:	75 06                	jne    10a349 <_POSIX_Timer_TSR+0x19> 
  10a343:	83 7b 58 00          	cmpl   $0x0,0x58(%ebx)                
  10a347:	74 34                	je     10a37d <_POSIX_Timer_TSR+0x4d> <== NEVER TAKEN
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
  10a349:	83 ec 0c             	sub    $0xc,%esp                      
  10a34c:	53                   	push   %ebx                           
  10a34d:	68 30 a3 10 00       	push   $0x10a330                      
  10a352:	ff 73 08             	pushl  0x8(%ebx)                      
  10a355:	ff 73 64             	pushl  0x64(%ebx)                     
  10a358:	8d 43 10             	lea    0x10(%ebx),%eax                
  10a35b:	50                   	push   %eax                           
  10a35c:	e8 c3 54 00 00       	call   10f824 <_POSIX_Timer_Insert_helper>
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
  10a361:	83 c4 20             	add    $0x20,%esp                     
  10a364:	84 c0                	test   %al,%al                        
  10a366:	74 30                	je     10a398 <_POSIX_Timer_TSR+0x68> <== NEVER TAKEN
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
  10a368:	83 ec 0c             	sub    $0xc,%esp                      
  10a36b:	8d 43 6c             	lea    0x6c(%ebx),%eax                
  10a36e:	50                   	push   %eax                           
  10a36f:	e8 4c 14 00 00       	call   10b7c0 <_TOD_Get>              
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
  10a374:	c6 43 3c 03          	movb   $0x3,0x3c(%ebx)                
  10a378:	83 c4 10             	add    $0x10,%esp                     
  10a37b:	eb 04                	jmp    10a381 <_POSIX_Timer_TSR+0x51> 
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
  10a37d:	c6 43 3c 04          	movb   $0x4,0x3c(%ebx)                <== NOT EXECUTED
  /*                                                                  
   * The sending of the signal to the process running the handling function
   * specified for that signal is simulated                           
   */                                                                 
                                                                      
  if ( pthread_kill ( ptimer->thread_id, ptimer->inf.sigev_signo ) ) {
  10a381:	50                   	push   %eax                           
  10a382:	50                   	push   %eax                           
  10a383:	ff 73 44             	pushl  0x44(%ebx)                     
  10a386:	ff 73 38             	pushl  0x38(%ebx)                     
  10a389:	e8 6a 50 00 00       	call   10f3f8 <pthread_kill>          
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
  10a38e:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  10a395:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10a398:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a39b:	c9                   	leave                                 
  10a39c:	c3                   	ret                                   
                                                                      

00110b7c <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
  110b7c:	55                   	push   %ebp                           
  110b7d:	89 e5                	mov    %esp,%ebp                      
  110b7f:	57                   	push   %edi                           
  110b80:	56                   	push   %esi                           
  110b81:	53                   	push   %ebx                           
  110b82:	83 ec 38             	sub    $0x38,%esp                     
  110b85:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  110b88:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
  110b8b:	6a 01                	push   $0x1                           
  110b8d:	0f b6 45 10          	movzbl 0x10(%ebp),%eax                
  110b91:	50                   	push   %eax                           
  110b92:	8d 7d dc             	lea    -0x24(%ebp),%edi               
  110b95:	57                   	push   %edi                           
  110b96:	56                   	push   %esi                           
  110b97:	53                   	push   %ebx                           
  110b98:	e8 5b 00 00 00       	call   110bf8 <_POSIX_signals_Clear_signals>
  110b9d:	88 c2                	mov    %al,%dl                        
  110b9f:	83 c4 20             	add    $0x20,%esp                     
                                       is_global, true ) )            
    return false;                                                     
  110ba2:	31 c0                	xor    %eax,%eax                      
)                                                                     
{                                                                     
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
  110ba4:	84 d2                	test   %dl,%dl                        
  110ba6:	74 46                	je     110bee <_POSIX_signals_Check_signal+0x72>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
  110ba8:	6b ce 0c             	imul   $0xc,%esi,%ecx                 
  110bab:	8b 91 4c 47 12 00    	mov    0x12474c(%ecx),%edx            
  110bb1:	83 fa 01             	cmp    $0x1,%edx                      
  110bb4:	74 38                	je     110bee <_POSIX_signals_Check_signal+0x72><== NEVER TAKEN
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  110bb6:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  110bbc:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
  110bbf:	0b 81 48 47 12 00    	or     0x124748(%ecx),%eax            
  110bc5:	89 83 cc 00 00 00    	mov    %eax,0xcc(%ebx)                
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
  110bcb:	83 b9 44 47 12 00 02 	cmpl   $0x2,0x124744(%ecx)            
  110bd2:	75 06                	jne    110bda <_POSIX_signals_Check_signal+0x5e>
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
  110bd4:	50                   	push   %eax                           
  110bd5:	6a 00                	push   $0x0                           
  110bd7:	57                   	push   %edi                           
  110bd8:	eb 03                	jmp    110bdd <_POSIX_signals_Check_signal+0x61>
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
  110bda:	83 ec 0c             	sub    $0xc,%esp                      
  110bdd:	56                   	push   %esi                           
  110bde:	ff d2                	call   *%edx                          
      break;                                                          
  110be0:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
  110be3:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  110be6:	89 83 cc 00 00 00    	mov    %eax,0xcc(%ebx)                
                                                                      
  return true;                                                        
  110bec:	b0 01                	mov    $0x1,%al                       
}                                                                     
  110bee:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110bf1:	5b                   	pop    %ebx                           
  110bf2:	5e                   	pop    %esi                           
  110bf3:	5f                   	pop    %edi                           
  110bf4:	c9                   	leave                                 
  110bf5:	c3                   	ret                                   
                                                                      

001110ec <_POSIX_signals_Clear_process_signals>: */ void _POSIX_signals_Clear_process_signals( int signo ) {
  1110ec:	55                   	push   %ebp                           
  1110ed:	89 e5                	mov    %esp,%ebp                      
  1110ef:	53                   	push   %ebx                           
  1110f0:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
  1110f3:	9c                   	pushf                                 
  1110f4:	fa                   	cli                                   
  1110f5:	5a                   	pop    %edx                           
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
  1110f6:	6b c1 0c             	imul   $0xc,%ecx,%eax                 
  1110f9:	83 b8 44 47 12 00 02 	cmpl   $0x2,0x124744(%eax)            
  111100:	75 0e                	jne    111110 <_POSIX_signals_Clear_process_signals+0x24>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  111102:	8d 98 40 49 12 00    	lea    0x124940(%eax),%ebx            
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
  111108:	39 98 3c 49 12 00    	cmp    %ebx,0x12493c(%eax)            
  11110e:	75 0e                	jne    11111e <_POSIX_signals_Clear_process_signals+0x32><== NEVER TAKEN
  111110:	49                   	dec    %ecx                           
  111111:	b8 fe ff ff ff       	mov    $0xfffffffe,%eax               
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
  111116:	d3 c0                	rol    %cl,%eax                       
  111118:	21 05 38 49 12 00    	and    %eax,0x124938                  
    }                                                                 
  _ISR_Enable( level );                                               
  11111e:	52                   	push   %edx                           
  11111f:	9d                   	popf                                  
}                                                                     
  111120:	5b                   	pop    %ebx                           
  111121:	c9                   	leave                                 
  111122:	c3                   	ret                                   
                                                                      

0010abd4 <_POSIX_signals_Get_highest>: #include <rtems/score/isr.h> int _POSIX_signals_Get_highest( sigset_t set ) {
  10abd4:	55                   	push   %ebp                           
  10abd5:	89 e5                	mov    %esp,%ebp                      
  10abd7:	56                   	push   %esi                           
  10abd8:	53                   	push   %ebx                           
  10abd9:	8b 55 08             	mov    0x8(%ebp),%edx                 
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
  10abdc:	b8 1b 00 00 00       	mov    $0x1b,%eax                     
  10abe1:	bb 01 00 00 00       	mov    $0x1,%ebx                      
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_highest(                                       
  10abe6:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  10abe9:	89 de                	mov    %ebx,%esi                      
  10abeb:	d3 e6                	shl    %cl,%esi                       
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
  10abed:	85 d6                	test   %edx,%esi                      
  10abef:	75 1e                	jne    10ac0f <_POSIX_signals_Get_highest+0x3b><== NEVER TAKEN
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
  10abf1:	40                   	inc    %eax                           
  10abf2:	83 f8 20             	cmp    $0x20,%eax                     
  10abf5:	75 ef                	jne    10abe6 <_POSIX_signals_Get_highest+0x12>
  10abf7:	b0 01                	mov    $0x1,%al                       
  10abf9:	bb 01 00 00 00       	mov    $0x1,%ebx                      
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_highest(                                       
  10abfe:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  10ac01:	89 de                	mov    %ebx,%esi                      
  10ac03:	d3 e6                	shl    %cl,%esi                       
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
  10ac05:	85 d6                	test   %edx,%esi                      
  10ac07:	75 06                	jne    10ac0f <_POSIX_signals_Get_highest+0x3b>
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
  10ac09:	40                   	inc    %eax                           
  10ac0a:	83 f8 1b             	cmp    $0x1b,%eax                     
  10ac0d:	75 ef                	jne    10abfe <_POSIX_signals_Get_highest+0x2a><== ALWAYS TAKEN
   *  a return 0.  This routine will NOT be called unless a signal    
   *  is pending in the set passed in.                                
   */                                                                 
found_it:                                                             
  return signo;                                                       
}                                                                     
  10ac0f:	5b                   	pop    %ebx                           
  10ac10:	5e                   	pop    %esi                           
  10ac11:	c9                   	leave                                 
  10ac12:	c3                   	ret                                   
                                                                      

00121af8 <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
  121af8:	55                   	push   %ebp                           
  121af9:	89 e5                	mov    %esp,%ebp                      
  121afb:	57                   	push   %edi                           
  121afc:	56                   	push   %esi                           
  121afd:	53                   	push   %ebx                           
  121afe:	83 ec 0c             	sub    $0xc,%esp                      
  121b01:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  121b04:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  POSIX_API_Control  *api;                                            
  sigset_t            mask;                                           
  siginfo_t          *the_info = NULL;                                
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  121b07:	8b 83 f8 00 00 00    	mov    0xf8(%ebx),%eax                
  121b0d:	8d 4e ff             	lea    -0x1(%esi),%ecx                
  121b10:	ba 01 00 00 00       	mov    $0x1,%edx                      
  121b15:	d3 e2                	shl    %cl,%edx                       
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
  121b17:	8b 4b 10             	mov    0x10(%ebx),%ecx                
  121b1a:	89 cf                	mov    %ecx,%edi                      
  121b1c:	81 e7 00 80 00 10    	and    $0x10008000,%edi               
  121b22:	81 ff 00 80 00 10    	cmp    $0x10008000,%edi               
  121b28:	75 55                	jne    121b7f <_POSIX_signals_Unblock_thread+0x87>
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
  121b2a:	85 53 30             	test   %edx,0x30(%ebx)                
  121b2d:	75 12                	jne    121b41 <_POSIX_signals_Unblock_thread+0x49>
  121b2f:	8b 88 cc 00 00 00    	mov    0xcc(%eax),%ecx                
  121b35:	f7 d1                	not    %ecx                           
                                                                      
    /*                                                                
     *  This should only be reached via pthread_kill().               
     */                                                               
                                                                      
    return false;                                                     
  121b37:	31 c0                	xor    %eax,%eax                      
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
  121b39:	85 ca                	test   %ecx,%edx                      
  121b3b:	0f 84 a5 00 00 00    	je     121be6 <_POSIX_signals_Unblock_thread+0xee>
      the_thread->Wait.return_code = EINTR;                           
  121b41:	c7 43 34 04 00 00 00 	movl   $0x4,0x34(%ebx)                
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
  121b48:	8b 43 28             	mov    0x28(%ebx),%eax                
                                                                      
      if ( !info ) {                                                  
  121b4b:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  121b4f:	75 12                	jne    121b63 <_POSIX_signals_Unblock_thread+0x6b>
        the_info->si_signo = signo;                                   
  121b51:	89 30                	mov    %esi,(%eax)                    
        the_info->si_code = SI_USER;                                  
  121b53:	c7 40 04 01 00 00 00 	movl   $0x1,0x4(%eax)                 
        the_info->si_value.sival_int = 0;                             
  121b5a:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
  121b61:	eb 0c                	jmp    121b6f <_POSIX_signals_Unblock_thread+0x77>
      } else {                                                        
        *the_info = *info;                                            
  121b63:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  121b68:	89 c7                	mov    %eax,%edi                      
  121b6a:	8b 75 10             	mov    0x10(%ebp),%esi                
  121b6d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
  121b6f:	83 ec 0c             	sub    $0xc,%esp                      
  121b72:	53                   	push   %ebx                           
  121b73:	e8 10 f2 fe ff       	call   110d88 <_Thread_queue_Extract_with_proxy>
      return true;                                                    
  121b78:	83 c4 10             	add    $0x10,%esp                     
  121b7b:	b0 01                	mov    $0x1,%al                       
  121b7d:	eb 67                	jmp    121be6 <_POSIX_signals_Unblock_thread+0xee>
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
  121b7f:	8b b0 cc 00 00 00    	mov    0xcc(%eax),%esi                
  121b85:	f7 d6                	not    %esi                           
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	_Context_Switch_necessary = true;                                    
    }                                                                 
  }                                                                   
  return false;                                                       
  121b87:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
  121b89:	85 f2                	test   %esi,%edx                      
  121b8b:	74 59                	je     121be6 <_POSIX_signals_Unblock_thread+0xee>
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    if ( the_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL ) {
  121b8d:	f7 c1 00 00 00 10    	test   $0x10000000,%ecx               
  121b93:	74 35                	je     121bca <_POSIX_signals_Unblock_thread+0xd2>
      the_thread->Wait.return_code = EINTR;                           
  121b95:	c7 43 34 04 00 00 00 	movl   $0x4,0x34(%ebx)                
      #if 0                                                           
	if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) ) 
	  _Thread_queue_Extract_with_proxy( the_thread );                    
	else                                                                 
      #endif                                                          
	  if ( _States_Is_delaying(the_thread->current_state) ){             
  121b9c:	80 e1 08             	and    $0x8,%cl                       
  121b9f:	74 45                	je     121be6 <_POSIX_signals_Unblock_thread+0xee><== NEVER TAKEN
	    if ( _Watchdog_Is_active( &the_thread->Timer ) )                 
  121ba1:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  121ba5:	75 0f                	jne    121bb6 <_POSIX_signals_Unblock_thread+0xbe><== NEVER TAKEN
	      (void) _Watchdog_Remove( &the_thread->Timer );                 
  121ba7:	83 ec 0c             	sub    $0xc,%esp                      
  121baa:	8d 43 48             	lea    0x48(%ebx),%eax                
  121bad:	50                   	push   %eax                           
  121bae:	e8 61 fa fe ff       	call   111614 <_Watchdog_Remove>      
  121bb3:	83 c4 10             	add    $0x10,%esp                     
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  121bb6:	50                   	push   %eax                           
  121bb7:	50                   	push   %eax                           
  121bb8:	68 f8 ff 03 10       	push   $0x1003fff8                    
  121bbd:	53                   	push   %ebx                           
  121bbe:	e8 f1 e7 fe ff       	call   1103b4 <_Thread_Clear_state>   
  121bc3:	83 c4 10             	add    $0x10,%esp                     
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	_Context_Switch_necessary = true;                                    
    }                                                                 
  }                                                                   
  return false;                                                       
  121bc6:	31 c0                	xor    %eax,%eax                      
  121bc8:	eb 1c                	jmp    121be6 <_POSIX_signals_Unblock_thread+0xee>
	  if ( _States_Is_delaying(the_thread->current_state) ){             
	    if ( _Watchdog_Is_active( &the_thread->Timer ) )                 
	      (void) _Watchdog_Remove( &the_thread->Timer );                 
	    _Thread_Unblock( the_thread );                                   
	  }                                                                  
    } else if ( the_thread->current_state == STATES_READY ) {         
  121bca:	85 c9                	test   %ecx,%ecx                      
  121bcc:	75 18                	jne    121be6 <_POSIX_signals_Unblock_thread+0xee><== NEVER TAKEN
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  121bce:	83 3d a4 a8 12 00 00 	cmpl   $0x0,0x12a8a4                  
  121bd5:	74 0f                	je     121be6 <_POSIX_signals_Unblock_thread+0xee>
  121bd7:	3b 1d a8 a8 12 00    	cmp    0x12a8a8,%ebx                  
  121bdd:	75 07                	jne    121be6 <_POSIX_signals_Unblock_thread+0xee><== NEVER TAKEN
	_Context_Switch_necessary = true;                                    
  121bdf:	c6 05 b4 a8 12 00 01 	movb   $0x1,0x12a8b4                  
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
  121be6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  121be9:	5b                   	pop    %ebx                           
  121bea:	5e                   	pop    %esi                           
  121beb:	5f                   	pop    %edi                           
  121bec:	c9                   	leave                                 
  121bed:	c3                   	ret                                   
                                                                      

0010ef19 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
  10ef19:	55                   	push   %ebp                           
  10ef1a:	89 e5                	mov    %esp,%ebp                      
  10ef1c:	57                   	push   %edi                           
  10ef1d:	56                   	push   %esi                           
  10ef1e:	53                   	push   %ebx                           
  10ef1f:	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 ];                
  10ef22:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10ef25:	8b 98 f4 00 00 00    	mov    0xf4(%eax),%ebx                
  if ( !api )                                                         
  10ef2b:	85 db                	test   %ebx,%ebx                      
  10ef2d:	74 45                	je     10ef74 <_RTEMS_tasks_Post_switch_extension+0x5b><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
  10ef2f:	9c                   	pushf                                 
  10ef30:	fa                   	cli                                   
  10ef31:	58                   	pop    %eax                           
    signal_set = asr->signals_posted;                                 
  10ef32:	8b 7b 14             	mov    0x14(%ebx),%edi                
    asr->signals_posted = 0;                                          
  10ef35:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
  _ISR_Enable( level );                                               
  10ef3c:	50                   	push   %eax                           
  10ef3d:	9d                   	popf                                  
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
  10ef3e:	85 ff                	test   %edi,%edi                      
  10ef40:	74 32                	je     10ef74 <_RTEMS_tasks_Post_switch_extension+0x5b>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
  10ef42:	ff 43 1c             	incl   0x1c(%ebx)                     
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
  10ef45:	50                   	push   %eax                           
  10ef46:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10ef49:	56                   	push   %esi                           
  10ef4a:	68 ff ff 00 00       	push   $0xffff                        
  10ef4f:	ff 73 10             	pushl  0x10(%ebx)                     
  10ef52:	e8 09 1e 00 00       	call   110d60 <rtems_task_mode>       
                                                                      
  (*asr->handler)( signal_set );                                      
  10ef57:	89 3c 24             	mov    %edi,(%esp)                    
  10ef5a:	ff 53 0c             	call   *0xc(%ebx)                     
                                                                      
  asr->nest_level -= 1;                                               
  10ef5d:	ff 4b 1c             	decl   0x1c(%ebx)                     
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
  10ef60:	83 c4 0c             	add    $0xc,%esp                      
  10ef63:	56                   	push   %esi                           
  10ef64:	68 ff ff 00 00       	push   $0xffff                        
  10ef69:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10ef6c:	e8 ef 1d 00 00       	call   110d60 <rtems_task_mode>       
  10ef71:	83 c4 10             	add    $0x10,%esp                     
                                                                      
}                                                                     
  10ef74:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ef77:	5b                   	pop    %ebx                           
  10ef78:	5e                   	pop    %esi                           
  10ef79:	5f                   	pop    %edi                           
  10ef7a:	c9                   	leave                                 
  10ef7b:	c3                   	ret                                   
                                                                      

0010b42c <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
  10b42c:	55                   	push   %ebp                           
  10b42d:	89 e5                	mov    %esp,%ebp                      
  10b42f:	53                   	push   %ebx                           
  10b430:	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 );                  
  10b433:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b436:	50                   	push   %eax                           
  10b437:	ff 75 08             	pushl  0x8(%ebp)                      
  10b43a:	68 14 72 12 00       	push   $0x127214                      
  10b43f:	e8 dc 1a 00 00       	call   10cf20 <_Objects_Get>          
  10b444:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10b446:	83 c4 10             	add    $0x10,%esp                     
  10b449:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10b44d:	75 64                	jne    10b4b3 <_Rate_monotonic_Timeout+0x87><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
  10b44f:	8b 40 40             	mov    0x40(%eax),%eax                
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
  10b452:	f6 40 11 40          	testb  $0x40,0x11(%eax)               
  10b456:	74 18                	je     10b470 <_Rate_monotonic_Timeout+0x44>
  10b458:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10b45b:	39 50 20             	cmp    %edx,0x20(%eax)                
  10b45e:	75 10                	jne    10b470 <_Rate_monotonic_Timeout+0x44>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10b460:	52                   	push   %edx                           
  10b461:	52                   	push   %edx                           
  10b462:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b467:	50                   	push   %eax                           
  10b468:	e8 1b 1f 00 00       	call   10d388 <_Thread_Clear_state>   
            the_thread->Wait.id == the_period->Object.id ) {          
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b46d:	59                   	pop    %ecx                           
  10b46e:	eb 10                	jmp    10b480 <_Rate_monotonic_Timeout+0x54>
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
  10b470:	83 7b 38 01          	cmpl   $0x1,0x38(%ebx)                
  10b474:	75 2b                	jne    10b4a1 <_Rate_monotonic_Timeout+0x75>
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
  10b476:	c7 43 38 03 00 00 00 	movl   $0x3,0x38(%ebx)                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b47d:	83 ec 0c             	sub    $0xc,%esp                      
  10b480:	53                   	push   %ebx                           
  10b481:	e8 e8 fa ff ff       	call   10af6e <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b486:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  10b489:	89 43 1c             	mov    %eax,0x1c(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b48c:	58                   	pop    %eax                           
  10b48d:	5a                   	pop    %edx                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
  10b48e:	83 c3 10             	add    $0x10,%ebx                     
  10b491:	53                   	push   %ebx                           
  10b492:	68 d0 73 12 00       	push   $0x1273d0                      
  10b497:	e8 c8 31 00 00       	call   10e664 <_Watchdog_Insert>      
  10b49c:	83 c4 10             	add    $0x10,%esp                     
  10b49f:	eb 07                	jmp    10b4a8 <_Rate_monotonic_Timeout+0x7c>
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
  10b4a1:	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;                                
  10b4a8:	a1 08 73 12 00       	mov    0x127308,%eax                  
  10b4ad:	48                   	dec    %eax                           
  10b4ae:	a3 08 73 12 00       	mov    %eax,0x127308                  
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  10b4b3:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b4b6:	c9                   	leave                                 
  10b4b7:	c3                   	ret                                   
                                                                      

0010ad34 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
  10ad34:	55                   	push   %ebp                           
  10ad35:	89 e5                	mov    %esp,%ebp                      
  10ad37:	56                   	push   %esi                           
  10ad38:	53                   	push   %ebx                           
  10ad39:	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();                 
  10ad3c:	8b 35 64 44 12 00    	mov    0x124464,%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;                                                    
  10ad42:	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)                                  ||                  
  10ad44:	85 c9                	test   %ecx,%ecx                      
  10ad46:	74 57                	je     10ad9f <_TOD_Validate+0x6b>    <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
  10ad48:	b8 40 42 0f 00       	mov    $0xf4240,%eax                  
  10ad4d:	31 d2                	xor    %edx,%edx                      
  10ad4f:	f7 f6                	div    %esi                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10ad51:	39 41 18             	cmp    %eax,0x18(%ecx)                
  10ad54:	73 49                	jae    10ad9f <_TOD_Validate+0x6b>    
      (the_tod->ticks  >= ticks_per_second)       ||                  
  10ad56:	83 79 14 3b          	cmpl   $0x3b,0x14(%ecx)               
  10ad5a:	77 43                	ja     10ad9f <_TOD_Validate+0x6b>    
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
  10ad5c:	83 79 10 3b          	cmpl   $0x3b,0x10(%ecx)               
  10ad60:	77 3d                	ja     10ad9f <_TOD_Validate+0x6b>    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
  10ad62:	83 79 0c 17          	cmpl   $0x17,0xc(%ecx)                
  10ad66:	77 37                	ja     10ad9f <_TOD_Validate+0x6b>    
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
  10ad68:	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)      ||                  
  10ad6b:	85 c0                	test   %eax,%eax                      
  10ad6d:	74 30                	je     10ad9f <_TOD_Validate+0x6b>    <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
  10ad6f:	83 f8 0c             	cmp    $0xc,%eax                      
  10ad72:	77 2b                	ja     10ad9f <_TOD_Validate+0x6b>    
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
  10ad74:	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)    ||                  
  10ad76:	81 fe c3 07 00 00    	cmp    $0x7c3,%esi                    
  10ad7c:	76 21                	jbe    10ad9f <_TOD_Validate+0x6b>    
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
  10ad7e:	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)          ||                  
  10ad81:	85 d2                	test   %edx,%edx                      
  10ad83:	74 1a                	je     10ad9f <_TOD_Validate+0x6b>    <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
  10ad85:	83 e6 03             	and    $0x3,%esi                      
  10ad88:	75 09                	jne    10ad93 <_TOD_Validate+0x5f>    
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  10ad8a:	8b 04 85 60 16 12 00 	mov    0x121660(,%eax,4),%eax         
  10ad91:	eb 07                	jmp    10ad9a <_TOD_Validate+0x66>    
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
  10ad93:	8b 04 85 2c 16 12 00 	mov    0x12162c(,%eax,4),%eax         
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  10ad9a:	39 c2                	cmp    %eax,%edx                      
  10ad9c:	0f 96 c3             	setbe  %bl                            
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  10ad9f:	88 d8                	mov    %bl,%al                        
  10ada1:	5b                   	pop    %ebx                           
  10ada2:	5e                   	pop    %esi                           
  10ada3:	c9                   	leave                                 
  10ada4:	c3                   	ret                                   
                                                                      

0010bac8 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
  10bac8:	55                   	push   %ebp                           
  10bac9:	89 e5                	mov    %esp,%ebp                      
  10bacb:	57                   	push   %edi                           
  10bacc:	56                   	push   %esi                           
  10bacd:	53                   	push   %ebx                           
  10bace:	83 ec 28             	sub    $0x28,%esp                     
  10bad1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10bad4:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10bad7:	8a 45 10             	mov    0x10(%ebp),%al                 
  10bada:	88 45 e7             	mov    %al,-0x19(%ebp)                
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
  10badd:	8b 73 10             	mov    0x10(%ebx),%esi                
  /*                                                                  
   * Set a transient state for the thread so it is pulled off the Ready chains.
   * This will prevent it from being scheduled no matter what happens in an
   * ISR.                                                             
   */                                                                 
  _Thread_Set_transient( the_thread );                                
  10bae0:	53                   	push   %ebx                           
  10bae1:	e8 42 0d 00 00       	call   10c828 <_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 )                  
  10bae6:	83 c4 10             	add    $0x10,%esp                     
  10bae9:	39 7b 14             	cmp    %edi,0x14(%ebx)                
  10baec:	74 0c                	je     10bafa <_Thread_Change_priority+0x32>
    _Thread_Set_priority( the_thread, new_priority );                 
  10baee:	50                   	push   %eax                           
  10baef:	50                   	push   %eax                           
  10baf0:	57                   	push   %edi                           
  10baf1:	53                   	push   %ebx                           
  10baf2:	e8 f9 0b 00 00       	call   10c6f0 <_Thread_Set_priority>  
  10baf7:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _ISR_Disable( level );                                              
  10bafa:	9c                   	pushf                                 
  10bafb:	fa                   	cli                                   
  10bafc:	59                   	pop    %ecx                           
                                                                      
  /*                                                                  
   *  If the thread has more than STATES_TRANSIENT set, then it is blocked,
   *  If it is blocked on a thread queue, then we need to requeue it. 
   */                                                                 
  state = the_thread->current_state;                                  
  10bafd:	8b 43 10             	mov    0x10(%ebx),%eax                
  if ( state != STATES_TRANSIENT ) {                                  
  10bb00:	83 f8 04             	cmp    $0x4,%eax                      
  10bb03:	74 2f                	je     10bb34 <_Thread_Change_priority+0x6c>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
  10bb05:	83 e6 04             	and    $0x4,%esi                      
  10bb08:	75 08                	jne    10bb12 <_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);                         
  10bb0a:	89 c2                	mov    %eax,%edx                      
  10bb0c:	83 e2 fb             	and    $0xfffffffb,%edx               
  10bb0f:	89 53 10             	mov    %edx,0x10(%ebx)                
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
  10bb12:	51                   	push   %ecx                           
  10bb13:	9d                   	popf                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
  10bb14:	a9 e0 be 03 00       	test   $0x3bee0,%eax                  
  10bb19:	0f 84 c0 00 00 00    	je     10bbdf <_Thread_Change_priority+0x117>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
  10bb1f:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10bb22:	8b 43 44             	mov    0x44(%ebx),%eax                
  10bb25:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  _ISR_Enable( level );                                               
}                                                                     
  10bb28:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bb2b:	5b                   	pop    %ebx                           
  10bb2c:	5e                   	pop    %esi                           
  10bb2d:	5f                   	pop    %edi                           
  10bb2e:	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 );    
  10bb2f:	e9 34 0b 00 00       	jmp    10c668 <_Thread_queue_Requeue> 
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
  10bb34:	83 e6 04             	and    $0x4,%esi                      
  10bb37:	75 53                	jne    10bb8c <_Thread_Change_priority+0xc4><== NEVER TAKEN
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
  10bb39:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10bb40:	8b 83 90 00 00 00    	mov    0x90(%ebx),%eax                
  10bb46:	66 8b 93 96 00 00 00 	mov    0x96(%ebx),%dx                 
  10bb4d:	66 09 10             	or     %dx,(%eax)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10bb50:	66 a1 88 42 12 00    	mov    0x124288,%ax                   
  10bb56:	0b 83 94 00 00 00    	or     0x94(%ebx),%eax                
  10bb5c:	66 a3 88 42 12 00    	mov    %ax,0x124288                   
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
  10bb62:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  10bb66:	8b 83 8c 00 00 00    	mov    0x8c(%ebx),%eax                
  10bb6c:	74 0e                	je     10bb7c <_Thread_Change_priority+0xb4>
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  10bb6e:	89 43 04             	mov    %eax,0x4(%ebx)                 
  before_node           = after_node->next;                           
  10bb71:	8b 10                	mov    (%eax),%edx                    
  after_node->next      = the_node;                                   
  10bb73:	89 18                	mov    %ebx,(%eax)                    
  the_node->next        = before_node;                                
  10bb75:	89 13                	mov    %edx,(%ebx)                    
  before_node->previous = the_node;                                   
  10bb77:	89 5a 04             	mov    %ebx,0x4(%edx)                 
  10bb7a:	eb 10                	jmp    10bb8c <_Thread_Change_priority+0xc4>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10bb7c:	8d 50 04             	lea    0x4(%eax),%edx                 
  10bb7f:	89 13                	mov    %edx,(%ebx)                    
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  10bb81:	8b 50 08             	mov    0x8(%eax),%edx                 
  the_chain->last     = the_node;                                     
  10bb84:	89 58 08             	mov    %ebx,0x8(%eax)                 
  old_last_node->next = the_node;                                     
  10bb87:	89 1a                	mov    %ebx,(%edx)                    
  the_node->previous  = old_last_node;                                
  10bb89:	89 53 04             	mov    %edx,0x4(%ebx)                 
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
  10bb8c:	51                   	push   %ecx                           
  10bb8d:	9d                   	popf                                  
  10bb8e:	fa                   	cli                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void )   
{                                                                     
  Priority_Bit_map_control minor;                                     
  Priority_Bit_map_control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  10bb8f:	66 8b 1d 88 42 12 00 	mov    0x124288,%bx                   
  10bb96:	31 c0                	xor    %eax,%eax                      
  10bb98:	89 c2                	mov    %eax,%edx                      
  10bb9a:	66 0f bc d3          	bsf    %bx,%dx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10bb9e:	0f b7 d2             	movzwl %dx,%edx                       
  10bba1:	66 8b 9c 12 f8 42 12 	mov    0x1242f8(%edx,%edx,1),%bx      
  10bba8:	00                                                          
  10bba9:	66 0f bc c3          	bsf    %bx,%ax                        
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
  10bbad:	c1 e2 04             	shl    $0x4,%edx                      
  10bbb0:	0f b7 c0             	movzwl %ax,%eax                       
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
    _Thread_Ready_chain[ _Priority_Get_highest() ].first;             
  10bbb3:	8d 04 02             	lea    (%edx,%eax,1),%eax             
  10bbb6:	6b c0 0c             	imul   $0xc,%eax,%eax                 
  10bbb9:	03 05 b0 41 12 00    	add    0x1241b0,%eax                  
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
  10bbbf:	8b 10                	mov    (%eax),%edx                    
  10bbc1:	89 15 38 47 12 00    	mov    %edx,0x124738                  
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
  10bbc7:	a1 34 47 12 00       	mov    0x124734,%eax                  
   *  We altered the set of thread priorities.  So let's figure out   
   *  who is the heir and if we need to switch to them.               
   */                                                                 
  _Thread_Calculate_heir();                                           
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
  10bbcc:	39 d0                	cmp    %edx,%eax                      
  10bbce:	74 0d                	je     10bbdd <_Thread_Change_priority+0x115>
  10bbd0:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10bbd4:	74 07                	je     10bbdd <_Thread_Change_priority+0x115>
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  10bbd6:	c6 05 40 47 12 00 01 	movb   $0x1,0x124740                  
  _ISR_Enable( level );                                               
  10bbdd:	51                   	push   %ecx                           
  10bbde:	9d                   	popf                                  
}                                                                     
  10bbdf:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bbe2:	5b                   	pop    %ebx                           
  10bbe3:	5e                   	pop    %esi                           
  10bbe4:	5f                   	pop    %edi                           
  10bbe5:	c9                   	leave                                 
  10bbe6:	c3                   	ret                                   
                                                                      

0010bbe8 <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
  10bbe8:	55                   	push   %ebp                           
  10bbe9:	89 e5                	mov    %esp,%ebp                      
  10bbeb:	53                   	push   %ebx                           
  10bbec:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10bbef:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10bbf2:	9c                   	pushf                                 
  10bbf3:	fa                   	cli                                   
  10bbf4:	59                   	pop    %ecx                           
    current_state = the_thread->current_state;                        
  10bbf5:	8b 58 10             	mov    0x10(%eax),%ebx                
                                                                      
    if ( current_state & state ) {                                    
  10bbf8:	85 da                	test   %ebx,%edx                      
  10bbfa:	74 71                	je     10bc6d <_Thread_Clear_state+0x85>
  10bbfc:	f7 d2                	not    %edx                           
  10bbfe:	21 da                	and    %ebx,%edx                      
      current_state =                                                 
      the_thread->current_state = _States_Clear( state, current_state );
  10bc00:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
  10bc03:	85 d2                	test   %edx,%edx                      
  10bc05:	75 66                	jne    10bc6d <_Thread_Clear_state+0x85>
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10bc07:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10bc0d:	66 8b 98 96 00 00 00 	mov    0x96(%eax),%bx                 
  10bc14:	66 09 1a             	or     %bx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10bc17:	66 8b 15 88 42 12 00 	mov    0x124288,%dx                   
  10bc1e:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  10bc24:	66 89 15 88 42 12 00 	mov    %dx,0x124288                   
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  10bc2b:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10bc31:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10bc34:	89 18                	mov    %ebx,(%eax)                    
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  10bc36:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10bc39:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10bc3c:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10bc3e:	89 58 04             	mov    %ebx,0x4(%eax)                 
                                                                      
        _ISR_Flash( level );                                          
  10bc41:	51                   	push   %ecx                           
  10bc42:	9d                   	popf                                  
  10bc43:	fa                   	cli                                   
         *    a context switch.                                       
         *  Pseudo-ISR case:                                          
         *    Even if the thread isn't preemptible, if the new heir is
         *    a pseudo-ISR system task, we need to do a context switch.
         */                                                           
        if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
  10bc44:	8b 50 14             	mov    0x14(%eax),%edx                
  10bc47:	8b 1d 38 47 12 00    	mov    0x124738,%ebx                  
  10bc4d:	3b 53 14             	cmp    0x14(%ebx),%edx                
  10bc50:	73 1b                	jae    10bc6d <_Thread_Clear_state+0x85>
          _Thread_Heir = the_thread;                                  
  10bc52:	a3 38 47 12 00       	mov    %eax,0x124738                  
          if ( _Thread_Executing->is_preemptible ||                   
  10bc57:	a1 34 47 12 00       	mov    0x124734,%eax                  
  10bc5c:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10bc60:	75 04                	jne    10bc66 <_Thread_Clear_state+0x7e>
  10bc62:	85 d2                	test   %edx,%edx                      
  10bc64:	75 07                	jne    10bc6d <_Thread_Clear_state+0x85><== ALWAYS TAKEN
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
  10bc66:	c6 05 40 47 12 00 01 	movb   $0x1,0x124740                  
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
  10bc6d:	51                   	push   %ecx                           
  10bc6e:	9d                   	popf                                  
}                                                                     
  10bc6f:	5b                   	pop    %ebx                           
  10bc70:	c9                   	leave                                 
  10bc71:	c3                   	ret                                   
                                                                      

0010bde8 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10bde8:	55                   	push   %ebp                           
  10bde9:	89 e5                	mov    %esp,%ebp                      
  10bdeb:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10bdee:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bdf1:	50                   	push   %eax                           
  10bdf2:	ff 75 08             	pushl  0x8(%ebp)                      
  10bdf5:	e8 82 01 00 00       	call   10bf7c <_Thread_Get>           
  switch ( location ) {                                               
  10bdfa:	83 c4 10             	add    $0x10,%esp                     
  10bdfd:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10be01:	75 1b                	jne    10be1e <_Thread_Delay_ended+0x36><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
  10be03:	52                   	push   %edx                           
  10be04:	52                   	push   %edx                           
  10be05:	68 18 00 00 10       	push   $0x10000018                    
  10be0a:	50                   	push   %eax                           
  10be0b:	e8 d8 fd ff ff       	call   10bbe8 <_Thread_Clear_state>   
  10be10:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  10be15:	48                   	dec    %eax                           
  10be16:	a3 e4 41 12 00       	mov    %eax,0x1241e4                  
  10be1b:	83 c4 10             	add    $0x10,%esp                     
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10be1e:	c9                   	leave                                 
  10be1f:	c3                   	ret                                   
                                                                      

0010be20 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
  10be20:	55                   	push   %ebp                           
  10be21:	89 e5                	mov    %esp,%ebp                      
  10be23:	57                   	push   %edi                           
  10be24:	56                   	push   %esi                           
  10be25:	53                   	push   %ebx                           
  10be26:	83 ec 1c             	sub    $0x1c,%esp                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  10be29:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
  _ISR_Disable( level );                                              
  10be2f:	9c                   	pushf                                 
  10be30:	fa                   	cli                                   
  10be31:	58                   	pop    %eax                           
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
  10be32:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
  10be35:	e9 f9 00 00 00       	jmp    10bf33 <_Thread_Dispatch+0x113>
    heir = _Thread_Heir;                                              
  10be3a:	8b 35 38 47 12 00    	mov    0x124738,%esi                  
    _Thread_Dispatch_disable_level = 1;                               
  10be40:	c7 05 e4 41 12 00 01 	movl   $0x1,0x1241e4                  
  10be47:	00 00 00                                                    
    _Context_Switch_necessary = false;                                
  10be4a:	c6 05 40 47 12 00 00 	movb   $0x0,0x124740                  
    _Thread_Executing = heir;                                         
  10be51:	89 35 34 47 12 00    	mov    %esi,0x124734                  
    /*                                                                
     *  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 )                                          
  10be57:	39 de                	cmp    %ebx,%esi                      
  10be59:	0f 84 e2 00 00 00    	je     10bf41 <_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 )
  10be5f:	83 7e 7c 01          	cmpl   $0x1,0x7c(%esi)                
  10be63:	75 09                	jne    10be6e <_Thread_Dispatch+0x4e> 
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
  10be65:	8b 15 b4 41 12 00    	mov    0x1241b4,%edx                  
  10be6b:	89 56 78             	mov    %edx,0x78(%esi)                
                                                                      
    _ISR_Enable( level );                                             
  10be6e:	50                   	push   %eax                           
  10be6f:	9d                   	popf                                  
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
  10be70:	83 ec 0c             	sub    $0xc,%esp                      
  10be73:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10be76:	50                   	push   %eax                           
  10be77:	e8 d4 34 00 00       	call   10f350 <_TOD_Get_uptime>       
        _Timestamp_Subtract(                                          
  10be7c:	83 c4 0c             	add    $0xc,%esp                      
  10be7f:	57                   	push   %edi                           
  10be80:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10be83:	50                   	push   %eax                           
  10be84:	68 98 42 12 00       	push   $0x124298                      
  10be89:	e8 36 0c 00 00       	call   10cac4 <_Timespec_Subtract>    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
  10be8e:	58                   	pop    %eax                           
  10be8f:	5a                   	pop    %edx                           
  10be90:	57                   	push   %edi                           
  10be91:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  10be97:	50                   	push   %eax                           
  10be98:	e8 f7 0b 00 00       	call   10ca94 <_Timespec_Add_to>      
        _Thread_Time_of_last_context_switch = uptime;                 
  10be9d:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10bea0:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bea3:	a3 98 42 12 00       	mov    %eax,0x124298                  
  10bea8:	89 15 9c 42 12 00    	mov    %edx,0x12429c                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
  10beae:	a1 6c 42 12 00       	mov    0x12426c,%eax                  
  10beb3:	83 c4 10             	add    $0x10,%esp                     
  10beb6:	85 c0                	test   %eax,%eax                      
  10beb8:	74 10                	je     10beca <_Thread_Dispatch+0xaa> <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
  10beba:	8b 10                	mov    (%eax),%edx                    
  10bebc:	89 93 f0 00 00 00    	mov    %edx,0xf0(%ebx)                
      *_Thread_libc_reent = heir->libc_reent;                         
  10bec2:	8b 96 f0 00 00 00    	mov    0xf0(%esi),%edx                
  10bec8:	89 10                	mov    %edx,(%eax)                    
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
  10beca:	51                   	push   %ecx                           
  10becb:	51                   	push   %ecx                           
  10becc:	56                   	push   %esi                           
  10becd:	53                   	push   %ebx                           
  10bece:	e8 29 0e 00 00       	call   10ccfc <_User_extensions_Thread_switch>
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
  10bed3:	58                   	pop    %eax                           
  10bed4:	5a                   	pop    %edx                           
  10bed5:	81 c6 d4 00 00 00    	add    $0xd4,%esi                     
  10bedb:	56                   	push   %esi                           
  10bedc:	8d 83 d4 00 00 00    	lea    0xd4(%ebx),%eax                
  10bee2:	50                   	push   %eax                           
  10bee3:	e8 d8 10 00 00       	call   10cfc0 <_CPU_Context_switch>   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
  10bee8:	83 c4 10             	add    $0x10,%esp                     
  10beeb:	83 bb ec 00 00 00 00 	cmpl   $0x0,0xec(%ebx)                
  10bef2:	74 36                	je     10bf2a <_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 );                      
  10bef4:	a1 68 42 12 00       	mov    0x124268,%eax                  
  10bef9:	39 c3                	cmp    %eax,%ebx                      
  10befb:	74 2d                	je     10bf2a <_Thread_Dispatch+0x10a>
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
  10befd:	85 c0                	test   %eax,%eax                      
  10beff:	74 11                	je     10bf12 <_Thread_Dispatch+0xf2> 
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
  10bf01:	83 ec 0c             	sub    $0xc,%esp                      
  10bf04:	05 ec 00 00 00       	add    $0xec,%eax                     
  10bf09:	50                   	push   %eax                           
  10bf0a:	e8 e5 10 00 00       	call   10cff4 <_CPU_Context_save_fp>  
  10bf0f:	83 c4 10             	add    $0x10,%esp                     
      _Context_Restore_fp( &executing->fp_context );                  
  10bf12:	83 ec 0c             	sub    $0xc,%esp                      
  10bf15:	8d 83 ec 00 00 00    	lea    0xec(%ebx),%eax                
  10bf1b:	50                   	push   %eax                           
  10bf1c:	e8 dd 10 00 00       	call   10cffe <_CPU_Context_restore_fp>
      _Thread_Allocated_fp = executing;                               
  10bf21:	89 1d 68 42 12 00    	mov    %ebx,0x124268                  
  10bf27:	83 c4 10             	add    $0x10,%esp                     
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
  10bf2a:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
                                                                      
    _ISR_Disable( level );                                            
  10bf30:	9c                   	pushf                                 
  10bf31:	fa                   	cli                                   
  10bf32:	58                   	pop    %eax                           
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
  10bf33:	8a 15 40 47 12 00    	mov    0x124740,%dl                   
  10bf39:	84 d2                	test   %dl,%dl                        
  10bf3b:	0f 85 f9 fe ff ff    	jne    10be3a <_Thread_Dispatch+0x1a> 
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
  10bf41:	c7 05 e4 41 12 00 00 	movl   $0x0,0x1241e4                  
  10bf48:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10bf4b:	50                   	push   %eax                           
  10bf4c:	9d                   	popf                                  
                                                                      
  _API_extensions_Run_postswitch();                                   
  10bf4d:	e8 01 ea ff ff       	call   10a953 <_API_extensions_Run_postswitch>
}                                                                     
  10bf52:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bf55:	5b                   	pop    %ebx                           
  10bf56:	5e                   	pop    %esi                           
  10bf57:	5f                   	pop    %edi                           
  10bf58:	c9                   	leave                                 
  10bf59:	c3                   	ret                                   
                                                                      

0010bf7c <_Thread_Get>: Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location ) {
  10bf7c:	55                   	push   %ebp                           
  10bf7d:	89 e5                	mov    %esp,%ebp                      
  10bf7f:	53                   	push   %ebx                           
  10bf80:	83 ec 04             	sub    $0x4,%esp                      
  10bf83:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bf86:	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 ) ) {           
  10bf89:	85 d2                	test   %edx,%edx                      
  10bf8b:	75 1a                	jne    10bfa7 <_Thread_Get+0x2b>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10bf8d:	8b 15 e4 41 12 00    	mov    0x1241e4,%edx                  
  10bf93:	42                   	inc    %edx                           
  10bf94:	89 15 e4 41 12 00    	mov    %edx,0x1241e4                  
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
  10bf9a:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
    tp = _Thread_Executing;                                           
  10bfa0:	a1 34 47 12 00       	mov    0x124734,%eax                  
    goto done;                                                        
  10bfa5:	eb 3a                	jmp    10bfe1 <_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);
  10bfa7:	89 d1                	mov    %edx,%ecx                      
  10bfa9:	c1 e9 18             	shr    $0x18,%ecx                     
  10bfac:	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 )                      
  10bfaf:	8d 59 ff             	lea    -0x1(%ecx),%ebx                
  10bfb2:	83 fb 02             	cmp    $0x2,%ebx                      
  10bfb5:	76 2f                	jbe    10bfe6 <_Thread_Get+0x6a>      
  10bfb7:	eb 12                	jmp    10bfcb <_Thread_Get+0x4f>      
  if ( the_class != 1 ) {       /* threads are always first class :) */
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  api_information = _Objects_Information_table[ the_api ];            
  10bfb9:	8b 0c 8d bc 41 12 00 	mov    0x1241bc(,%ecx,4),%ecx         
  if ( !api_information ) {                                           
  10bfc0:	85 c9                	test   %ecx,%ecx                      
  10bfc2:	74 07                	je     10bfcb <_Thread_Get+0x4f>      <== NEVER TAKEN
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  information = api_information[ the_class ];                         
  10bfc4:	8b 49 04             	mov    0x4(%ecx),%ecx                 
  if ( !information ) {                                               
  10bfc7:	85 c9                	test   %ecx,%ecx                      
  10bfc9:	75 0a                	jne    10bfd5 <_Thread_Get+0x59>      
    *location = OBJECTS_ERROR;                                        
  10bfcb:	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;                     
  10bfd1:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  information = api_information[ the_class ];                         
  if ( !information ) {                                               
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  10bfd3:	eb 0c                	jmp    10bfe1 <_Thread_Get+0x65>      
  }                                                                   
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
  10bfd5:	53                   	push   %ebx                           
  10bfd6:	50                   	push   %eax                           
  10bfd7:	52                   	push   %edx                           
  10bfd8:	51                   	push   %ecx                           
  10bfd9:	e8 a2 f7 ff ff       	call   10b780 <_Objects_Get>          
  10bfde:	83 c4 10             	add    $0x10,%esp                     
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10bfe1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bfe4:	c9                   	leave                                 
  10bfe5:	c3                   	ret                                   
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10bfe6:	89 d3                	mov    %edx,%ebx                      
  10bfe8:	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 :) */
  10bfeb:	4b                   	dec    %ebx                           
  10bfec:	74 cb                	je     10bfb9 <_Thread_Get+0x3d>      
  10bfee:	eb db                	jmp    10bfcb <_Thread_Get+0x4f>      
                                                                      

00110fa0 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
  110fa0:	55                   	push   %ebp                           
  110fa1:	89 e5                	mov    %esp,%ebp                      
  110fa3:	53                   	push   %ebx                           
  110fa4:	83 ec 14             	sub    $0x14,%esp                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
  110fa7:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  110fad:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  _ISR_Set_level(level);                                              
  110fb3:	85 c0                	test   %eax,%eax                      
  110fb5:	74 03                	je     110fba <_Thread_Handler+0x1a>  
  110fb7:	fa                   	cli                                   
  110fb8:	eb 01                	jmp    110fbb <_Thread_Handler+0x1b>  
  110fba:	fb                   	sti                                   
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
  110fbb:	a0 a0 3e 12 00       	mov    0x123ea0,%al                   
  110fc0:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    doneConstructors = 1;                                             
  110fc3:	c6 05 a0 3e 12 00 01 	movb   $0x1,0x123ea0                  
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
  110fca:	83 bb ec 00 00 00 00 	cmpl   $0x0,0xec(%ebx)                
  110fd1:	74 24                	je     110ff7 <_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 );                      
  110fd3:	a1 68 42 12 00       	mov    0x124268,%eax                  
  110fd8:	39 c3                	cmp    %eax,%ebx                      
  110fda:	74 1b                	je     110ff7 <_Thread_Handler+0x57>  
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
  110fdc:	85 c0                	test   %eax,%eax                      
  110fde:	74 11                	je     110ff1 <_Thread_Handler+0x51>  
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
  110fe0:	83 ec 0c             	sub    $0xc,%esp                      
  110fe3:	05 ec 00 00 00       	add    $0xec,%eax                     
  110fe8:	50                   	push   %eax                           
  110fe9:	e8 06 c0 ff ff       	call   10cff4 <_CPU_Context_save_fp>  
  110fee:	83 c4 10             	add    $0x10,%esp                     
        _Thread_Allocated_fp = executing;                             
  110ff1:	89 1d 68 42 12 00    	mov    %ebx,0x124268                  
  /*                                                                  
   * 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 );                         
  110ff7:	83 ec 0c             	sub    $0xc,%esp                      
  110ffa:	53                   	push   %ebx                           
  110ffb:	e8 ac bb ff ff       	call   10cbac <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
  111000:	e8 55 af ff ff       	call   10bf5a <_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) */ {                 
  111005:	83 c4 10             	add    $0x10,%esp                     
  111008:	80 7d f7 00          	cmpb   $0x0,-0x9(%ebp)                
  11100c:	75 05                	jne    111013 <_Thread_Handler+0x73>  
      INIT_NAME ();                                                   
  11100e:	e8 7d c0 00 00       	call   11d090 <__start_set_sysctl_set>
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  111013:	8b 83 a0 00 00 00    	mov    0xa0(%ebx),%eax                
  111019:	85 c0                	test   %eax,%eax                      
  11101b:	75 0b                	jne    111028 <_Thread_Handler+0x88>  
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
  11101d:	83 ec 0c             	sub    $0xc,%esp                      
  111020:	ff b3 a8 00 00 00    	pushl  0xa8(%ebx)                     
  111026:	eb 0c                	jmp    111034 <_Thread_Handler+0x94>  
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
  111028:	48                   	dec    %eax                           
  111029:	75 15                	jne    111040 <_Thread_Handler+0xa0>  <== NEVER TAKEN
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
  11102b:	83 ec 0c             	sub    $0xc,%esp                      
  11102e:	ff b3 a4 00 00 00    	pushl  0xa4(%ebx)                     
  111034:	ff 93 9c 00 00 00    	call   *0x9c(%ebx)                    
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
  11103a:	89 43 28             	mov    %eax,0x28(%ebx)                
  11103d:	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 );                       
  111040:	83 ec 0c             	sub    $0xc,%esp                      
  111043:	53                   	push   %ebx                           
  111044:	e8 94 bb ff ff       	call   10cbdd <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
  111049:	83 c4 0c             	add    $0xc,%esp                      
  11104c:	6a 06                	push   $0x6                           
  11104e:	6a 01                	push   $0x1                           
  111050:	6a 00                	push   $0x0                           
  111052:	e8 6d a2 ff ff       	call   10b2c4 <_Internal_error_Occurred>
                                                                      

0010bff0 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
  10bff0:	55                   	push   %ebp                           
  10bff1:	89 e5                	mov    %esp,%ebp                      
  10bff3:	57                   	push   %edi                           
  10bff4:	56                   	push   %esi                           
  10bff5:	53                   	push   %ebx                           
  10bff6:	83 ec 1c             	sub    $0x1c,%esp                     
  10bff9:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10bffc:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10bfff:	8b 75 14             	mov    0x14(%ebp),%esi                
  10c002:	8a 55 18             	mov    0x18(%ebp),%dl                 
  10c005:	8a 45 20             	mov    0x20(%ebp),%al                 
  10c008:	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;                             
  10c00b:	c7 83 f4 00 00 00 00 	movl   $0x0,0xf4(%ebx)                
  10c012:	00 00 00                                                    
  10c015:	c7 83 f8 00 00 00 00 	movl   $0x0,0xf8(%ebx)                
  10c01c:	00 00 00                                                    
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
  10c01f:	c7 83 f0 00 00 00 00 	movl   $0x0,0xf0(%ebx)                
  10c026:	00 00 00                                                    
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
  10c029:	85 c9                	test   %ecx,%ecx                      
  10c02b:	75 31                	jne    10c05e <_Thread_Initialize+0x6e>
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
  10c02d:	51                   	push   %ecx                           
  10c02e:	51                   	push   %ecx                           
  10c02f:	56                   	push   %esi                           
  10c030:	53                   	push   %ebx                           
  10c031:	88 55 e0             	mov    %dl,-0x20(%ebp)                
  10c034:	e8 63 08 00 00       	call   10c89c <_Thread_Stack_Allocate>
      if ( !actual_stack_size || actual_stack_size < stack_size )     
  10c039:	83 c4 10             	add    $0x10,%esp                     
  10c03c:	39 f0                	cmp    %esi,%eax                      
  10c03e:	8a 55 e0             	mov    -0x20(%ebp),%dl                
  10c041:	0f 82 c1 01 00 00    	jb     10c208 <_Thread_Initialize+0x218>
  10c047:	85 c0                	test   %eax,%eax                      
  10c049:	0f 84 b9 01 00 00    	je     10c208 <_Thread_Initialize+0x218><== NEVER TAKEN
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
  10c04f:	8b 8b d0 00 00 00    	mov    0xd0(%ebx),%ecx                
      the_thread->Start.core_allocated_stack = true;                  
  10c055:	c6 83 c0 00 00 00 01 	movb   $0x1,0xc0(%ebx)                
  10c05c:	eb 09                	jmp    10c067 <_Thread_Initialize+0x77>
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
  10c05e:	c6 83 c0 00 00 00 00 	movb   $0x0,0xc0(%ebx)                
  10c065:	89 f0                	mov    %esi,%eax                      
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
  10c067:	89 8b c8 00 00 00    	mov    %ecx,0xc8(%ebx)                
  the_stack->size = size;                                             
  10c06d:	89 83 c4 00 00 00    	mov    %eax,0xc4(%ebx)                
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    fp_area = NULL;                                                   
  10c073:	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 ) {                                                    
  10c075:	84 d2                	test   %dl,%dl                        
  10c077:	74 17                	je     10c090 <_Thread_Initialize+0xa0>
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
  10c079:	83 ec 0c             	sub    $0xc,%esp                      
  10c07c:	6a 6c                	push   $0x6c                          
  10c07e:	e8 df 0e 00 00       	call   10cf62 <_Workspace_Allocate>   
  10c083:	89 c7                	mov    %eax,%edi                      
      if ( !fp_area )                                                 
  10c085:	83 c4 10             	add    $0x10,%esp                     
  10c088:	85 c0                	test   %eax,%eax                      
  10c08a:	0f 84 08 01 00 00    	je     10c198 <_Thread_Initialize+0x1a8>
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
  10c090:	89 bb ec 00 00 00    	mov    %edi,0xec(%ebx)                
    the_thread->Start.fp_context = fp_area;                           
  10c096:	89 bb cc 00 00 00    	mov    %edi,0xcc(%ebx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c09c:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10c0a3:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
  the_watchdog->id        = id;                                       
  10c0aa:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10c0b1:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c0b8:	a1 78 42 12 00       	mov    0x124278,%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;                                             
  10c0bd:	31 f6                	xor    %esi,%esi                      
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c0bf:	85 c0                	test   %eax,%eax                      
  10c0c1:	74 1d                	je     10c0e0 <_Thread_Initialize+0xf0>
    extensions_area = _Workspace_Allocate(                            
  10c0c3:	83 ec 0c             	sub    $0xc,%esp                      
  10c0c6:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax              
  10c0cd:	50                   	push   %eax                           
  10c0ce:	e8 8f 0e 00 00       	call   10cf62 <_Workspace_Allocate>   
  10c0d3:	89 c6                	mov    %eax,%esi                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
  10c0d5:	83 c4 10             	add    $0x10,%esp                     
  10c0d8:	85 c0                	test   %eax,%eax                      
  10c0da:	0f 84 ba 00 00 00    	je     10c19a <_Thread_Initialize+0x1aa>
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10c0e0:	89 b3 fc 00 00 00    	mov    %esi,0xfc(%ebx)                
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
  10c0e6:	85 f6                	test   %esi,%esi                      
  10c0e8:	74 16                	je     10c100 <_Thread_Initialize+0x110>
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
  10c0ea:	8b 15 78 42 12 00    	mov    0x124278,%edx                  
  10c0f0:	31 c0                	xor    %eax,%eax                      
  10c0f2:	eb 08                	jmp    10c0fc <_Thread_Initialize+0x10c>
      the_thread->extensions[i] = NULL;                               
  10c0f4:	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++ )              
  10c0fb:	40                   	inc    %eax                           
  10c0fc:	39 d0                	cmp    %edx,%eax                      
  10c0fe:	76 f4                	jbe    10c0f4 <_Thread_Initialize+0x104>
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  10c100:	8a 45 e7             	mov    -0x19(%ebp),%al                
  10c103:	88 83 ac 00 00 00    	mov    %al,0xac(%ebx)                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  10c109:	8b 45 24             	mov    0x24(%ebp),%eax                
  10c10c:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)                
  the_thread->Start.budget_callout   = budget_callout;                
  10c112:	8b 45 28             	mov    0x28(%ebp),%eax                
  10c115:	89 83 b4 00 00 00    	mov    %eax,0xb4(%ebx)                
                                                                      
  switch ( budget_algorithm ) {                                       
  10c11b:	83 7d 24 02          	cmpl   $0x2,0x24(%ebp)                
  10c11f:	75 08                	jne    10c129 <_Thread_Initialize+0x139>
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
        the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;    
  10c121:	a1 b4 41 12 00       	mov    0x1241b4,%eax                  
  10c126:	89 43 78             	mov    %eax,0x78(%ebx)                
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
  10c129:	8b 45 2c             	mov    0x2c(%ebp),%eax                
  10c12c:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  10c132:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)                
  the_thread->Wait.queue              = NULL;                         
  10c139:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  the_thread->resource_count          = 0;                            
  10c140:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  the_thread->real_priority           = priority;                     
  10c147:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c14a:	89 43 18             	mov    %eax,0x18(%ebx)                
  the_thread->Start.initial_priority  = priority;                     
  10c14d:	89 83 bc 00 00 00    	mov    %eax,0xbc(%ebx)                
  _Thread_Set_priority( the_thread, priority );                       
  10c153:	52                   	push   %edx                           
  10c154:	52                   	push   %edx                           
  10c155:	50                   	push   %eax                           
  10c156:	53                   	push   %ebx                           
  10c157:	e8 94 05 00 00       	call   10c6f0 <_Thread_Set_priority>  
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
  10c15c:	c7 83 84 00 00 00 00 	movl   $0x0,0x84(%ebx)                
  10c163:	00 00 00                                                    
  10c166:	c7 83 88 00 00 00 00 	movl   $0x0,0x88(%ebx)                
  10c16d:	00 00 00                                                    
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10c170:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c173:	8b 40 1c             	mov    0x1c(%eax),%eax                
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10c176:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c17a:	89 1c 90             	mov    %ebx,(%eax,%edx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10c17d:	8b 45 30             	mov    0x30(%ebp),%eax                
  10c180:	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 );    
  10c183:	89 1c 24             	mov    %ebx,(%esp)                    
  10c186:	e8 c1 0a 00 00       	call   10cc4c <_User_extensions_Thread_create>
  10c18b:	88 c2                	mov    %al,%dl                        
  if ( extension_status )                                             
  10c18d:	83 c4 10             	add    $0x10,%esp                     
    return true;                                                      
  10c190:	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 )                                             
  10c192:	84 d2                	test   %dl,%dl                        
  10c194:	74 04                	je     10c19a <_Thread_Initialize+0x1aa>
  10c196:	eb 72                	jmp    10c20a <_Thread_Initialize+0x21a>
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  10c198:	31 f6                	xor    %esi,%esi                      
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
  10c19a:	8b 83 f0 00 00 00    	mov    0xf0(%ebx),%eax                
  10c1a0:	85 c0                	test   %eax,%eax                      
  10c1a2:	74 0c                	je     10c1b0 <_Thread_Initialize+0x1c0>
    _Workspace_Free( the_thread->libc_reent );                        
  10c1a4:	83 ec 0c             	sub    $0xc,%esp                      
  10c1a7:	50                   	push   %eax                           
  10c1a8:	e8 ce 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1ad:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10c1b0:	8b 83 f4 00 00 00    	mov    0xf4(%ebx),%eax                
  10c1b6:	85 c0                	test   %eax,%eax                      
  10c1b8:	74 0c                	je     10c1c6 <_Thread_Initialize+0x1d6>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c1ba:	83 ec 0c             	sub    $0xc,%esp                      
  10c1bd:	50                   	push   %eax                           
  10c1be:	e8 b8 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1c3:	83 c4 10             	add    $0x10,%esp                     
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10c1c6:	8b 83 f8 00 00 00    	mov    0xf8(%ebx),%eax                
  10c1cc:	85 c0                	test   %eax,%eax                      
  10c1ce:	74 0c                	je     10c1dc <_Thread_Initialize+0x1ec>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c1d0:	83 ec 0c             	sub    $0xc,%esp                      
  10c1d3:	50                   	push   %eax                           
  10c1d4:	e8 a2 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1d9:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  if ( extensions_area )                                              
  10c1dc:	85 f6                	test   %esi,%esi                      
  10c1de:	74 0c                	je     10c1ec <_Thread_Initialize+0x1fc>
    (void) _Workspace_Free( extensions_area );                        
  10c1e0:	83 ec 0c             	sub    $0xc,%esp                      
  10c1e3:	56                   	push   %esi                           
  10c1e4:	e8 92 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1e9:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
  10c1ec:	85 ff                	test   %edi,%edi                      
  10c1ee:	74 0c                	je     10c1fc <_Thread_Initialize+0x20c>
      (void) _Workspace_Free( fp_area );                              
  10c1f0:	83 ec 0c             	sub    $0xc,%esp                      
  10c1f3:	57                   	push   %edi                           
  10c1f4:	e8 82 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1f9:	83 c4 10             	add    $0x10,%esp                     
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  10c1fc:	83 ec 0c             	sub    $0xc,%esp                      
  10c1ff:	53                   	push   %ebx                           
  10c200:	e8 e7 06 00 00       	call   10c8ec <_Thread_Stack_Free>    
  return false;                                                       
  10c205:	83 c4 10             	add    $0x10,%esp                     
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
        return false;                     /* stack allocation failed */
  10c208:	31 c0                	xor    %eax,%eax                      
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10c20a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c20d:	5b                   	pop    %ebx                           
  10c20e:	5e                   	pop    %esi                           
  10c20f:	5f                   	pop    %edi                           
  10c210:	c9                   	leave                                 
  10c211:	c3                   	ret                                   
                                                                      

0010f48c <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
  10f48c:	55                   	push   %ebp                           
  10f48d:	89 e5                	mov    %esp,%ebp                      
  10f48f:	53                   	push   %ebx                           
  10f490:	8b 45 08             	mov    0x8(%ebp),%eax                 
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10f493:	9c                   	pushf                                 
  10f494:	fa                   	cli                                   
  10f495:	59                   	pop    %ecx                           
                                                                      
  current_state = the_thread->current_state;                          
  10f496:	8b 50 10             	mov    0x10(%eax),%edx                
  if ( current_state & STATES_SUSPENDED ) {                           
  10f499:	f6 c2 02             	test   $0x2,%dl                       
  10f49c:	74 70                	je     10f50e <_Thread_Resume+0x82>   <== NEVER TAKEN
  10f49e:	83 e2 fd             	and    $0xfffffffd,%edx               
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
  10f4a1:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
  10f4a4:	85 d2                	test   %edx,%edx                      
  10f4a6:	75 66                	jne    10f50e <_Thread_Resume+0x82>   
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10f4a8:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10f4ae:	66 8b 98 96 00 00 00 	mov    0x96(%eax),%bx                 
  10f4b5:	66 09 1a             	or     %bx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10f4b8:	66 8b 15 50 73 12 00 	mov    0x127350,%dx                   
  10f4bf:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  10f4c5:	66 89 15 50 73 12 00 	mov    %dx,0x127350                   
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  10f4cc:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10f4d2:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10f4d5:	89 18                	mov    %ebx,(%eax)                    
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  10f4d7:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10f4da:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10f4dd:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10f4df:	89 58 04             	mov    %ebx,0x4(%eax)                 
                                                                      
      _ISR_Flash( level );                                            
  10f4e2:	51                   	push   %ecx                           
  10f4e3:	9d                   	popf                                  
  10f4e4:	fa                   	cli                                   
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
  10f4e5:	8b 50 14             	mov    0x14(%eax),%edx                
  10f4e8:	8b 1d 00 78 12 00    	mov    0x127800,%ebx                  
  10f4ee:	3b 53 14             	cmp    0x14(%ebx),%edx                
  10f4f1:	73 1b                	jae    10f50e <_Thread_Resume+0x82>   
        _Thread_Heir = the_thread;                                    
  10f4f3:	a3 00 78 12 00       	mov    %eax,0x127800                  
        if ( _Thread_Executing->is_preemptible ||                     
  10f4f8:	a1 fc 77 12 00       	mov    0x1277fc,%eax                  
  10f4fd:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10f501:	75 04                	jne    10f507 <_Thread_Resume+0x7b>   
  10f503:	85 d2                	test   %edx,%edx                      
  10f505:	75 07                	jne    10f50e <_Thread_Resume+0x82>   <== ALWAYS TAKEN
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
  10f507:	c6 05 08 78 12 00 01 	movb   $0x1,0x127808                  
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10f50e:	51                   	push   %ecx                           
  10f50f:	9d                   	popf                                  
}                                                                     
  10f510:	5b                   	pop    %ebx                           
  10f511:	c9                   	leave                                 
  10f512:	c3                   	ret                                   
                                                                      

0010c9d4 <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
  10c9d4:	55                   	push   %ebp                           
  10c9d5:	89 e5                	mov    %esp,%ebp                      
  10c9d7:	53                   	push   %ebx                           
  10c9d8:	83 ec 04             	sub    $0x4,%esp                      
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
  10c9db:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
  10c9e1:	80 7b 74 00          	cmpb   $0x0,0x74(%ebx)                
  10c9e5:	74 4c                	je     10ca33 <_Thread_Tickle_timeslice+0x5f>
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
  10c9e7:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10c9eb:	75 46                	jne    10ca33 <_Thread_Tickle_timeslice+0x5f>
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
  10c9ed:	8b 43 7c             	mov    0x7c(%ebx),%eax                
  10c9f0:	83 f8 01             	cmp    $0x1,%eax                      
  10c9f3:	72 3e                	jb     10ca33 <_Thread_Tickle_timeslice+0x5f>
  10c9f5:	83 f8 02             	cmp    $0x2,%eax                      
  10c9f8:	76 07                	jbe    10ca01 <_Thread_Tickle_timeslice+0x2d>
  10c9fa:	83 f8 03             	cmp    $0x3,%eax                      
  10c9fd:	75 34                	jne    10ca33 <_Thread_Tickle_timeslice+0x5f><== NEVER TAKEN
  10c9ff:	eb 1a                	jmp    10ca1b <_Thread_Tickle_timeslice+0x47>
                                                                      
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
    #endif                                                            
      if ( (int)(--executing->cpu_time_budget) <= 0 ) {               
  10ca01:	8b 43 78             	mov    0x78(%ebx),%eax                
  10ca04:	48                   	dec    %eax                           
  10ca05:	89 43 78             	mov    %eax,0x78(%ebx)                
  10ca08:	85 c0                	test   %eax,%eax                      
  10ca0a:	7f 27                	jg     10ca33 <_Thread_Tickle_timeslice+0x5f>
         *  at the priority of the currently executing thread, then the
         *  executing thread's timeslice is reset.  Otherwise, the    
         *  currently executing thread is placed at the rear of the   
         *  FIFO for this priority and a new heir is selected.        
         */                                                           
        _Thread_Yield_processor();                                    
  10ca0c:	e8 27 00 00 00       	call   10ca38 <_Thread_Yield_processor>
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
  10ca11:	a1 b4 41 12 00       	mov    0x1241b4,%eax                  
  10ca16:	89 43 78             	mov    %eax,0x78(%ebx)                
  10ca19:	eb 18                	jmp    10ca33 <_Thread_Tickle_timeslice+0x5f>
      }                                                               
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
  10ca1b:	8b 43 78             	mov    0x78(%ebx),%eax                
  10ca1e:	48                   	dec    %eax                           
  10ca1f:	89 43 78             	mov    %eax,0x78(%ebx)                
  10ca22:	85 c0                	test   %eax,%eax                      
  10ca24:	75 0d                	jne    10ca33 <_Thread_Tickle_timeslice+0x5f>
	  (*executing->budget_callout)( executing );                         
  10ca26:	83 ec 0c             	sub    $0xc,%esp                      
  10ca29:	53                   	push   %ebx                           
  10ca2a:	ff 93 80 00 00 00    	call   *0x80(%ebx)                    
  10ca30:	83 c4 10             	add    $0x10,%esp                     
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
  10ca33:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca36:	c9                   	leave                                 
  10ca37:	c3                   	ret                                   
                                                                      

0010c470 <_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 ) {
  10c470:	55                   	push   %ebp                           
  10c471:	89 e5                	mov    %esp,%ebp                      
  10c473:	57                   	push   %edi                           
  10c474:	56                   	push   %esi                           
  10c475:	53                   	push   %ebx                           
  10c476:	83 ec 14             	sub    $0x14,%esp                     
  10c479:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10c47c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c47f:	8d 50 3c             	lea    0x3c(%eax),%edx                
  10c482:	89 50 38             	mov    %edx,0x38(%eax)                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  10c485:	c7 40 3c 00 00 00 00 	movl   $0x0,0x3c(%eax)                
  Chain_Node          *previous_node;                                 
  Chain_Node          *search_node;                                   
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
  10c48c:	8d 50 38             	lea    0x38(%eax),%edx                
  10c48f:	89 50 40             	mov    %edx,0x40(%eax)                
                                                                      
  priority     = the_thread->current_priority;                        
  10c492:	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);      
  10c495:	89 df                	mov    %ebx,%edi                      
  10c497:	c1 ef 06             	shr    $0x6,%edi                      
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  10c49a:	6b ff 0c             	imul   $0xc,%edi,%edi                 
  10c49d:	8d 3c 39             	lea    (%ecx,%edi,1),%edi             
  10c4a0:	89 7d ec             	mov    %edi,-0x14(%ebp)               
  block_state  = the_thread_queue->state;                             
  10c4a3:	8b 51 38             	mov    0x38(%ecx),%edx                
  10c4a6:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  10c4a9:	89 7d e8             	mov    %edi,-0x18(%ebp)               
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
  10c4ac:	f6 c3 20             	test   $0x20,%bl                      
  10c4af:	75 73                	jne    10c524 <_Thread_queue_Enqueue_priority+0xb4>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10c4b1:	8d 77 04             	lea    0x4(%edi),%esi                 
  10c4b4:	89 75 e8             	mov    %esi,-0x18(%ebp)               
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  10c4b7:	9c                   	pushf                                 
  10c4b8:	fa                   	cli                                   
  10c4b9:	8f 45 f0             	popl   -0x10(%ebp)                    
  10c4bc:	8b 75 f0             	mov    -0x10(%ebp),%esi               
  search_thread = (Thread_Control *) header->first;                   
  10c4bf:	8b 17                	mov    (%edi),%edx                    
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  10c4c1:	c7 45 ec ff ff ff ff 	movl   $0xffffffff,-0x14(%ebp)        
  10c4c8:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10c4cb:	eb 1f                	jmp    10c4ec <_Thread_queue_Enqueue_priority+0x7c>
    search_priority = search_thread->current_priority;                
  10c4cd:	8b 72 14             	mov    0x14(%edx),%esi                
  10c4d0:	89 75 ec             	mov    %esi,-0x14(%ebp)               
    if ( priority <= search_priority )                                
  10c4d3:	39 f3                	cmp    %esi,%ebx                      
  10c4d5:	76 1a                	jbe    10c4f1 <_Thread_queue_Enqueue_priority+0x81>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c4d7:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c4da:	9d                   	popf                                  
  10c4db:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c4dc:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10c4df:	85 72 10             	test   %esi,0x10(%edx)                
  10c4e2:	75 06                	jne    10c4ea <_Thread_queue_Enqueue_priority+0x7a><== ALWAYS TAKEN
      _ISR_Enable( level );                                           
  10c4e4:	ff 75 f0             	pushl  -0x10(%ebp)                    <== NOT EXECUTED
  10c4e7:	9d                   	popf                                  <== NOT EXECUTED
      goto restart_forward_search;                                    
  10c4e8:	eb cd                	jmp    10c4b7 <_Thread_queue_Enqueue_priority+0x47><== NOT EXECUTED
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  10c4ea:	8b 12                	mov    (%edx),%edx                    
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10c4ec:	3b 55 e8             	cmp    -0x18(%ebp),%edx               
  10c4ef:	75 dc                	jne    10c4cd <_Thread_queue_Enqueue_priority+0x5d>
  10c4f1:	8b 75 e0             	mov    -0x20(%ebp),%esi               
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c4f4:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c4f8:	0f 85 ae 00 00 00    	jne    10c5ac <_Thread_queue_Enqueue_priority+0x13c>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c4fe:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c505:	3b 5d ec             	cmp    -0x14(%ebp),%ebx               
  10c508:	0f 84 87 00 00 00    	je     10c595 <_Thread_queue_Enqueue_priority+0x125>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
  10c50e:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10c511:	89 10                	mov    %edx,(%eax)                    
  the_node->previous     = previous_node;                             
  10c513:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c516:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c518:	89 42 04             	mov    %eax,0x4(%edx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c51b:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c51e:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c521:	9d                   	popf                                  
  10c522:	eb 6a                	jmp    10c58e <_Thread_queue_Enqueue_priority+0x11e>
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
  10c524:	0f b6 3d f4 01 12 00 	movzbl 0x1201f4,%edi                  
  10c52b:	47                   	inc    %edi                           
  10c52c:	89 7d e0             	mov    %edi,-0x20(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  10c52f:	9c                   	pushf                                 
  10c530:	fa                   	cli                                   
  10c531:	8f 45 f0             	popl   -0x10(%ebp)                    
  10c534:	8b 75 f0             	mov    -0x10(%ebp),%esi               
  search_thread = (Thread_Control *) header->last;                    
  10c537:	8b 7d e8             	mov    -0x18(%ebp),%edi               
  10c53a:	8b 57 08             	mov    0x8(%edi),%edx                 
  10c53d:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  10c540:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10c543:	eb 1d                	jmp    10c562 <_Thread_queue_Enqueue_priority+0xf2>
    search_priority = search_thread->current_priority;                
  10c545:	8b 7a 14             	mov    0x14(%edx),%edi                
    if ( priority >= search_priority )                                
  10c548:	39 fb                	cmp    %edi,%ebx                      
  10c54a:	73 1b                	jae    10c567 <_Thread_queue_Enqueue_priority+0xf7>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c54c:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c54f:	9d                   	popf                                  
  10c550:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c551:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10c554:	85 72 10             	test   %esi,0x10(%edx)                
  10c557:	75 06                	jne    10c55f <_Thread_queue_Enqueue_priority+0xef><== ALWAYS TAKEN
      _ISR_Enable( level );                                           
  10c559:	ff 75 f0             	pushl  -0x10(%ebp)                    <== NOT EXECUTED
  10c55c:	9d                   	popf                                  <== NOT EXECUTED
      goto restart_reverse_search;                                    
  10c55d:	eb c5                	jmp    10c524 <_Thread_queue_Enqueue_priority+0xb4><== NOT EXECUTED
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  10c55f:	8b 52 04             	mov    0x4(%edx),%edx                 
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10c562:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10c565:	75 de                	jne    10c545 <_Thread_queue_Enqueue_priority+0xd5>
  10c567:	8b 75 e0             	mov    -0x20(%ebp),%esi               
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c56a:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c56e:	75 3c                	jne    10c5ac <_Thread_queue_Enqueue_priority+0x13c>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c570:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c577:	39 fb                	cmp    %edi,%ebx                      
  10c579:	74 1a                	je     10c595 <_Thread_queue_Enqueue_priority+0x125>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  10c57b:	8b 1a                	mov    (%edx),%ebx                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  10c57d:	89 18                	mov    %ebx,(%eax)                    
  the_node->previous      = search_node;                              
  10c57f:	89 50 04             	mov    %edx,0x4(%eax)                 
  search_node->next       = the_node;                                 
  10c582:	89 02                	mov    %eax,(%edx)                    
  next_node->previous    = the_node;                                  
  10c584:	89 43 04             	mov    %eax,0x4(%ebx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c587:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c58a:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c58d:	9d                   	popf                                  
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
  10c58e:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10c593:	eb 1f                	jmp    10c5b4 <_Thread_queue_Enqueue_priority+0x144>
  10c595:	83 c2 3c             	add    $0x3c,%edx                     
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
  10c598:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10c59b:	89 10                	mov    %edx,(%eax)                    
  the_node->previous     = previous_node;                             
  10c59d:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c5a0:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c5a2:	89 42 04             	mov    %eax,0x4(%edx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c5a5:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c5a8:	56                   	push   %esi                           
  10c5a9:	9d                   	popf                                  
  10c5aa:	eb e2                	jmp    10c58e <_Thread_queue_Enqueue_priority+0x11e>
   *  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;                                                   
  10c5ac:	8b 45 10             	mov    0x10(%ebp),%eax                
  10c5af:	89 30                	mov    %esi,(%eax)                    
  return the_thread_queue->sync_state;                                
  10c5b1:	8b 41 30             	mov    0x30(%ecx),%eax                
}                                                                     
  10c5b4:	83 c4 14             	add    $0x14,%esp                     
  10c5b7:	5b                   	pop    %ebx                           
  10c5b8:	5e                   	pop    %esi                           
  10c5b9:	5f                   	pop    %edi                           
  10c5ba:	c9                   	leave                                 
  10c5bb:	c3                   	ret                                   
                                                                      

0010c668 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  10c668:	55                   	push   %ebp                           
  10c669:	89 e5                	mov    %esp,%ebp                      
  10c66b:	57                   	push   %edi                           
  10c66c:	56                   	push   %esi                           
  10c66d:	53                   	push   %ebx                           
  10c66e:	83 ec 1c             	sub    $0x1c,%esp                     
  10c671:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10c674:	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 )                                            
  10c677:	85 f6                	test   %esi,%esi                      
  10c679:	74 36                	je     10c6b1 <_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 ) {
  10c67b:	83 7e 34 01          	cmpl   $0x1,0x34(%esi)                
  10c67f:	75 30                	jne    10c6b1 <_Thread_queue_Requeue+0x49><== NEVER TAKEN
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
  10c681:	9c                   	pushf                                 
  10c682:	fa                   	cli                                   
  10c683:	5b                   	pop    %ebx                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  10c684:	f7 47 10 e0 be 03 00 	testl  $0x3bee0,0x10(%edi)            
  10c68b:	74 22                	je     10c6af <_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;
  10c68d:	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 );  
  10c694:	50                   	push   %eax                           
  10c695:	6a 01                	push   $0x1                           
  10c697:	57                   	push   %edi                           
  10c698:	56                   	push   %esi                           
  10c699:	e8 3a 31 00 00       	call   10f7d8 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
  10c69e:	83 c4 0c             	add    $0xc,%esp                      
  10c6a1:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c6a4:	50                   	push   %eax                           
  10c6a5:	57                   	push   %edi                           
  10c6a6:	56                   	push   %esi                           
  10c6a7:	e8 c4 fd ff ff       	call   10c470 <_Thread_queue_Enqueue_priority>
  10c6ac:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
    _ISR_Enable( level );                                             
  10c6af:	53                   	push   %ebx                           
  10c6b0:	9d                   	popf                                  
  }                                                                   
}                                                                     
  10c6b1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c6b4:	5b                   	pop    %ebx                           
  10c6b5:	5e                   	pop    %esi                           
  10c6b6:	5f                   	pop    %edi                           
  10c6b7:	c9                   	leave                                 
  10c6b8:	c3                   	ret                                   
                                                                      

0010c6bc <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10c6bc:	55                   	push   %ebp                           
  10c6bd:	89 e5                	mov    %esp,%ebp                      
  10c6bf:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10c6c2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c6c5:	50                   	push   %eax                           
  10c6c6:	ff 75 08             	pushl  0x8(%ebp)                      
  10c6c9:	e8 ae f8 ff ff       	call   10bf7c <_Thread_Get>           
  switch ( location ) {                                               
  10c6ce:	83 c4 10             	add    $0x10,%esp                     
  10c6d1:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10c6d5:	75 17                	jne    10c6ee <_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 );                    
  10c6d7:	83 ec 0c             	sub    $0xc,%esp                      
  10c6da:	50                   	push   %eax                           
  10c6db:	e8 ac 31 00 00       	call   10f88c <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10c6e0:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  10c6e5:	48                   	dec    %eax                           
  10c6e6:	a3 e4 41 12 00       	mov    %eax,0x1241e4                  
  10c6eb:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10c6ee:	c9                   	leave                                 
  10c6ef:	c3                   	ret                                   
                                                                      

00116a8c <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
  116a8c:	55                   	push   %ebp                           
  116a8d:	89 e5                	mov    %esp,%ebp                      
  116a8f:	57                   	push   %edi                           
  116a90:	56                   	push   %esi                           
  116a91:	53                   	push   %ebx                           
  116a92:	83 ec 4c             	sub    $0x4c,%esp                     
  116a95:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  116a98:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  116a9b:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  116a9e:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  116aa1:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  the_chain->permanent_null = NULL;                                   
  116aa4:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  Timer_server_Control *ts = (Timer_server_Control *) arg;            
  Chain_Control insert_chain;                                         
  Chain_Control fire_chain;                                           
                                                                      
  _Chain_Initialize_empty( &insert_chain );                           
  116aab:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  116aae:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  116ab1:	8d 55 d4             	lea    -0x2c(%ebp),%edx               
  116ab4:	89 55 b0             	mov    %edx,-0x50(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  116ab7:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  the_chain->permanent_null = NULL;                                   
  116aba:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  the_chain->last           = _Chain_Head(the_chain);                 
  116ac1:	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 );  
  116ac4:	8d 43 30             	lea    0x30(%ebx),%eax                
  116ac7:	89 45 c0             	mov    %eax,-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 ); 
  116aca:	8d 73 68             	lea    0x68(%ebx),%esi                
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
  116acd:	8d 53 08             	lea    0x8(%ebx),%edx                 
  116ad0:	89 55 bc             	mov    %edx,-0x44(%ebp)               
{                                                                     
  /*                                                                  
   *  Afterwards all timer inserts are directed to this chain and the interval
   *  and TOD chains will be no more modified by other parties.       
   */                                                                 
  ts->insert_chain = insert_chain;                                    
  116ad3:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  116ad6:	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;            
  116ad9:	a1 f0 e6 13 00       	mov    0x13e6f0,%eax                  
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  116ade:	8b 53 3c             	mov    0x3c(%ebx),%edx                
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  116ae1:	89 43 3c             	mov    %eax,0x3c(%ebx)                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  116ae4:	51                   	push   %ecx                           
  116ae5:	8d 4d d0             	lea    -0x30(%ebp),%ecx               
  116ae8:	51                   	push   %ecx                           
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  116ae9:	29 d0                	sub    %edx,%eax                      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  116aeb:	50                   	push   %eax                           
  116aec:	ff 75 c0             	pushl  -0x40(%ebp)                    
  116aef:	e8 90 39 00 00       	call   11a484 <_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();
  116af4:	a1 44 e6 13 00       	mov    0x13e644,%eax                  
  116af9:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
  116afc:	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 ) {                                   
  116aff:	83 c4 10             	add    $0x10,%esp                     
  116b02:	39 45 c4             	cmp    %eax,-0x3c(%ebp)               
  116b05:	76 13                	jbe    116b1a <_Timer_server_Body+0x8e>
    /*                                                                
     *  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 );
  116b07:	52                   	push   %edx                           
  116b08:	8d 55 d0             	lea    -0x30(%ebp),%edx               
  116b0b:	52                   	push   %edx                           
  if ( snapshot > last_snapshot ) {                                   
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
  116b0c:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  116b0f:	29 c1                	sub    %eax,%ecx                      
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
  116b11:	51                   	push   %ecx                           
  116b12:	56                   	push   %esi                           
  116b13:	e8 6c 39 00 00       	call   11a484 <_Watchdog_Adjust_to_chain>
  116b18:	eb 0f                	jmp    116b29 <_Timer_server_Body+0x9d>
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
  116b1a:	73 10                	jae    116b2c <_Timer_server_Body+0xa0>
     /*                                                               
      *  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 ); 
  116b1c:	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;                                
  116b1d:	2b 45 c4             	sub    -0x3c(%ebp),%eax               
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  116b20:	50                   	push   %eax                           
  116b21:	6a 01                	push   $0x1                           
  116b23:	56                   	push   %esi                           
  116b24:	e8 ef 38 00 00       	call   11a418 <_Watchdog_Adjust>      
  116b29:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  116b2c:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  116b2f:	89 43 74             	mov    %eax,0x74(%ebx)                
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
  116b32:	8b 43 78             	mov    0x78(%ebx),%eax                
  116b35:	83 ec 0c             	sub    $0xc,%esp                      
  116b38:	50                   	push   %eax                           
  116b39:	e8 da 08 00 00       	call   117418 <_Chain_Get>            
                                                                      
    if ( timer == NULL ) {                                            
  116b3e:	83 c4 10             	add    $0x10,%esp                     
  116b41:	85 c0                	test   %eax,%eax                      
  116b43:	74 29                	je     116b6e <_Timer_server_Body+0xe2><== ALWAYS TAKEN
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  116b45:	8b 50 38             	mov    0x38(%eax),%edx                <== NOT EXECUTED
  116b48:	83 fa 01             	cmp    $0x1,%edx                      <== NOT EXECUTED
  116b4b:	75 0b                	jne    116b58 <_Timer_server_Body+0xcc><== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116b4d:	52                   	push   %edx                           <== NOT EXECUTED
  116b4e:	52                   	push   %edx                           <== NOT EXECUTED
  116b4f:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116b52:	50                   	push   %eax                           <== NOT EXECUTED
  116b53:	ff 75 c0             	pushl  -0x40(%ebp)                    <== NOT EXECUTED
  116b56:	eb 0c                	jmp    116b64 <_Timer_server_Body+0xd8><== NOT EXECUTED
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116b58:	83 fa 03             	cmp    $0x3,%edx                      <== NOT EXECUTED
  116b5b:	75 d5                	jne    116b32 <_Timer_server_Body+0xa6><== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116b5d:	51                   	push   %ecx                           <== NOT EXECUTED
  116b5e:	51                   	push   %ecx                           <== NOT EXECUTED
  116b5f:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116b62:	50                   	push   %eax                           <== NOT EXECUTED
  116b63:	56                   	push   %esi                           <== NOT EXECUTED
  116b64:	e8 a3 39 00 00       	call   11a50c <_Watchdog_Insert>      <== NOT EXECUTED
  116b69:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  116b6c:	eb c4                	jmp    116b32 <_Timer_server_Body+0xa6><== 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 );                                            
  116b6e:	9c                   	pushf                                 
  116b6f:	fa                   	cli                                   
  116b70:	58                   	pop    %eax                           
    if ( _Chain_Is_empty( insert_chain ) ) {                          
  116b71:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  116b74:	39 55 dc             	cmp    %edx,-0x24(%ebp)               
  116b77:	75 13                	jne    116b8c <_Timer_server_Body+0x100><== NEVER TAKEN
      ts->insert_chain = NULL;                                        
  116b79:	c7 43 78 00 00 00 00 	movl   $0x0,0x78(%ebx)                
      _ISR_Enable( level );                                           
  116b80:	50                   	push   %eax                           
  116b81:	9d                   	popf                                  
  _Chain_Initialize_empty( &fire_chain );                             
                                                                      
  while ( true ) {                                                    
    _Timer_server_Get_watchdogs_that_fire_now( ts, &insert_chain, &fire_chain );
                                                                      
    if ( !_Chain_Is_empty( &fire_chain ) ) {                          
  116b82:	8b 4d b0             	mov    -0x50(%ebp),%ecx               
  116b85:	39 4d d0             	cmp    %ecx,-0x30(%ebp)               
  116b88:	75 09                	jne    116b93 <_Timer_server_Body+0x107>
  116b8a:	eb 3e                	jmp    116bca <_Timer_server_Body+0x13e>
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
  116b8c:	50                   	push   %eax                           <== NOT EXECUTED
  116b8d:	9d                   	popf                                  <== NOT EXECUTED
  116b8e:	e9 46 ff ff ff       	jmp    116ad9 <_Timer_server_Body+0x4d><== NOT EXECUTED
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
  116b93:	9c                   	pushf                                 
  116b94:	fa                   	cli                                   
  116b95:	5a                   	pop    %edx                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  116b96:	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))                                   
  116b99:	3b 45 b0             	cmp    -0x50(%ebp),%eax               
  116b9c:	74 25                	je     116bc3 <_Timer_server_Body+0x137>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  116b9e:	8b 08                	mov    (%eax),%ecx                    
  the_chain->first    = new_first;                                    
  116ba0:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  new_first->previous = _Chain_Head(the_chain);                       
  116ba3:	89 79 04             	mov    %edi,0x4(%ecx)                 
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
  116ba6:	85 c0                	test   %eax,%eax                      
  116ba8:	74 19                	je     116bc3 <_Timer_server_Body+0x137><== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
  116baa:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
          _ISR_Enable( level );                                       
  116bb1:	52                   	push   %edx                           
  116bb2:	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 );    
  116bb3:	52                   	push   %edx                           
  116bb4:	52                   	push   %edx                           
  116bb5:	ff 70 24             	pushl  0x24(%eax)                     
  116bb8:	ff 70 20             	pushl  0x20(%eax)                     
  116bbb:	ff 50 1c             	call   *0x1c(%eax)                    
      }                                                               
  116bbe:	83 c4 10             	add    $0x10,%esp                     
  116bc1:	eb d0                	jmp    116b93 <_Timer_server_Body+0x107>
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
  116bc3:	52                   	push   %edx                           
  116bc4:	9d                   	popf                                  
  116bc5:	e9 09 ff ff ff       	jmp    116ad3 <_Timer_server_Body+0x47>
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
  116bca:	c6 43 7c 00          	movb   $0x0,0x7c(%ebx)                
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
  116bce:	e8 1d fe ff ff       	call   1169f0 <_Thread_Disable_dispatch>
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
  116bd3:	50                   	push   %eax                           
  116bd4:	50                   	push   %eax                           
  116bd5:	6a 08                	push   $0x8                           
  116bd7:	ff 33                	pushl  (%ebx)                         
  116bd9:	e8 0e 31 00 00       	call   119cec <_Thread_Set_state>     
        _Timer_server_Reset_interval_system_watchdog( ts );           
  116bde:	89 d8                	mov    %ebx,%eax                      
  116be0:	e8 1b fe ff ff       	call   116a00 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
  116be5:	89 d8                	mov    %ebx,%eax                      
  116be7:	e8 5a fe ff ff       	call   116a46 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
  116bec:	e8 f1 27 00 00       	call   1193e2 <_Thread_Enable_dispatch>
                                                                      
      ts->active = true;                                              
  116bf1:	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 );        
  116bf5:	59                   	pop    %ecx                           
  116bf6:	ff 75 bc             	pushl  -0x44(%ebp)                    
  116bf9:	e8 26 3a 00 00       	call   11a624 <_Watchdog_Remove>      
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  116bfe:	8d 43 40             	lea    0x40(%ebx),%eax                
  116c01:	89 04 24             	mov    %eax,(%esp)                    
  116c04:	e8 1b 3a 00 00       	call   11a624 <_Watchdog_Remove>      
  116c09:	83 c4 10             	add    $0x10,%esp                     
  116c0c:	e9 c2 fe ff ff       	jmp    116ad3 <_Timer_server_Body+0x47>
                                                                      

00116c11 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
  116c11:	55                   	push   %ebp                           
  116c12:	89 e5                	mov    %esp,%ebp                      
  116c14:	57                   	push   %edi                           
  116c15:	56                   	push   %esi                           
  116c16:	53                   	push   %ebx                           
  116c17:	83 ec 2c             	sub    $0x2c,%esp                     
  116c1a:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  116c1d:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( ts->insert_chain == NULL ) {                                   
  116c20:	8b 43 78             	mov    0x78(%ebx),%eax                
  116c23:	85 c0                	test   %eax,%eax                      
  116c25:	0f 85 de 00 00 00    	jne    116d09 <_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();                                         
  116c2b:	e8 c0 fd ff ff       	call   1169f0 <_Thread_Disable_dispatch>
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  116c30:	8b 46 38             	mov    0x38(%esi),%eax                
  116c33:	83 f8 01             	cmp    $0x1,%eax                      
  116c36:	75 5a                	jne    116c92 <_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 );                                            
  116c38:	9c                   	pushf                                 
  116c39:	fa                   	cli                                   
  116c3a:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = _Watchdog_Ticks_since_boot;                            
  116c3d:	8b 15 f0 e6 13 00    	mov    0x13e6f0,%edx                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
  116c43:	8b 4b 3c             	mov    0x3c(%ebx),%ecx                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  116c46:	8b 43 30             	mov    0x30(%ebx),%eax                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  116c49:	8d 7b 34             	lea    0x34(%ebx),%edi                
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
  116c4c:	39 f8                	cmp    %edi,%eax                      
  116c4e:	74 19                	je     116c69 <_Timer_server_Schedule_operation_method+0x58>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
  116c50:	89 d7                	mov    %edx,%edi                      
  116c52:	29 cf                	sub    %ecx,%edi                      
  116c54:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
  116c57:	8b 78 10             	mov    0x10(%eax),%edi                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
  116c5a:	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) {                                   
  116c5c:	3b 7d e4             	cmp    -0x1c(%ebp),%edi               
  116c5f:	76 05                	jbe    116c66 <_Timer_server_Schedule_operation_method+0x55>
        delta_interval -= delta;                                      
  116c61:	89 f9                	mov    %edi,%ecx                      
  116c63:	2b 4d e4             	sub    -0x1c(%ebp),%ecx               
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116c66:	89 48 10             	mov    %ecx,0x10(%eax)                
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
  116c69:	89 53 3c             	mov    %edx,0x3c(%ebx)                
    _ISR_Enable( level );                                             
  116c6c:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116c6f:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116c70:	50                   	push   %eax                           
  116c71:	50                   	push   %eax                           
  116c72:	83 c6 10             	add    $0x10,%esi                     
  116c75:	56                   	push   %esi                           
  116c76:	8d 43 30             	lea    0x30(%ebx),%eax                
  116c79:	50                   	push   %eax                           
  116c7a:	e8 8d 38 00 00       	call   11a50c <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116c7f:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116c82:	83 c4 10             	add    $0x10,%esp                     
  116c85:	84 c0                	test   %al,%al                        
  116c87:	75 74                	jne    116cfd <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_interval_system_watchdog( ts );             
  116c89:	89 d8                	mov    %ebx,%eax                      
  116c8b:	e8 70 fd ff ff       	call   116a00 <_Timer_server_Reset_interval_system_watchdog>
  116c90:	eb 6b                	jmp    116cfd <_Timer_server_Schedule_operation_method+0xec>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116c92:	83 f8 03             	cmp    $0x3,%eax                      
  116c95:	75 66                	jne    116cfd <_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 );                                            
  116c97:	9c                   	pushf                                 
  116c98:	fa                   	cli                                   
  116c99:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
  116c9c:	8b 15 44 e6 13 00    	mov    0x13e644,%edx                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
  116ca2:	8b 43 74             	mov    0x74(%ebx),%eax                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  116ca5:	8b 4b 68             	mov    0x68(%ebx),%ecx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  116ca8:	8d 7b 6c             	lea    0x6c(%ebx),%edi                
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
  116cab:	39 f9                	cmp    %edi,%ecx                      
  116cad:	74 27                	je     116cd6 <_Timer_server_Schedule_operation_method+0xc5>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
  116caf:	8b 79 10             	mov    0x10(%ecx),%edi                
  116cb2:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
      if ( snapshot > last_snapshot ) {                               
  116cb5:	39 c2                	cmp    %eax,%edx                      
  116cb7:	76 15                	jbe    116cce <_Timer_server_Schedule_operation_method+0xbd>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
  116cb9:	89 d7                	mov    %edx,%edi                      
  116cbb:	29 c7                	sub    %eax,%edi                      
  116cbd:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
        if (delta_interval > delta) {                                 
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
  116cc0:	31 c0                	xor    %eax,%eax                      
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
  116cc2:	39 7d d4             	cmp    %edi,-0x2c(%ebp)               
  116cc5:	76 0c                	jbe    116cd3 <_Timer_server_Schedule_operation_method+0xc2><== NEVER TAKEN
          delta_interval -= delta;                                    
  116cc7:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  116cca:	29 f8                	sub    %edi,%eax                      
  116ccc:	eb 05                	jmp    116cd3 <_Timer_server_Schedule_operation_method+0xc2>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
  116cce:	03 45 d4             	add    -0x2c(%ebp),%eax               
        delta_interval += delta;                                      
  116cd1:	29 d0                	sub    %edx,%eax                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116cd3:	89 41 10             	mov    %eax,0x10(%ecx)                
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
  116cd6:	89 53 74             	mov    %edx,0x74(%ebx)                
    _ISR_Enable( level );                                             
  116cd9:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116cdc:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116cdd:	57                   	push   %edi                           
  116cde:	57                   	push   %edi                           
  116cdf:	83 c6 10             	add    $0x10,%esi                     
  116ce2:	56                   	push   %esi                           
  116ce3:	8d 43 68             	lea    0x68(%ebx),%eax                
  116ce6:	50                   	push   %eax                           
  116ce7:	e8 20 38 00 00       	call   11a50c <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116cec:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116cef:	83 c4 10             	add    $0x10,%esp                     
  116cf2:	84 c0                	test   %al,%al                        
  116cf4:	75 07                	jne    116cfd <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
  116cf6:	89 d8                	mov    %ebx,%eax                      
  116cf8:	e8 49 fd ff ff       	call   116a46 <_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 );           
  }                                                                   
}                                                                     
  116cfd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116d00:	5b                   	pop    %ebx                           
  116d01:	5e                   	pop    %esi                           
  116d02:	5f                   	pop    %edi                           
  116d03:	c9                   	leave                                 
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
  116d04:	e9 d9 26 00 00       	jmp    1193e2 <_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 );           
  116d09:	8b 43 78             	mov    0x78(%ebx),%eax                <== NOT EXECUTED
  116d0c:	89 75 0c             	mov    %esi,0xc(%ebp)                 <== NOT EXECUTED
  116d0f:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
  }                                                                   
}                                                                     
  116d12:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  116d15:	5b                   	pop    %ebx                           <== NOT EXECUTED
  116d16:	5e                   	pop    %esi                           <== NOT EXECUTED
  116d17:	5f                   	pop    %edi                           <== NOT EXECUTED
  116d18:	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 );           
  116d19:	e9 be 06 00 00       	jmp    1173dc <_Chain_Append>         <== NOT EXECUTED
                                                                      

0010e544 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
  10e544:	55                   	push   %ebp                           
  10e545:	89 e5                	mov    %esp,%ebp                      
  10e547:	57                   	push   %edi                           
  10e548:	56                   	push   %esi                           
  10e549:	53                   	push   %ebx                           
  10e54a:	83 ec 1c             	sub    $0x1c,%esp                     
  10e54d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e550:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10e553:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  10e556:	9c                   	pushf                                 
  10e557:	fa                   	cli                                   
  10e558:	58                   	pop    %eax                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10e559:	8b 16                	mov    (%esi),%edx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e55b:	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 ) ) {                                 
  10e55e:	39 ca                	cmp    %ecx,%edx                      
  10e560:	74 44                	je     10e5a6 <_Watchdog_Adjust+0x62> 
    switch ( direction ) {                                            
  10e562:	85 ff                	test   %edi,%edi                      
  10e564:	74 3c                	je     10e5a2 <_Watchdog_Adjust+0x5e> 
  10e566:	4f                   	dec    %edi                           
  10e567:	75 3d                	jne    10e5a6 <_Watchdog_Adjust+0x62> <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
  10e569:	01 5a 10             	add    %ebx,0x10(%edx)                
        break;                                                        
  10e56c:	eb 38                	jmp    10e5a6 <_Watchdog_Adjust+0x62> 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
  10e56e:	8b 16                	mov    (%esi),%edx                    
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  10e570:	8b 7a 10             	mov    0x10(%edx),%edi                
  10e573:	39 fb                	cmp    %edi,%ebx                      
  10e575:	73 07                	jae    10e57e <_Watchdog_Adjust+0x3a> 
            _Watchdog_First( header )->delta_interval -= units;       
  10e577:	29 df                	sub    %ebx,%edi                      
  10e579:	89 7a 10             	mov    %edi,0x10(%edx)                
            break;                                                    
  10e57c:	eb 28                	jmp    10e5a6 <_Watchdog_Adjust+0x62> 
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
  10e57e:	c7 42 10 01 00 00 00 	movl   $0x1,0x10(%edx)                
                                                                      
            _ISR_Enable( level );                                     
  10e585:	50                   	push   %eax                           
  10e586:	9d                   	popf                                  
                                                                      
            _Watchdog_Tickle( header );                               
  10e587:	83 ec 0c             	sub    $0xc,%esp                      
  10e58a:	56                   	push   %esi                           
  10e58b:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10e58e:	e8 9d 01 00 00       	call   10e730 <_Watchdog_Tickle>      
                                                                      
            _ISR_Disable( level );                                    
  10e593:	9c                   	pushf                                 
  10e594:	fa                   	cli                                   
  10e595:	58                   	pop    %eax                           
                                                                      
            if ( _Chain_Is_empty( header ) )                          
  10e596:	83 c4 10             	add    $0x10,%esp                     
  10e599:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10e59c:	39 0e                	cmp    %ecx,(%esi)                    
  10e59e:	74 06                	je     10e5a6 <_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;       
  10e5a0:	29 fb                	sub    %edi,%ebx                      
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  10e5a2:	85 db                	test   %ebx,%ebx                      
  10e5a4:	75 c8                	jne    10e56e <_Watchdog_Adjust+0x2a> <== ALWAYS TAKEN
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10e5a6:	50                   	push   %eax                           
  10e5a7:	9d                   	popf                                  
                                                                      
}                                                                     
  10e5a8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e5ab:	5b                   	pop    %ebx                           
  10e5ac:	5e                   	pop    %esi                           
  10e5ad:	5f                   	pop    %edi                           
  10e5ae:	c9                   	leave                                 
  10e5af:	c3                   	ret                                   
                                                                      

0010ce48 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
  10ce48:	55                   	push   %ebp                           
  10ce49:	89 e5                	mov    %esp,%ebp                      
  10ce4b:	56                   	push   %esi                           
  10ce4c:	53                   	push   %ebx                           
  10ce4d:	8b 55 08             	mov    0x8(%ebp),%edx                 
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  10ce50:	9c                   	pushf                                 
  10ce51:	fa                   	cli                                   
  10ce52:	5e                   	pop    %esi                           
  previous_state = the_watchdog->state;                               
  10ce53:	8b 42 08             	mov    0x8(%edx),%eax                 
  switch ( previous_state ) {                                         
  10ce56:	83 f8 01             	cmp    $0x1,%eax                      
  10ce59:	74 09                	je     10ce64 <_Watchdog_Remove+0x1c> 
  10ce5b:	72 42                	jb     10ce9f <_Watchdog_Remove+0x57> 
  10ce5d:	83 f8 03             	cmp    $0x3,%eax                      
  10ce60:	77 3d                	ja     10ce9f <_Watchdog_Remove+0x57> <== NEVER TAKEN
  10ce62:	eb 09                	jmp    10ce6d <_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;                        
  10ce64:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
      break;                                                          
  10ce6b:	eb 32                	jmp    10ce9f <_Watchdog_Remove+0x57> 
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
  10ce6d:	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 );                                           
}                                                                     
  10ce74:	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) )                            
  10ce76:	83 39 00             	cmpl   $0x0,(%ecx)                    
  10ce79:	74 06                	je     10ce81 <_Watchdog_Remove+0x39> 
        next_watchdog->delta_interval += the_watchdog->delta_interval;
  10ce7b:	8b 5a 10             	mov    0x10(%edx),%ebx                
  10ce7e:	01 59 10             	add    %ebx,0x10(%ecx)                
                                                                      
      if ( _Watchdog_Sync_count )                                     
  10ce81:	8b 1d 18 43 12 00    	mov    0x124318,%ebx                  
  10ce87:	85 db                	test   %ebx,%ebx                      
  10ce89:	74 0c                	je     10ce97 <_Watchdog_Remove+0x4f> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
  10ce8b:	8b 1d 30 47 12 00    	mov    0x124730,%ebx                  
  10ce91:	89 1d 90 42 12 00    	mov    %ebx,0x124290                  
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  10ce97:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  next->previous = previous;                                          
  10ce9a:	89 59 04             	mov    %ebx,0x4(%ecx)                 
  previous->next = next;                                              
  10ce9d:	89 0b                	mov    %ecx,(%ebx)                    
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
  10ce9f:	8b 0d 1c 43 12 00    	mov    0x12431c,%ecx                  
  10cea5:	89 4a 18             	mov    %ecx,0x18(%edx)                
                                                                      
  _ISR_Enable( level );                                               
  10cea8:	56                   	push   %esi                           
  10cea9:	9d                   	popf                                  
  return( previous_state );                                           
}                                                                     
  10ceaa:	5b                   	pop    %ebx                           
  10ceab:	5e                   	pop    %esi                           
  10ceac:	c9                   	leave                                 
  10cead:	c3                   	ret                                   
                                                                      

0010e0b8 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
  10e0b8:	55                   	push   %ebp                           
  10e0b9:	89 e5                	mov    %esp,%ebp                      
  10e0bb:	57                   	push   %edi                           
  10e0bc:	56                   	push   %esi                           
  10e0bd:	53                   	push   %ebx                           
  10e0be:	83 ec 20             	sub    $0x20,%esp                     
  10e0c1:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10e0c4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
  10e0c7:	9c                   	pushf                                 
  10e0c8:	fa                   	cli                                   
  10e0c9:	8f 45 e4             	popl   -0x1c(%ebp)                    
    printk( "Watchdog Chain: %s %p\n", name, header );                
  10e0cc:	56                   	push   %esi                           
  10e0cd:	57                   	push   %edi                           
  10e0ce:	68 bc 11 12 00       	push   $0x1211bc                      
  10e0d3:	e8 d4 a9 ff ff       	call   108aac <printk>                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10e0d8:	8b 1e                	mov    (%esi),%ebx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e0da:	83 c6 04             	add    $0x4,%esi                      
    if ( !_Chain_Is_empty( header ) ) {                               
  10e0dd:	83 c4 10             	add    $0x10,%esp                     
  10e0e0:	39 f3                	cmp    %esi,%ebx                      
  10e0e2:	74 1d                	je     10e101 <_Watchdog_Report_chain+0x49>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
  10e0e4:	52                   	push   %edx                           
  10e0e5:	52                   	push   %edx                           
  10e0e6:	53                   	push   %ebx                           
  10e0e7:	6a 00                	push   $0x0                           
  10e0e9:	e8 32 00 00 00       	call   10e120 <_Watchdog_Report>      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
  10e0ee:	8b 1b                	mov    (%ebx),%ebx                    
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
  10e0f0:	83 c4 10             	add    $0x10,%esp                     
  10e0f3:	39 f3                	cmp    %esi,%ebx                      
  10e0f5:	75 ed                	jne    10e0e4 <_Watchdog_Report_chain+0x2c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
  10e0f7:	50                   	push   %eax                           
  10e0f8:	50                   	push   %eax                           
  10e0f9:	57                   	push   %edi                           
  10e0fa:	68 d3 11 12 00       	push   $0x1211d3                      
  10e0ff:	eb 08                	jmp    10e109 <_Watchdog_Report_chain+0x51>
    } else {                                                          
      printk( "Chain is empty\n" );                                   
  10e101:	83 ec 0c             	sub    $0xc,%esp                      
  10e104:	68 e2 11 12 00       	push   $0x1211e2                      
  10e109:	e8 9e a9 ff ff       	call   108aac <printk>                
  10e10e:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
  _ISR_Enable( level );                                               
  10e111:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e114:	9d                   	popf                                  
}                                                                     
  10e115:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e118:	5b                   	pop    %ebx                           
  10e119:	5e                   	pop    %esi                           
  10e11a:	5f                   	pop    %edi                           
  10e11b:	c9                   	leave                                 
  10e11c:	c3                   	ret                                   
                                                                      

0010ceb0 <_Watchdog_Tickle>: */ void _Watchdog_Tickle( Chain_Control *header ) {
  10ceb0:	55                   	push   %ebp                           
  10ceb1:	89 e5                	mov    %esp,%ebp                      
  10ceb3:	57                   	push   %edi                           
  10ceb4:	56                   	push   %esi                           
  10ceb5:	53                   	push   %ebx                           
  10ceb6:	83 ec 1c             	sub    $0x1c,%esp                     
  10ceb9:	8b 7d 08             	mov    0x8(%ebp),%edi                 
   * See the comment in watchdoginsert.c and watchdogadjust.c         
   * about why it's safe not to declare header a pointer to           
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
  10cebc:	9c                   	pushf                                 
  10cebd:	fa                   	cli                                   
  10cebe:	5e                   	pop    %esi                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10cebf:	8b 1f                	mov    (%edi),%ebx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10cec1:	8d 47 04             	lea    0x4(%edi),%eax                 
  10cec4:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
                                                                      
  if ( _Chain_Is_empty( header ) )                                    
  10cec7:	39 c3                	cmp    %eax,%ebx                      
  10cec9:	74 40                	je     10cf0b <_Watchdog_Tickle+0x5b> 
   * to be inserted has already had its delta_interval adjusted to 0, and
   * so is added to the head of the chain with a delta_interval of 0. 
   *                                                                  
   * Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)              
   */                                                                 
  if (the_watchdog->delta_interval != 0) {                            
  10cecb:	8b 43 10             	mov    0x10(%ebx),%eax                
  10cece:	85 c0                	test   %eax,%eax                      
  10ced0:	74 08                	je     10ceda <_Watchdog_Tickle+0x2a> 
    the_watchdog->delta_interval--;                                   
  10ced2:	48                   	dec    %eax                           
  10ced3:	89 43 10             	mov    %eax,0x10(%ebx)                
    if ( the_watchdog->delta_interval != 0 )                          
  10ced6:	85 c0                	test   %eax,%eax                      
  10ced8:	75 31                	jne    10cf0b <_Watchdog_Tickle+0x5b> 
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
  10ceda:	83 ec 0c             	sub    $0xc,%esp                      
  10cedd:	53                   	push   %ebx                           
  10cede:	e8 65 ff ff ff       	call   10ce48 <_Watchdog_Remove>      
                                                                      
     _ISR_Enable( level );                                            
  10cee3:	56                   	push   %esi                           
  10cee4:	9d                   	popf                                  
                                                                      
     switch( watchdog_state ) {                                       
  10cee5:	83 c4 10             	add    $0x10,%esp                     
  10cee8:	83 f8 02             	cmp    $0x2,%eax                      
  10ceeb:	75 0e                	jne    10cefb <_Watchdog_Tickle+0x4b> <== NEVER TAKEN
       case WATCHDOG_ACTIVE:                                          
         (*the_watchdog->routine)(                                    
  10ceed:	50                   	push   %eax                           
  10ceee:	50                   	push   %eax                           
  10ceef:	ff 73 24             	pushl  0x24(%ebx)                     
  10cef2:	ff 73 20             	pushl  0x20(%ebx)                     
  10cef5:	ff 53 1c             	call   *0x1c(%ebx)                    
           the_watchdog->id,                                          
           the_watchdog->user_data                                    
         );                                                           
         break;                                                       
  10cef8:	83 c4 10             	add    $0x10,%esp                     
                                                                      
       case WATCHDOG_REMOVE_IT:                                       
         break;                                                       
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
  10cefb:	9c                   	pushf                                 
  10cefc:	fa                   	cli                                   
  10cefd:	5e                   	pop    %esi                           
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
  10cefe:	8b 1f                	mov    (%edi),%ebx                    
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
  10cf00:	3b 5d e4             	cmp    -0x1c(%ebp),%ebx               
  10cf03:	74 06                	je     10cf0b <_Watchdog_Tickle+0x5b> 
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
  10cf05:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10cf09:	eb cd                	jmp    10ced8 <_Watchdog_Tickle+0x28> 
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
  10cf0b:	56                   	push   %esi                           
  10cf0c:	9d                   	popf                                  
}                                                                     
  10cf0d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cf10:	5b                   	pop    %ebx                           
  10cf11:	5e                   	pop    %esi                           
  10cf12:	5f                   	pop    %edi                           
  10cf13:	c9                   	leave                                 
  10cf14:	c3                   	ret                                   
                                                                      

0010a014 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
  10a014:	55                   	push   %ebp                           
  10a015:	89 e5                	mov    %esp,%ebp                      
  10a017:	83 ec 08             	sub    $0x8,%esp                      
  10a01a:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10a01d:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !tp )                                                          
  10a020:	85 d2                	test   %edx,%edx                      
  10a022:	74 3c                	je     10a060 <clock_gettime+0x4c>    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
  10a024:	83 f8 01             	cmp    $0x1,%eax                      
  10a027:	75 0b                	jne    10a034 <clock_gettime+0x20>    
    _TOD_Get(tp);                                                     
  10a029:	83 ec 0c             	sub    $0xc,%esp                      
  10a02c:	52                   	push   %edx                           
  10a02d:	e8 a6 1b 00 00       	call   10bbd8 <_TOD_Get>              
  10a032:	eb 13                	jmp    10a047 <clock_gettime+0x33>    
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
  10a034:	83 f8 04             	cmp    $0x4,%eax                      
  10a037:	74 05                	je     10a03e <clock_gettime+0x2a>    <== NEVER TAKEN
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
  10a039:	83 f8 02             	cmp    $0x2,%eax                      
  10a03c:	75 10                	jne    10a04e <clock_gettime+0x3a>    
    _TOD_Get_uptime_as_timespec( tp );                                
  10a03e:	83 ec 0c             	sub    $0xc,%esp                      
  10a041:	52                   	push   %edx                           
  10a042:	e8 ed 1b 00 00       	call   10bc34 <_TOD_Get_uptime_as_timespec>
    return 0;                                                         
  10a047:	83 c4 10             	add    $0x10,%esp                     
  10a04a:	31 c0                	xor    %eax,%eax                      
  10a04c:	eb 20                	jmp    10a06e <clock_gettime+0x5a>    
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
  10a04e:	83 f8 03             	cmp    $0x3,%eax                      
  10a051:	75 0d                	jne    10a060 <clock_gettime+0x4c>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  10a053:	e8 6c 7f 00 00       	call   111fc4 <__errno>               
  10a058:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
  10a05e:	eb 0b                	jmp    10a06b <clock_gettime+0x57>    
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10a060:	e8 5f 7f 00 00       	call   111fc4 <__errno>               
  10a065:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a06b:	83 c8 ff             	or     $0xffffffff,%eax               
                                                                      
  return 0;                                                           
}                                                                     
  10a06e:	c9                   	leave                                 
  10a06f:	c3                   	ret                                   
                                                                      

0010a070 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
  10a070:	55                   	push   %ebp                           
  10a071:	89 e5                	mov    %esp,%ebp                      
  10a073:	83 ec 08             	sub    $0x8,%esp                      
  10a076:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10a079:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !tp )                                                          
  10a07c:	85 d2                	test   %edx,%edx                      
  10a07e:	74 44                	je     10a0c4 <clock_settime+0x54>    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
  10a080:	83 f8 01             	cmp    $0x1,%eax                      
  10a083:	75 28                	jne    10a0ad <clock_settime+0x3d>    
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
  10a085:	81 3a ff e4 da 21    	cmpl   $0x21dae4ff,(%edx)             
  10a08b:	76 37                	jbe    10a0c4 <clock_settime+0x54>    
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10a08d:	a1 24 62 12 00       	mov    0x126224,%eax                  
  10a092:	40                   	inc    %eax                           
  10a093:	a3 24 62 12 00       	mov    %eax,0x126224                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
  10a098:	83 ec 0c             	sub    $0xc,%esp                      
  10a09b:	52                   	push   %edx                           
  10a09c:	e8 eb 1b 00 00       	call   10bc8c <_TOD_Set>              
    _Thread_Enable_dispatch();                                        
  10a0a1:	e8 74 2c 00 00       	call   10cd1a <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
  10a0a6:	83 c4 10             	add    $0x10,%esp                     
  10a0a9:	31 c0                	xor    %eax,%eax                      
  10a0ab:	eb 25                	jmp    10a0d2 <clock_settime+0x62>    
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
  10a0ad:	83 f8 02             	cmp    $0x2,%eax                      
  10a0b0:	74 05                	je     10a0b7 <clock_settime+0x47>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
  10a0b2:	83 f8 03             	cmp    $0x3,%eax                      
  10a0b5:	75 0d                	jne    10a0c4 <clock_settime+0x54>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  10a0b7:	e8 08 7f 00 00       	call   111fc4 <__errno>               
  10a0bc:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
  10a0c2:	eb 0b                	jmp    10a0cf <clock_settime+0x5f>    
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10a0c4:	e8 fb 7e 00 00       	call   111fc4 <__errno>               
  10a0c9:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a0cf:	83 c8 ff             	or     $0xffffffff,%eax               
                                                                      
  return 0;                                                           
}                                                                     
  10a0d2:	c9                   	leave                                 
  10a0d3:	c3                   	ret                                   
                                                                      

001218b4 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
  1218b4:	55                   	push   %ebp                           
  1218b5:	89 e5                	mov    %esp,%ebp                      
  1218b7:	57                   	push   %edi                           
  1218b8:	56                   	push   %esi                           
  1218b9:	53                   	push   %ebx                           
  1218ba:	83 ec 4c             	sub    $0x4c,%esp                     
  1218bd:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  1218c0:	8b 7d 10             	mov    0x10(%ebp),%edi                
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
  1218c3:	e8 64 fd ff ff       	call   12162c <getpid>                
  1218c8:	39 45 08             	cmp    %eax,0x8(%ebp)                 
  1218cb:	74 0d                	je     1218da <killinfo+0x26>         
    rtems_set_errno_and_return_minus_one( ESRCH );                    
  1218cd:	e8 06 41 ff ff       	call   1159d8 <__errno>               
  1218d2:	c7 00 03 00 00 00    	movl   $0x3,(%eax)                    
  1218d8:	eb 0f                	jmp    1218e9 <killinfo+0x35>         
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
  1218da:	85 db                	test   %ebx,%ebx                      
  1218dc:	75 13                	jne    1218f1 <killinfo+0x3d>         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  1218de:	e8 f5 40 ff ff       	call   1159d8 <__errno>               
  1218e3:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  1218e9:	83 c8 ff             	or     $0xffffffff,%eax               
  1218ec:	e9 ea 01 00 00       	jmp    121adb <killinfo+0x227>        
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  1218f1:	8d 4b ff             	lea    -0x1(%ebx),%ecx                
                                                                      
  if ( !is_valid_signo(sig) )                                         
  1218f4:	83 f9 1f             	cmp    $0x1f,%ecx                     
  1218f7:	77 e5                	ja     1218de <killinfo+0x2a>         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
  1218f9:	6b d3 0c             	imul   $0xc,%ebx,%edx                 
    return 0;                                                         
  1218fc:	31 c0                	xor    %eax,%eax                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
  1218fe:	83 ba c0 a8 12 00 01 	cmpl   $0x1,0x12a8c0(%edx)            
  121905:	0f 84 d0 01 00 00    	je     121adb <killinfo+0x227>        
  /*                                                                  
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
  12190b:	83 fb 04             	cmp    $0x4,%ebx                      
  12190e:	74 0a                	je     12191a <killinfo+0x66>         
  121910:	83 fb 08             	cmp    $0x8,%ebx                      
  121913:	74 05                	je     12191a <killinfo+0x66>         
  121915:	83 fb 0b             	cmp    $0xb,%ebx                      
  121918:	75 16                	jne    121930 <killinfo+0x7c>         
      return pthread_kill( pthread_self(), sig );                     
  12191a:	e8 79 03 00 00       	call   121c98 <pthread_self>          
  12191f:	56                   	push   %esi                           
  121920:	56                   	push   %esi                           
  121921:	53                   	push   %ebx                           
  121922:	50                   	push   %eax                           
  121923:	e8 c8 02 00 00       	call   121bf0 <pthread_kill>          
  121928:	83 c4 10             	add    $0x10,%esp                     
  12192b:	e9 ab 01 00 00       	jmp    121adb <killinfo+0x227>        
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
  121930:	be 01 00 00 00       	mov    $0x1,%esi                      
  121935:	d3 e6                	shl    %cl,%esi                       
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  121937:	89 5d dc             	mov    %ebx,-0x24(%ebp)               
  siginfo->si_code = SI_USER;                                         
  12193a:	c7 45 e0 01 00 00 00 	movl   $0x1,-0x20(%ebp)               
  if ( !value ) {                                                     
  121941:	85 ff                	test   %edi,%edi                      
  121943:	75 09                	jne    12194e <killinfo+0x9a>         
    siginfo->si_value.sival_int = 0;                                  
  121945:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  12194c:	eb 05                	jmp    121953 <killinfo+0x9f>         
  } else {                                                            
    siginfo->si_value = *value;                                       
  12194e:	8b 07                	mov    (%edi),%eax                    
  121950:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  121953:	a1 58 a3 12 00       	mov    0x12a358,%eax                  
  121958:	40                   	inc    %eax                           
  121959:	a3 58 a3 12 00       	mov    %eax,0x12a358                  
                                                                      
  /*                                                                  
   *  Is the currently executing thread interested?  If so then it will
   *  get it an execute it as soon as the dispatcher executes.        
   */                                                                 
  the_thread = _Thread_Executing;                                     
  12195e:	8b 15 a8 a8 12 00    	mov    0x12a8a8,%edx                  
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
  121964:	8b 82 f8 00 00 00    	mov    0xf8(%edx),%eax                
  12196a:	8b 80 cc 00 00 00    	mov    0xcc(%eax),%eax                
  121970:	f7 d0                	not    %eax                           
  121972:	85 c6                	test   %eax,%esi                      
  121974:	0f 85 e7 00 00 00    	jne    121a61 <killinfo+0x1ad>        
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
  12197a:	a1 44 aa 12 00       	mov    0x12aa44,%eax                  
  12197f:	eb 23                	jmp    1219a4 <killinfo+0xf0>         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
  121981:	89 c2                	mov    %eax,%edx                      
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
  121983:	8b 88 f8 00 00 00    	mov    0xf8(%eax),%ecx                
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
  121989:	85 70 30             	test   %esi,0x30(%eax)                
  12198c:	0f 85 cf 00 00 00    	jne    121a61 <killinfo+0x1ad>        
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
  121992:	8b 89 cc 00 00 00    	mov    0xcc(%ecx),%ecx                
  121998:	f7 d1                	not    %ecx                           
  12199a:	85 ce                	test   %ecx,%esi                      
  12199c:	0f 85 bf 00 00 00    	jne    121a61 <killinfo+0x1ad>        
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
  1219a2:	8b 00                	mov    (%eax),%eax                    
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
  1219a4:	3d 48 aa 12 00       	cmp    $0x12aa48,%eax                 
  1219a9:	75 d6                	jne    121981 <killinfo+0xcd>         
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
  1219ab:	0f b6 0d f4 61 12 00 	movzbl 0x1261f4,%ecx                  
  1219b2:	41                   	inc    %ecx                           
   *                                                                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  1219b3:	31 d2                	xor    %edx,%edx                      
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
  1219b5:	c7 45 cc 02 00 00 00 	movl   $0x2,-0x34(%ebp)               
                                                                      
    /*                                                                
     *  This can occur when no one is interested and an API is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
  1219bc:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  1219bf:	8b 04 bd 30 a3 12 00 	mov    0x12a330(,%edi,4),%eax         
  1219c6:	85 c0                	test   %eax,%eax                      
  1219c8:	0f 84 82 00 00 00    	je     121a50 <killinfo+0x19c>        <== NEVER TAKEN
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
  1219ce:	8b 40 04             	mov    0x4(%eax),%eax                 
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
  1219d1:	0f b7 78 10          	movzwl 0x10(%eax),%edi                
  1219d5:	89 7d c4             	mov    %edi,-0x3c(%ebp)               
    object_table = the_info->local_table;                             
  1219d8:	8b 40 1c             	mov    0x1c(%eax),%eax                
  1219db:	89 45 c0             	mov    %eax,-0x40(%ebp)               
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
  1219de:	c7 45 d0 01 00 00 00 	movl   $0x1,-0x30(%ebp)               
  1219e5:	89 5d b4             	mov    %ebx,-0x4c(%ebp)               
  1219e8:	eb 5b                	jmp    121a45 <killinfo+0x191>        
      the_thread = (Thread_Control *) object_table[ index ];          
  1219ea:	8b 5d d0             	mov    -0x30(%ebp),%ebx               
  1219ed:	8b 7d c0             	mov    -0x40(%ebp),%edi               
  1219f0:	8b 04 9f             	mov    (%edi,%ebx,4),%eax             
                                                                      
      if ( !the_thread )                                              
  1219f3:	85 c0                	test   %eax,%eax                      
  1219f5:	74 4b                	je     121a42 <killinfo+0x18e>        
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
  1219f7:	8b 58 14             	mov    0x14(%eax),%ebx                
  1219fa:	89 5d d4             	mov    %ebx,-0x2c(%ebp)               
  1219fd:	39 cb                	cmp    %ecx,%ebx                      
  1219ff:	77 41                	ja     121a42 <killinfo+0x18e>        
      #if defined(RTEMS_DEBUG)                                        
        if ( !api )                                                   
          continue;                                                   
      #endif                                                          
                                                                      
      if ( !_POSIX_signals_Is_interested( api, mask ) )               
  121a01:	8b b8 f8 00 00 00    	mov    0xf8(%eax),%edi                
  121a07:	8b bf cc 00 00 00    	mov    0xcc(%edi),%edi                
  121a0d:	f7 d7                	not    %edi                           
  121a0f:	85 fe                	test   %edi,%esi                      
  121a11:	74 2f                	je     121a42 <killinfo+0x18e>        
       *                                                              
       *  NOTE: We initialized interested_priority to PRIORITY_MAXIMUM + 1
       *        so we never have to worry about deferencing a NULL    
       *        interested thread.                                    
       */                                                             
      if ( the_thread->current_priority < interested_priority ) {     
  121a13:	39 cb                	cmp    %ecx,%ebx                      
  121a15:	72 26                	jb     121a3d <killinfo+0x189>        
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
  121a17:	8b 7a 10             	mov    0x10(%edx),%edi                
  121a1a:	89 7d c8             	mov    %edi,-0x38(%ebp)               
  121a1d:	85 ff                	test   %edi,%edi                      
  121a1f:	74 21                	je     121a42 <killinfo+0x18e>        <== NEVER TAKEN
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
  121a21:	8b 78 10             	mov    0x10(%eax),%edi                
  121a24:	85 ff                	test   %edi,%edi                      
  121a26:	74 15                	je     121a3d <killinfo+0x189>        
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
  121a28:	f7 45 c8 00 00 00 10 	testl  $0x10000000,-0x38(%ebp)        
  121a2f:	75 11                	jne    121a42 <killinfo+0x18e>        
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
  121a31:	81 e7 00 00 00 10    	and    $0x10000000,%edi               
  121a37:	74 09                	je     121a42 <killinfo+0x18e>        
  121a39:	89 d9                	mov    %ebx,%ecx                      
  121a3b:	eb 03                	jmp    121a40 <killinfo+0x18c>        
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
  121a3d:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  121a40:	89 c2                	mov    %eax,%edx                      
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
  121a42:	ff 45 d0             	incl   -0x30(%ebp)                    
  121a45:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  121a48:	39 45 d0             	cmp    %eax,-0x30(%ebp)               
  121a4b:	76 9d                	jbe    1219ea <killinfo+0x136>        
  121a4d:	8b 5d b4             	mov    -0x4c(%ebp),%ebx               
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
  121a50:	ff 45 cc             	incl   -0x34(%ebp)                    
  121a53:	83 7d cc 04          	cmpl   $0x4,-0x34(%ebp)               
  121a57:	0f 85 5f ff ff ff    	jne    1219bc <killinfo+0x108>        
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
  121a5d:	85 d2                	test   %edx,%edx                      
  121a5f:	74 13                	je     121a74 <killinfo+0x1c0>        
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
  121a61:	51                   	push   %ecx                           
  mask = signo_to_mask( sig );                                        
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  121a62:	8d 45 dc             	lea    -0x24(%ebp),%eax               
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
  121a65:	50                   	push   %eax                           
  121a66:	53                   	push   %ebx                           
  121a67:	52                   	push   %edx                           
  121a68:	e8 8b 00 00 00       	call   121af8 <_POSIX_signals_Unblock_thread>
  121a6d:	83 c4 10             	add    $0x10,%esp                     
  121a70:	84 c0                	test   %al,%al                        
  121a72:	75 60                	jne    121ad4 <killinfo+0x220>        
                                                                      
  /*                                                                  
   *  We may have woken up a thread but we definitely need to post the
   *  signal to the process wide information set.                     
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
  121a74:	83 ec 0c             	sub    $0xc,%esp                      
  121a77:	56                   	push   %esi                           
  121a78:	e8 67 00 00 00       	call   121ae4 <_POSIX_signals_Set_process_signals>
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
  121a7d:	6b db 0c             	imul   $0xc,%ebx,%ebx                 
  121a80:	83 c4 10             	add    $0x10,%esp                     
  121a83:	83 bb b8 a8 12 00 02 	cmpl   $0x2,0x12a8b8(%ebx)            
  121a8a:	75 48                	jne    121ad4 <killinfo+0x220>        
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
  121a8c:	83 ec 0c             	sub    $0xc,%esp                      
  121a8f:	68 38 aa 12 00       	push   $0x12aa38                      
  121a94:	e8 1f d7 fe ff       	call   10f1b8 <_Chain_Get>            
    if ( !psiginfo ) {                                                
  121a99:	83 c4 10             	add    $0x10,%esp                     
  121a9c:	85 c0                	test   %eax,%eax                      
  121a9e:	75 15                	jne    121ab5 <killinfo+0x201>        
      _Thread_Enable_dispatch();                                      
  121aa0:	e8 81 ec fe ff       	call   110726 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
  121aa5:	e8 2e 3f ff ff       	call   1159d8 <__errno>               
  121aaa:	c7 00 0b 00 00 00    	movl   $0xb,(%eax)                    
  121ab0:	e9 34 fe ff ff       	jmp    1218e9 <killinfo+0x35>         
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
  121ab5:	8d 78 08             	lea    0x8(%eax),%edi                 
  121ab8:	8d 75 dc             	lea    -0x24(%ebp),%esi               
  121abb:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  121ac0:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  121ac2:	52                   	push   %edx                           
  121ac3:	52                   	push   %edx                           
  121ac4:	50                   	push   %eax                           
  121ac5:	81 c3 b0 aa 12 00    	add    $0x12aab0,%ebx                 
  121acb:	53                   	push   %ebx                           
  121acc:	e8 ab d6 fe ff       	call   10f17c <_Chain_Append>         
  121ad1:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  121ad4:	e8 4d ec fe ff       	call   110726 <_Thread_Enable_dispatch>
  return 0;                                                           
  121ad9:	31 c0                	xor    %eax,%eax                      
}                                                                     
  121adb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  121ade:	5b                   	pop    %ebx                           
  121adf:	5e                   	pop    %esi                           
  121ae0:	5f                   	pop    %edi                           
  121ae1:	c9                   	leave                                 
  121ae2:	c3                   	ret                                   
                                                                      

0010e720 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) {
  10e720:	55                   	push   %ebp                           
  10e721:	89 e5                	mov    %esp,%ebp                      
  10e723:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10e726:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
  10e729:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_attr_setschedpolicy(                                      
  pthread_attr_t  *attr,                                              
  int              policy                                             
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
  10e72e:	85 d2                	test   %edx,%edx                      
  10e730:	74 1e                	je     10e750 <pthread_attr_setschedpolicy+0x30>
  10e732:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10e735:	74 19                	je     10e750 <pthread_attr_setschedpolicy+0x30>
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
  10e737:	83 f9 04             	cmp    $0x4,%ecx                      
  10e73a:	77 0f                	ja     10e74b <pthread_attr_setschedpolicy+0x2b>
  10e73c:	b0 01                	mov    $0x1,%al                       
  10e73e:	d3 e0                	shl    %cl,%eax                       
  10e740:	a8 17                	test   $0x17,%al                      
  10e742:	74 07                	je     10e74b <pthread_attr_setschedpolicy+0x2b><== NEVER TAKEN
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
  10e744:	89 4a 14             	mov    %ecx,0x14(%edx)                
      return 0;                                                       
  10e747:	31 c0                	xor    %eax,%eax                      
  10e749:	eb 05                	jmp    10e750 <pthread_attr_setschedpolicy+0x30>
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  10e74b:	b8 86 00 00 00       	mov    $0x86,%eax                     
  }                                                                   
}                                                                     
  10e750:	c9                   	leave                                 
  10e751:	c3                   	ret                                   
                                                                      

0010a594 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
  10a594:	55                   	push   %ebp                           
  10a595:	89 e5                	mov    %esp,%ebp                      
  10a597:	57                   	push   %edi                           
  10a598:	56                   	push   %esi                           
  10a599:	53                   	push   %ebx                           
  10a59a:	83 ec 1c             	sub    $0x1c,%esp                     
  10a59d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a5a0:	8b 75 10             	mov    0x10(%ebp),%esi                
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
    return EINVAL;                                                    
  10a5a3:	b8 16 00 00 00       	mov    $0x16,%eax                     
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
  10a5a8:	85 db                	test   %ebx,%ebx                      
  10a5aa:	0f 84 96 00 00 00    	je     10a646 <pthread_barrier_init+0xb2>
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
  10a5b0:	85 f6                	test   %esi,%esi                      
  10a5b2:	0f 84 8e 00 00 00    	je     10a646 <pthread_barrier_init+0xb2>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
  10a5b8:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10a5bb:	85 ff                	test   %edi,%edi                      
  10a5bd:	75 0f                	jne    10a5ce <pthread_barrier_init+0x3a>
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
  10a5bf:	83 ec 0c             	sub    $0xc,%esp                      
  10a5c2:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  10a5c5:	57                   	push   %edi                           
  10a5c6:	e8 19 ff ff ff       	call   10a4e4 <pthread_barrierattr_init>
  10a5cb:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
  10a5ce:	b8 16 00 00 00       	mov    $0x16,%eax                     
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
  10a5d3:	83 3f 00             	cmpl   $0x0,(%edi)                    
  10a5d6:	74 6e                	je     10a646 <pthread_barrier_init+0xb2>
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
  10a5d8:	83 7f 04 00          	cmpl   $0x0,0x4(%edi)                 
  10a5dc:	75 68                	jne    10a646 <pthread_barrier_init+0xb2><== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
  10a5de:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  the_attributes.maximum_count = count;                               
  10a5e5:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10a5e8:	a1 f4 61 12 00       	mov    0x1261f4,%eax                  
  10a5ed:	40                   	inc    %eax                           
  10a5ee:	a3 f4 61 12 00       	mov    %eax,0x1261f4                  
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Allocate( void )
{                                                                     
  return (POSIX_Barrier_Control *)                                    
    _Objects_Allocate( &_POSIX_Barrier_Information );                 
  10a5f3:	83 ec 0c             	sub    $0xc,%esp                      
  10a5f6:	68 c0 65 12 00       	push   $0x1265c0                      
  10a5fb:	e8 1c 1e 00 00       	call   10c41c <_Objects_Allocate>     
  10a600:	89 c6                	mov    %eax,%esi                      
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
  10a602:	83 c4 10             	add    $0x10,%esp                     
  10a605:	85 c0                	test   %eax,%eax                      
  10a607:	75 0c                	jne    10a615 <pthread_barrier_init+0x81>
    _Thread_Enable_dispatch();                                        
  10a609:	e8 14 2a 00 00       	call   10d022 <_Thread_Enable_dispatch>
    return EAGAIN;                                                    
  10a60e:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  10a613:	eb 31                	jmp    10a646 <pthread_barrier_init+0xb2>
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
  10a615:	50                   	push   %eax                           
  10a616:	50                   	push   %eax                           
  10a617:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10a61a:	50                   	push   %eax                           
  10a61b:	8d 46 10             	lea    0x10(%esi),%eax                
  10a61e:	50                   	push   %eax                           
  10a61f:	e8 9c 14 00 00       	call   10bac0 <_CORE_barrier_Initialize>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10a624:	8b 46 08             	mov    0x8(%esi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10a627:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10a62a:	8b 15 dc 65 12 00    	mov    0x1265dc,%edx                  
  10a630:	89 34 8a             	mov    %esi,(%edx,%ecx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10a633:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
  10a63a:	89 03                	mov    %eax,(%ebx)                    
  _Thread_Enable_dispatch();                                          
  10a63c:	e8 e1 29 00 00       	call   10d022 <_Thread_Enable_dispatch>
  return 0;                                                           
  10a641:	83 c4 10             	add    $0x10,%esp                     
  10a644:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a646:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a649:	5b                   	pop    %ebx                           
  10a64a:	5e                   	pop    %esi                           
  10a64b:	5f                   	pop    %edi                           
  10a64c:	c9                   	leave                                 
  10a64d:	c3                   	ret                                   
                                                                      

00109f4c <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
  109f4c:	55                   	push   %ebp                           
  109f4d:	89 e5                	mov    %esp,%ebp                      
  109f4f:	56                   	push   %esi                           
  109f50:	53                   	push   %ebx                           
  109f51:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  109f54:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  /*                                                                  
   *  The POSIX standard does not address what to do when the routine 
   *  is NULL.  It also does not address what happens when we cannot  
   *  allocate memory or anything else bad happens.                   
   */                                                                 
  if ( !routine )                                                     
  109f57:	85 db                	test   %ebx,%ebx                      
  109f59:	74 4b                	je     109fa6 <pthread_cleanup_push+0x5a>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  109f5b:	a1 cc 61 12 00       	mov    0x1261cc,%eax                  
  109f60:	40                   	inc    %eax                           
  109f61:	a3 cc 61 12 00       	mov    %eax,0x1261cc                  
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
  109f66:	83 ec 0c             	sub    $0xc,%esp                      
  109f69:	6a 10                	push   $0x10                          
  109f6b:	e8 32 3b 00 00       	call   10daa2 <_Workspace_Allocate>   
                                                                      
  if ( handler ) {                                                    
  109f70:	83 c4 10             	add    $0x10,%esp                     
  109f73:	85 c0                	test   %eax,%eax                      
  109f75:	74 24                	je     109f9b <pthread_cleanup_push+0x4f><== NEVER TAKEN
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  109f77:	8b 15 1c 67 12 00    	mov    0x12671c,%edx                  
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
  109f7d:	8b 92 f8 00 00 00    	mov    0xf8(%edx),%edx                
  109f83:	81 c2 e0 00 00 00    	add    $0xe0,%edx                     
                                                                      
    handler->routine = routine;                                       
  109f89:	89 58 08             	mov    %ebx,0x8(%eax)                 
    handler->arg = arg;                                               
  109f8c:	89 70 0c             	mov    %esi,0xc(%eax)                 
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  109f8f:	51                   	push   %ecx                           
  109f90:	51                   	push   %ecx                           
  109f91:	50                   	push   %eax                           
  109f92:	52                   	push   %edx                           
  109f93:	e8 7c 15 00 00       	call   10b514 <_Chain_Append>         
  109f98:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  _Thread_Enable_dispatch();                                          
}                                                                     
  109f9b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  109f9e:	5b                   	pop    %ebx                           
  109f9f:	5e                   	pop    %esi                           
  109fa0:	c9                   	leave                                 
    handler->routine = routine;                                       
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  }                                                                   
  _Thread_Enable_dispatch();                                          
  109fa1:	e9 78 2a 00 00       	jmp    10ca1e <_Thread_Enable_dispatch>
}                                                                     
  109fa6:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  109fa9:	5b                   	pop    %ebx                           
  109faa:	5e                   	pop    %esi                           
  109fab:	c9                   	leave                                 
  109fac:	c3                   	ret                                   
                                                                      

0010acbc <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
  10acbc:	55                   	push   %ebp                           
  10acbd:	89 e5                	mov    %esp,%ebp                      
  10acbf:	56                   	push   %esi                           
  10acc0:	53                   	push   %ebx                           
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
  10acc1:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10acc4:	85 db                	test   %ebx,%ebx                      
  10acc6:	75 05                	jne    10accd <pthread_cond_init+0x11>
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
  10acc8:	bb 64 0e 12 00       	mov    $0x120e64,%ebx                 
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
    return EINVAL;                                                    
  10accd:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
  10acd2:	83 7b 04 01          	cmpl   $0x1,0x4(%ebx)                 
  10acd6:	74 76                	je     10ad4e <pthread_cond_init+0x92><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
  10acd8:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  10acdb:	74 71                	je     10ad4e <pthread_cond_init+0x92>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10acdd:	a1 e4 73 12 00       	mov    0x1273e4,%eax                  
  10ace2:	40                   	inc    %eax                           
  10ace3:	a3 e4 73 12 00       	mov    %eax,0x1273e4                  
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
    _Objects_Allocate( &_POSIX_Condition_variables_Information );     
  10ace8:	83 ec 0c             	sub    $0xc,%esp                      
  10aceb:	68 48 78 12 00       	push   $0x127848                      
  10acf0:	e8 03 23 00 00       	call   10cff8 <_Objects_Allocate>     
  10acf5:	89 c6                	mov    %eax,%esi                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
  10acf7:	83 c4 10             	add    $0x10,%esp                     
  10acfa:	85 c0                	test   %eax,%eax                      
  10acfc:	75 0c                	jne    10ad0a <pthread_cond_init+0x4e>
    _Thread_Enable_dispatch();                                        
  10acfe:	e8 fb 2e 00 00       	call   10dbfe <_Thread_Enable_dispatch>
    return ENOMEM;                                                    
  10ad03:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  10ad08:	eb 44                	jmp    10ad4e <pthread_cond_init+0x92>
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
  10ad0a:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10ad0d:	89 46 10             	mov    %eax,0x10(%esi)                
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
  10ad10:	c7 46 14 00 00 00 00 	movl   $0x0,0x14(%esi)                
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
  10ad17:	6a 74                	push   $0x74                          
  10ad19:	68 00 08 00 00       	push   $0x800                         
  10ad1e:	6a 00                	push   $0x0                           
  10ad20:	8d 46 18             	lea    0x18(%esi),%eax                
  10ad23:	50                   	push   %eax                           
  10ad24:	e8 cf 35 00 00       	call   10e2f8 <_Thread_queue_Initialize>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10ad29:	8b 46 08             	mov    0x8(%esi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10ad2c:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10ad2f:	8b 15 64 78 12 00    	mov    0x127864,%edx                  
  10ad35:	89 34 8a             	mov    %esi,(%edx,%ecx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10ad38:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
  10ad3f:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10ad42:	89 02                	mov    %eax,(%edx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10ad44:	e8 b5 2e 00 00       	call   10dbfe <_Thread_Enable_dispatch>
                                                                      
  return 0;                                                           
  10ad49:	83 c4 10             	add    $0x10,%esp                     
  10ad4c:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10ad4e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ad51:	5b                   	pop    %ebx                           
  10ad52:	5e                   	pop    %esi                           
  10ad53:	c9                   	leave                                 
  10ad54:	c3                   	ret                                   
                                                                      

0010ab70 <pthread_condattr_destroy>: */ int pthread_condattr_destroy( pthread_condattr_t *attr ) {
  10ab70:	55                   	push   %ebp                           
  10ab71:	89 e5                	mov    %esp,%ebp                      
  10ab73:	8b 55 08             	mov    0x8(%ebp),%edx                 
  if ( !attr || attr->is_initialized == false )                       
    return EINVAL;                                                    
  10ab76:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
int pthread_condattr_destroy(                                         
  pthread_condattr_t *attr                                            
)                                                                     
{                                                                     
  if ( !attr || attr->is_initialized == false )                       
  10ab7b:	85 d2                	test   %edx,%edx                      
  10ab7d:	74 0d                	je     10ab8c <pthread_condattr_destroy+0x1c>
  10ab7f:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10ab82:	74 08                	je     10ab8c <pthread_condattr_destroy+0x1c><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  10ab84:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    
  return 0;                                                           
  10ab8a:	30 c0                	xor    %al,%al                        
}                                                                     
  10ab8c:	c9                   	leave                                 
  10ab8d:	c3                   	ret                                   
                                                                      

0010a298 <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
  10a298:	55                   	push   %ebp                           
  10a299:	89 e5                	mov    %esp,%ebp                      
  10a29b:	57                   	push   %edi                           
  10a29c:	56                   	push   %esi                           
  10a29d:	53                   	push   %ebx                           
  10a29e:	83 ec 5c             	sub    $0x5c,%esp                     
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
    return EFAULT;                                                    
  10a2a1:	c7 45 b4 0e 00 00 00 	movl   $0xe,-0x4c(%ebp)               
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
  10a2a8:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10a2ac:	0f 84 0f 02 00 00    	je     10a4c1 <pthread_create+0x229>  
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
  10a2b2:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10a2b5:	85 db                	test   %ebx,%ebx                      
  10a2b7:	75 05                	jne    10a2be <pthread_create+0x26>   
  10a2b9:	bb d4 f9 11 00       	mov    $0x11f9d4,%ebx                 
                                                                      
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
  10a2be:	c7 45 b4 16 00 00 00 	movl   $0x16,-0x4c(%ebp)              
  if ( !start_routine )                                               
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
                                                                      
  if ( !the_attr->is_initialized )                                    
  10a2c5:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  10a2c8:	0f 84 f3 01 00 00    	je     10a4c1 <pthread_create+0x229>  
   *  stack space if it is allowed to allocate it itself.             
   *                                                                  
   *  NOTE: If the user provides the stack we will let it drop below  
   *        twice the minimum.                                        
   */                                                                 
  if ( the_attr->stackaddr && !_Stack_Is_enough(the_attr->stacksize) )
  10a2ce:	83 7b 04 00          	cmpl   $0x0,0x4(%ebx)                 
  10a2d2:	74 0e                	je     10a2e2 <pthread_create+0x4a>   
  10a2d4:	a1 14 12 12 00       	mov    0x121214,%eax                  
  10a2d9:	39 43 08             	cmp    %eax,0x8(%ebx)                 
  10a2dc:	0f 82 df 01 00 00    	jb     10a4c1 <pthread_create+0x229>  
   *  If inheritsched is set to PTHREAD_INHERIT_SCHED, then this thread
   *  inherits scheduling attributes from the creating thread.   If it is
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
  10a2e2:	8b 43 10             	mov    0x10(%ebx),%eax                
  10a2e5:	83 f8 01             	cmp    $0x1,%eax                      
  10a2e8:	74 0b                	je     10a2f5 <pthread_create+0x5d>   
  10a2ea:	83 f8 02             	cmp    $0x2,%eax                      
  10a2ed:	0f 85 c7 01 00 00    	jne    10a4ba <pthread_create+0x222>  
  10a2f3:	eb 1f                	jmp    10a314 <pthread_create+0x7c>   
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
  10a2f5:	a1 24 57 12 00       	mov    0x125724,%eax                  
  10a2fa:	8b b0 f8 00 00 00    	mov    0xf8(%eax),%esi                
      schedpolicy = api->schedpolicy;                                 
  10a300:	8b 86 80 00 00 00    	mov    0x80(%esi),%eax                
  10a306:	89 45 ac             	mov    %eax,-0x54(%ebp)               
      schedparam  = api->schedparam;                                  
  10a309:	8d 7d c4             	lea    -0x3c(%ebp),%edi               
  10a30c:	81 c6 84 00 00 00    	add    $0x84,%esi                     
  10a312:	eb 0c                	jmp    10a320 <pthread_create+0x88>   
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
  10a314:	8b 43 14             	mov    0x14(%ebx),%eax                
  10a317:	89 45 ac             	mov    %eax,-0x54(%ebp)               
      schedparam  = the_attr->schedparam;                             
  10a31a:	8d 7d c4             	lea    -0x3c(%ebp),%edi               
  10a31d:	8d 73 18             	lea    0x18(%ebx),%esi                
  10a320:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10a325:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
    return ENOTSUP;                                                   
  10a327:	c7 45 b4 86 00 00 00 	movl   $0x86,-0x4c(%ebp)              
                                                                      
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
  10a32e:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)                 
  10a332:	0f 85 89 01 00 00    	jne    10a4c1 <pthread_create+0x229>  
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
  10a338:	83 ec 0c             	sub    $0xc,%esp                      
  10a33b:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10a33e:	e8 3d 57 00 00       	call   10fa80 <_POSIX_Priority_Is_valid>
  10a343:	83 c4 10             	add    $0x10,%esp                     
    return EINVAL;                                                    
  10a346:	c7 45 b4 16 00 00 00 	movl   $0x16,-0x4c(%ebp)              
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
  10a34d:	84 c0                	test   %al,%al                        
  10a34f:	0f 84 6c 01 00 00    	je     10a4c1 <pthread_create+0x229>  <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
  10a355:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10a358:	89 45 a8             	mov    %eax,-0x58(%ebp)               
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
  10a35b:	0f b6 3d 18 12 12 00 	movzbl 0x121218,%edi                  
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
  10a362:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10a365:	50                   	push   %eax                           
  10a366:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a369:	50                   	push   %eax                           
  10a36a:	8d 45 c4             	lea    -0x3c(%ebp),%eax               
  10a36d:	50                   	push   %eax                           
  10a36e:	ff 75 ac             	pushl  -0x54(%ebp)                    
  10a371:	e8 2a 57 00 00       	call   10faa0 <_POSIX_Thread_Translate_sched_param>
  10a376:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
  10a379:	83 c4 10             	add    $0x10,%esp                     
  10a37c:	85 c0                	test   %eax,%eax                      
  10a37e:	0f 85 3d 01 00 00    	jne    10a4c1 <pthread_create+0x229>  
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
  10a384:	83 ec 0c             	sub    $0xc,%esp                      
  10a387:	ff 35 7c 52 12 00    	pushl  0x12527c                       
  10a38d:	e8 4e 15 00 00       	call   10b8e0 <_API_Mutex_Lock>       
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
  10a392:	c7 04 24 20 54 12 00 	movl   $0x125420,(%esp)               
  10a399:	e8 be 1e 00 00       	call   10c25c <_Objects_Allocate>     
  10a39e:	89 45 b0             	mov    %eax,-0x50(%ebp)               
   *  Allocate the thread control block.                              
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
  10a3a1:	83 c4 10             	add    $0x10,%esp                     
  10a3a4:	85 c0                	test   %eax,%eax                      
  10a3a6:	75 05                	jne    10a3ad <pthread_create+0x115>  
    _RTEMS_Unlock_allocator();                                        
  10a3a8:	83 ec 0c             	sub    $0xc,%esp                      
  10a3ab:	eb 53                	jmp    10a400 <pthread_create+0x168>  
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
  10a3ad:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10a3b0:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10a3b3:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10a3b6:	a1 14 12 12 00       	mov    0x121214,%eax                  
  10a3bb:	d1 e0                	shl    %eax                           
  10a3bd:	39 d0                	cmp    %edx,%eax                      
  10a3bf:	73 02                	jae    10a3c3 <pthread_create+0x12b>  
  10a3c1:	89 d0                	mov    %edx,%eax                      
  10a3c3:	52                   	push   %edx                           
  10a3c4:	6a 00                	push   $0x0                           
  10a3c6:	6a 00                	push   $0x0                           
  10a3c8:	51                   	push   %ecx                           
  10a3c9:	56                   	push   %esi                           
  10a3ca:	6a 01                	push   $0x1                           
  10a3cc:	81 e7 ff 00 00 00    	and    $0xff,%edi                     
  10a3d2:	2b 7d a8             	sub    -0x58(%ebp),%edi               
  10a3d5:	57                   	push   %edi                           
  10a3d6:	6a 01                	push   $0x1                           
  10a3d8:	50                   	push   %eax                           
  10a3d9:	ff 73 04             	pushl  0x4(%ebx)                      
  10a3dc:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10a3df:	68 20 54 12 00       	push   $0x125420                      
  10a3e4:	e8 0f 2b 00 00       	call   10cef8 <_Thread_Initialize>    
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
  10a3e9:	83 c4 30             	add    $0x30,%esp                     
  10a3ec:	84 c0                	test   %al,%al                        
  10a3ee:	75 2a                	jne    10a41a <pthread_create+0x182>  
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
  10a3f0:	56                   	push   %esi                           
  10a3f1:	56                   	push   %esi                           
  10a3f2:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10a3f5:	68 20 54 12 00       	push   $0x125420                      
  10a3fa:	e8 55 21 00 00       	call   10c554 <_Objects_Free>         
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
  10a3ff:	5b                   	pop    %ebx                           
  10a400:	ff 35 7c 52 12 00    	pushl  0x12527c                       
  10a406:	e8 1d 15 00 00       	call   10b928 <_API_Mutex_Unlock>     
    return EAGAIN;                                                    
  10a40b:	83 c4 10             	add    $0x10,%esp                     
  10a40e:	c7 45 b4 0b 00 00 00 	movl   $0xb,-0x4c(%ebp)               
  10a415:	e9 a7 00 00 00       	jmp    10a4c1 <pthread_create+0x229>  
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10a41a:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a41d:	8b 90 f8 00 00 00    	mov    0xf8(%eax),%edx                
                                                                      
  api->Attributes  = *the_attr;                                       
  10a423:	b9 0f 00 00 00       	mov    $0xf,%ecx                      
  10a428:	89 d7                	mov    %edx,%edi                      
  10a42a:	89 de                	mov    %ebx,%esi                      
  10a42c:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  api->detachstate = the_attr->detachstate;                           
  10a42e:	8b 43 38             	mov    0x38(%ebx),%eax                
  10a431:	89 42 3c             	mov    %eax,0x3c(%edx)                
  api->schedpolicy = schedpolicy;                                     
  10a434:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10a437:	89 82 80 00 00 00    	mov    %eax,0x80(%edx)                
  api->schedparam  = schedparam;                                      
  10a43d:	8d ba 84 00 00 00    	lea    0x84(%edx),%edi                
  10a443:	8d 75 c4             	lea    -0x3c(%ebp),%esi               
  10a446:	b1 07                	mov    $0x7,%cl                       
  10a448:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
  10a44a:	83 ec 0c             	sub    $0xc,%esp                      
  10a44d:	6a 00                	push   $0x0                           
  10a44f:	ff 75 14             	pushl  0x14(%ebp)                     
  10a452:	ff 75 10             	pushl  0x10(%ebp)                     
  10a455:	6a 01                	push   $0x1                           
  10a457:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10a45a:	89 55 a4             	mov    %edx,-0x5c(%ebp)               
  10a45d:	e8 1e 34 00 00       	call   10d880 <_Thread_Start>         
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
  10a462:	83 c4 20             	add    $0x20,%esp                     
  10a465:	83 7d ac 04          	cmpl   $0x4,-0x54(%ebp)               
  10a469:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10a46c:	75 2e                	jne    10a49c <pthread_create+0x204>  
    _Watchdog_Insert_ticks(                                           
  10a46e:	83 ec 0c             	sub    $0xc,%esp                      
      &api->Sporadic_timer,                                           
      _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period )     
  10a471:	8d 82 8c 00 00 00    	lea    0x8c(%edx),%eax                
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
    _Watchdog_Insert_ticks(                                           
  10a477:	50                   	push   %eax                           
  10a478:	e8 ab 35 00 00       	call   10da28 <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10a47d:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10a480:	89 82 b0 00 00 00    	mov    %eax,0xb0(%edx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10a486:	58                   	pop    %eax                           
  10a487:	59                   	pop    %ecx                           
  10a488:	81 c2 a4 00 00 00    	add    $0xa4,%edx                     
  10a48e:	52                   	push   %edx                           
  10a48f:	68 9c 52 12 00       	push   $0x12529c                      
  10a494:	e8 43 38 00 00       	call   10dcdc <_Watchdog_Insert>      
  10a499:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
  10a49c:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a49f:	8b 50 08             	mov    0x8(%eax),%edx                 
  10a4a2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10a4a5:	89 10                	mov    %edx,(%eax)                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  10a4a7:	83 ec 0c             	sub    $0xc,%esp                      
  10a4aa:	ff 35 7c 52 12 00    	pushl  0x12527c                       
  10a4b0:	e8 73 14 00 00       	call   10b928 <_API_Mutex_Unlock>     
  return 0;                                                           
  10a4b5:	83 c4 10             	add    $0x10,%esp                     
  10a4b8:	eb 07                	jmp    10a4c1 <pthread_create+0x229>  
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
      break;                                                          
                                                                      
    default:                                                          
      return EINVAL;                                                  
  10a4ba:	c7 45 b4 16 00 00 00 	movl   $0x16,-0x4c(%ebp)              
   */                                                                 
  *thread = the_thread->Object.id;                                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return 0;                                                           
}                                                                     
  10a4c1:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10a4c4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a4c7:	5b                   	pop    %ebx                           
  10a4c8:	5e                   	pop    %esi                           
  10a4c9:	5f                   	pop    %edi                           
  10a4ca:	c9                   	leave                                 
  10a4cb:	c3                   	ret                                   
                                                                      

00110d44 <pthread_exit>: } void pthread_exit( void *value_ptr ) {
  110d44:	55                   	push   %ebp                           
  110d45:	89 e5                	mov    %esp,%ebp                      
  110d47:	83 ec 10             	sub    $0x10,%esp                     
  _POSIX_Thread_Exit( _Thread_Executing, value_ptr );                 
  110d4a:	ff 75 08             	pushl  0x8(%ebp)                      
  110d4d:	ff 35 34 47 12 00    	pushl  0x124734                       
  110d53:	e8 88 ff ff ff       	call   110ce0 <_POSIX_Thread_Exit>    
  110d58:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  110d5b:	c9                   	leave                                 <== NOT EXECUTED
  110d5c:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010a118 <pthread_key_create>: int pthread_key_create( pthread_key_t *key, void (*destructor)( void * ) ) {
  10a118:	55                   	push   %ebp                           
  10a119:	89 e5                	mov    %esp,%ebp                      
  10a11b:	57                   	push   %edi                           
  10a11c:	56                   	push   %esi                           
  10a11d:	53                   	push   %ebx                           
  10a11e:	83 ec 28             	sub    $0x28,%esp                     
  10a121:	a1 34 62 12 00       	mov    0x126234,%eax                  
  10a126:	40                   	inc    %eax                           
  10a127:	a3 34 62 12 00       	mov    %eax,0x126234                  
 *  the inactive chain of free keys control blocks.                   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ) 
{                                                                     
  return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
  10a12c:	68 58 66 12 00       	push   $0x126658                      
  10a131:	e8 7a 1f 00 00       	call   10c0b0 <_Objects_Allocate>     
  10a136:	89 c3                	mov    %eax,%ebx                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_key = _POSIX_Keys_Allocate();                                   
                                                                      
  if ( !the_key ) {                                                   
  10a138:	83 c4 10             	add    $0x10,%esp                     
  10a13b:	85 c0                	test   %eax,%eax                      
  10a13d:	75 0f                	jne    10a14e <pthread_key_create+0x36>
    _Thread_Enable_dispatch();                                        
  10a13f:	e8 72 2b 00 00       	call   10ccb6 <_Thread_Enable_dispatch>
    return EAGAIN;                                                    
  10a144:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  10a149:	e9 a9 00 00 00       	jmp    10a1f7 <pthread_key_create+0xdf>
  }                                                                   
                                                                      
  the_key->destructor = destructor;                                   
  10a14e:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10a151:	89 43 10             	mov    %eax,0x10(%ebx)                
   *  APIs are optional.                                              
   *                                                                  
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
  10a154:	be 01 00 00 00       	mov    $0x1,%esi                      
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
                                                                      
    if ( _Objects_Information_table[ the_api ] ) {                    
  10a159:	8b 04 b5 0c 62 12 00 	mov    0x12620c(,%esi,4),%eax         
  10a160:	85 c0                	test   %eax,%eax                      
  10a162:	74 63                	je     10a1c7 <pthread_key_create+0xaf><== NEVER TAKEN
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
  10a164:	8b 40 04             	mov    0x4(%eax),%eax                 
  10a167:	0f b7 40 10          	movzwl 0x10(%eax),%eax                
            INTERNAL_ERROR_CORE,                                      
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
  10a16b:	8d 0c 85 04 00 00 00 	lea    0x4(,%eax,4),%ecx              
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
  10a172:	83 ec 0c             	sub    $0xc,%esp                      
  10a175:	51                   	push   %ecx                           
  10a176:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10a179:	e8 28 3c 00 00       	call   10dda6 <_Workspace_Allocate>   
      if ( !table ) {                                                 
  10a17e:	83 c4 10             	add    $0x10,%esp                     
  10a181:	85 c0                	test   %eax,%eax                      
  10a183:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10a186:	75 33                	jne    10a1bb <pthread_key_create+0xa3>
        for ( --the_api;                                              
  10a188:	4e                   	dec    %esi                           
  10a189:	eb 10                	jmp    10a19b <pthread_key_create+0x83>
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
  10a18b:	83 ec 0c             	sub    $0xc,%esp                      
  10a18e:	ff 74 b3 14          	pushl  0x14(%ebx,%esi,4)              
  10a192:	e8 28 3c 00 00       	call   10ddbf <_Workspace_Free>       
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
              the_api >= 1;                                           
              the_api-- )                                             
  10a197:	4e                   	dec    %esi                           
  10a198:	83 c4 10             	add    $0x10,%esp                     
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
  10a19b:	85 f6                	test   %esi,%esi                      
  10a19d:	75 ec                	jne    10a18b <pthread_key_create+0x73>
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
  10a19f:	50                   	push   %eax                           
  10a1a0:	50                   	push   %eax                           
  10a1a1:	53                   	push   %ebx                           
  10a1a2:	68 58 66 12 00       	push   $0x126658                      
  10a1a7:	e8 fc 21 00 00       	call   10c3a8 <_Objects_Free>         
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
                                                                      
        _POSIX_Keys_Free( the_key );                                  
        _Thread_Enable_dispatch();                                    
  10a1ac:	e8 05 2b 00 00       	call   10ccb6 <_Thread_Enable_dispatch>
        return ENOMEM;                                                
  10a1b1:	83 c4 10             	add    $0x10,%esp                     
  10a1b4:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  10a1b9:	eb 3c                	jmp    10a1f7 <pthread_key_create+0xdf>
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
  10a1bb:	89 44 b3 14          	mov    %eax,0x14(%ebx,%esi,4)         
      memset( table, '\0', bytes_to_allocate );                       
  10a1bf:	89 c7                	mov    %eax,%edi                      
  10a1c1:	31 c0                	xor    %eax,%eax                      
  10a1c3:	f3 aa                	rep stos %al,%es:(%edi)               
  10a1c5:	eb 08                	jmp    10a1cf <pthread_key_create+0xb7>
    } else {                                                          
      the_key->Values[ the_api ] = NULL;                              
  10a1c7:	c7 44 b3 14 00 00 00 	movl   $0x0,0x14(%ebx,%esi,4)         <== NOT EXECUTED
  10a1ce:	00                                                          
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
  10a1cf:	46                   	inc    %esi                           
   *  APIs are optional.                                              
   *                                                                  
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
  10a1d0:	83 fe 04             	cmp    $0x4,%esi                      
  10a1d3:	75 84                	jne    10a159 <pthread_key_create+0x41>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10a1d5:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10a1d8:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10a1db:	8b 15 74 66 12 00    	mov    0x126674,%edx                  
  10a1e1:	89 1c 8a             	mov    %ebx,(%edx,%ecx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10a1e4:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
                                                                      
  }                                                                   
                                                                      
  _Objects_Open_u32( &_POSIX_Keys_Information, &the_key->Object, 0 ); 
                                                                      
  *key = the_key->Object.id;                                          
  10a1eb:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10a1ee:	89 02                	mov    %eax,(%edx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10a1f0:	e8 c1 2a 00 00       	call   10ccb6 <_Thread_Enable_dispatch>
                                                                      
  return 0;                                                           
  10a1f5:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a1f7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a1fa:	5b                   	pop    %ebx                           
  10a1fb:	5e                   	pop    %esi                           
  10a1fc:	5f                   	pop    %edi                           
  10a1fd:	c9                   	leave                                 
  10a1fe:	c3                   	ret                                   
                                                                      

0010a200 <pthread_key_delete>: */ int pthread_key_delete( pthread_key_t key ) {
  10a200:	55                   	push   %ebp                           
  10a201:	89 e5                	mov    %esp,%ebp                      
  10a203:	56                   	push   %esi                           
  10a204:	53                   	push   %ebx                           
  10a205:	83 ec 14             	sub    $0x14,%esp                     
  register POSIX_Keys_Control *the_key;                               
  Objects_Locations            location;                              
  uint32_t                     the_api;                               
                                                                      
  the_key = _POSIX_Keys_Get( key, &location );                        
  10a208:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  pthread_key_t      id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Keys_Control *)                                       
    _Objects_Get( &_POSIX_Keys_Information, (Objects_Id) id, location );
  10a20b:	50                   	push   %eax                           
  10a20c:	ff 75 08             	pushl  0x8(%ebp)                      
  10a20f:	68 58 66 12 00       	push   $0x126658                      
  10a214:	e8 c3 22 00 00       	call   10c4dc <_Objects_Get>          
  10a219:	89 c6                	mov    %eax,%esi                      
  switch ( location ) {                                               
  10a21b:	83 c4 10             	add    $0x10,%esp                     
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
  10a21e:	b8 16 00 00 00       	mov    $0x16,%eax                     
  register POSIX_Keys_Control *the_key;                               
  Objects_Locations            location;                              
  uint32_t                     the_api;                               
                                                                      
  the_key = _POSIX_Keys_Get( key, &location );                        
  switch ( location ) {                                               
  10a223:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10a227:	75 46                	jne    10a26f <pthread_key_delete+0x6f>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );   
  10a229:	52                   	push   %edx                           
  10a22a:	52                   	push   %edx                           
  10a22b:	56                   	push   %esi                           
  10a22c:	68 58 66 12 00       	push   $0x126658                      
  10a231:	e8 e6 1e 00 00       	call   10c11c <_Objects_Close>        
  10a236:	83 c4 10             	add    $0x10,%esp                     
                                                                      
      for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )    
  10a239:	bb 01 00 00 00       	mov    $0x1,%ebx                      
        if ( the_key->Values[ the_api ] )                             
  10a23e:	8b 44 9e 14          	mov    0x14(%esi,%ebx,4),%eax         
  10a242:	85 c0                	test   %eax,%eax                      
  10a244:	74 0c                	je     10a252 <pthread_key_delete+0x52><== NEVER TAKEN
          _Workspace_Free( the_key->Values[ the_api ] );              
  10a246:	83 ec 0c             	sub    $0xc,%esp                      
  10a249:	50                   	push   %eax                           
  10a24a:	e8 70 3b 00 00       	call   10ddbf <_Workspace_Free>       
  10a24f:	83 c4 10             	add    $0x10,%esp                     
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );   
                                                                      
      for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )    
  10a252:	43                   	inc    %ebx                           
  10a253:	83 fb 04             	cmp    $0x4,%ebx                      
  10a256:	75 e6                	jne    10a23e <pthread_key_delete+0x3e>
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
  10a258:	50                   	push   %eax                           
  10a259:	50                   	push   %eax                           
  10a25a:	56                   	push   %esi                           
  10a25b:	68 58 66 12 00       	push   $0x126658                      
  10a260:	e8 43 21 00 00       	call   10c3a8 <_Objects_Free>         
       *  NOTE:  The destructor is not called and it is the responsibility
       *         of the application to free the memory.               
       */                                                             
                                                                      
      _POSIX_Keys_Free( the_key );                                    
      _Thread_Enable_dispatch();                                      
  10a265:	e8 4c 2a 00 00       	call   10ccb6 <_Thread_Enable_dispatch>
      return 0;                                                       
  10a26a:	83 c4 10             	add    $0x10,%esp                     
  10a26d:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10a26f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a272:	5b                   	pop    %ebx                           
  10a273:	5e                   	pop    %esi                           
  10a274:	c9                   	leave                                 
  10a275:	c3                   	ret                                   
                                                                      

0010bc18 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) {
  10bc18:	55                   	push   %ebp                           
  10bc19:	89 e5                	mov    %esp,%ebp                      
  10bc1b:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bc1e:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
  10bc21:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_mutexattr_setpshared(                                     
  pthread_mutexattr_t *attr,                                          
  int                  pshared                                        
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
  10bc26:	85 d2                	test   %edx,%edx                      
  10bc28:	74 0f                	je     10bc39 <pthread_mutexattr_setpshared+0x21>
  10bc2a:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10bc2d:	74 0a                	je     10bc39 <pthread_mutexattr_setpshared+0x21>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
  10bc2f:	83 f9 01             	cmp    $0x1,%ecx                      
  10bc32:	77 05                	ja     10bc39 <pthread_mutexattr_setpshared+0x21><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
  10bc34:	89 4a 04             	mov    %ecx,0x4(%edx)                 
      return 0;                                                       
  10bc37:	30 c0                	xor    %al,%al                        
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10bc39:	c9                   	leave                                 
  10bc3a:	c3                   	ret                                   
                                                                      

00109e40 <pthread_mutexattr_settype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) {
  109e40:	55                   	push   %ebp                           
  109e41:	89 e5                	mov    %esp,%ebp                      
  109e43:	8b 55 08             	mov    0x8(%ebp),%edx                 
  109e46:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
  109e49:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_mutexattr_settype(                                        
  pthread_mutexattr_t *attr,                                          
  int                  type                                           
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
  109e4e:	85 d2                	test   %edx,%edx                      
  109e50:	74 0f                	je     109e61 <pthread_mutexattr_settype+0x21>
  109e52:	83 3a 00             	cmpl   $0x0,(%edx)                    
  109e55:	74 0a                	je     109e61 <pthread_mutexattr_settype+0x21><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
  109e57:	83 f9 03             	cmp    $0x3,%ecx                      
  109e5a:	77 05                	ja     109e61 <pthread_mutexattr_settype+0x21>
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
  109e5c:	89 4a 10             	mov    %ecx,0x10(%edx)                
      return 0;                                                       
  109e5f:	30 c0                	xor    %al,%al                        
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  109e61:	c9                   	leave                                 
  109e62:	c3                   	ret                                   
                                                                      

0010a8e4 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
  10a8e4:	55                   	push   %ebp                           
  10a8e5:	89 e5                	mov    %esp,%ebp                      
  10a8e7:	56                   	push   %esi                           
  10a8e8:	53                   	push   %ebx                           
  10a8e9:	83 ec 10             	sub    $0x10,%esp                     
  10a8ec:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a8ef:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( !once_control || !init_routine )                               
  10a8f2:	85 f6                	test   %esi,%esi                      
  10a8f4:	74 51                	je     10a947 <pthread_once+0x63>     
  10a8f6:	85 db                	test   %ebx,%ebx                      
  10a8f8:	74 4d                	je     10a947 <pthread_once+0x63>     
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
  10a8fa:	31 c0                	xor    %eax,%eax                      
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
  10a8fc:	83 7b 04 00          	cmpl   $0x0,0x4(%ebx)                 
  10a900:	75 4a                	jne    10a94c <pthread_once+0x68>     
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
  10a902:	52                   	push   %edx                           
  10a903:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10a906:	50                   	push   %eax                           
  10a907:	68 00 01 00 00       	push   $0x100                         
  10a90c:	68 00 01 00 00       	push   $0x100                         
  10a911:	e8 9e 0a 00 00       	call   10b3b4 <rtems_task_mode>       
    if ( !once_control->init_executed ) {                             
  10a916:	83 c4 10             	add    $0x10,%esp                     
  10a919:	83 7b 04 00          	cmpl   $0x0,0x4(%ebx)                 
  10a91d:	75 0f                	jne    10a92e <pthread_once+0x4a>     <== NEVER TAKEN
      once_control->is_initialized = true;                            
  10a91f:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
      once_control->init_executed = true;                             
  10a925:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
      (*init_routine)();                                              
  10a92c:	ff d6                	call   *%esi                          
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  10a92e:	50                   	push   %eax                           
  10a92f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10a932:	50                   	push   %eax                           
  10a933:	68 00 01 00 00       	push   $0x100                         
  10a938:	ff 75 f4             	pushl  -0xc(%ebp)                     
  10a93b:	e8 74 0a 00 00       	call   10b3b4 <rtems_task_mode>       
  10a940:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  return 0;                                                           
  10a943:	31 c0                	xor    %eax,%eax                      
  10a945:	eb 05                	jmp    10a94c <pthread_once+0x68>     
  pthread_once_t  *once_control,                                      
  void           (*init_routine)(void)                                
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
  10a947:	b8 16 00 00 00       	mov    $0x16,%eax                     
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
}                                                                     
  10a94c:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a94f:	5b                   	pop    %ebx                           
  10a950:	5e                   	pop    %esi                           
  10a951:	c9                   	leave                                 
  10a952:	c3                   	ret                                   
                                                                      

0010af5c <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
  10af5c:	55                   	push   %ebp                           
  10af5d:	89 e5                	mov    %esp,%ebp                      
  10af5f:	56                   	push   %esi                           
  10af60:	53                   	push   %ebx                           
  10af61:	83 ec 10             	sub    $0x10,%esp                     
  10af64:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
    return EINVAL;                                                    
  10af67:	b8 16 00 00 00       	mov    $0x16,%eax                     
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
  10af6c:	85 db                	test   %ebx,%ebx                      
  10af6e:	0f 84 84 00 00 00    	je     10aff8 <pthread_rwlock_init+0x9c>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
  10af74:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10af77:	85 f6                	test   %esi,%esi                      
  10af79:	75 0f                	jne    10af8a <pthread_rwlock_init+0x2e>
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
  10af7b:	83 ec 0c             	sub    $0xc,%esp                      
  10af7e:	8d 75 ec             	lea    -0x14(%ebp),%esi               
  10af81:	56                   	push   %esi                           
  10af82:	e8 55 09 00 00       	call   10b8dc <pthread_rwlockattr_init>
  10af87:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
  10af8a:	b8 16 00 00 00       	mov    $0x16,%eax                     
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
  10af8f:	83 3e 00             	cmpl   $0x0,(%esi)                    
  10af92:	74 64                	je     10aff8 <pthread_rwlock_init+0x9c><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
  10af94:	83 7e 04 00          	cmpl   $0x0,0x4(%esi)                 
  10af98:	75 5e                	jne    10aff8 <pthread_rwlock_init+0x9c><== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10af9a:	a1 f4 71 12 00       	mov    0x1271f4,%eax                  
  10af9f:	40                   	inc    %eax                           
  10afa0:	a3 f4 71 12 00       	mov    %eax,0x1271f4                  
 *  the inactive chain of free RWLock control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Allocate( void )
{                                                                     
  return (POSIX_RWLock_Control *)                                     
    _Objects_Allocate( &_POSIX_RWLock_Information );                  
  10afa5:	83 ec 0c             	sub    $0xc,%esp                      
  10afa8:	68 00 74 12 00       	push   $0x127400                      
  10afad:	e8 42 23 00 00       	call   10d2f4 <_Objects_Allocate>     
  10afb2:	89 c6                	mov    %eax,%esi                      
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
  10afb4:	83 c4 10             	add    $0x10,%esp                     
  10afb7:	85 c0                	test   %eax,%eax                      
  10afb9:	75 0c                	jne    10afc7 <pthread_rwlock_init+0x6b>
    _Thread_Enable_dispatch();                                        
  10afbb:	e8 3a 2f 00 00       	call   10defa <_Thread_Enable_dispatch>
    return EAGAIN;                                                    
  10afc0:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  10afc5:	eb 31                	jmp    10aff8 <pthread_rwlock_init+0x9c>
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
  10afc7:	50                   	push   %eax                           
  10afc8:	50                   	push   %eax                           
  10afc9:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10afcc:	50                   	push   %eax                           
  10afcd:	8d 46 10             	lea    0x10(%esi),%eax                
  10afd0:	50                   	push   %eax                           
  10afd1:	e8 76 1b 00 00       	call   10cb4c <_CORE_RWLock_Initialize>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10afd6:	8b 46 08             	mov    0x8(%esi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10afd9:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10afdc:	8b 15 1c 74 12 00    	mov    0x12741c,%edx                  
  10afe2:	89 34 8a             	mov    %esi,(%edx,%ecx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10afe5:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
  10afec:	89 03                	mov    %eax,(%ebx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10afee:	e8 07 2f 00 00       	call   10defa <_Thread_Enable_dispatch>
  return 0;                                                           
  10aff3:	83 c4 10             	add    $0x10,%esp                     
  10aff6:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10aff8:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10affb:	5b                   	pop    %ebx                           
  10affc:	5e                   	pop    %esi                           
  10affd:	c9                   	leave                                 
  10affe:	c3                   	ret                                   
                                                                      

0010b068 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
  10b068:	55                   	push   %ebp                           
  10b069:	89 e5                	mov    %esp,%ebp                      
  10b06b:	57                   	push   %edi                           
  10b06c:	56                   	push   %esi                           
  10b06d:	53                   	push   %ebx                           
  10b06e:	83 ec 2c             	sub    $0x2c,%esp                     
  10b071:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    return EINVAL;                                                    
  10b074:	bb 16 00 00 00       	mov    $0x16,%ebx                     
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
  10b079:	85 ff                	test   %edi,%edi                      
  10b07b:	0f 84 89 00 00 00    	je     10b10a <pthread_rwlock_timedrdlock+0xa2>
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  10b081:	50                   	push   %eax                           
  10b082:	50                   	push   %eax                           
  10b083:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10b086:	50                   	push   %eax                           
  10b087:	ff 75 0c             	pushl  0xc(%ebp)                      
  10b08a:	e8 75 57 00 00       	call   110804 <_POSIX_Absolute_timeout_to_ticks>
  10b08f:	89 c6                	mov    %eax,%esi                      
  10b091:	83 c4 0c             	add    $0xc,%esp                      
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  10b094:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10b097:	50                   	push   %eax                           
  10b098:	ff 37                	pushl  (%edi)                         
  10b09a:	68 00 74 12 00       	push   $0x127400                      
  10b09f:	e8 7c 26 00 00       	call   10d720 <_Objects_Get>          
  switch ( location ) {                                               
  10b0a4:	83 c4 10             	add    $0x10,%esp                     
  10b0a7:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b0ab:	75 5d                	jne    10b10a <pthread_rwlock_timedrdlock+0xa2>
int	_EXFUN(pthread_rwlock_init,                                       
	(pthread_rwlock_t *__rwlock, _CONST pthread_rwlockattr_t *__attr));  
int	_EXFUN(pthread_rwlock_destroy, (pthread_rwlock_t *__rwlock));     
int	_EXFUN(pthread_rwlock_rdlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_tryrdlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedrdlock,                                
  10b0ad:	83 fe 03             	cmp    $0x3,%esi                      
  10b0b0:	0f 94 c2             	sete   %dl                            
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
  10b0b3:	83 ec 0c             	sub    $0xc,%esp                      
  10b0b6:	6a 00                	push   $0x0                           
  10b0b8:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b0bb:	0f b6 ca             	movzbl %dl,%ecx                       
  10b0be:	51                   	push   %ecx                           
  10b0bf:	ff 37                	pushl  (%edi)                         
  10b0c1:	83 c0 10             	add    $0x10,%eax                     
  10b0c4:	50                   	push   %eax                           
  10b0c5:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  10b0c8:	e8 b3 1a 00 00       	call   10cb80 <_CORE_RWLock_Obtain_for_reading>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10b0cd:	83 c4 20             	add    $0x20,%esp                     
  10b0d0:	e8 25 2e 00 00       	call   10defa <_Thread_Enable_dispatch>
      if ( !do_wait ) {                                               
  10b0d5:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  10b0d8:	84 d2                	test   %dl,%dl                        
  10b0da:	75 19                	jne    10b0f5 <pthread_rwlock_timedrdlock+0x8d>
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
  10b0dc:	a1 44 77 12 00       	mov    0x127744,%eax                  
  10b0e1:	83 78 34 02          	cmpl   $0x2,0x34(%eax)                
  10b0e5:	75 0e                	jne    10b0f5 <pthread_rwlock_timedrdlock+0x8d>
	  switch (status) {                                                  
  10b0e7:	85 f6                	test   %esi,%esi                      
  10b0e9:	74 1f                	je     10b10a <pthread_rwlock_timedrdlock+0xa2><== NEVER TAKEN
	    case POSIX_ABSOLUTE_TIMEOUT_INVALID:                             
	      return EINVAL;                                                 
	    case POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST:                          
	    case POSIX_ABSOLUTE_TIMEOUT_IS_NOW:                              
	      return ETIMEDOUT;                                              
  10b0eb:	bb 74 00 00 00       	mov    $0x74,%ebx                     
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  switch (status) {                                                  
  10b0f0:	83 fe 02             	cmp    $0x2,%esi                      
  10b0f3:	76 15                	jbe    10b10a <pthread_rwlock_timedrdlock+0xa2><== ALWAYS TAKEN
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b0f5:	83 ec 0c             	sub    $0xc,%esp                      
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
  10b0f8:	a1 44 77 12 00       	mov    0x127744,%eax                  
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b0fd:	ff 70 34             	pushl  0x34(%eax)                     
  10b100:	e8 bb 00 00 00       	call   10b1c0 <_POSIX_RWLock_Translate_core_RWLock_return_code>
  10b105:	89 c3                	mov    %eax,%ebx                      
  10b107:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10b10a:	89 d8                	mov    %ebx,%eax                      
  10b10c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b10f:	5b                   	pop    %ebx                           
  10b110:	5e                   	pop    %esi                           
  10b111:	5f                   	pop    %edi                           
  10b112:	c9                   	leave                                 
  10b113:	c3                   	ret                                   
                                                                      

0010b114 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
  10b114:	55                   	push   %ebp                           
  10b115:	89 e5                	mov    %esp,%ebp                      
  10b117:	57                   	push   %edi                           
  10b118:	56                   	push   %esi                           
  10b119:	53                   	push   %ebx                           
  10b11a:	83 ec 2c             	sub    $0x2c,%esp                     
  10b11d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    return EINVAL;                                                    
  10b120:	bb 16 00 00 00       	mov    $0x16,%ebx                     
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
  10b125:	85 ff                	test   %edi,%edi                      
  10b127:	0f 84 89 00 00 00    	je     10b1b6 <pthread_rwlock_timedwrlock+0xa2>
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  10b12d:	50                   	push   %eax                           
  10b12e:	50                   	push   %eax                           
  10b12f:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10b132:	50                   	push   %eax                           
  10b133:	ff 75 0c             	pushl  0xc(%ebp)                      
  10b136:	e8 c9 56 00 00       	call   110804 <_POSIX_Absolute_timeout_to_ticks>
  10b13b:	89 c6                	mov    %eax,%esi                      
  10b13d:	83 c4 0c             	add    $0xc,%esp                      
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  10b140:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10b143:	50                   	push   %eax                           
  10b144:	ff 37                	pushl  (%edi)                         
  10b146:	68 00 74 12 00       	push   $0x127400                      
  10b14b:	e8 d0 25 00 00       	call   10d720 <_Objects_Get>          
  switch ( location ) {                                               
  10b150:	83 c4 10             	add    $0x10,%esp                     
  10b153:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b157:	75 5d                	jne    10b1b6 <pthread_rwlock_timedwrlock+0xa2>
        (pthread_rwlock_t *__rwlock, _CONST struct timespec *__abstime));
int	_EXFUN(pthread_rwlock_unlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_wrlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_trywrlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedwrlock,                                
  10b159:	83 fe 03             	cmp    $0x3,%esi                      
  10b15c:	0f 94 c2             	sete   %dl                            
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
  10b15f:	83 ec 0c             	sub    $0xc,%esp                      
  10b162:	6a 00                	push   $0x0                           
  10b164:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b167:	0f b6 ca             	movzbl %dl,%ecx                       
  10b16a:	51                   	push   %ecx                           
  10b16b:	ff 37                	pushl  (%edi)                         
  10b16d:	83 c0 10             	add    $0x10,%eax                     
  10b170:	50                   	push   %eax                           
  10b171:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  10b174:	e8 bf 1a 00 00       	call   10cc38 <_CORE_RWLock_Obtain_for_writing>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10b179:	83 c4 20             	add    $0x20,%esp                     
  10b17c:	e8 79 2d 00 00       	call   10defa <_Thread_Enable_dispatch>
      if ( !do_wait &&                                                
  10b181:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  10b184:	84 d2                	test   %dl,%dl                        
  10b186:	75 19                	jne    10b1a1 <pthread_rwlock_timedwrlock+0x8d>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
  10b188:	a1 44 77 12 00       	mov    0x127744,%eax                  
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
  10b18d:	83 78 34 02          	cmpl   $0x2,0x34(%eax)                
  10b191:	75 0e                	jne    10b1a1 <pthread_rwlock_timedwrlock+0x8d>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
  10b193:	85 f6                	test   %esi,%esi                      
  10b195:	74 1f                	je     10b1b6 <pthread_rwlock_timedwrlock+0xa2><== NEVER TAKEN
	  case POSIX_ABSOLUTE_TIMEOUT_INVALID:                               
	    return EINVAL;                                                   
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST:                            
	  case POSIX_ABSOLUTE_TIMEOUT_IS_NOW:                                
	    return ETIMEDOUT;                                                
  10b197:	bb 74 00 00 00       	mov    $0x74,%ebx                     
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
  10b19c:	83 fe 02             	cmp    $0x2,%esi                      
  10b19f:	76 15                	jbe    10b1b6 <pthread_rwlock_timedwrlock+0xa2><== ALWAYS TAKEN
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b1a1:	83 ec 0c             	sub    $0xc,%esp                      
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
  10b1a4:	a1 44 77 12 00       	mov    0x127744,%eax                  
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b1a9:	ff 70 34             	pushl  0x34(%eax)                     
  10b1ac:	e8 0f 00 00 00       	call   10b1c0 <_POSIX_RWLock_Translate_core_RWLock_return_code>
  10b1b1:	89 c3                	mov    %eax,%ebx                      
  10b1b3:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10b1b6:	89 d8                	mov    %ebx,%eax                      
  10b1b8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b1bb:	5b                   	pop    %ebx                           
  10b1bc:	5e                   	pop    %esi                           
  10b1bd:	5f                   	pop    %edi                           
  10b1be:	c9                   	leave                                 
  10b1bf:	c3                   	ret                                   
                                                                      

0010b8fc <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) {
  10b8fc:	55                   	push   %ebp                           
  10b8fd:	89 e5                	mov    %esp,%ebp                      
  10b8ff:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10b902:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr )                                                        
    return EINVAL;                                                    
  10b905:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_rwlockattr_setpshared(                                    
  pthread_rwlockattr_t *attr,                                         
  int                    pshared                                      
)                                                                     
{                                                                     
  if ( !attr )                                                        
  10b90a:	85 d2                	test   %edx,%edx                      
  10b90c:	74 0f                	je     10b91d <pthread_rwlockattr_setpshared+0x21>
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
  10b90e:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10b911:	74 0a                	je     10b91d <pthread_rwlockattr_setpshared+0x21>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
  10b913:	83 f9 01             	cmp    $0x1,%ecx                      
  10b916:	77 05                	ja     10b91d <pthread_rwlockattr_setpshared+0x21><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
  10b918:	89 4a 04             	mov    %ecx,0x4(%edx)                 
      return 0;                                                       
  10b91b:	30 c0                	xor    %al,%al                        
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10b91d:	c9                   	leave                                 
  10b91e:	c3                   	ret                                   
                                                                      

0010c794 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
  10c794:	55                   	push   %ebp                           
  10c795:	89 e5                	mov    %esp,%ebp                      
  10c797:	57                   	push   %edi                           
  10c798:	56                   	push   %esi                           
  10c799:	53                   	push   %ebx                           
  10c79a:	83 ec 2c             	sub    $0x2c,%esp                     
  10c79d:	8b 75 10             	mov    0x10(%ebp),%esi                
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
    return EINVAL;                                                    
  10c7a0:	c7 45 d4 16 00 00 00 	movl   $0x16,-0x2c(%ebp)              
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
  10c7a7:	85 f6                	test   %esi,%esi                      
  10c7a9:	0f 84 00 01 00 00    	je     10c8af <pthread_setschedparam+0x11b><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
  10c7af:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10c7b2:	50                   	push   %eax                           
  10c7b3:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c7b6:	50                   	push   %eax                           
  10c7b7:	56                   	push   %esi                           
  10c7b8:	ff 75 0c             	pushl  0xc(%ebp)                      
  10c7bb:	e8 30 51 00 00       	call   1118f0 <_POSIX_Thread_Translate_sched_param>
  10c7c0:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
  10c7c3:	83 c4 10             	add    $0x10,%esp                     
  10c7c6:	85 c0                	test   %eax,%eax                      
  10c7c8:	0f 85 e1 00 00 00    	jne    10c8af <pthread_setschedparam+0x11b><== NEVER TAKEN
  10c7ce:	53                   	push   %ebx                           
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _POSIX_Threads_Get( thread, &location );               
  10c7cf:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10c7d2:	50                   	push   %eax                           
  10c7d3:	ff 75 08             	pushl  0x8(%ebp)                      
  10c7d6:	68 80 94 12 00       	push   $0x129480                      
  10c7db:	e8 90 1c 00 00       	call   10e470 <_Objects_Get>          
  10c7e0:	89 c2                	mov    %eax,%edx                      
  switch ( location ) {                                               
  10c7e2:	83 c4 10             	add    $0x10,%esp                     
  10c7e5:	83 7d dc 00          	cmpl   $0x0,-0x24(%ebp)               
  10c7e9:	0f 85 b9 00 00 00    	jne    10c8a8 <pthread_setschedparam+0x114><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
  10c7ef:	8b 98 f8 00 00 00    	mov    0xf8(%eax),%ebx                
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
  10c7f5:	83 bb 80 00 00 00 04 	cmpl   $0x4,0x80(%ebx)                
  10c7fc:	75 18                	jne    10c816 <pthread_setschedparam+0x82>
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
  10c7fe:	83 ec 0c             	sub    $0xc,%esp                      
  10c801:	8d 83 a4 00 00 00    	lea    0xa4(%ebx),%eax                
  10c807:	50                   	push   %eax                           
  10c808:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10c80b:	e8 58 34 00 00       	call   10fc68 <_Watchdog_Remove>      
  10c810:	83 c4 10             	add    $0x10,%esp                     
  10c813:	8b 55 d0             	mov    -0x30(%ebp),%edx               
                                                                      
      api->schedpolicy = policy;                                      
  10c816:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c819:	89 83 80 00 00 00    	mov    %eax,0x80(%ebx)                
      api->schedparam  = *param;                                      
  10c81f:	8d bb 84 00 00 00    	lea    0x84(%ebx),%edi                
  10c825:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10c82a:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      the_thread->budget_algorithm = budget_algorithm;                
  10c82c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10c82f:	89 42 7c             	mov    %eax,0x7c(%edx)                
      the_thread->budget_callout   = budget_callout;                  
  10c832:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10c835:	89 82 80 00 00 00    	mov    %eax,0x80(%edx)                
                                                                      
      switch ( api->schedpolicy ) {                                   
  10c83b:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)                 
  10c83f:	78 60                	js     10c8a1 <pthread_setschedparam+0x10d><== NEVER TAKEN
  10c841:	83 7d 0c 02          	cmpl   $0x2,0xc(%ebp)                 
  10c845:	7e 08                	jle    10c84f <pthread_setschedparam+0xbb>
  10c847:	83 7d 0c 04          	cmpl   $0x4,0xc(%ebp)                 
  10c84b:	75 54                	jne    10c8a1 <pthread_setschedparam+0x10d><== NEVER TAKEN
  10c84d:	eb 24                	jmp    10c873 <pthread_setschedparam+0xdf>
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
  10c84f:	a1 04 92 12 00       	mov    0x129204,%eax                  
  10c854:	89 42 78             	mov    %eax,0x78(%edx)                
  10c857:	0f b6 05 18 52 12 00 	movzbl 0x125218,%eax                  
  10c85e:	2b 83 84 00 00 00    	sub    0x84(%ebx),%eax                
                                                                      
          the_thread->real_priority =                                 
  10c864:	89 42 18             	mov    %eax,0x18(%edx)                
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
  10c867:	51                   	push   %ecx                           
  10c868:	6a 01                	push   $0x1                           
  10c86a:	50                   	push   %eax                           
  10c86b:	52                   	push   %edx                           
  10c86c:	e8 47 1f 00 00       	call   10e7b8 <_Thread_Change_priority>
  10c871:	eb 2b                	jmp    10c89e <pthread_setschedparam+0x10a>
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
  10c873:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                
  10c879:	89 83 a0 00 00 00    	mov    %eax,0xa0(%ebx)                
          _Watchdog_Remove( &api->Sporadic_timer );                   
  10c87f:	83 ec 0c             	sub    $0xc,%esp                      
  10c882:	81 c3 a4 00 00 00    	add    $0xa4,%ebx                     
  10c888:	53                   	push   %ebx                           
  10c889:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10c88c:	e8 d7 33 00 00       	call   10fc68 <_Watchdog_Remove>      
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
  10c891:	58                   	pop    %eax                           
  10c892:	5a                   	pop    %edx                           
  10c893:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10c896:	52                   	push   %edx                           
  10c897:	6a 00                	push   $0x0                           
  10c899:	e8 e1 fd ff ff       	call   10c67f <_POSIX_Threads_Sporadic_budget_TSR>
          break;                                                      
  10c89e:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
  10c8a1:	e8 a4 23 00 00       	call   10ec4a <_Thread_Enable_dispatch>
      return 0;                                                       
  10c8a6:	eb 07                	jmp    10c8af <pthread_setschedparam+0x11b>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
  10c8a8:	c7 45 d4 03 00 00 00 	movl   $0x3,-0x2c(%ebp)               
}                                                                     
  10c8af:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c8b2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c8b5:	5b                   	pop    %ebx                           
  10c8b6:	5e                   	pop    %esi                           
  10c8b7:	5f                   	pop    %edi                           
  10c8b8:	c9                   	leave                                 
  10c8b9:	c3                   	ret                                   
                                                                      

0010a6c0 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
  10a6c0:	55                   	push   %ebp                           
  10a6c1:	89 e5                	mov    %esp,%ebp                      
  10a6c3:	53                   	push   %ebx                           
  10a6c4:	83 ec 04             	sub    $0x4,%esp                      
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
  10a6c7:	83 3d 18 67 12 00 00 	cmpl   $0x0,0x126718                  
  10a6ce:	75 48                	jne    10a718 <pthread_testcancel+0x58><== NEVER TAKEN
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  10a6d0:	a1 1c 67 12 00       	mov    0x12671c,%eax                  
  10a6d5:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
  10a6db:	8b 15 cc 61 12 00    	mov    0x1261cc,%edx                  
  10a6e1:	42                   	inc    %edx                           
  10a6e2:	89 15 cc 61 12 00    	mov    %edx,0x1261cc                  
 */                                                                   
                                                                      
void pthread_testcancel( void )                                       
{                                                                     
  POSIX_API_Control *thread_support;                                  
  bool               cancel = false;                                  
  10a6e8:	31 db                	xor    %ebx,%ebx                      
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
  10a6ea:	83 b8 d4 00 00 00 00 	cmpl   $0x0,0xd4(%eax)                
  10a6f1:	75 0a                	jne    10a6fd <pthread_testcancel+0x3d><== NEVER TAKEN
                                                                      
/* Setting Cancelability State, P1003.1c/Draft 10, p. 183 */          
                                                                      
int	_EXFUN(pthread_setcancelstate, (int __state, int *__oldstate));   
int	_EXFUN(pthread_setcanceltype, (int __type, int *__oldtype));      
void 	_EXFUN(pthread_testcancel, (void));                             
  10a6f3:	83 b8 dc 00 00 00 00 	cmpl   $0x0,0xdc(%eax)                
  10a6fa:	0f 95 c3             	setne  %bl                            
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
  10a6fd:	e8 1c 23 00 00       	call   10ca1e <_Thread_Enable_dispatch>
                                                                      
  if ( cancel )                                                       
  10a702:	84 db                	test   %bl,%bl                        
  10a704:	74 12                	je     10a718 <pthread_testcancel+0x58>
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
  10a706:	50                   	push   %eax                           
  10a707:	50                   	push   %eax                           
  10a708:	6a ff                	push   $0xffffffff                    
  10a70a:	ff 35 1c 67 12 00    	pushl  0x12671c                       
  10a710:	e8 cb 50 00 00       	call   10f7e0 <_POSIX_Thread_Exit>    
  10a715:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  10a718:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a71b:	c9                   	leave                                 
  10a71c:	c3                   	ret                                   
                                                                      

0010c7d8 <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) {
  10c7d8:	55                   	push   %ebp                           
  10c7d9:	89 e5                	mov    %esp,%ebp                      
  10c7db:	57                   	push   %edi                           
  10c7dc:	56                   	push   %esi                           
  10c7dd:	53                   	push   %ebx                           
  10c7de:	83 ec 0c             	sub    $0xc,%esp                      
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
  10c7e1:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  10c7e5:	74 41                	je     10c828 <rtems_iterate_over_all_threads+0x50><== NEVER TAKEN
  10c7e7:	bb 01 00 00 00       	mov    $0x1,%ebx                      
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
  10c7ec:	8b 04 9d 00 02 13 00 	mov    0x130200(,%ebx,4),%eax         
  10c7f3:	85 c0                	test   %eax,%eax                      
  10c7f5:	74 2b                	je     10c822 <rtems_iterate_over_all_threads+0x4a><== NEVER TAKEN
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
  10c7f7:	8b 78 04             	mov    0x4(%eax),%edi                 
    if ( !information )                                               
  10c7fa:	be 01 00 00 00       	mov    $0x1,%esi                      
  10c7ff:	85 ff                	test   %edi,%edi                      
  10c801:	75 17                	jne    10c81a <rtems_iterate_over_all_threads+0x42>
  10c803:	eb 1d                	jmp    10c822 <rtems_iterate_over_all_threads+0x4a>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
  10c805:	8b 47 1c             	mov    0x1c(%edi),%eax                
  10c808:	8b 04 b0             	mov    (%eax,%esi,4),%eax             
                                                                      
      if ( !the_thread )                                              
  10c80b:	85 c0                	test   %eax,%eax                      
  10c80d:	74 0a                	je     10c819 <rtems_iterate_over_all_threads+0x41><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
  10c80f:	83 ec 0c             	sub    $0xc,%esp                      
  10c812:	50                   	push   %eax                           
  10c813:	ff 55 08             	call   *0x8(%ebp)                     
  10c816:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
  10c819:	46                   	inc    %esi                           
  10c81a:	0f b7 47 10          	movzwl 0x10(%edi),%eax                
  10c81e:	39 c6                	cmp    %eax,%esi                      
  10c820:	76 e3                	jbe    10c805 <rtems_iterate_over_all_threads+0x2d>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
  10c822:	43                   	inc    %ebx                           
  10c823:	83 fb 04             	cmp    $0x4,%ebx                      
  10c826:	75 c4                	jne    10c7ec <rtems_iterate_over_all_threads+0x14>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
  10c828:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c82b:	5b                   	pop    %ebx                           
  10c82c:	5e                   	pop    %esi                           
  10c82d:	5f                   	pop    %edi                           
  10c82e:	c9                   	leave                                 
  10c82f:	c3                   	ret                                   
                                                                      

001148ec <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
  1148ec:	55                   	push   %ebp                           
  1148ed:	89 e5                	mov    %esp,%ebp                      
  1148ef:	57                   	push   %edi                           
  1148f0:	56                   	push   %esi                           
  1148f1:	53                   	push   %ebx                           
  1148f2:	83 ec 1c             	sub    $0x1c,%esp                     
  1148f5:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1148f8:	8b 55 10             	mov    0x10(%ebp),%edx                
  1148fb:	8b 7d 14             	mov    0x14(%ebp),%edi                
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  1148fe:	b8 03 00 00 00       	mov    $0x3,%eax                      
  rtems_id        *id                                                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  114903:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  114907:	0f 84 ce 00 00 00    	je     1149db <rtems_partition_create+0xef>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
  11490d:	b0 09                	mov    $0x9,%al                       
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
  11490f:	85 f6                	test   %esi,%esi                      
  114911:	0f 84 c4 00 00 00    	je     1149db <rtems_partition_create+0xef>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
  114917:	83 7d 1c 00          	cmpl   $0x0,0x1c(%ebp)                
  11491b:	0f 84 ba 00 00 00    	je     1149db <rtems_partition_create+0xef><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  114921:	85 ff                	test   %edi,%edi                      
  114923:	0f 84 ad 00 00 00    	je     1149d6 <rtems_partition_create+0xea>
  114929:	85 d2                	test   %edx,%edx                      
  11492b:	0f 84 a5 00 00 00    	je     1149d6 <rtems_partition_create+0xea>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
  114931:	b0 08                	mov    $0x8,%al                       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  114933:	39 fa                	cmp    %edi,%edx                      
  114935:	0f 82 a0 00 00 00    	jb     1149db <rtems_partition_create+0xef>
  11493b:	f7 c7 03 00 00 00    	test   $0x3,%edi                      
  114941:	0f 85 94 00 00 00    	jne    1149db <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;                                    
  114947:	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 ) )                   
  114949:	f7 c6 03 00 00 00    	test   $0x3,%esi                      
  11494f:	0f 85 86 00 00 00    	jne    1149db <rtems_partition_create+0xef>
  114955:	a1 b8 e5 13 00       	mov    0x13e5b8,%eax                  
  11495a:	40                   	inc    %eax                           
  11495b:	a3 b8 e5 13 00       	mov    %eax,0x13e5b8                  
 *  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 );
  114960:	83 ec 0c             	sub    $0xc,%esp                      
  114963:	68 44 e4 13 00       	push   $0x13e444                      
  114968:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  11496b:	e8 30 3e 00 00       	call   1187a0 <_Objects_Allocate>     
  114970:	89 c3                	mov    %eax,%ebx                      
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
  114972:	83 c4 10             	add    $0x10,%esp                     
  114975:	85 c0                	test   %eax,%eax                      
  114977:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11497a:	75 0c                	jne    114988 <rtems_partition_create+0x9c>
    _Thread_Enable_dispatch();                                        
  11497c:	e8 61 4a 00 00       	call   1193e2 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  114981:	b8 05 00 00 00       	mov    $0x5,%eax                      
  114986:	eb 53                	jmp    1149db <rtems_partition_create+0xef>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  114988:	89 70 10             	mov    %esi,0x10(%eax)                
  the_partition->length                = length;                      
  11498b:	89 50 14             	mov    %edx,0x14(%eax)                
  the_partition->buffer_size           = buffer_size;                 
  11498e:	89 78 18             	mov    %edi,0x18(%eax)                
  the_partition->attribute_set         = attribute_set;               
  114991:	8b 45 18             	mov    0x18(%ebp),%eax                
  114994:	89 43 1c             	mov    %eax,0x1c(%ebx)                
  the_partition->number_of_used_blocks = 0;                           
  114997:	c7 43 20 00 00 00 00 	movl   $0x0,0x20(%ebx)                
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
  11499e:	57                   	push   %edi                           
  11499f:	89 d0                	mov    %edx,%eax                      
  1149a1:	31 d2                	xor    %edx,%edx                      
  1149a3:	f7 f7                	div    %edi                           
  1149a5:	50                   	push   %eax                           
  1149a6:	56                   	push   %esi                           
  1149a7:	8d 43 24             	lea    0x24(%ebx),%eax                
  1149aa:	50                   	push   %eax                           
  1149ab:	e8 8c 2a 00 00       	call   11743c <_Chain_Initialize>     
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  1149b0:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  1149b3:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  1149b6:	8b 15 60 e4 13 00    	mov    0x13e460,%edx                  
  1149bc:	89 1c 8a             	mov    %ebx,(%edx,%ecx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  1149bf:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1149c2:	89 53 0c             	mov    %edx,0xc(%ebx)                 
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
  1149c5:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  1149c8:	89 02                	mov    %eax,(%edx)                    
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  1149ca:	e8 13 4a 00 00       	call   1193e2 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  1149cf:	83 c4 10             	add    $0x10,%esp                     
  1149d2:	31 c0                	xor    %eax,%eax                      
  1149d4:	eb 05                	jmp    1149db <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;                                        
  1149d6:	b8 08 00 00 00       	mov    $0x8,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1149db:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1149de:	5b                   	pop    %ebx                           
  1149df:	5e                   	pop    %esi                           
  1149e0:	5f                   	pop    %edi                           
  1149e1:	c9                   	leave                                 
  1149e2:	c3                   	ret                                   
                                                                      

0010b0b1 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
  10b0b1:	55                   	push   %ebp                           
  10b0b2:	89 e5                	mov    %esp,%ebp                      
  10b0b4:	57                   	push   %edi                           
  10b0b5:	56                   	push   %esi                           
  10b0b6:	53                   	push   %ebx                           
  10b0b7:	83 ec 30             	sub    $0x30,%esp                     
  10b0ba:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b0bd:	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 );                  
  10b0c0:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
  10b0c3:	50                   	push   %eax                           
  10b0c4:	56                   	push   %esi                           
  10b0c5:	68 14 72 12 00       	push   $0x127214                      
  10b0ca:	e8 51 1e 00 00       	call   10cf20 <_Objects_Get>          
  10b0cf:	89 c7                	mov    %eax,%edi                      
                                                                      
  switch ( location ) {                                               
  10b0d1:	83 c4 10             	add    $0x10,%esp                     
  10b0d4:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b0d8:	0f 85 3d 01 00 00    	jne    10b21b <rtems_rate_monotonic_period+0x16a>
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
  10b0de:	a1 58 78 12 00       	mov    0x127858,%eax                  
  10b0e3:	39 47 40             	cmp    %eax,0x40(%edi)                
  10b0e6:	74 0f                	je     10b0f7 <rtems_rate_monotonic_period+0x46>
        _Thread_Enable_dispatch();                                    
  10b0e8:	e8 0d 26 00 00       	call   10d6fa <_Thread_Enable_dispatch>
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
  10b0ed:	bb 17 00 00 00       	mov    $0x17,%ebx                     
  10b0f2:	e9 29 01 00 00       	jmp    10b220 <rtems_rate_monotonic_period+0x16f>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
  10b0f7:	85 db                	test   %ebx,%ebx                      
  10b0f9:	75 19                	jne    10b114 <rtems_rate_monotonic_period+0x63>
        switch ( the_period->state ) {                                
  10b0fb:	8b 47 38             	mov    0x38(%edi),%eax                
  10b0fe:	83 f8 04             	cmp    $0x4,%eax                      
  10b101:	77 07                	ja     10b10a <rtems_rate_monotonic_period+0x59><== NEVER TAKEN
  10b103:	8b 1c 85 1c 0f 12 00 	mov    0x120f1c(,%eax,4),%ebx         
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
  10b10a:	e8 eb 25 00 00       	call   10d6fa <_Thread_Enable_dispatch>
        return( return_value );                                       
  10b10f:	e9 0c 01 00 00       	jmp    10b220 <rtems_rate_monotonic_period+0x16f>
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
  10b114:	9c                   	pushf                                 
  10b115:	fa                   	cli                                   
  10b116:	8f 45 d4             	popl   -0x2c(%ebp)                    
      switch ( the_period->state ) {                                  
  10b119:	8b 47 38             	mov    0x38(%edi),%eax                
  10b11c:	83 f8 02             	cmp    $0x2,%eax                      
  10b11f:	74 5d                	je     10b17e <rtems_rate_monotonic_period+0xcd>
  10b121:	83 f8 04             	cmp    $0x4,%eax                      
  10b124:	0f 84 b8 00 00 00    	je     10b1e2 <rtems_rate_monotonic_period+0x131>
  10b12a:	85 c0                	test   %eax,%eax                      
  10b12c:	0f 85 e9 00 00 00    	jne    10b21b <rtems_rate_monotonic_period+0x16a><== NEVER TAKEN
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
  10b132:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b135:	9d                   	popf                                  
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
  10b136:	83 ec 0c             	sub    $0xc,%esp                      
  10b139:	57                   	push   %edi                           
  10b13a:	e8 2f fe ff ff       	call   10af6e <_Rate_monotonic_Initiate_statistics>
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  10b13f:	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;                        
  10b146:	c7 47 18 00 00 00 00 	movl   $0x0,0x18(%edi)                
  the_watchdog->routine   = routine;                                  
  10b14d:	c7 47 2c 2c b4 10 00 	movl   $0x10b42c,0x2c(%edi)           
  the_watchdog->id        = id;                                       
  10b154:	89 77 30             	mov    %esi,0x30(%edi)                
  the_watchdog->user_data = user_data;                                
  10b157:	c7 47 34 00 00 00 00 	movl   $0x0,0x34(%edi)                
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
  10b15e:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b161:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b164:	58                   	pop    %eax                           
  10b165:	5a                   	pop    %edx                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
  10b166:	83 c7 10             	add    $0x10,%edi                     
  10b169:	57                   	push   %edi                           
  10b16a:	68 d0 73 12 00       	push   $0x1273d0                      
  10b16f:	e8 f0 34 00 00       	call   10e664 <_Watchdog_Insert>      
          _Thread_Enable_dispatch();                                  
  10b174:	e8 81 25 00 00       	call   10d6fa <_Thread_Enable_dispatch>
          return RTEMS_SUCCESSFUL;                                    
  10b179:	83 c4 10             	add    $0x10,%esp                     
  10b17c:	eb 60                	jmp    10b1de <rtems_rate_monotonic_period+0x12d>
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
  10b17e:	83 ec 0c             	sub    $0xc,%esp                      
  10b181:	57                   	push   %edi                           
  10b182:	e8 4f fe ff ff       	call   10afd6 <_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;       
  10b187:	c7 47 38 01 00 00 00 	movl   $0x1,0x38(%edi)                
          the_period->next_length = length;                           
  10b18e:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
                                                                      
          _ISR_Enable( level );                                       
  10b191:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b194:	9d                   	popf                                  
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
  10b195:	a1 58 78 12 00       	mov    0x127858,%eax                  
  10b19a:	8b 57 08             	mov    0x8(%edi),%edx                 
  10b19d:	89 50 20             	mov    %edx,0x20(%eax)                
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10b1a0:	5b                   	pop    %ebx                           
  10b1a1:	5e                   	pop    %esi                           
  10b1a2:	68 00 40 00 00       	push   $0x4000                        
  10b1a7:	50                   	push   %eax                           
  10b1a8:	e8 4b 2d 00 00       	call   10def8 <_Thread_Set_state>     
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
  10b1ad:	9c                   	pushf                                 
  10b1ae:	fa                   	cli                                   
  10b1af:	5a                   	pop    %edx                           
            local_state = the_period->state;                          
  10b1b0:	8b 47 38             	mov    0x38(%edi),%eax                
            the_period->state = RATE_MONOTONIC_ACTIVE;                
  10b1b3:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
          _ISR_Enable( level );                                       
  10b1ba:	52                   	push   %edx                           
  10b1bb:	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 ) 
  10b1bc:	83 c4 10             	add    $0x10,%esp                     
  10b1bf:	83 f8 03             	cmp    $0x3,%eax                      
  10b1c2:	75 15                	jne    10b1d9 <rtems_rate_monotonic_period+0x128>
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10b1c4:	51                   	push   %ecx                           
  10b1c5:	51                   	push   %ecx                           
  10b1c6:	68 00 40 00 00       	push   $0x4000                        
  10b1cb:	ff 35 58 78 12 00    	pushl  0x127858                       
  10b1d1:	e8 b2 21 00 00       	call   10d388 <_Thread_Clear_state>   
  10b1d6:	83 c4 10             	add    $0x10,%esp                     
                                                                      
          _Thread_Enable_dispatch();                                  
  10b1d9:	e8 1c 25 00 00       	call   10d6fa <_Thread_Enable_dispatch>
          return RTEMS_SUCCESSFUL;                                    
  10b1de:	31 db                	xor    %ebx,%ebx                      
  10b1e0:	eb 3e                	jmp    10b220 <rtems_rate_monotonic_period+0x16f>
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
  10b1e2:	83 ec 0c             	sub    $0xc,%esp                      
  10b1e5:	57                   	push   %edi                           
  10b1e6:	e8 eb fd ff ff       	call   10afd6 <_Rate_monotonic_Update_statistics>
                                                                      
          _ISR_Enable( level );                                       
  10b1eb:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b1ee:	9d                   	popf                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  10b1ef:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
          the_period->next_length = length;                           
  10b1f6:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b1f9:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b1fc:	58                   	pop    %eax                           
  10b1fd:	5a                   	pop    %edx                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
  10b1fe:	83 c7 10             	add    $0x10,%edi                     
  10b201:	57                   	push   %edi                           
  10b202:	68 d0 73 12 00       	push   $0x1273d0                      
  10b207:	e8 58 34 00 00       	call   10e664 <_Watchdog_Insert>      
          _Thread_Enable_dispatch();                                  
  10b20c:	e8 e9 24 00 00       	call   10d6fa <_Thread_Enable_dispatch>
          return RTEMS_TIMEOUT;                                       
  10b211:	83 c4 10             	add    $0x10,%esp                     
  10b214:	bb 06 00 00 00       	mov    $0x6,%ebx                      
  10b219:	eb 05                	jmp    10b220 <rtems_rate_monotonic_period+0x16f>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b21b:	bb 04 00 00 00       	mov    $0x4,%ebx                      
}                                                                     
  10b220:	89 d8                	mov    %ebx,%eax                      
  10b222:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b225:	5b                   	pop    %ebx                           
  10b226:	5e                   	pop    %esi                           
  10b227:	5f                   	pop    %edi                           
  10b228:	c9                   	leave                                 
  10b229:	c3                   	ret                                   
                                                                      

0010b22c <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
  10b22c:	55                   	push   %ebp                           
  10b22d:	89 e5                	mov    %esp,%ebp                      
  10b22f:	57                   	push   %edi                           
  10b230:	56                   	push   %esi                           
  10b231:	53                   	push   %ebx                           
  10b232:	83 ec 7c             	sub    $0x7c,%esp                     
  10b235:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b238:	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 )                                                       
  10b23b:	85 ff                	test   %edi,%edi                      
  10b23d:	0f 84 2b 01 00 00    	je     10b36e <rtems_rate_monotonic_report_statistics_with_plugin+0x142><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  10b243:	52                   	push   %edx                           
  10b244:	52                   	push   %edx                           
  10b245:	68 30 0f 12 00       	push   $0x120f30                      
  10b24a:	53                   	push   %ebx                           
  10b24b:	ff d7                	call   *%edi                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
  10b24d:	5e                   	pop    %esi                           
  10b24e:	58                   	pop    %eax                           
  10b24f:	68 4e 0f 12 00       	push   $0x120f4e                      
  10b254:	53                   	push   %ebx                           
  10b255:	ff d7                	call   *%edi                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
  10b257:	5a                   	pop    %edx                           
  10b258:	59                   	pop    %ecx                           
  10b259:	68 70 0f 12 00       	push   $0x120f70                      
  10b25e:	53                   	push   %ebx                           
  10b25f:	ff d7                	call   *%edi                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
  10b261:	5e                   	pop    %esi                           
  10b262:	58                   	pop    %eax                           
  10b263:	68 93 0f 12 00       	push   $0x120f93                      
  10b268:	53                   	push   %ebx                           
  10b269:	ff d7                	call   *%edi                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
  10b26b:	5a                   	pop    %edx                           
  10b26c:	59                   	pop    %ecx                           
  10b26d:	68 de 0f 12 00       	push   $0x120fde                      
  10b272:	53                   	push   %ebx                           
  10b273:	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 ;                   
  10b275:	8b 35 1c 72 12 00    	mov    0x12721c,%esi                  
  10b27b:	83 c4 10             	add    $0x10,%esp                     
  10b27e:	e9 df 00 00 00       	jmp    10b362 <rtems_rate_monotonic_report_statistics_with_plugin+0x136>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
  10b283:	50                   	push   %eax                           
  10b284:	50                   	push   %eax                           
  10b285:	8d 45 88             	lea    -0x78(%ebp),%eax               
  10b288:	50                   	push   %eax                           
  10b289:	56                   	push   %esi                           
  10b28a:	e8 35 55 00 00       	call   1107c4 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
  10b28f:	83 c4 10             	add    $0x10,%esp                     
  10b292:	85 c0                	test   %eax,%eax                      
  10b294:	0f 85 c7 00 00 00    	jne    10b361 <rtems_rate_monotonic_report_statistics_with_plugin+0x135>
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
  10b29a:	51                   	push   %ecx                           
  10b29b:	51                   	push   %ecx                           
  10b29c:	8d 55 c0             	lea    -0x40(%ebp),%edx               
  10b29f:	52                   	push   %edx                           
  10b2a0:	56                   	push   %esi                           
  10b2a1:	e8 c2 55 00 00       	call   110868 <rtems_rate_monotonic_get_status>
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
  10b2a6:	83 c4 0c             	add    $0xc,%esp                      
  10b2a9:	8d 45 e3             	lea    -0x1d(%ebp),%eax               
  10b2ac:	50                   	push   %eax                           
  10b2ad:	6a 05                	push   $0x5                           
  10b2af:	ff 75 c0             	pushl  -0x40(%ebp)                    
  10b2b2:	e8 01 02 00 00       	call   10b4b8 <rtems_object_get_name> 
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
  10b2b7:	58                   	pop    %eax                           
  10b2b8:	5a                   	pop    %edx                           
  10b2b9:	ff 75 8c             	pushl  -0x74(%ebp)                    
  10b2bc:	ff 75 88             	pushl  -0x78(%ebp)                    
  10b2bf:	8d 55 e3             	lea    -0x1d(%ebp),%edx               
  10b2c2:	52                   	push   %edx                           
  10b2c3:	56                   	push   %esi                           
  10b2c4:	68 2a 10 12 00       	push   $0x12102a                      
  10b2c9:	53                   	push   %ebx                           
  10b2ca:	ff d7                	call   *%edi                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
  10b2cc:	8b 45 88             	mov    -0x78(%ebp),%eax               
  10b2cf:	83 c4 20             	add    $0x20,%esp                     
  10b2d2:	85 c0                	test   %eax,%eax                      
  10b2d4:	75 0f                	jne    10b2e5 <rtems_rate_monotonic_report_statistics_with_plugin+0xb9>
      (*print)( context, "\n" );                                      
  10b2d6:	51                   	push   %ecx                           
  10b2d7:	51                   	push   %ecx                           
  10b2d8:	68 a4 12 12 00       	push   $0x1212a4                      
  10b2dd:	53                   	push   %ebx                           
  10b2de:	ff d7                	call   *%edi                          
      continue;                                                       
  10b2e0:	83 c4 10             	add    $0x10,%esp                     
  10b2e3:	eb 7c                	jmp    10b361 <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 );
  10b2e5:	52                   	push   %edx                           
  10b2e6:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10b2e9:	52                   	push   %edx                           
  10b2ea:	50                   	push   %eax                           
  10b2eb:	8d 45 a0             	lea    -0x60(%ebp),%eax               
  10b2ee:	50                   	push   %eax                           
  10b2ef:	e8 44 30 00 00       	call   10e338 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10b2f4:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b2f7:	b9 e8 03 00 00       	mov    $0x3e8,%ecx                    
  10b2fc:	99                   	cltd                                  
  10b2fd:	f7 f9                	idiv   %ecx                           
  10b2ff:	50                   	push   %eax                           
  10b300:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10b303:	8b 45 9c             	mov    -0x64(%ebp),%eax               
  10b306:	99                   	cltd                                  
  10b307:	f7 f9                	idiv   %ecx                           
  10b309:	50                   	push   %eax                           
  10b30a:	ff 75 98             	pushl  -0x68(%ebp)                    
  10b30d:	8b 45 94             	mov    -0x6c(%ebp),%eax               
  10b310:	99                   	cltd                                  
  10b311:	f7 f9                	idiv   %ecx                           
  10b313:	50                   	push   %eax                           
  10b314:	ff 75 90             	pushl  -0x70(%ebp)                    
  10b317:	68 41 10 12 00       	push   $0x121041                      
  10b31c:	53                   	push   %ebx                           
  10b31d:	89 4d 84             	mov    %ecx,-0x7c(%ebp)               
  10b320:	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);
  10b322:	83 c4 2c             	add    $0x2c,%esp                     
  10b325:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10b328:	52                   	push   %edx                           
  10b329:	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;       
  10b32c:	8d 45 b8             	lea    -0x48(%ebp),%eax               
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
  10b32f:	50                   	push   %eax                           
  10b330:	e8 03 30 00 00       	call   10e338 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10b335:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b338:	8b 4d 84             	mov    -0x7c(%ebp),%ecx               
  10b33b:	99                   	cltd                                  
  10b33c:	f7 f9                	idiv   %ecx                           
  10b33e:	50                   	push   %eax                           
  10b33f:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10b342:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10b345:	99                   	cltd                                  
  10b346:	f7 f9                	idiv   %ecx                           
  10b348:	50                   	push   %eax                           
  10b349:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10b34c:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10b34f:	99                   	cltd                                  
  10b350:	f7 f9                	idiv   %ecx                           
  10b352:	50                   	push   %eax                           
  10b353:	ff 75 a8             	pushl  -0x58(%ebp)                    
  10b356:	68 60 10 12 00       	push   $0x121060                      
  10b35b:	53                   	push   %ebx                           
  10b35c:	ff d7                	call   *%edi                          
  10b35e:	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++ ) {                                                      
  10b361:	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 ;                   
  10b362:	3b 35 20 72 12 00    	cmp    0x127220,%esi                  
  10b368:	0f 86 15 ff ff ff    	jbe    10b283 <rtems_rate_monotonic_report_statistics_with_plugin+0x57>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
  10b36e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b371:	5b                   	pop    %ebx                           
  10b372:	5e                   	pop    %esi                           
  10b373:	5f                   	pop    %edi                           
  10b374:	c9                   	leave                                 
  10b375:	c3                   	ret                                   
                                                                      

00115c5c <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
  115c5c:	55                   	push   %ebp                           
  115c5d:	89 e5                	mov    %esp,%ebp                      
  115c5f:	53                   	push   %ebx                           
  115c60:	83 ec 14             	sub    $0x14,%esp                     
  115c63:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
  115c66:	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 )                                                  
  115c6b:	85 db                	test   %ebx,%ebx                      
  115c6d:	74 6d                	je     115cdc <rtems_signal_send+0x80>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  115c6f:	50                   	push   %eax                           
  115c70:	50                   	push   %eax                           
  115c71:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  115c74:	50                   	push   %eax                           
  115c75:	ff 75 08             	pushl  0x8(%ebp)                      
  115c78:	e8 87 37 00 00       	call   119404 <_Thread_Get>           
  switch ( location ) {                                               
  115c7d:	83 c4 10             	add    $0x10,%esp                     
  115c80:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  115c84:	75 51                	jne    115cd7 <rtems_signal_send+0x7b>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
  115c86:	8b 90 f4 00 00 00    	mov    0xf4(%eax),%edx                
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
  115c8c:	83 7a 0c 00          	cmpl   $0x0,0xc(%edx)                 
  115c90:	74 39                	je     115ccb <rtems_signal_send+0x6f>
        if ( asr->is_enabled ) {                                      
  115c92:	80 7a 08 00          	cmpb   $0x0,0x8(%edx)                 
  115c96:	74 22                	je     115cba <rtems_signal_send+0x5e>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  115c98:	9c                   	pushf                                 
  115c99:	fa                   	cli                                   
  115c9a:	59                   	pop    %ecx                           
    *signal_set |= signals;                                           
  115c9b:	09 5a 14             	or     %ebx,0x14(%edx)                
  _ISR_Enable( _level );                                              
  115c9e:	51                   	push   %ecx                           
  115c9f:	9d                   	popf                                  
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  115ca0:	83 3d 0c eb 13 00 00 	cmpl   $0x0,0x13eb0c                  
  115ca7:	74 19                	je     115cc2 <rtems_signal_send+0x66>
  115ca9:	3b 05 10 eb 13 00    	cmp    0x13eb10,%eax                  
  115caf:	75 11                	jne    115cc2 <rtems_signal_send+0x66><== NEVER TAKEN
            _Context_Switch_necessary = true;                         
  115cb1:	c6 05 1c eb 13 00 01 	movb   $0x1,0x13eb1c                  
  115cb8:	eb 08                	jmp    115cc2 <rtems_signal_send+0x66>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  115cba:	9c                   	pushf                                 
  115cbb:	fa                   	cli                                   
  115cbc:	58                   	pop    %eax                           
    *signal_set |= signals;                                           
  115cbd:	09 5a 18             	or     %ebx,0x18(%edx)                
  _ISR_Enable( _level );                                              
  115cc0:	50                   	push   %eax                           
  115cc1:	9d                   	popf                                  
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
  115cc2:	e8 1b 37 00 00       	call   1193e2 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  115cc7:	31 c0                	xor    %eax,%eax                      
  115cc9:	eb 11                	jmp    115cdc <rtems_signal_send+0x80>
      }                                                               
      _Thread_Enable_dispatch();                                      
  115ccb:	e8 12 37 00 00       	call   1193e2 <_Thread_Enable_dispatch>
      return RTEMS_NOT_DEFINED;                                       
  115cd0:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  115cd5:	eb 05                	jmp    115cdc <rtems_signal_send+0x80>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  115cd7:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  115cdc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  115cdf:	c9                   	leave                                 
  115ce0:	c3                   	ret                                   
                                                                      

00115fdc <rtems_task_is_suspended>: */ rtems_status_code rtems_task_is_suspended( rtems_id id ) {
  115fdc:	55                   	push   %ebp                           
  115fdd:	89 e5                	mov    %esp,%ebp                      
  115fdf:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  115fe2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  115fe5:	50                   	push   %eax                           
  115fe6:	ff 75 08             	pushl  0x8(%ebp)                      
  115fe9:	e8 16 34 00 00       	call   119404 <_Thread_Get>           
  switch ( location ) {                                               
  115fee:	83 c4 10             	add    $0x10,%esp                     
  115ff1:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  115ff5:	75 1b                	jne    116012 <rtems_task_is_suspended+0x36><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
  115ff7:	f6 40 10 02          	testb  $0x2,0x10(%eax)                
  115ffb:	75 09                	jne    116006 <rtems_task_is_suspended+0x2a>
        _Thread_Enable_dispatch();                                    
  115ffd:	e8 e0 33 00 00       	call   1193e2 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  116002:	31 c0                	xor    %eax,%eax                      
  116004:	eb 11                	jmp    116017 <rtems_task_is_suspended+0x3b>
      }                                                               
      _Thread_Enable_dispatch();                                      
  116006:	e8 d7 33 00 00       	call   1193e2 <_Thread_Enable_dispatch>
      return RTEMS_ALREADY_SUSPENDED;                                 
  11600b:	b8 0f 00 00 00       	mov    $0xf,%eax                      
  116010:	eb 05                	jmp    116017 <rtems_task_is_suspended+0x3b>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  116012:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  116017:	c9                   	leave                                 
  116018:	c3                   	ret                                   
                                                                      

00110d60 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
  110d60:	55                   	push   %ebp                           
  110d61:	89 e5                	mov    %esp,%ebp                      
  110d63:	57                   	push   %edi                           
  110d64:	56                   	push   %esi                           
  110d65:	53                   	push   %ebx                           
  110d66:	83 ec 1c             	sub    $0x1c,%esp                     
  110d69:	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;                                     
  110d6c:	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 )                                           
  110d71:	85 c9                	test   %ecx,%ecx                      
  110d73:	0f 84 04 01 00 00    	je     110e7d <rtems_task_mode+0x11d> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  110d79:	8b 35 34 47 12 00    	mov    0x124734,%esi                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  110d7f:	8b 9e f4 00 00 00    	mov    0xf4(%esi),%ebx                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
  110d85:	80 7e 74 01          	cmpb   $0x1,0x74(%esi)                
  110d89:	19 ff                	sbb    %edi,%edi                      
  110d8b:	81 e7 00 01 00 00    	and    $0x100,%edi                    
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
  110d91:	83 7e 7c 00          	cmpl   $0x0,0x7c(%esi)                
  110d95:	74 06                	je     110d9d <rtems_task_mode+0x3d>  
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
  110d97:	81 cf 00 02 00 00    	or     $0x200,%edi                    
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  110d9d:	80 7b 08 01          	cmpb   $0x1,0x8(%ebx)                 
  110da1:	19 d2                	sbb    %edx,%edx                      
  110da3:	81 e2 00 04 00 00    	and    $0x400,%edx                    
  old_mode |= _ISR_Get_level();                                       
  110da9:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  110dac:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  110daf:	e8 71 c5 ff ff       	call   10d325 <_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;           
  110db4:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  110db7:	09 d0                	or     %edx,%eax                      
  old_mode |= _ISR_Get_level();                                       
  110db9:	09 f8                	or     %edi,%eax                      
  110dbb:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  110dbe:	89 01                	mov    %eax,(%ecx)                    
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
  110dc0:	f7 45 0c 00 01 00 00 	testl  $0x100,0xc(%ebp)               
  110dc7:	74 0b                	je     110dd4 <rtems_task_mode+0x74>  
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
  110dc9:	f7 45 08 00 01 00 00 	testl  $0x100,0x8(%ebp)               
  110dd0:	0f 94 46 74          	sete   0x74(%esi)                     
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
  110dd4:	f7 45 0c 00 02 00 00 	testl  $0x200,0xc(%ebp)               
  110ddb:	74 21                	je     110dfe <rtems_task_mode+0x9e>  
    if ( _Modes_Is_timeslice(mode_set) ) {                            
  110ddd:	f7 45 08 00 02 00 00 	testl  $0x200,0x8(%ebp)               
  110de4:	74 11                	je     110df7 <rtems_task_mode+0x97>  
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
  110de6:	c7 46 7c 01 00 00 00 	movl   $0x1,0x7c(%esi)                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
  110ded:	a1 b4 41 12 00       	mov    0x1241b4,%eax                  
  110df2:	89 46 78             	mov    %eax,0x78(%esi)                
  110df5:	eb 07                	jmp    110dfe <rtems_task_mode+0x9e>  
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
  110df7:	c7 46 7c 00 00 00 00 	movl   $0x0,0x7c(%esi)                
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
  110dfe:	f6 45 0c 01          	testb  $0x1,0xc(%ebp)                 
  110e02:	74 0a                	je     110e0e <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 ) );           
  110e04:	f6 45 08 01          	testb  $0x1,0x8(%ebp)                 
  110e08:	74 03                	je     110e0d <rtems_task_mode+0xad>  
  110e0a:	fa                   	cli                                   
  110e0b:	eb 01                	jmp    110e0e <rtems_task_mode+0xae>  
  110e0d:	fb                   	sti                                   
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  110e0e:	31 d2                	xor    %edx,%edx                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
  110e10:	f7 45 0c 00 04 00 00 	testl  $0x400,0xc(%ebp)               
  110e17:	74 2a                	je     110e43 <rtems_task_mode+0xe3>  
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
  110e19:	f7 45 08 00 04 00 00 	testl  $0x400,0x8(%ebp)               
  110e20:	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 ) {                        
  110e23:	3a 43 08             	cmp    0x8(%ebx),%al                  
  110e26:	74 1b                	je     110e43 <rtems_task_mode+0xe3>  
      asr->is_enabled = is_asr_enabled;                               
  110e28:	88 43 08             	mov    %al,0x8(%ebx)                  
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
  110e2b:	9c                   	pushf                                 
  110e2c:	fa                   	cli                                   
  110e2d:	58                   	pop    %eax                           
    _signals                     = information->signals_pending;      
  110e2e:	8b 53 18             	mov    0x18(%ebx),%edx                
    information->signals_pending = information->signals_posted;       
  110e31:	8b 4b 14             	mov    0x14(%ebx),%ecx                
  110e34:	89 4b 18             	mov    %ecx,0x18(%ebx)                
    information->signals_posted  = _signals;                          
  110e37:	89 53 14             	mov    %edx,0x14(%ebx)                
  _ISR_Enable( _level );                                              
  110e3a:	50                   	push   %eax                           
  110e3b:	9d                   	popf                                  
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  110e3c:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  110e40:	0f 95 c2             	setne  %dl                            
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  110e43:	31 c0                	xor    %eax,%eax                      
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
  110e45:	83 3d 64 43 12 00 03 	cmpl   $0x3,0x124364                  
  110e4c:	75 2f                	jne    110e7d <rtems_task_mode+0x11d> <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Thread_Evaluate_mode( void )               
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
  110e4e:	a1 34 47 12 00       	mov    0x124734,%eax                  
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
  110e53:	83 78 10 00          	cmpl   $0x0,0x10(%eax)                
  110e57:	75 0e                	jne    110e67 <rtems_task_mode+0x107> <== NEVER TAKEN
  110e59:	3b 05 38 47 12 00    	cmp    0x124738,%eax                  
  110e5f:	74 0f                	je     110e70 <rtems_task_mode+0x110> 
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
  110e61:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  110e65:	74 09                	je     110e70 <rtems_task_mode+0x110> <== NEVER TAKEN
    _Context_Switch_necessary = true;                                 
  110e67:	c6 05 40 47 12 00 01 	movb   $0x1,0x124740                  
  110e6e:	eb 06                	jmp    110e76 <rtems_task_mode+0x116> 
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  110e70:	31 c0                	xor    %eax,%eax                      
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
  110e72:	84 d2                	test   %dl,%dl                        
  110e74:	74 07                	je     110e7d <rtems_task_mode+0x11d> 
      _Thread_Dispatch();                                             
  110e76:	e8 a5 af ff ff       	call   10be20 <_Thread_Dispatch>      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  110e7b:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110e7d:	83 c4 1c             	add    $0x1c,%esp                     
  110e80:	5b                   	pop    %ebx                           
  110e81:	5e                   	pop    %esi                           
  110e82:	5f                   	pop    %edi                           
  110e83:	c9                   	leave                                 
  110e84:	c3                   	ret                                   
                                                                      

0010ddc0 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
  10ddc0:	55                   	push   %ebp                           
  10ddc1:	89 e5                	mov    %esp,%ebp                      
  10ddc3:	56                   	push   %esi                           
  10ddc4:	53                   	push   %ebx                           
  10ddc5:	83 ec 10             	sub    $0x10,%esp                     
  10ddc8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10ddcb:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10ddce:	85 db                	test   %ebx,%ebx                      
  10ddd0:	74 10                	je     10dde2 <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 ) );             
  10ddd2:	0f b6 15 f4 41 12 00 	movzbl 0x1241f4,%edx                  
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
  10ddd9:	b8 13 00 00 00       	mov    $0x13,%eax                     
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10ddde:	39 d3                	cmp    %edx,%ebx                      
  10dde0:	77 52                	ja     10de34 <rtems_task_set_priority+0x74>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
  10dde2:	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 )                                                
  10dde7:	85 f6                	test   %esi,%esi                      
  10dde9:	74 49                	je     10de34 <rtems_task_set_priority+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10ddeb:	51                   	push   %ecx                           
  10ddec:	51                   	push   %ecx                           
  10dded:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ddf0:	50                   	push   %eax                           
  10ddf1:	ff 75 08             	pushl  0x8(%ebp)                      
  10ddf4:	e8 03 1c 00 00       	call   10f9fc <_Thread_Get>           
  switch ( location ) {                                               
  10ddf9:	83 c4 10             	add    $0x10,%esp                     
  10ddfc:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10de00:	75 2d                	jne    10de2f <rtems_task_set_priority+0x6f>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
  10de02:	8b 50 14             	mov    0x14(%eax),%edx                
  10de05:	89 16                	mov    %edx,(%esi)                    
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
  10de07:	85 db                	test   %ebx,%ebx                      
  10de09:	74 1b                	je     10de26 <rtems_task_set_priority+0x66>
        the_thread->real_priority = new_priority;                     
  10de0b:	89 58 18             	mov    %ebx,0x18(%eax)                
        if ( the_thread->resource_count == 0 ||                       
  10de0e:	83 78 1c 00          	cmpl   $0x0,0x1c(%eax)                
  10de12:	74 05                	je     10de19 <rtems_task_set_priority+0x59>
  10de14:	39 58 14             	cmp    %ebx,0x14(%eax)                
  10de17:	76 0d                	jbe    10de26 <rtems_task_set_priority+0x66><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
  10de19:	52                   	push   %edx                           
  10de1a:	6a 00                	push   $0x0                           
  10de1c:	53                   	push   %ebx                           
  10de1d:	50                   	push   %eax                           
  10de1e:	e8 25 17 00 00       	call   10f548 <_Thread_Change_priority>
  10de23:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  10de26:	e8 af 1b 00 00       	call   10f9da <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10de2b:	31 c0                	xor    %eax,%eax                      
  10de2d:	eb 05                	jmp    10de34 <rtems_task_set_priority+0x74>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10de2f:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10de34:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10de37:	5b                   	pop    %ebx                           
  10de38:	5e                   	pop    %esi                           
  10de39:	c9                   	leave                                 
  10de3a:	c3                   	ret                                   
                                                                      

001164b4 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
  1164b4:	55                   	push   %ebp                           
  1164b5:	89 e5                	mov    %esp,%ebp                      
  1164b7:	83 ec 1c             	sub    $0x1c,%esp                     
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  1164ba:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
  1164bd:	50                   	push   %eax                           
  1164be:	ff 75 08             	pushl  0x8(%ebp)                      
  1164c1:	68 04 ef 13 00       	push   $0x13ef04                      
  1164c6:	e8 3d 27 00 00       	call   118c08 <_Objects_Get>          
  switch ( location ) {                                               
  1164cb:	83 c4 10             	add    $0x10,%esp                     
  1164ce:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  1164d2:	75 1e                	jne    1164f2 <rtems_timer_cancel+0x3e>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
  1164d4:	83 78 38 04          	cmpl   $0x4,0x38(%eax)                
  1164d8:	74 0f                	je     1164e9 <rtems_timer_cancel+0x35><== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
  1164da:	83 ec 0c             	sub    $0xc,%esp                      
  1164dd:	83 c0 10             	add    $0x10,%eax                     
  1164e0:	50                   	push   %eax                           
  1164e1:	e8 3e 41 00 00       	call   11a624 <_Watchdog_Remove>      
  1164e6:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Enable_dispatch();                                      
  1164e9:	e8 f4 2e 00 00       	call   1193e2 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1164ee:	31 c0                	xor    %eax,%eax                      
  1164f0:	eb 05                	jmp    1164f7 <rtems_timer_cancel+0x43>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1164f2:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1164f7:	c9                   	leave                                 
  1164f8:	c3                   	ret                                   
                                                                      

00116914 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  116914:	55                   	push   %ebp                           
  116915:	89 e5                	mov    %esp,%ebp                      
  116917:	57                   	push   %edi                           
  116918:	56                   	push   %esi                           
  116919:	53                   	push   %ebx                           
  11691a:	83 ec 1c             	sub    $0x1c,%esp                     
  11691d:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
  116920:	8b 35 44 ef 13 00    	mov    0x13ef44,%esi                  
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
  116926:	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 )                                                
  11692b:	85 f6                	test   %esi,%esi                      
  11692d:	0f 84 b1 00 00 00    	je     1169e4 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
  116933:	b3 0b                	mov    $0xb,%bl                       
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  116935:	80 3d cc e5 13 00 00 	cmpb   $0x0,0x13e5cc                  
  11693c:	0f 84 a2 00 00 00    	je     1169e4 <rtems_timer_server_fire_when+0xd0><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  116942:	b3 09                	mov    $0x9,%bl                       
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
  116944:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  116948:	0f 84 96 00 00 00    	je     1169e4 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  11694e:	83 ec 0c             	sub    $0xc,%esp                      
  116951:	57                   	push   %edi                           
  116952:	e8 99 d6 ff ff       	call   113ff0 <_TOD_Validate>         
  116957:	83 c4 10             	add    $0x10,%esp                     
    return RTEMS_INVALID_CLOCK;                                       
  11695a:	b3 14                	mov    $0x14,%bl                      
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  11695c:	84 c0                	test   %al,%al                        
  11695e:	0f 84 80 00 00 00    	je     1169e4 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  116964:	83 ec 0c             	sub    $0xc,%esp                      
  116967:	57                   	push   %edi                           
  116968:	e8 1b d6 ff ff       	call   113f88 <_TOD_To_seconds>       
  11696d:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  11696f:	83 c4 10             	add    $0x10,%esp                     
  116972:	3b 05 44 e6 13 00    	cmp    0x13e644,%eax                  
  116978:	76 6a                	jbe    1169e4 <rtems_timer_server_fire_when+0xd0>
  11697a:	51                   	push   %ecx                           
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  11697b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11697e:	50                   	push   %eax                           
  11697f:	ff 75 08             	pushl  0x8(%ebp)                      
  116982:	68 04 ef 13 00       	push   $0x13ef04                      
  116987:	e8 7c 22 00 00       	call   118c08 <_Objects_Get>          
  11698c:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  11698e:	83 c4 10             	add    $0x10,%esp                     
  116991:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  116995:	75 48                	jne    1169df <rtems_timer_server_fire_when+0xcb>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  116997:	83 ec 0c             	sub    $0xc,%esp                      
  11699a:	8d 40 10             	lea    0x10(%eax),%eax                
  11699d:	50                   	push   %eax                           
  11699e:	e8 81 3c 00 00       	call   11a624 <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
  1169a3:	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;                        
  1169aa:	c7 43 18 00 00 00 00 	movl   $0x0,0x18(%ebx)                
  the_watchdog->routine   = routine;                                  
  1169b1:	8b 45 10             	mov    0x10(%ebp),%eax                
  1169b4:	89 43 2c             	mov    %eax,0x2c(%ebx)                
  the_watchdog->id        = id;                                       
  1169b7:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1169ba:	89 43 30             	mov    %eax,0x30(%ebx)                
  the_watchdog->user_data = user_data;                                
  1169bd:	8b 45 14             	mov    0x14(%ebp),%eax                
  1169c0:	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();
  1169c3:	2b 3d 44 e6 13 00    	sub    0x13e644,%edi                  
  1169c9:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  1169cc:	58                   	pop    %eax                           
  1169cd:	5a                   	pop    %edx                           
  1169ce:	53                   	push   %ebx                           
  1169cf:	56                   	push   %esi                           
  1169d0:	ff 56 04             	call   *0x4(%esi)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  1169d3:	e8 0a 2a 00 00       	call   1193e2 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1169d8:	83 c4 10             	add    $0x10,%esp                     
  1169db:	31 db                	xor    %ebx,%ebx                      
  1169dd:	eb 05                	jmp    1169e4 <rtems_timer_server_fire_when+0xd0>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1169df:	bb 04 00 00 00       	mov    $0x4,%ebx                      
}                                                                     
  1169e4:	89 d8                	mov    %ebx,%eax                      
  1169e6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1169e9:	5b                   	pop    %ebx                           
  1169ea:	5e                   	pop    %esi                           
  1169eb:	5f                   	pop    %edi                           
  1169ec:	c9                   	leave                                 
  1169ed:	c3                   	ret                                   
                                                                      

0010a964 <sched_get_priority_max>: #include <rtems/posix/priority.h> int sched_get_priority_max( int policy ) {
  10a964:	55                   	push   %ebp                           
  10a965:	89 e5                	mov    %esp,%ebp                      
  10a967:	83 ec 08             	sub    $0x8,%esp                      
  10a96a:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  switch ( policy ) {                                                 
  10a96d:	83 f9 04             	cmp    $0x4,%ecx                      
  10a970:	77 0b                	ja     10a97d <sched_get_priority_max+0x19>
  10a972:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10a977:	d3 e0                	shl    %cl,%eax                       
  10a979:	a8 17                	test   $0x17,%al                      
  10a97b:	75 10                	jne    10a98d <sched_get_priority_max+0x29><== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10a97d:	e8 be 73 00 00       	call   111d40 <__errno>               
  10a982:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a988:	83 c8 ff             	or     $0xffffffff,%eax               
  10a98b:	eb 08                	jmp    10a995 <sched_get_priority_max+0x31>
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
  10a98d:	0f b6 05 18 12 12 00 	movzbl 0x121218,%eax                  
  10a994:	48                   	dec    %eax                           
}                                                                     
  10a995:	c9                   	leave                                 
  10a996:	c3                   	ret                                   
                                                                      

0010a998 <sched_get_priority_min>: #include <rtems/posix/priority.h> int sched_get_priority_min( int policy ) {
  10a998:	55                   	push   %ebp                           
  10a999:	89 e5                	mov    %esp,%ebp                      
  10a99b:	83 ec 08             	sub    $0x8,%esp                      
  10a99e:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  switch ( policy ) {                                                 
  10a9a1:	83 f9 04             	cmp    $0x4,%ecx                      
  10a9a4:	77 11                	ja     10a9b7 <sched_get_priority_min+0x1f>
  10a9a6:	ba 01 00 00 00       	mov    $0x1,%edx                      
  10a9ab:	d3 e2                	shl    %cl,%edx                       
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
  10a9ad:	b8 01 00 00 00       	mov    $0x1,%eax                      
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
  10a9b2:	80 e2 17             	and    $0x17,%dl                      
  10a9b5:	75 0e                	jne    10a9c5 <sched_get_priority_min+0x2d><== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10a9b7:	e8 84 73 00 00       	call   111d40 <__errno>               
  10a9bc:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a9c2:	83 c8 ff             	or     $0xffffffff,%eax               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
  10a9c5:	c9                   	leave                                 
  10a9c6:	c3                   	ret                                   
                                                                      

0010a9c8 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
  10a9c8:	55                   	push   %ebp                           
  10a9c9:	89 e5                	mov    %esp,%ebp                      
  10a9cb:	56                   	push   %esi                           
  10a9cc:	53                   	push   %ebx                           
  10a9cd:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10a9d0:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
  10a9d3:	85 f6                	test   %esi,%esi                      
  10a9d5:	74 16                	je     10a9ed <sched_rr_get_interval+0x25><== NEVER TAKEN
  10a9d7:	e8 08 d0 ff ff       	call   1079e4 <getpid>                
  10a9dc:	39 c6                	cmp    %eax,%esi                      
  10a9de:	74 0d                	je     10a9ed <sched_rr_get_interval+0x25>
    rtems_set_errno_and_return_minus_one( ESRCH );                    
  10a9e0:	e8 5b 73 00 00       	call   111d40 <__errno>               
  10a9e5:	c7 00 03 00 00 00    	movl   $0x3,(%eax)                    
  10a9eb:	eb 0f                	jmp    10a9fc <sched_rr_get_interval+0x34>
                                                                      
  if ( !interval )                                                    
  10a9ed:	85 db                	test   %ebx,%ebx                      
  10a9ef:	75 10                	jne    10aa01 <sched_rr_get_interval+0x39>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10a9f1:	e8 4a 73 00 00       	call   111d40 <__errno>               
  10a9f6:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a9fc:	83 c8 ff             	or     $0xffffffff,%eax               
  10a9ff:	eb 13                	jmp    10aa14 <sched_rr_get_interval+0x4c>
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
  10aa01:	50                   	push   %eax                           
  10aa02:	50                   	push   %eax                           
  10aa03:	53                   	push   %ebx                           
  10aa04:	ff 35 a4 51 12 00    	pushl  0x1251a4                       
  10aa0a:	e8 bd 2f 00 00       	call   10d9cc <_Timespec_From_ticks>  
  return 0;                                                           
  10aa0f:	83 c4 10             	add    $0x10,%esp                     
  10aa12:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10aa14:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10aa17:	5b                   	pop    %ebx                           
  10aa18:	5e                   	pop    %esi                           
  10aa19:	c9                   	leave                                 
  10aa1a:	c3                   	ret                                   
                                                                      

0010d044 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
  10d044:	55                   	push   %ebp                           
  10d045:	89 e5                	mov    %esp,%ebp                      
  10d047:	57                   	push   %edi                           
  10d048:	56                   	push   %esi                           
  10d049:	53                   	push   %ebx                           
  10d04a:	83 ec 2c             	sub    $0x2c,%esp                     
  10d04d:	8b 75 08             	mov    0x8(%ebp),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10d050:	a1 cc a3 12 00       	mov    0x12a3cc,%eax                  
  10d055:	40                   	inc    %eax                           
  10d056:	a3 cc a3 12 00       	mov    %eax,0x12a3cc                  
  va_list                    arg;                                     
  mode_t                     mode;                                    
  unsigned int               value = 0;                               
  10d05b:	31 ff                	xor    %edi,%edi                      
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
  10d05d:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10d060:	25 00 02 00 00       	and    $0x200,%eax                    
  10d065:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10d068:	74 03                	je     10d06d <sem_open+0x29>         
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
  10d06a:	8b 7d 14             	mov    0x14(%ebp),%edi                
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
  10d06d:	52                   	push   %edx                           
  10d06e:	52                   	push   %edx                           
  10d06f:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10d072:	50                   	push   %eax                           
  10d073:	56                   	push   %esi                           
  10d074:	e8 6b 57 00 00       	call   1127e4 <_POSIX_Semaphore_Name_to_id>
  10d079:	89 c3                	mov    %eax,%ebx                      
   *  and we can just return a pointer to the id.  Otherwise we may   
   *  need to check to see if this is a "semaphore does not exist"    
   *  or some other miscellaneous error on the name.                  
   */                                                                 
                                                                      
  if ( status ) {                                                     
  10d07b:	83 c4 10             	add    $0x10,%esp                     
  10d07e:	85 c0                	test   %eax,%eax                      
  10d080:	74 19                	je     10d09b <sem_open+0x57>         
    /*                                                                
     * Unless provided a valid name that did not already exist        
     * and we are willing to create then it is an error.              
     */                                                               
                                                                      
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
  10d082:	83 f8 02             	cmp    $0x2,%eax                      
  10d085:	75 06                	jne    10d08d <sem_open+0x49>         <== NEVER TAKEN
  10d087:	83 7d d4 00          	cmpl   $0x0,-0x2c(%ebp)               
  10d08b:	75 59                	jne    10d0e6 <sem_open+0xa2>         
      _Thread_Enable_dispatch();                                      
  10d08d:	e8 44 25 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
  10d092:	e8 e1 7e 00 00       	call   114f78 <__errno>               
  10d097:	89 18                	mov    %ebx,(%eax)                    
  10d099:	eb 1f                	jmp    10d0ba <sem_open+0x76>         
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
  10d09b:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10d09e:	25 00 0a 00 00       	and    $0xa00,%eax                    
  10d0a3:	3d 00 0a 00 00       	cmp    $0xa00,%eax                    
  10d0a8:	75 15                	jne    10d0bf <sem_open+0x7b>         
      _Thread_Enable_dispatch();                                      
  10d0aa:	e8 27 25 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
  10d0af:	e8 c4 7e 00 00       	call   114f78 <__errno>               
  10d0b4:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
  10d0ba:	83 c8 ff             	or     $0xffffffff,%eax               
  10d0bd:	eb 4a                	jmp    10d109 <sem_open+0xc5>         
  10d0bf:	50                   	push   %eax                           
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
  10d0c0:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10d0c3:	50                   	push   %eax                           
  10d0c4:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10d0c7:	68 98 a6 12 00       	push   $0x12a698                      
  10d0cc:	e8 e7 1c 00 00       	call   10edb8 <_Objects_Get>          
  10d0d1:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    the_semaphore->open_count += 1;                                   
  10d0d4:	ff 40 18             	incl   0x18(%eax)                     
    _Thread_Enable_dispatch();                                        
  10d0d7:	e8 fa 24 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
    _Thread_Enable_dispatch();                                        
  10d0dc:	e8 f5 24 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
    goto return_id;                                                   
  10d0e1:	83 c4 10             	add    $0x10,%esp                     
  10d0e4:	eb 1d                	jmp    10d103 <sem_open+0xbf>         
  /*                                                                  
   *  At this point, the semaphore does not exist and everything has been
   *  checked. We should go ahead and create a semaphore.             
   */                                                                 
                                                                      
  status =_POSIX_Semaphore_Create_support(                            
  10d0e6:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10d0e9:	50                   	push   %eax                           
  10d0ea:	57                   	push   %edi                           
  10d0eb:	6a 00                	push   $0x0                           
  10d0ed:	56                   	push   %esi                           
  10d0ee:	e8 bd 55 00 00       	call   1126b0 <_POSIX_Semaphore_Create_support>
  10d0f3:	89 c3                	mov    %eax,%ebx                      
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
  10d0f5:	e8 dc 24 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
                                                                      
  if ( status == -1 )                                                 
  10d0fa:	83 c4 10             	add    $0x10,%esp                     
    return SEM_FAILED;                                                
  10d0fd:	83 c8 ff             	or     $0xffffffff,%eax               
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( status == -1 )                                                 
  10d100:	43                   	inc    %ebx                           
  10d101:	74 06                	je     10d109 <sem_open+0xc5>         
return_id:                                                            
  #if defined(RTEMS_USE_16_BIT_OBJECT)                                
    the_semaphore->Semaphore_id = the_semaphore->Object.id;           
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  10d103:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10d106:	83 c0 08             	add    $0x8,%eax                      
  #endif                                                              
  return id;                                                          
}                                                                     
  10d109:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d10c:	5b                   	pop    %ebx                           
  10d10d:	5e                   	pop    %esi                           
  10d10e:	5f                   	pop    %edi                           
  10d10f:	c9                   	leave                                 
  10d110:	c3                   	ret                                   
                                                                      

0010a84c <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
  10a84c:	55                   	push   %ebp                           
  10a84d:	89 e5                	mov    %esp,%ebp                      
  10a84f:	57                   	push   %edi                           
  10a850:	56                   	push   %esi                           
  10a851:	53                   	push   %ebx                           
  10a852:	83 ec 1c             	sub    $0x1c,%esp                     
  10a855:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a858:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10a85b:	8b 45 10             	mov    0x10(%ebp),%eax                
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
  10a85e:	85 c0                	test   %eax,%eax                      
  10a860:	74 12                	je     10a874 <sigaction+0x28>        
    *oact = _POSIX_signals_Vectors[ sig ];                            
  10a862:	6b f3 0c             	imul   $0xc,%ebx,%esi                 
  10a865:	81 c6 84 67 12 00    	add    $0x126784,%esi                 
  10a86b:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10a870:	89 c7                	mov    %eax,%edi                      
  10a872:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  if ( !sig )                                                         
  10a874:	85 db                	test   %ebx,%ebx                      
  10a876:	74 0d                	je     10a885 <sigaction+0x39>        
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  10a878:	8d 43 ff             	lea    -0x1(%ebx),%eax                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
  10a87b:	83 f8 1f             	cmp    $0x1f,%eax                     
  10a87e:	77 05                	ja     10a885 <sigaction+0x39>        
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
  10a880:	83 fb 09             	cmp    $0x9,%ebx                      
  10a883:	75 10                	jne    10a895 <sigaction+0x49>        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10a885:	e8 3a 77 00 00       	call   111fc4 <__errno>               
  10a88a:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a890:	83 c8 ff             	or     $0xffffffff,%eax               
  10a893:	eb 57                	jmp    10a8ec <sigaction+0xa0>        
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
  10a895:	31 c0                	xor    %eax,%eax                      
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
  10a897:	85 d2                	test   %edx,%edx                      
  10a899:	74 51                	je     10a8ec <sigaction+0xa0>        <== NEVER TAKEN
    /*                                                                
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
  10a89b:	9c                   	pushf                                 
  10a89c:	fa                   	cli                                   
  10a89d:	8f 45 e4             	popl   -0x1c(%ebp)                    
      if ( act->sa_handler == SIG_DFL ) {                             
  10a8a0:	83 7a 08 00          	cmpl   $0x0,0x8(%edx)                 
  10a8a4:	75 1a                	jne    10a8c0 <sigaction+0x74>        
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
  10a8a6:	6b f3 0c             	imul   $0xc,%ebx,%esi                 
  10a8a9:	8d 86 84 67 12 00    	lea    0x126784(%esi),%eax            
  10a8af:	81 c6 08 0b 12 00    	add    $0x120b08,%esi                 
  10a8b5:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10a8ba:	89 c7                	mov    %eax,%edi                      
  10a8bc:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  10a8be:	eb 26                	jmp    10a8e6 <sigaction+0x9a>        
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
  10a8c0:	83 ec 0c             	sub    $0xc,%esp                      
  10a8c3:	53                   	push   %ebx                           
  10a8c4:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10a8c7:	e8 c0 4c 00 00       	call   10f58c <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
  10a8cc:	6b db 0c             	imul   $0xc,%ebx,%ebx                 
  10a8cf:	81 c3 84 67 12 00    	add    $0x126784,%ebx                 
  10a8d5:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10a8da:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10a8dd:	89 df                	mov    %ebx,%edi                      
  10a8df:	89 d6                	mov    %edx,%esi                      
  10a8e1:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  10a8e3:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
    _ISR_Enable( level );                                             
  10a8e6:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10a8e9:	9d                   	popf                                  
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
  10a8ea:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a8ec:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a8ef:	5b                   	pop    %ebx                           
  10a8f0:	5e                   	pop    %esi                           
  10a8f1:	5f                   	pop    %edi                           
  10a8f2:	c9                   	leave                                 
  10a8f3:	c3                   	ret                                   
                                                                      

0010c83c <sigsuspend>: #include <rtems/seterr.h> int sigsuspend( const sigset_t *sigmask ) {
  10c83c:	55                   	push   %ebp                           
  10c83d:	89 e5                	mov    %esp,%ebp                      
  10c83f:	56                   	push   %esi                           
  10c840:	53                   	push   %ebx                           
  10c841:	83 ec 14             	sub    $0x14,%esp                     
  int                 status;                                         
  POSIX_API_Control  *api;                                            
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
                                                                      
  status = sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 
  10c844:	8d 5d f4             	lea    -0xc(%ebp),%ebx                
  10c847:	53                   	push   %ebx                           
  10c848:	ff 75 08             	pushl  0x8(%ebp)                      
  10c84b:	6a 01                	push   $0x1                           
  10c84d:	e8 c6 ff ff ff       	call   10c818 <sigprocmask>           
                                                                      
  (void) sigfillset( &all_signals );                                  
  10c852:	8d 75 f0             	lea    -0x10(%ebp),%esi               
  10c855:	89 34 24             	mov    %esi,(%esp)                    
  10c858:	e8 17 ff ff ff       	call   10c774 <sigfillset>            
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
  10c85d:	83 c4 0c             	add    $0xc,%esp                      
  10c860:	6a 00                	push   $0x0                           
  10c862:	6a 00                	push   $0x0                           
  10c864:	56                   	push   %esi                           
  10c865:	e8 69 00 00 00       	call   10c8d3 <sigtimedwait>          
  10c86a:	89 c6                	mov    %eax,%esi                      
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
  10c86c:	83 c4 0c             	add    $0xc,%esp                      
  10c86f:	6a 00                	push   $0x0                           
  10c871:	53                   	push   %ebx                           
  10c872:	6a 00                	push   $0x0                           
  10c874:	e8 9f ff ff ff       	call   10c818 <sigprocmask>           
                                                                      
  /*                                                                  
   * sigtimedwait() returns the signal number while sigsuspend()      
   * is supposed to return -1 and EINTR when a signal is caught.      
   */                                                                 
  if ( status != -1 )                                                 
  10c879:	83 c4 10             	add    $0x10,%esp                     
  10c87c:	46                   	inc    %esi                           
  10c87d:	74 0b                	je     10c88a <sigsuspend+0x4e>       <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINTR );                    
  10c87f:	e8 d0 74 00 00       	call   113d54 <__errno>               
  10c884:	c7 00 04 00 00 00    	movl   $0x4,(%eax)                    
                                                                      
  return status;                                                      
}                                                                     
  10c88a:	83 c8 ff             	or     $0xffffffff,%eax               
  10c88d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c890:	5b                   	pop    %ebx                           
  10c891:	5e                   	pop    %esi                           
  10c892:	c9                   	leave                                 
  10c893:	c3                   	ret                                   
                                                                      

0010ac13 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
  10ac13:	55                   	push   %ebp                           
  10ac14:	89 e5                	mov    %esp,%ebp                      
  10ac16:	57                   	push   %edi                           
  10ac17:	56                   	push   %esi                           
  10ac18:	53                   	push   %ebx                           
  10ac19:	83 ec 2c             	sub    $0x2c,%esp                     
  10ac1c:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10ac1f:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
  10ac22:	85 ff                	test   %edi,%edi                      
  10ac24:	74 24                	je     10ac4a <sigtimedwait+0x37>     
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
  10ac26:	85 db                	test   %ebx,%ebx                      
  10ac28:	74 33                	je     10ac5d <sigtimedwait+0x4a>     
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
  10ac2a:	83 ec 0c             	sub    $0xc,%esp                      
  10ac2d:	53                   	push   %ebx                           
  10ac2e:	e8 31 30 00 00       	call   10dc64 <_Timespec_Is_valid>    
  10ac33:	83 c4 10             	add    $0x10,%esp                     
  10ac36:	84 c0                	test   %al,%al                        
  10ac38:	74 10                	je     10ac4a <sigtimedwait+0x37>     
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
  10ac3a:	83 ec 0c             	sub    $0xc,%esp                      
  10ac3d:	53                   	push   %ebx                           
  10ac3e:	e8 79 30 00 00       	call   10dcbc <_Timespec_To_ticks>    
                                                                      
    if ( !interval )                                                  
  10ac43:	83 c4 10             	add    $0x10,%esp                     
  10ac46:	85 c0                	test   %eax,%eax                      
  10ac48:	75 15                	jne    10ac5f <sigtimedwait+0x4c>     <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10ac4a:	e8 f9 78 00 00       	call   112548 <__errno>               
  10ac4f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10ac55:	83 cf ff             	or     $0xffffffff,%edi               
  10ac58:	e9 13 01 00 00       	jmp    10ad70 <sigtimedwait+0x15d>    
                                                                      
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  10ac5d:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
  10ac5f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10ac62:	85 db                	test   %ebx,%ebx                      
  10ac64:	75 03                	jne    10ac69 <sigtimedwait+0x56>     
  10ac66:	8d 5d dc             	lea    -0x24(%ebp),%ebx               
                                                                      
  the_thread = _Thread_Executing;                                     
  10ac69:	8b 15 54 78 12 00    	mov    0x127854,%edx                  
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10ac6f:	8b b2 f8 00 00 00    	mov    0xf8(%edx),%esi                
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  10ac75:	9c                   	pushf                                 
  10ac76:	fa                   	cli                                   
  10ac77:	8f 45 d4             	popl   -0x2c(%ebp)                    
  if ( *set & api->signals_pending ) {                                
  10ac7a:	8b 0f                	mov    (%edi),%ecx                    
  10ac7c:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  10ac7f:	8b 8e d0 00 00 00    	mov    0xd0(%esi),%ecx                
  10ac85:	85 4d d0             	test   %ecx,-0x30(%ebp)               
  10ac88:	74 32                	je     10acbc <sigtimedwait+0xa9>     
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_highest( api->signals_pending );
  10ac8a:	83 ec 0c             	sub    $0xc,%esp                      
  10ac8d:	51                   	push   %ecx                           
  10ac8e:	e8 41 ff ff ff       	call   10abd4 <_POSIX_signals_Get_highest>
  10ac93:	89 03                	mov    %eax,(%ebx)                    
    _POSIX_signals_Clear_signals(                                     
  10ac95:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10ac9c:	6a 00                	push   $0x0                           
  10ac9e:	53                   	push   %ebx                           
  10ac9f:	50                   	push   %eax                           
  10aca0:	56                   	push   %esi                           
  10aca1:	e8 0e 4f 00 00       	call   10fbb4 <_POSIX_signals_Clear_signals>
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
  10aca6:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10aca9:	9d                   	popf                                  
                                                                      
    the_info->si_code = SI_USER;                                      
  10acaa:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
    the_info->si_value.sival_int = 0;                                 
  10acb1:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
    return the_info->si_signo;                                        
  10acb8:	8b 3b                	mov    (%ebx),%edi                    
  10acba:	eb 3b                	jmp    10acf7 <sigtimedwait+0xe4>     
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
  10acbc:	8b 0d 58 7a 12 00    	mov    0x127a58,%ecx                  
  10acc2:	85 4d d0             	test   %ecx,-0x30(%ebp)               
  10acc5:	74 35                	je     10acfc <sigtimedwait+0xe9>     
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
  10acc7:	83 ec 0c             	sub    $0xc,%esp                      
  10acca:	51                   	push   %ecx                           
  10accb:	e8 04 ff ff ff       	call   10abd4 <_POSIX_signals_Get_highest>
  10acd0:	89 c7                	mov    %eax,%edi                      
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
  10acd2:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10acd9:	6a 01                	push   $0x1                           
  10acdb:	53                   	push   %ebx                           
  10acdc:	50                   	push   %eax                           
  10acdd:	56                   	push   %esi                           
  10acde:	e8 d1 4e 00 00       	call   10fbb4 <_POSIX_signals_Clear_signals>
    _ISR_Enable( level );                                             
  10ace3:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10ace6:	9d                   	popf                                  
                                                                      
    the_info->si_signo = signo;                                       
  10ace7:	89 3b                	mov    %edi,(%ebx)                    
    the_info->si_code = SI_USER;                                      
  10ace9:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
    the_info->si_value.sival_int = 0;                                 
  10acf0:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
    return signo;                                                     
  10acf7:	83 c4 20             	add    $0x20,%esp                     
  10acfa:	eb 74                	jmp    10ad70 <sigtimedwait+0x15d>    
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
  10acfc:	c7 03 ff ff ff ff    	movl   $0xffffffff,(%ebx)             
  10ad02:	8b 0d 04 73 12 00    	mov    0x127304,%ecx                  
  10ad08:	41                   	inc    %ecx                           
  10ad09:	89 0d 04 73 12 00    	mov    %ecx,0x127304                  
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
  10ad0f:	c7 42 44 f0 79 12 00 	movl   $0x1279f0,0x44(%edx)           
    the_thread->Wait.return_code     = EINTR;                         
  10ad16:	c7 42 34 04 00 00 00 	movl   $0x4,0x34(%edx)                
    the_thread->Wait.option          = *set;                          
  10ad1d:	8b 0f                	mov    (%edi),%ecx                    
  10ad1f:	89 4a 30             	mov    %ecx,0x30(%edx)                
    the_thread->Wait.return_argument = the_info;                      
  10ad22:	89 5a 28             	mov    %ebx,0x28(%edx)                
                                                                      
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;
  10ad25:	c7 05 20 7a 12 00 01 	movl   $0x1,0x127a20                  
  10ad2c:	00 00 00                                                    
    _Thread_queue_Enter_critical_section( &_POSIX_signals_Wait_queue );
    _ISR_Enable( level );                                             
  10ad2f:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10ad32:	9d                   	popf                                  
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
  10ad33:	52                   	push   %edx                           
  10ad34:	68 5c d8 10 00       	push   $0x10d85c                      
  10ad39:	50                   	push   %eax                           
  10ad3a:	68 f0 79 12 00       	push   $0x1279f0                      
  10ad3f:	e8 40 28 00 00       	call   10d584 <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
  10ad44:	e8 b1 23 00 00       	call   10d0fa <_Thread_Enable_dispatch>
  /*                                                                  
   * When the thread is set free by a signal, it is need to eliminate 
   * the signal.                                                      
   */                                                                 
                                                                      
  _POSIX_signals_Clear_signals( api, the_info->si_signo, the_info, false, false );
  10ad49:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10ad50:	6a 00                	push   $0x0                           
  10ad52:	53                   	push   %ebx                           
  10ad53:	ff 33                	pushl  (%ebx)                         
  10ad55:	56                   	push   %esi                           
  10ad56:	e8 59 4e 00 00       	call   10fbb4 <_POSIX_signals_Clear_signals>
  errno = _Thread_Executing->Wait.return_code;                        
  10ad5b:	83 c4 20             	add    $0x20,%esp                     
  10ad5e:	e8 e5 77 00 00       	call   112548 <__errno>               
  10ad63:	8b 15 54 78 12 00    	mov    0x127854,%edx                  
  10ad69:	8b 52 34             	mov    0x34(%edx),%edx                
  10ad6c:	89 10                	mov    %edx,(%eax)                    
  return the_info->si_signo;                                          
  10ad6e:	8b 3b                	mov    (%ebx),%edi                    
}                                                                     
  10ad70:	89 f8                	mov    %edi,%eax                      
  10ad72:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ad75:	5b                   	pop    %ebx                           
  10ad76:	5e                   	pop    %esi                           
  10ad77:	5f                   	pop    %edi                           
  10ad78:	c9                   	leave                                 
  10ad79:	c3                   	ret                                   
                                                                      

0010ca54 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
  10ca54:	55                   	push   %ebp                           
  10ca55:	89 e5                	mov    %esp,%ebp                      
  10ca57:	53                   	push   %ebx                           
  10ca58:	83 ec 08             	sub    $0x8,%esp                      
  10ca5b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
  10ca5e:	6a 00                	push   $0x0                           
  10ca60:	6a 00                	push   $0x0                           
  10ca62:	ff 75 08             	pushl  0x8(%ebp)                      
  10ca65:	e8 69 fe ff ff       	call   10c8d3 <sigtimedwait>          
  10ca6a:	89 c2                	mov    %eax,%edx                      
                                                                      
  if ( status != -1 ) {                                               
  10ca6c:	83 c4 10             	add    $0x10,%esp                     
  10ca6f:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10ca72:	74 0a                	je     10ca7e <sigwait+0x2a>          
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
  10ca74:	31 c0                	xor    %eax,%eax                      
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
                                                                      
  if ( status != -1 ) {                                               
    if ( sig )                                                        
  10ca76:	85 db                	test   %ebx,%ebx                      
  10ca78:	74 0b                	je     10ca85 <sigwait+0x31>          <== NEVER TAKEN
      *sig = status;                                                  
  10ca7a:	89 13                	mov    %edx,(%ebx)                    
  10ca7c:	eb 07                	jmp    10ca85 <sigwait+0x31>          
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
  10ca7e:	e8 d1 72 00 00       	call   113d54 <__errno>               
  10ca83:	8b 00                	mov    (%eax),%eax                    
}                                                                     
  10ca85:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca88:	c9                   	leave                                 
  10ca89:	c3                   	ret                                   
                                                                      

0010a0b0 <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
  10a0b0:	55                   	push   %ebp                           
  10a0b1:	89 e5                	mov    %esp,%ebp                      
  10a0b3:	56                   	push   %esi                           
  10a0b4:	53                   	push   %ebx                           
  10a0b5:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10a0b8:	8b 75 10             	mov    0x10(%ebp),%esi                
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
  10a0bb:	83 7d 08 01          	cmpl   $0x1,0x8(%ebp)                 
  10a0bf:	75 1d                	jne    10a0de <timer_create+0x2e>     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
  10a0c1:	85 f6                	test   %esi,%esi                      
  10a0c3:	74 19                	je     10a0de <timer_create+0x2e>     
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
  10a0c5:	85 db                	test   %ebx,%ebx                      
  10a0c7:	74 22                	je     10a0eb <timer_create+0x3b>     
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
  10a0c9:	8b 03                	mov    (%ebx),%eax                    
  10a0cb:	48                   	dec    %eax                           
  10a0cc:	83 f8 01             	cmp    $0x1,%eax                      
  10a0cf:	77 0d                	ja     10a0de <timer_create+0x2e>     <== NEVER TAKEN
         ( evp->sigev_notify != SIGEV_SIGNAL ) ) {                    
       /* The value of the field sigev_notify is not valid */         
       rtems_set_errno_and_return_minus_one( EINVAL );                
     }                                                                
                                                                      
     if ( !evp->sigev_signo )                                         
  10a0d1:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10a0d4:	85 c0                	test   %eax,%eax                      
  10a0d6:	74 06                	je     10a0de <timer_create+0x2e>     <== NEVER TAKEN
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  10a0d8:	48                   	dec    %eax                           
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
  10a0d9:	83 f8 1f             	cmp    $0x1f,%eax                     
  10a0dc:	76 0d                	jbe    10a0eb <timer_create+0x3b>     <== ALWAYS TAKEN
       rtems_set_errno_and_return_minus_one( EINVAL );                
  10a0de:	e8 6d 7c 00 00       	call   111d50 <__errno>               
  10a0e3:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a0e9:	eb 2f                	jmp    10a11a <timer_create+0x6a>     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10a0eb:	a1 38 62 12 00       	mov    0x126238,%eax                  
  10a0f0:	40                   	inc    %eax                           
  10a0f1:	a3 38 62 12 00       	mov    %eax,0x126238                  
 *  the inactive chain of free timer control blocks.                  
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Allocate( void )
{                                                                     
  return (POSIX_Timer_Control *) _Objects_Allocate( &_POSIX_Timer_Information );
  10a0f6:	83 ec 0c             	sub    $0xc,%esp                      
  10a0f9:	68 44 65 12 00       	push   $0x126544                      
  10a0fe:	e8 79 1b 00 00       	call   10bc7c <_Objects_Allocate>     
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
  10a103:	83 c4 10             	add    $0x10,%esp                     
  10a106:	85 c0                	test   %eax,%eax                      
  10a108:	75 18                	jne    10a122 <timer_create+0x72>     
    _Thread_Enable_dispatch();                                        
  10a10a:	e8 73 27 00 00       	call   10c882 <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
  10a10f:	e8 3c 7c 00 00       	call   111d50 <__errno>               
  10a114:	c7 00 0b 00 00 00    	movl   $0xb,(%eax)                    
  10a11a:	83 c8 ff             	or     $0xffffffff,%eax               
  10a11d:	e9 83 00 00 00       	jmp    10a1a5 <timer_create+0xf5>     
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  10a122:	c6 40 3c 02          	movb   $0x2,0x3c(%eax)                
  ptimer->thread_id = _Thread_Executing->Object.id;                   
  10a126:	8b 15 88 67 12 00    	mov    0x126788,%edx                  
  10a12c:	8b 52 08             	mov    0x8(%edx),%edx                 
  10a12f:	89 50 38             	mov    %edx,0x38(%eax)                
                                                                      
  if ( evp != NULL ) {                                                
  10a132:	85 db                	test   %ebx,%ebx                      
  10a134:	74 11                	je     10a147 <timer_create+0x97>     
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
  10a136:	8b 13                	mov    (%ebx),%edx                    
  10a138:	89 50 40             	mov    %edx,0x40(%eax)                
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
  10a13b:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10a13e:	89 50 44             	mov    %edx,0x44(%eax)                
    ptimer->inf.sigev_value  = evp->sigev_value;                      
  10a141:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10a144:	89 50 48             	mov    %edx,0x48(%eax)                
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
  10a147:	c7 40 68 00 00 00 00 	movl   $0x0,0x68(%eax)                
  ptimer->timer_data.it_value.tv_sec     = 0;                         
  10a14e:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
  10a155:	c7 40 60 00 00 00 00 	movl   $0x0,0x60(%eax)                
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
  10a15c:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
  10a163:	c7 40 58 00 00 00 00 	movl   $0x0,0x58(%eax)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10a16a:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
  the_watchdog->routine   = routine;                                  
  10a171:	c7 40 2c 00 00 00 00 	movl   $0x0,0x2c(%eax)                
  the_watchdog->id        = id;                                       
  10a178:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  the_watchdog->user_data = user_data;                                
  10a17f:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10a186:	8b 50 08             	mov    0x8(%eax),%edx                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10a189:	0f b7 da             	movzwl %dx,%ebx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10a18c:	8b 0d 60 65 12 00    	mov    0x126560,%ecx                  
  10a192:	89 04 99             	mov    %eax,(%ecx,%ebx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10a195:	c7 40 0c 00 00 00 00 	movl   $0x0,0xc(%eax)                 
                                                                      
  _Watchdog_Initialize( &ptimer->Timer, NULL, 0, NULL );              
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
  10a19c:	89 16                	mov    %edx,(%esi)                    
  _Thread_Enable_dispatch();                                          
  10a19e:	e8 df 26 00 00       	call   10c882 <_Thread_Enable_dispatch>
  return 0;                                                           
  10a1a3:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a1a5:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a1a8:	5b                   	pop    %ebx                           
  10a1a9:	5e                   	pop    %esi                           
  10a1aa:	c9                   	leave                                 
  10a1ab:	c3                   	ret                                   
                                                                      

0010a1ac <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
  10a1ac:	55                   	push   %ebp                           
  10a1ad:	89 e5                	mov    %esp,%ebp                      
  10a1af:	57                   	push   %edi                           
  10a1b0:	56                   	push   %esi                           
  10a1b1:	53                   	push   %ebx                           
  10a1b2:	83 ec 2c             	sub    $0x2c,%esp                     
  10a1b5:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
  10a1b8:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10a1bc:	0f 84 58 01 00 00    	je     10a31a <timer_settime+0x16e>   <== NEVER TAKEN
                                                                      
  /*                                                                  
   * First, it verifies if the structure "value" is correct           
   * if the number of nanoseconds is not correct return EINVAL        
   */                                                                 
  if ( !_Timespec_Is_valid( &(value->it_value) ) ) {                  
  10a1c2:	83 ec 0c             	sub    $0xc,%esp                      
  10a1c5:	8b 45 10             	mov    0x10(%ebp),%eax                
  10a1c8:	83 c0 08             	add    $0x8,%eax                      
  10a1cb:	50                   	push   %eax                           
  10a1cc:	e8 3f 32 00 00       	call   10d410 <_Timespec_Is_valid>    
  10a1d1:	83 c4 10             	add    $0x10,%esp                     
  10a1d4:	84 c0                	test   %al,%al                        
  10a1d6:	0f 84 3e 01 00 00    	je     10a31a <timer_settime+0x16e>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  if ( !_Timespec_Is_valid( &(value->it_interval) ) ) {               
  10a1dc:	83 ec 0c             	sub    $0xc,%esp                      
  10a1df:	ff 75 10             	pushl  0x10(%ebp)                     
  10a1e2:	e8 29 32 00 00       	call   10d410 <_Timespec_Is_valid>    
  10a1e7:	83 c4 10             	add    $0x10,%esp                     
  10a1ea:	84 c0                	test   %al,%al                        
  10a1ec:	0f 84 28 01 00 00    	je     10a31a <timer_settime+0x16e>   <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
  10a1f2:	85 db                	test   %ebx,%ebx                      
  10a1f4:	74 09                	je     10a1ff <timer_settime+0x53>    
  10a1f6:	83 fb 04             	cmp    $0x4,%ebx                      
  10a1f9:	0f 85 1b 01 00 00    	jne    10a31a <timer_settime+0x16e>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
  10a1ff:	8d 7d cc             	lea    -0x34(%ebp),%edi               
  10a202:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a207:	8b 75 10             	mov    0x10(%ebp),%esi                
  10a20a:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
  10a20c:	83 fb 04             	cmp    $0x4,%ebx                      
  10a20f:	75 2f                	jne    10a240 <timer_settime+0x94>    
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
  10a211:	83 ec 0c             	sub    $0xc,%esp                      
  10a214:	8d 5d dc             	lea    -0x24(%ebp),%ebx               
  10a217:	53                   	push   %ebx                           
  10a218:	e8 a3 15 00 00       	call   10b7c0 <_TOD_Get>              
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
  10a21d:	59                   	pop    %ecx                           
  10a21e:	5e                   	pop    %esi                           
  10a21f:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  10a222:	56                   	push   %esi                           
  10a223:	53                   	push   %ebx                           
  10a224:	e8 c3 31 00 00       	call   10d3ec <_Timespec_Greater_than>
  10a229:	83 c4 10             	add    $0x10,%esp                     
  10a22c:	84 c0                	test   %al,%al                        
  10a22e:	0f 85 e6 00 00 00    	jne    10a31a <timer_settime+0x16e>   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
  10a234:	52                   	push   %edx                           
  10a235:	56                   	push   %esi                           
  10a236:	56                   	push   %esi                           
  10a237:	53                   	push   %ebx                           
  10a238:	e8 f7 31 00 00       	call   10d434 <_Timespec_Subtract>    
  10a23d:	83 c4 10             	add    $0x10,%esp                     
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
    _Objects_Get( &_POSIX_Timer_Information, (Objects_Id) id, location );
  10a240:	50                   	push   %eax                           
  /* If the function reaches this point, then it will be necessary to do
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  10a241:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a244:	50                   	push   %eax                           
  10a245:	ff 75 08             	pushl  0x8(%ebp)                      
  10a248:	68 44 65 12 00       	push   $0x126544                      
  10a24d:	e8 56 1e 00 00       	call   10c0a8 <_Objects_Get>          
  10a252:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10a254:	83 c4 10             	add    $0x10,%esp                     
  10a257:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10a25b:	0f 85 b9 00 00 00    	jne    10a31a <timer_settime+0x16e>   
                                                                      
    case OBJECTS_LOCAL:                                               
      /* First, it verifies if the timer must be stopped */           
      if ( normalize.it_value.tv_sec == 0 && normalize.it_value.tv_nsec == 0 ) {
  10a261:	83 7d d4 00          	cmpl   $0x0,-0x2c(%ebp)               
  10a265:	75 3b                	jne    10a2a2 <timer_settime+0xf6>    
  10a267:	83 7d d8 00          	cmpl   $0x0,-0x28(%ebp)               
  10a26b:	75 35                	jne    10a2a2 <timer_settime+0xf6>    
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
  10a26d:	83 ec 0c             	sub    $0xc,%esp                      
  10a270:	8d 40 10             	lea    0x10(%eax),%eax                
  10a273:	50                   	push   %eax                           
  10a274:	e8 7f 35 00 00       	call   10d7f8 <_Watchdog_Remove>      
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
  10a279:	83 c4 10             	add    $0x10,%esp                     
  10a27c:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10a280:	74 0d                	je     10a28f <timer_settime+0xe3>    
           *ovalue = ptimer->timer_data;                              
  10a282:	8d 73 54             	lea    0x54(%ebx),%esi                
  10a285:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a28a:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10a28d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
  10a28f:	8d 7b 54             	lea    0x54(%ebx),%edi                
  10a292:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  10a295:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a29a:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
  10a29c:	c6 43 3c 04          	movb   $0x4,0x3c(%ebx)                
  10a2a0:	eb 35                	jmp    10a2d7 <timer_settime+0x12b>   
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
  10a2a2:	83 ec 0c             	sub    $0xc,%esp                      
  10a2a5:	ff 75 10             	pushl  0x10(%ebp)                     
  10a2a8:	e8 bb 31 00 00       	call   10d468 <_Timespec_To_ticks>    
  10a2ad:	89 43 64             	mov    %eax,0x64(%ebx)                
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
  10a2b0:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  10a2b3:	89 04 24             	mov    %eax,(%esp)                    
  10a2b6:	e8 ad 31 00 00       	call   10d468 <_Timespec_To_ticks>    
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
  10a2bb:	89 1c 24             	mov    %ebx,(%esp)                    
  10a2be:	68 30 a3 10 00       	push   $0x10a330                      
  10a2c3:	ff 73 08             	pushl  0x8(%ebx)                      
  10a2c6:	50                   	push   %eax                           
  10a2c7:	8d 43 10             	lea    0x10(%ebx),%eax                
  10a2ca:	50                   	push   %eax                           
  10a2cb:	e8 54 55 00 00       	call   10f824 <_POSIX_Timer_Insert_helper>
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
  10a2d0:	83 c4 20             	add    $0x20,%esp                     
  10a2d3:	84 c0                	test   %al,%al                        
  10a2d5:	75 07                	jne    10a2de <timer_settime+0x132>   
         _Thread_Enable_dispatch();                                   
  10a2d7:	e8 a6 25 00 00       	call   10c882 <_Thread_Enable_dispatch>
  10a2dc:	eb 38                	jmp    10a316 <timer_settime+0x16a>   
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
  10a2de:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10a2e2:	74 0d                	je     10a2f1 <timer_settime+0x145>   
         *ovalue = ptimer->timer_data;                                
  10a2e4:	8d 73 54             	lea    0x54(%ebx),%esi                
  10a2e7:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a2ec:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10a2ef:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
       ptimer->timer_data = normalize;                                
  10a2f1:	8d 7b 54             	lea    0x54(%ebx),%edi                
  10a2f4:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  10a2f7:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a2fc:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
  10a2fe:	c6 43 3c 03          	movb   $0x3,0x3c(%ebx)                
       _TOD_Get( &ptimer->time );                                     
  10a302:	83 ec 0c             	sub    $0xc,%esp                      
  10a305:	83 c3 6c             	add    $0x6c,%ebx                     
  10a308:	53                   	push   %ebx                           
  10a309:	e8 b2 14 00 00       	call   10b7c0 <_TOD_Get>              
       _Thread_Enable_dispatch();                                     
  10a30e:	e8 6f 25 00 00       	call   10c882 <_Thread_Enable_dispatch>
       return 0;                                                      
  10a313:	83 c4 10             	add    $0x10,%esp                     
  10a316:	31 c0                	xor    %eax,%eax                      
  10a318:	eb 0e                	jmp    10a328 <timer_settime+0x17c>   
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10a31a:	e8 31 7a 00 00       	call   111d50 <__errno>               
  10a31f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a325:	83 c8 ff             	or     $0xffffffff,%eax               
}                                                                     
  10a328:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a32b:	5b                   	pop    %ebx                           
  10a32c:	5e                   	pop    %esi                           
  10a32d:	5f                   	pop    %edi                           
  10a32e:	c9                   	leave                                 
  10a32f:	c3                   	ret                                   
                                                                      

00109fe8 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
  109fe8:	55                   	push   %ebp                           
  109fe9:	89 e5                	mov    %esp,%ebp                      
  109feb:	57                   	push   %edi                           
  109fec:	56                   	push   %esi                           
  109fed:	53                   	push   %ebx                           
  109fee:	83 ec 1c             	sub    $0x1c,%esp                     
  109ff1:	8b 75 08             	mov    0x8(%ebp),%esi                 
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
  109ff4:	83 3d 28 6b 12 00 00 	cmpl   $0x0,0x126b28                  
  109ffb:	75 2c                	jne    10a029 <ualarm+0x41>           <== NEVER TAKEN
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  109ffd:	c7 05 14 6b 12 00 00 	movl   $0x0,0x126b14                  
  10a004:	00 00 00                                                    
  the_watchdog->routine   = routine;                                  
  10a007:	c7 05 28 6b 12 00 b0 	movl   $0x109fb0,0x126b28             
  10a00e:	9f 10 00                                                    
  the_watchdog->id        = id;                                       
  10a011:	c7 05 2c 6b 12 00 00 	movl   $0x0,0x126b2c                  
  10a018:	00 00 00                                                    
  the_watchdog->user_data = user_data;                                
  10a01b:	c7 05 30 6b 12 00 00 	movl   $0x0,0x126b30                  
  10a022:	00 00 00                                                    
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
  10a025:	31 db                	xor    %ebx,%ebx                      
  10a027:	eb 4f                	jmp    10a078 <ualarm+0x90>           
  if ( !the_timer->routine ) {                                        
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
  10a029:	83 ec 0c             	sub    $0xc,%esp                      
  10a02c:	68 0c 6b 12 00       	push   $0x126b0c                      
  10a031:	e8 b2 33 00 00       	call   10d3e8 <_Watchdog_Remove>      
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
  10a036:	83 e8 02             	sub    $0x2,%eax                      
  10a039:	83 c4 10             	add    $0x10,%esp                     
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
  10a03c:	31 db                	xor    %ebx,%ebx                      
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
  10a03e:	83 f8 01             	cmp    $0x1,%eax                      
  10a041:	77 35                	ja     10a078 <ualarm+0x90>           <== NEVER TAKEN
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
  10a043:	a1 20 6b 12 00       	mov    0x126b20,%eax                  
  10a048:	03 05 18 6b 12 00    	add    0x126b18,%eax                  
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
  10a04e:	57                   	push   %edi                           
  10a04f:	57                   	push   %edi                           
  10a050:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10a053:	52                   	push   %edx                           
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
  10a054:	2b 05 24 6b 12 00    	sub    0x126b24,%eax                  
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
  10a05a:	50                   	push   %eax                           
  10a05b:	e8 30 2f 00 00       	call   10cf90 <_Timespec_From_ticks>  
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
  10a060:	69 4d e0 40 42 0f 00 	imul   $0xf4240,-0x20(%ebp),%ecx      
      remaining += tp.tv_nsec / 1000;                                 
  10a067:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10a06a:	bf e8 03 00 00       	mov    $0x3e8,%edi                    
  10a06f:	99                   	cltd                                  
  10a070:	f7 ff                	idiv   %edi                           
  10a072:	8d 1c 08             	lea    (%eax,%ecx,1),%ebx             
  10a075:	83 c4 10             	add    $0x10,%esp                     
  /*                                                                  
   *  If useconds is non-zero, then the caller wants to schedule      
   *  the alarm repeatedly at that interval.  If the interval is      
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
  10a078:	85 f6                	test   %esi,%esi                      
  10a07a:	74 44                	je     10a0c0 <ualarm+0xd8>           
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
  10a07c:	b9 40 42 0f 00       	mov    $0xf4240,%ecx                  
  10a081:	89 f0                	mov    %esi,%eax                      
  10a083:	31 d2                	xor    %edx,%edx                      
  10a085:	f7 f1                	div    %ecx                           
  10a087:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
  10a08a:	69 d2 e8 03 00 00    	imul   $0x3e8,%edx,%edx               
  10a090:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
    ticks = _Timespec_To_ticks( &tp );                                
  10a093:	83 ec 0c             	sub    $0xc,%esp                      
  10a096:	8d 75 e0             	lea    -0x20(%ebp),%esi               
  10a099:	56                   	push   %esi                           
  10a09a:	e8 4d 2f 00 00       	call   10cfec <_Timespec_To_ticks>    
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
  10a09f:	89 34 24             	mov    %esi,(%esp)                    
  10a0a2:	e8 45 2f 00 00       	call   10cfec <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10a0a7:	a3 18 6b 12 00       	mov    %eax,0x126b18                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10a0ac:	59                   	pop    %ecx                           
  10a0ad:	5e                   	pop    %esi                           
  10a0ae:	68 0c 6b 12 00       	push   $0x126b0c                      
  10a0b3:	68 fc 62 12 00       	push   $0x1262fc                      
  10a0b8:	e8 13 32 00 00       	call   10d2d0 <_Watchdog_Insert>      
  10a0bd:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
  10a0c0:	89 d8                	mov    %ebx,%eax                      
  10a0c2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a0c5:	5b                   	pop    %ebx                           
  10a0c6:	5e                   	pop    %esi                           
  10a0c7:	5f                   	pop    %edi                           
  10a0c8:	c9                   	leave                                 
  10a0c9:	c3                   	ret