RTEMS 4.11
Annotated Report
Fri Oct 8 17:49:07 2010

0010caf0 <_CORE_RWLock_Obtain_for_reading>:                           
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_RWLock_API_mp_support_callout   api_rwlock_mp_support          
)                                                                     
{                                                                     
  10caf0:	55                   	push   %ebp                           
  10caf1:	89 e5                	mov    %esp,%ebp                      
  10caf3:	57                   	push   %edi                           
  10caf4:	56                   	push   %esi                           
  10caf5:	53                   	push   %ebx                           
  10caf6:	83 ec 1c             	sub    $0x1c,%esp                     
  10caf9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10cafc:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10caff:	8b 45 14             	mov    0x14(%ebp),%eax                
  10cb02:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10cb05:	8a 55 10             	mov    0x10(%ebp),%dl                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
  10cb08:	8b 35 44 78 12 00    	mov    0x127844,%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 );                                              
  10cb0e:	9c                   	pushf                                 
  10cb0f:	fa                   	cli                                   
  10cb10:	5f                   	pop    %edi                           
    switch ( the_rwlock->current_state ) {                            
  10cb11:	8b 43 44             	mov    0x44(%ebx),%eax                
  10cb14:	85 c0                	test   %eax,%eax                      
  10cb16:	74 05                	je     10cb1d <_CORE_RWLock_Obtain_for_reading+0x2d>
  10cb18:	48                   	dec    %eax                           
  10cb19:	75 3a                	jne    10cb55 <_CORE_RWLock_Obtain_for_reading+0x65>
  10cb1b:	eb 0e                	jmp    10cb2b <_CORE_RWLock_Obtain_for_reading+0x3b>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
  10cb1d:	c7 43 44 01 00 00 00 	movl   $0x1,0x44(%ebx)                
	the_rwlock->number_of_readers += 1;                                  
  10cb24:	ff 43 48             	incl   0x48(%ebx)                     
	_ISR_Enable( level );                                                
  10cb27:	57                   	push   %edi                           
  10cb28:	9d                   	popf                                  
  10cb29:	eb 21                	jmp    10cb4c <_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 );      
  10cb2b:	83 ec 0c             	sub    $0xc,%esp                      
  10cb2e:	53                   	push   %ebx                           
  10cb2f:	88 55 dc             	mov    %dl,-0x24(%ebp)                
  10cb32:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10cb35:	e8 96 1a 00 00       	call   10e5d0 <_Thread_queue_First>   
        if ( !waiter ) {                                              
  10cb3a:	83 c4 10             	add    $0x10,%esp                     
  10cb3d:	85 c0                	test   %eax,%eax                      
  10cb3f:	8a 55 dc             	mov    -0x24(%ebp),%dl                
  10cb42:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10cb45:	75 0e                	jne    10cb55 <_CORE_RWLock_Obtain_for_reading+0x65><== NEVER TAKEN
	  the_rwlock->number_of_readers += 1;                                
  10cb47:	ff 43 48             	incl   0x48(%ebx)                     
	  _ISR_Enable( level );                                              
  10cb4a:	57                   	push   %edi                           
  10cb4b:	9d                   	popf                                  
	  executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;              
  10cb4c:	c7 46 34 00 00 00 00 	movl   $0x0,0x34(%esi)                
          return;                                                     
  10cb53:	eb 48                	jmp    10cb9d <_CORE_RWLock_Obtain_for_reading+0xad>
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
  10cb55:	84 d2                	test   %dl,%dl                        
  10cb57:	75 0b                	jne    10cb64 <_CORE_RWLock_Obtain_for_reading+0x74>
      _ISR_Enable( level );                                           
  10cb59:	57                   	push   %edi                           
  10cb5a:	9d                   	popf                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
  10cb5b:	c7 46 34 02 00 00 00 	movl   $0x2,0x34(%esi)                
  10cb62:	eb 39                	jmp    10cb9d <_CORE_RWLock_Obtain_for_reading+0xad>
  10cb64:	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;            
  10cb6b:	89 5e 44             	mov    %ebx,0x44(%esi)                
    executing->Wait.id          = id;                                 
  10cb6e:	89 4e 20             	mov    %ecx,0x20(%esi)                
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
  10cb71:	c7 46 30 00 00 00 00 	movl   $0x0,0x30(%esi)                
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
  10cb78:	c7 46 34 00 00 00 00 	movl   $0x0,0x34(%esi)                
    _ISR_Enable( level );                                             
  10cb7f:	57                   	push   %edi                           
  10cb80:	9d                   	popf                                  
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
  10cb81:	c7 45 10 cc cc 10 00 	movl   $0x10cccc,0x10(%ebp)           
  10cb88:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10cb8b:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  10cb8e:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10cb91:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cb94:	5b                   	pop    %ebx                           
  10cb95:	5e                   	pop    %esi                           
  10cb96:	5f                   	pop    %edi                           
  10cb97:	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(                               
  10cb98:	e9 4f 17 00 00       	jmp    10e2ec <_Thread_queue_Enqueue_with_handler>
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10cb9d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cba0:	5b                   	pop    %ebx                           
  10cba1:	5e                   	pop    %esi                           
  10cba2:	5f                   	pop    %edi                           
  10cba3:	c9                   	leave                                 
  10cba4:	c3                   	ret                                   
                                                                      

0010cc2c <_CORE_RWLock_Release>: */ CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) {
  10cc2c:	55                   	push   %ebp                           
  10cc2d:	89 e5                	mov    %esp,%ebp                      
  10cc2f:	53                   	push   %ebx                           
  10cc30:	83 ec 04             	sub    $0x4,%esp                      
  10cc33:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
  10cc36:	8b 15 44 78 12 00    	mov    0x127844,%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 );                                              
  10cc3c:	9c                   	pushf                                 
  10cc3d:	fa                   	cli                                   
  10cc3e:	58                   	pop    %eax                           
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
  10cc3f:	8b 4b 44             	mov    0x44(%ebx),%ecx                
  10cc42:	85 c9                	test   %ecx,%ecx                      
  10cc44:	75 0b                	jne    10cc51 <_CORE_RWLock_Release+0x25>
      _ISR_Enable( level );                                           
  10cc46:	50                   	push   %eax                           
  10cc47:	9d                   	popf                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
  10cc48:	c7 42 34 02 00 00 00 	movl   $0x2,0x34(%edx)                
      return CORE_RWLOCK_SUCCESSFUL;                                  
  10cc4f:	eb 72                	jmp    10ccc3 <_CORE_RWLock_Release+0x97>
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
  10cc51:	49                   	dec    %ecx                           
  10cc52:	75 0f                	jne    10cc63 <_CORE_RWLock_Release+0x37>
	the_rwlock->number_of_readers -= 1;                                  
  10cc54:	8b 4b 48             	mov    0x48(%ebx),%ecx                
  10cc57:	49                   	dec    %ecx                           
  10cc58:	89 4b 48             	mov    %ecx,0x48(%ebx)                
	if ( the_rwlock->number_of_readers != 0 ) {                          
  10cc5b:	85 c9                	test   %ecx,%ecx                      
  10cc5d:	74 04                	je     10cc63 <_CORE_RWLock_Release+0x37>
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
  10cc5f:	50                   	push   %eax                           
  10cc60:	9d                   	popf                                  
          return CORE_RWLOCK_SUCCESSFUL;                              
  10cc61:	eb 60                	jmp    10ccc3 <_CORE_RWLock_Release+0x97>
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
  10cc63:	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;                 
  10cc6a:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  _ISR_Enable( level );                                               
  10cc71:	50                   	push   %eax                           
  10cc72:	9d                   	popf                                  
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
  10cc73:	83 ec 0c             	sub    $0xc,%esp                      
  10cc76:	53                   	push   %ebx                           
  10cc77:	e8 68 15 00 00       	call   10e1e4 <_Thread_queue_Dequeue> 
                                                                      
  if ( next ) {                                                       
  10cc7c:	83 c4 10             	add    $0x10,%esp                     
  10cc7f:	85 c0                	test   %eax,%eax                      
  10cc81:	74 40                	je     10ccc3 <_CORE_RWLock_Release+0x97>
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
  10cc83:	83 78 30 01          	cmpl   $0x1,0x30(%eax)                
  10cc87:	75 09                	jne    10cc92 <_CORE_RWLock_Release+0x66>
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
  10cc89:	c7 43 44 02 00 00 00 	movl   $0x2,0x44(%ebx)                
      return CORE_RWLOCK_SUCCESSFUL;                                  
  10cc90:	eb 31                	jmp    10ccc3 <_CORE_RWLock_Release+0x97>
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
  10cc92:	ff 43 48             	incl   0x48(%ebx)                     
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
  10cc95:	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 );          
  10cc9c:	83 ec 0c             	sub    $0xc,%esp                      
  10cc9f:	53                   	push   %ebx                           
  10cca0:	e8 2b 19 00 00       	call   10e5d0 <_Thread_queue_First>   
      if ( !next ||                                                   
  10cca5:	83 c4 10             	add    $0x10,%esp                     
  10cca8:	85 c0                	test   %eax,%eax                      
  10ccaa:	74 17                	je     10ccc3 <_CORE_RWLock_Release+0x97>
  10ccac:	83 78 30 01          	cmpl   $0x1,0x30(%eax)                
  10ccb0:	74 11                	je     10ccc3 <_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;                             
  10ccb2:	ff 43 48             	incl   0x48(%ebx)                     
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
  10ccb5:	52                   	push   %edx                           
  10ccb6:	52                   	push   %edx                           
  10ccb7:	50                   	push   %eax                           
  10ccb8:	53                   	push   %ebx                           
  10ccb9:	e8 06 18 00 00       	call   10e4c4 <_Thread_queue_Extract> 
    }                                                                 
  10ccbe:	83 c4 10             	add    $0x10,%esp                     
  10ccc1:	eb d9                	jmp    10cc9c <_CORE_RWLock_Release+0x70>
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
  10ccc3:	31 c0                	xor    %eax,%eax                      
  10ccc5:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ccc8:	c9                   	leave                                 
  10ccc9:	c3                   	ret                                   
                                                                      

0010cccc <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
  10cccc:	55                   	push   %ebp                           
  10cccd:	89 e5                	mov    %esp,%ebp                      
  10cccf:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10ccd2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ccd5:	50                   	push   %eax                           
  10ccd6:	ff 75 08             	pushl  0x8(%ebp)                      
  10ccd9:	e8 aa 11 00 00       	call   10de88 <_Thread_Get>           
  switch ( location ) {                                               
  10ccde:	83 c4 10             	add    $0x10,%esp                     
  10cce1:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10cce5:	75 17                	jne    10ccfe <_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 );                    
  10cce7:	83 ec 0c             	sub    $0xc,%esp                      
  10ccea:	50                   	push   %eax                           
  10cceb:	e8 ac 19 00 00       	call   10e69c <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10ccf0:	a1 f4 72 12 00       	mov    0x1272f4,%eax                  
  10ccf5:	48                   	dec    %eax                           
  10ccf6:	a3 f4 72 12 00       	mov    %eax,0x1272f4                  
  10ccfb:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10ccfe:	c9                   	leave                                 
  10ccff:	c3                   	ret                                   
                                                                      

00117350 <_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 ) {
  117350:	55                   	push   %ebp                           
  117351:	89 e5                	mov    %esp,%ebp                      
  117353:	57                   	push   %edi                           
  117354:	56                   	push   %esi                           
  117355:	53                   	push   %ebx                           
  117356:	83 ec 1c             	sub    $0x1c,%esp                     
  117359:	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;                    
  11735c:	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 ) {             
  117361:	8b 55 10             	mov    0x10(%ebp),%edx                
  117364:	3b 53 4c             	cmp    0x4c(%ebx),%edx                
  117367:	77 4e                	ja     1173b7 <_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 ) {         
  117369:	83 7b 48 00          	cmpl   $0x0,0x48(%ebx)                
  11736d:	75 09                	jne    117378 <_CORE_message_queue_Broadcast+0x28><== NEVER TAKEN
  11736f:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  117376:	eb 23                	jmp    11739b <_CORE_message_queue_Broadcast+0x4b>
    *count = 0;                                                       
  117378:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  11737b:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  117381:	eb 32                	jmp    1173b5 <_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;                                          
  117383:	ff 45 e4             	incl   -0x1c(%ebp)                    
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  117386:	8b 42 2c             	mov    0x2c(%edx),%eax                
  117389:	89 c7                	mov    %eax,%edi                      
  11738b:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  11738e:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  117391:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
  117393:	8b 42 28             	mov    0x28(%edx),%eax                
  117396:	8b 55 10             	mov    0x10(%ebp),%edx                
  117399:	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 =                                                
  11739b:	83 ec 0c             	sub    $0xc,%esp                      
  11739e:	53                   	push   %ebx                           
  11739f:	e8 9c 22 00 00       	call   119640 <_Thread_queue_Dequeue> 
  1173a4:	89 c2                	mov    %eax,%edx                      
  1173a6:	83 c4 10             	add    $0x10,%esp                     
  1173a9:	85 c0                	test   %eax,%eax                      
  1173ab:	75 d6                	jne    117383 <_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;                                        
  1173ad:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1173b0:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  1173b3:	89 10                	mov    %edx,(%eax)                    
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
  1173b5:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1173b7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1173ba:	5b                   	pop    %ebx                           
  1173bb:	5e                   	pop    %esi                           
  1173bc:	5f                   	pop    %edi                           
  1173bd:	c9                   	leave                                 
  1173be:	c3                   	ret                                   
                                                                      

00112208 <_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 ) {
  112208:	55                   	push   %ebp                           
  112209:	89 e5                	mov    %esp,%ebp                      
  11220b:	57                   	push   %edi                           
  11220c:	56                   	push   %esi                           
  11220d:	53                   	push   %ebx                           
  11220e:	83 ec 1c             	sub    $0x1c,%esp                     
  112211:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  112214:	8b 7d 10             	mov    0x10(%ebp),%edi                
  112217:	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;
  11221a:	89 7b 44             	mov    %edi,0x44(%ebx)                
  the_message_queue->number_of_pending_messages = 0;                  
  11221d:	c7 43 48 00 00 00 00 	movl   $0x0,0x48(%ebx)                
  the_message_queue->maximum_message_size       = maximum_message_size;
  112224:	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;                 
  112227:	c7 43 60 00 00 00 00 	movl   $0x0,0x60(%ebx)                
    the_message_queue->notify_argument = the_argument;                
  11222e:	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)) {              
  112235:	89 d0                	mov    %edx,%eax                      
  112237:	f6 c2 03             	test   $0x3,%dl                       
  11223a:	74 0c                	je     112248 <_CORE_message_queue_Initialize+0x40>
    allocated_message_size += sizeof(uint32_t);                       
  11223c:	83 c0 04             	add    $0x4,%eax                      
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  11223f:	83 e0 fc             	and    $0xfffffffc,%eax               
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
    return false;                                                     
  112242:	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)                  
  112244:	39 d0                	cmp    %edx,%eax                      
  112246:	72 68                	jb     1122b0 <_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));
  112248:	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 *    
  11224b:	89 d1                	mov    %edx,%ecx                      
  11224d:	0f af cf             	imul   %edi,%ecx                      
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
    return false;                                                     
  112250:	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)            
  112252:	39 c1                	cmp    %eax,%ecx                      
  112254:	72 5a                	jb     1122b0 <_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 );               
  112256:	83 ec 0c             	sub    $0xc,%esp                      
  112259:	51                   	push   %ecx                           
  11225a:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  11225d:	e8 a0 26 00 00       	call   114902 <_Workspace_Allocate>   
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
  112262:	89 43 5c             	mov    %eax,0x5c(%ebx)                
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
  112265:	83 c4 10             	add    $0x10,%esp                     
  112268:	85 c0                	test   %eax,%eax                      
  11226a:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11226d:	74 41                	je     1122b0 <_CORE_message_queue_Initialize+0xa8>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
  11226f:	52                   	push   %edx                           
  112270:	57                   	push   %edi                           
  112271:	50                   	push   %eax                           
  112272:	8d 43 68             	lea    0x68(%ebx),%eax                
  112275:	50                   	push   %eax                           
  112276:	e8 e1 49 00 00       	call   116c5c <_Chain_Initialize>     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  11227b:	8d 43 54             	lea    0x54(%ebx),%eax                
  11227e:	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;                                   
  112281:	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 );    
  112288:	8d 43 50             	lea    0x50(%ebx),%eax                
  11228b:	89 43 58             	mov    %eax,0x58(%ebx)                
                                                                      
  _Thread_queue_Initialize(                                           
  11228e:	6a 06                	push   $0x6                           
  112290:	68 80 00 00 00       	push   $0x80                          
  112295:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  112298:	83 38 01             	cmpl   $0x1,(%eax)                    
  11229b:	0f 94 c0             	sete   %al                            
  11229e:	0f b6 c0             	movzbl %al,%eax                       
  1122a1:	50                   	push   %eax                           
  1122a2:	53                   	push   %ebx                           
  1122a3:	e8 04 1d 00 00       	call   113fac <_Thread_queue_Initialize>
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
  1122a8:	83 c4 20             	add    $0x20,%esp                     
  1122ab:	be 01 00 00 00       	mov    $0x1,%esi                      
}                                                                     
  1122b0:	89 f0                	mov    %esi,%eax                      
  1122b2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1122b5:	5b                   	pop    %ebx                           
  1122b6:	5e                   	pop    %esi                           
  1122b7:	5f                   	pop    %edi                           
  1122b8:	c9                   	leave                                 
  1122b9:	c3                   	ret                                   
                                                                      

001122bc <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
  1122bc:	55                   	push   %ebp                           
  1122bd:	89 e5                	mov    %esp,%ebp                      
  1122bf:	57                   	push   %edi                           
  1122c0:	56                   	push   %esi                           
  1122c1:	53                   	push   %ebx                           
  1122c2:	83 ec 2c             	sub    $0x2c,%esp                     
  1122c5:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1122c8:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1122cb:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  1122ce:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  1122d1:	89 5d e0             	mov    %ebx,-0x20(%ebp)               
  1122d4:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  1122d7:	8b 75 1c             	mov    0x1c(%ebp),%esi                
  1122da:	89 75 d4             	mov    %esi,-0x2c(%ebp)               
  1122dd:	8a 45 18             	mov    0x18(%ebp),%al                 
  1122e0:	88 45 db             	mov    %al,-0x25(%ebp)                
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  1122e3:	a1 9c c9 12 00       	mov    0x12c99c,%eax                  
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  1122e8:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  _ISR_Disable( level );                                              
  1122ef:	9c                   	pushf                                 
  1122f0:	fa                   	cli                                   
  1122f1:	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));                
  1122f4:	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;                  
  1122f7:	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))                                   
  1122fa:	39 f3                	cmp    %esi,%ebx                      
  1122fc:	0f 84 8a 00 00 00    	je     11238c <_CORE_message_queue_Seize+0xd0>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  112302:	8b 33                	mov    (%ebx),%esi                    
  the_chain->first    = new_first;                                    
  112304:	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 );   
  112307:	8d 7a 50             	lea    0x50(%edx),%edi                
  11230a:	89 7e 04             	mov    %edi,0x4(%esi)                 
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
  11230d:	85 db                	test   %ebx,%ebx                      
  11230f:	74 7b                	je     11238c <_CORE_message_queue_Seize+0xd0><== NEVER TAKEN
    the_message_queue->number_of_pending_messages -= 1;               
  112311:	ff 4a 48             	decl   0x48(%edx)                     
    _ISR_Enable( level );                                             
  112314:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  112317:	9d                   	popf                                  
                                                                      
    *size_p = the_message->Contents.size;                             
  112318:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  11231b:	89 01                	mov    %eax,(%ecx)                    
    _Thread_Executing->Wait.count =                                   
  11231d:	8b 73 08             	mov    0x8(%ebx),%esi                 
  112320:	a1 9c c9 12 00       	mov    0x12c99c,%eax                  
  112325:	89 70 24             	mov    %esi,0x24(%eax)                
      _CORE_message_queue_Get_message_priority( the_message );        
    _CORE_message_queue_Copy_buffer(                                  
      the_message->Contents.buffer,                                   
  112328:	8d 73 10             	lea    0x10(%ebx),%esi                
  11232b:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  11232e:	8b 09                	mov    (%ecx),%ecx                    
  112330:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  112333:	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 );
  112335:	83 ec 0c             	sub    $0xc,%esp                      
  112338:	52                   	push   %edx                           
  112339:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  11233c:	e8 3b 19 00 00       	call   113c7c <_Thread_queue_Dequeue> 
      if ( !the_thread ) {                                            
  112341:	83 c4 10             	add    $0x10,%esp                     
  112344:	85 c0                	test   %eax,%eax                      
  112346:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  112349:	75 15                	jne    112360 <_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 );
  11234b:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  11234e:	83 c2 68             	add    $0x68,%edx                     
  112351:	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 );   
}                                                                     
  112354:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112357:	5b                   	pop    %ebx                           
  112358:	5e                   	pop    %esi                           
  112359:	5f                   	pop    %edi                           
  11235a:	c9                   	leave                                 
  11235b:	e9 28 fe ff ff       	jmp    112188 <_Chain_Append>         
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
  112360:	8b 48 24             	mov    0x24(%eax),%ecx                
  112363:	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;  
  112366:	8b 48 30             	mov    0x30(%eax),%ecx                
  112369:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  11236c:	8b 70 2c             	mov    0x2c(%eax),%esi                
  11236f:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  112372:	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(                             
  112374:	8b 43 08             	mov    0x8(%ebx),%eax                 
  112377:	89 45 10             	mov    %eax,0x10(%ebp)                
  11237a:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  11237d:	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 );   
}                                                                     
  112380:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112383:	5b                   	pop    %ebx                           
  112384:	5e                   	pop    %esi                           
  112385:	5f                   	pop    %edi                           
  112386:	c9                   	leave                                 
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
  112387:	e9 08 49 00 00       	jmp    116c94 <_CORE_message_queue_Insert_message>
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
  11238c:	80 7d db 00          	cmpb   $0x0,-0x25(%ebp)               
  112390:	75 13                	jne    1123a5 <_CORE_message_queue_Seize+0xe9>
    _ISR_Enable( level );                                             
  112392:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  112395:	9d                   	popf                                  
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
  112396:	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 );   
}                                                                     
  11239d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1123a0:	5b                   	pop    %ebx                           
  1123a1:	5e                   	pop    %esi                           
  1123a2:	5f                   	pop    %edi                           
  1123a3:	c9                   	leave                                 
  1123a4:	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;
  1123a5:	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;             
  1123ac:	89 50 44             	mov    %edx,0x44(%eax)                
  executing->Wait.id = id;                                            
  1123af:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
  1123b2:	89 58 20             	mov    %ebx,0x20(%eax)                
  executing->Wait.return_argument_second.mutable_object = buffer;     
  1123b5:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  1123b8:	89 70 2c             	mov    %esi,0x2c(%eax)                
  executing->Wait.return_argument = size_p;                           
  1123bb:	89 48 28             	mov    %ecx,0x28(%eax)                
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
  1123be:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1123c1:	9d                   	popf                                  
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
  1123c2:	c7 45 10 5c 40 11 00 	movl   $0x11405c,0x10(%ebp)           
  1123c9:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  1123cc:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  1123cf:	89 55 08             	mov    %edx,0x8(%ebp)                 
}                                                                     
  1123d2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1123d5:	5b                   	pop    %ebx                           
  1123d6:	5e                   	pop    %esi                           
  1123d7:	5f                   	pop    %edi                           
  1123d8:	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 );   
  1123d9:	e9 a6 19 00 00       	jmp    113d84 <_Thread_queue_Enqueue_with_handler>
                                                                      

0010ac0d <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
  10ac0d:	55                   	push   %ebp                           
  10ac0e:	89 e5                	mov    %esp,%ebp                      
  10ac10:	53                   	push   %ebx                           
  10ac11:	83 ec 14             	sub    $0x14,%esp                     
  10ac14:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10ac17:	8a 55 10             	mov    0x10(%ebp),%dl                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
  10ac1a:	a1 e4 42 12 00       	mov    0x1242e4,%eax                  
  10ac1f:	85 c0                	test   %eax,%eax                      
  10ac21:	74 19                	je     10ac3c <_CORE_mutex_Seize+0x2f>
  10ac23:	84 d2                	test   %dl,%dl                        
  10ac25:	74 15                	je     10ac3c <_CORE_mutex_Seize+0x2f><== NEVER TAKEN
  10ac27:	83 3d 64 44 12 00 01 	cmpl   $0x1,0x124464                  
  10ac2e:	76 0c                	jbe    10ac3c <_CORE_mutex_Seize+0x2f>
  10ac30:	53                   	push   %ebx                           
  10ac31:	6a 12                	push   $0x12                          
  10ac33:	6a 00                	push   $0x0                           
  10ac35:	6a 00                	push   $0x0                           
  10ac37:	e8 e4 05 00 00       	call   10b220 <_Internal_error_Occurred>
  10ac3c:	51                   	push   %ecx                           
  10ac3d:	51                   	push   %ecx                           
  10ac3e:	8d 45 18             	lea    0x18(%ebp),%eax                
  10ac41:	50                   	push   %eax                           
  10ac42:	53                   	push   %ebx                           
  10ac43:	88 55 f4             	mov    %dl,-0xc(%ebp)                 
  10ac46:	e8 b9 46 00 00       	call   10f304 <_CORE_mutex_Seize_interrupt_trylock>
  10ac4b:	83 c4 10             	add    $0x10,%esp                     
  10ac4e:	85 c0                	test   %eax,%eax                      
  10ac50:	8a 55 f4             	mov    -0xc(%ebp),%dl                 
  10ac53:	74 48                	je     10ac9d <_CORE_mutex_Seize+0x90>
  10ac55:	84 d2                	test   %dl,%dl                        
  10ac57:	75 12                	jne    10ac6b <_CORE_mutex_Seize+0x5e>
  10ac59:	ff 75 18             	pushl  0x18(%ebp)                     
  10ac5c:	9d                   	popf                                  
  10ac5d:	a1 34 48 12 00       	mov    0x124834,%eax                  
  10ac62:	c7 40 34 01 00 00 00 	movl   $0x1,0x34(%eax)                
  10ac69:	eb 32                	jmp    10ac9d <_CORE_mutex_Seize+0x90>
  10ac6b:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
  10ac72:	a1 34 48 12 00       	mov    0x124834,%eax                  
  10ac77:	89 58 44             	mov    %ebx,0x44(%eax)                
  10ac7a:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10ac7d:	89 50 20             	mov    %edx,0x20(%eax)                
  10ac80:	a1 e4 42 12 00       	mov    0x1242e4,%eax                  
  10ac85:	40                   	inc    %eax                           
  10ac86:	a3 e4 42 12 00       	mov    %eax,0x1242e4                  
  10ac8b:	ff 75 18             	pushl  0x18(%ebp)                     
  10ac8e:	9d                   	popf                                  
  10ac8f:	50                   	push   %eax                           
  10ac90:	50                   	push   %eax                           
  10ac91:	ff 75 14             	pushl  0x14(%ebp)                     
  10ac94:	53                   	push   %ebx                           
  10ac95:	e8 26 ff ff ff       	call   10abc0 <_CORE_mutex_Seize_interrupt_blocking>
  10ac9a:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10ac9d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10aca0:	c9                   	leave                                 
  10aca1:	c3                   	ret                                   
                                                                      

0010adc8 <_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 ) {
  10adc8:	55                   	push   %ebp                           
  10adc9:	89 e5                	mov    %esp,%ebp                      
  10adcb:	53                   	push   %ebx                           
  10adcc:	83 ec 10             	sub    $0x10,%esp                     
  10adcf:	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)) ) {
  10add2:	53                   	push   %ebx                           
  10add3:	e8 64 14 00 00       	call   10c23c <_Thread_queue_Dequeue> 
  10add8:	89 c2                	mov    %eax,%edx                      
  10adda:	83 c4 10             	add    $0x10,%esp                     
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10addd:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
  10addf:	85 d2                	test   %edx,%edx                      
  10ade1:	75 15                	jne    10adf8 <_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 );                                            
  10ade3:	9c                   	pushf                                 
  10ade4:	fa                   	cli                                   
  10ade5:	59                   	pop    %ecx                           
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
  10ade6:	8b 53 48             	mov    0x48(%ebx),%edx                
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
  10ade9:	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 )
  10adeb:	3b 53 40             	cmp    0x40(%ebx),%edx                
  10adee:	73 06                	jae    10adf6 <_CORE_semaphore_Surrender+0x2e><== NEVER TAKEN
        the_semaphore->count += 1;                                    
  10adf0:	42                   	inc    %edx                           
  10adf1:	89 53 48             	mov    %edx,0x48(%ebx)                
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10adf4:	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 );                                             
  10adf6:	51                   	push   %ecx                           
  10adf7:	9d                   	popf                                  
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
  10adf8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10adfb:	c9                   	leave                                 
  10adfc:	c3                   	ret                                   
                                                                      

0010af20 <_Chain_Get_with_empty_check>: bool _Chain_Get_with_empty_check( Chain_Control *chain, Chain_Node **node ) {
  10af20:	55                   	push   %ebp                           
  10af21:	89 e5                	mov    %esp,%ebp                      
  10af23:	57                   	push   %edi                           
  10af24:	56                   	push   %esi                           
  10af25:	53                   	push   %ebx                           
  10af26:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10af29:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  ISR_Level level;                                                    
  bool is_empty_now;                                                  
                                                                      
  _ISR_Disable( level );                                              
  10af2c:	9c                   	pushf                                 
  10af2d:	fa                   	cli                                   
  10af2e:	5e                   	pop    %esi                           
  Chain_Control *the_chain,                                           
  Chain_Node **the_node                                               
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
  Chain_Node *first = the_chain->first;                               
  10af2f:	8b 08                	mov    (%eax),%ecx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10af31:	8d 78 04             	lea    0x4(%eax),%edi                 
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
  Chain_Node *first = the_chain->first;                               
                                                                      
  if ( first != _Chain_Tail( the_chain ) ) {                          
  10af34:	39 f9                	cmp    %edi,%ecx                      
  10af36:	74 10                	je     10af48 <_Chain_Get_with_empty_check+0x28><== NEVER TAKEN
    Chain_Node *new_first = first->next;                              
  10af38:	8b 11                	mov    (%ecx),%edx                    
                                                                      
    the_chain->first = new_first;                                     
  10af3a:	89 10                	mov    %edx,(%eax)                    
    new_first->previous = _Chain_Head( the_chain );                   
  10af3c:	89 42 04             	mov    %eax,0x4(%edx)                 
                                                                      
    *the_node = first;                                                
  10af3f:	89 0b                	mov    %ecx,(%ebx)                    
                                                                      
    is_empty_now = new_first == _Chain_Tail( the_chain );             
  10af41:	39 fa                	cmp    %edi,%edx                      
  10af43:	0f 94 c0             	sete   %al                            
  10af46:	eb 08                	jmp    10af50 <_Chain_Get_with_empty_check+0x30>
  } else                                                              
    *the_node = NULL;                                                 
  10af48:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    <== NOT EXECUTED
RTEMS_INLINE_ROUTINE bool _Chain_Get_with_empty_check_unprotected(    
  Chain_Control *the_chain,                                           
  Chain_Node **the_node                                               
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
  10af4e:	b0 01                	mov    $0x1,%al                       <== NOT EXECUTED
  is_empty_now = _Chain_Get_with_empty_check_unprotected( chain, node );
  _ISR_Enable( level );                                               
  10af50:	56                   	push   %esi                           
  10af51:	9d                   	popf                                  
                                                                      
  return is_empty_now;                                                
}                                                                     
  10af52:	5b                   	pop    %ebx                           
  10af53:	5e                   	pop    %esi                           
  10af54:	5f                   	pop    %edi                           
  10af55:	c9                   	leave                                 
  10af56:	c3                   	ret                                   
                                                                      

00109d38 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
  109d38:	55                   	push   %ebp                           
  109d39:	89 e5                	mov    %esp,%ebp                      
  109d3b:	57                   	push   %edi                           
  109d3c:	56                   	push   %esi                           
  109d3d:	53                   	push   %ebx                           
  109d3e:	83 ec 2c             	sub    $0x2c,%esp                     
  109d41:	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 ];               
  109d44:	8b bb f4 00 00 00    	mov    0xf4(%ebx),%edi                
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
  109d4a:	8b 43 30             	mov    0x30(%ebx),%eax                
  109d4d:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  109d50:	9c                   	pushf                                 
  109d51:	fa                   	cli                                   
  109d52:	58                   	pop    %eax                           
  pending_events  = api->pending_events;                              
  109d53:	8b 17                	mov    (%edi),%edx                    
  109d55:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
  109d58:	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 ) ) {                      
  109d5b:	21 f2                	and    %esi,%edx                      
  109d5d:	75 07                	jne    109d66 <_Event_Surrender+0x2e> 
    _ISR_Enable( level );                                             
  109d5f:	50                   	push   %eax                           
  109d60:	9d                   	popf                                  
    return;                                                           
  109d61:	e9 af 00 00 00       	jmp    109e15 <_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() &&                                       
  109d66:	83 3d 30 48 12 00 00 	cmpl   $0x0,0x124830                  
  109d6d:	74 49                	je     109db8 <_Event_Surrender+0x80> 
  109d6f:	3b 1d 34 48 12 00    	cmp    0x124834,%ebx                  
  109d75:	75 41                	jne    109db8 <_Event_Surrender+0x80> 
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
  109d77:	8b 0d e4 4b 12 00    	mov    0x124be4,%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 ) &&                          
  109d7d:	83 f9 02             	cmp    $0x2,%ecx                      
  109d80:	74 09                	je     109d8b <_Event_Surrender+0x53> <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
  109d82:	8b 0d e4 4b 12 00    	mov    0x124be4,%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) ||   
  109d88:	49                   	dec    %ecx                           
  109d89:	75 2d                	jne    109db8 <_Event_Surrender+0x80> 
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
  109d8b:	39 f2                	cmp    %esi,%edx                      
  109d8d:	74 06                	je     109d95 <_Event_Surrender+0x5d> 
  109d8f:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  109d93:	74 1f                	je     109db4 <_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) );                            
  109d95:	89 d6                	mov    %edx,%esi                      
  109d97:	f7 d6                	not    %esi                           
  109d99:	23 75 d4             	and    -0x2c(%ebp),%esi               
  109d9c:	89 37                	mov    %esi,(%edi)                    
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
  109d9e:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  109da5:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  109da8:	89 11                	mov    %edx,(%ecx)                    
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
  109daa:	c7 05 e4 4b 12 00 03 	movl   $0x3,0x124be4                  
  109db1:	00 00 00                                                    
    }                                                                 
    _ISR_Enable( level );                                             
  109db4:	50                   	push   %eax                           
  109db5:	9d                   	popf                                  
    return;                                                           
  109db6:	eb 5d                	jmp    109e15 <_Event_Surrender+0xdd> 
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
  109db8:	f6 43 11 01          	testb  $0x1,0x11(%ebx)                
  109dbc:	74 55                	je     109e13 <_Event_Surrender+0xdb> 
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
  109dbe:	39 f2                	cmp    %esi,%edx                      
  109dc0:	74 06                	je     109dc8 <_Event_Surrender+0x90> 
  109dc2:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  109dc6:	74 4b                	je     109e13 <_Event_Surrender+0xdb> <== NEVER TAKEN
  109dc8:	89 d6                	mov    %edx,%esi                      
  109dca:	f7 d6                	not    %esi                           
  109dcc:	23 75 d4             	and    -0x2c(%ebp),%esi               
  109dcf:	89 37                	mov    %esi,(%edi)                    
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
  109dd1:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  109dd8:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  109ddb:	89 11                	mov    %edx,(%ecx)                    
                                                                      
      _ISR_Flash( level );                                            
  109ddd:	50                   	push   %eax                           
  109dde:	9d                   	popf                                  
  109ddf:	fa                   	cli                                   
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
  109de0:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  109de4:	74 06                	je     109dec <_Event_Surrender+0xb4> 
        _ISR_Enable( level );                                         
  109de6:	50                   	push   %eax                           
  109de7:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  109de8:	51                   	push   %ecx                           
  109de9:	51                   	push   %ecx                           
  109dea:	eb 17                	jmp    109e03 <_Event_Surrender+0xcb> 
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
  109dec:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
  109df3:	50                   	push   %eax                           
  109df4:	9d                   	popf                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
  109df5:	83 ec 0c             	sub    $0xc,%esp                      
  109df8:	8d 43 48             	lea    0x48(%ebx),%eax                
  109dfb:	50                   	push   %eax                           
  109dfc:	e8 a7 2f 00 00       	call   10cda8 <_Watchdog_Remove>      
  109e01:	58                   	pop    %eax                           
  109e02:	5a                   	pop    %edx                           
  109e03:	68 f8 ff 03 10       	push   $0x1003fff8                    
  109e08:	53                   	push   %ebx                           
  109e09:	e8 3e 1d 00 00       	call   10bb4c <_Thread_Clear_state>   
  109e0e:	83 c4 10             	add    $0x10,%esp                     
  109e11:	eb 02                	jmp    109e15 <_Event_Surrender+0xdd> 
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
  109e13:	50                   	push   %eax                           
  109e14:	9d                   	popf                                  
}                                                                     
  109e15:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109e18:	5b                   	pop    %ebx                           
  109e19:	5e                   	pop    %esi                           
  109e1a:	5f                   	pop    %edi                           
  109e1b:	c9                   	leave                                 
  109e1c:	c3                   	ret                                   
                                                                      

00109e20 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
  109e20:	55                   	push   %ebp                           
  109e21:	89 e5                	mov    %esp,%ebp                      
  109e23:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  109e26:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  109e29:	50                   	push   %eax                           
  109e2a:	ff 75 08             	pushl  0x8(%ebp)                      
  109e2d:	e8 ae 20 00 00       	call   10bee0 <_Thread_Get>           
  switch ( location ) {                                               
  109e32:	83 c4 10             	add    $0x10,%esp                     
  109e35:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  109e39:	75 49                	jne    109e84 <_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 );                                          
  109e3b:	9c                   	pushf                                 
  109e3c:	fa                   	cli                                   
  109e3d:	5a                   	pop    %edx                           
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
  109e3e:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
        if ( _Thread_Is_executing( the_thread ) ) {                   
  109e45:	3b 05 34 48 12 00    	cmp    0x124834,%eax                  
  109e4b:	75 13                	jne    109e60 <_Event_Timeout+0x40>   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
  109e4d:	8b 0d e4 4b 12 00    	mov    0x124be4,%ecx                  
  109e53:	49                   	dec    %ecx                           
  109e54:	75 0a                	jne    109e60 <_Event_Timeout+0x40>   
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
  109e56:	c7 05 e4 4b 12 00 02 	movl   $0x2,0x124be4                  
  109e5d:	00 00 00                                                    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
  109e60:	c7 40 34 06 00 00 00 	movl   $0x6,0x34(%eax)                
      _ISR_Enable( level );                                           
  109e67:	52                   	push   %edx                           
  109e68:	9d                   	popf                                  
  109e69:	52                   	push   %edx                           
  109e6a:	52                   	push   %edx                           
  109e6b:	68 f8 ff 03 10       	push   $0x1003fff8                    
  109e70:	50                   	push   %eax                           
  109e71:	e8 d6 1c 00 00       	call   10bb4c <_Thread_Clear_state>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  109e76:	a1 e4 42 12 00       	mov    0x1242e4,%eax                  
  109e7b:	48                   	dec    %eax                           
  109e7c:	a3 e4 42 12 00       	mov    %eax,0x1242e4                  
      _Thread_Unblock( the_thread );                                  
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  109e81:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  109e84:	c9                   	leave                                 
  109e85:	c3                   	ret                                   
                                                                      

0010f963 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
  10f963:	55                   	push   %ebp                           
  10f964:	89 e5                	mov    %esp,%ebp                      
  10f966:	57                   	push   %edi                           
  10f967:	56                   	push   %esi                           
  10f968:	53                   	push   %ebx                           
  10f969:	83 ec 4c             	sub    $0x4c,%esp                     
  10f96c:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10f96f:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
  10f972:	8b 43 20             	mov    0x20(%ebx),%eax                
  10f975:	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;                              
  10f978:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  Heap_Block *extend_last_block = NULL;                               
  10f97f:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  uintptr_t const page_size = heap->page_size;                        
  10f986:	8b 53 10             	mov    0x10(%ebx),%edx                
  10f989:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  10f98c:	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;                       
  10f98f:	8b 7b 30             	mov    0x30(%ebx),%edi                
  10f992:	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;                                                     
  10f995:	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 ) {                        
  10f997:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10f99a:	01 cf                	add    %ecx,%edi                      
  10f99c:	0f 82 d4 01 00 00    	jb     10fb76 <_Heap_Extend+0x213>    
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
  10f9a2:	52                   	push   %edx                           
  10f9a3:	52                   	push   %edx                           
  10f9a4:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10f9a7:	52                   	push   %edx                           
  10f9a8:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  10f9ab:	52                   	push   %edx                           
  10f9ac:	50                   	push   %eax                           
  10f9ad:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10f9b0:	51                   	push   %ecx                           
  10f9b1:	ff 75 0c             	pushl  0xc(%ebp)                      
  10f9b4:	e8 8a b9 ff ff       	call   10b343 <_Heap_Get_first_and_last_block>
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
  10f9b9:	83 c4 20             	add    $0x20,%esp                     
  10f9bc:	84 c0                	test   %al,%al                        
  10f9be:	0f 84 b2 01 00 00    	je     10fb76 <_Heap_Extend+0x213>    
  10f9c4:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10f9c7:	c7 45 cc 00 00 00 00 	movl   $0x0,-0x34(%ebp)               
  10f9ce:	c7 45 c8 00 00 00 00 	movl   $0x0,-0x38(%ebp)               
  10f9d5:	31 f6                	xor    %esi,%esi                      
  10f9d7:	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;                     
  10f9de:	8b 43 18             	mov    0x18(%ebx),%eax                
  10f9e1:	89 5d b8             	mov    %ebx,-0x48(%ebp)               
  10f9e4:	eb 02                	jmp    10f9e8 <_Heap_Extend+0x85>     
  10f9e6:	89 c8                	mov    %ecx,%eax                      
    uintptr_t const sub_area_end = start_block->prev_size;            
  10f9e8:	8b 19                	mov    (%ecx),%ebx                    
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
  10f9ea:	39 c7                	cmp    %eax,%edi                      
  10f9ec:	76 09                	jbe    10f9f7 <_Heap_Extend+0x94>     
  10f9ee:	39 5d 0c             	cmp    %ebx,0xc(%ebp)                 
  10f9f1:	0f 82 7d 01 00 00    	jb     10fb74 <_Heap_Extend+0x211>    
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  10f9f7:	39 c7                	cmp    %eax,%edi                      
  10f9f9:	74 06                	je     10fa01 <_Heap_Extend+0x9e>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  10f9fb:	39 df                	cmp    %ebx,%edi                      
  10f9fd:	72 07                	jb     10fa06 <_Heap_Extend+0xa3>     
  10f9ff:	eb 08                	jmp    10fa09 <_Heap_Extend+0xa6>     
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  10fa01:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  10fa04:	eb 03                	jmp    10fa09 <_Heap_Extend+0xa6>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  10fa06:	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);                                 
  10fa09:	8d 43 f8             	lea    -0x8(%ebx),%eax                
  10fa0c:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10fa0f:	89 d8                	mov    %ebx,%eax                      
  10fa11:	31 d2                	xor    %edx,%edx                      
  10fa13:	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);                                        
  10fa16:	29 55 d4             	sub    %edx,-0x2c(%ebp)               
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
  10fa19:	3b 5d 0c             	cmp    0xc(%ebp),%ebx                 
  10fa1c:	75 07                	jne    10fa25 <_Heap_Extend+0xc2>     
      start_block->prev_size = extend_area_end;                       
  10fa1e:	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 )   
  10fa20:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  10fa23:	eb 08                	jmp    10fa2d <_Heap_Extend+0xca>     
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
  10fa25:	73 06                	jae    10fa2d <_Heap_Extend+0xca>     
  10fa27:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10fa2a:	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;                
  10fa2d:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10fa30:	8b 48 04             	mov    0x4(%eax),%ecx                 
  10fa33:	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);                 
  10fa36:	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 );                             
  10fa38:	3b 4d c0             	cmp    -0x40(%ebp),%ecx               
  10fa3b:	75 a9                	jne    10f9e6 <_Heap_Extend+0x83>     
  10fa3d:	8b 5d b8             	mov    -0x48(%ebp),%ebx               
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
  10fa40:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10fa43:	3b 53 18             	cmp    0x18(%ebx),%edx                
  10fa46:	73 05                	jae    10fa4d <_Heap_Extend+0xea>     
    heap->area_begin = extend_area_begin;                             
  10fa48:	89 53 18             	mov    %edx,0x18(%ebx)                
  10fa4b:	eb 08                	jmp    10fa55 <_Heap_Extend+0xf2>     
  } else if ( heap->area_end < extend_area_end ) {                    
  10fa4d:	39 7b 1c             	cmp    %edi,0x1c(%ebx)                
  10fa50:	73 03                	jae    10fa55 <_Heap_Extend+0xf2>     
    heap->area_end = extend_area_end;                                 
  10fa52:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
  10fa55:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10fa58:	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 =                                           
  10fa5b:	89 c1                	mov    %eax,%ecx                      
  10fa5d:	29 d1                	sub    %edx,%ecx                      
  10fa5f:	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;                    
  10fa62:	89 3a                	mov    %edi,(%edx)                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  10fa64:	83 c9 01             	or     $0x1,%ecx                      
  10fa67:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  10fa6a:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  10fa6d:	89 08                	mov    %ecx,(%eax)                    
  extend_last_block->size_and_flag = 0;                               
  10fa6f:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
  10fa76:	39 53 20             	cmp    %edx,0x20(%ebx)                
  10fa79:	76 05                	jbe    10fa80 <_Heap_Extend+0x11d>    
    heap->first_block = extend_first_block;                           
  10fa7b:	89 53 20             	mov    %edx,0x20(%ebx)                
  10fa7e:	eb 08                	jmp    10fa88 <_Heap_Extend+0x125>    
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
  10fa80:	39 43 24             	cmp    %eax,0x24(%ebx)                
  10fa83:	73 03                	jae    10fa88 <_Heap_Extend+0x125>    
    heap->last_block = extend_last_block;                             
  10fa85:	89 43 24             	mov    %eax,0x24(%ebx)                
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
  10fa88:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  10fa8c:	74 3b                	je     10fac9 <_Heap_Extend+0x166>    
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10fa8e:	8b 43 10             	mov    0x10(%ebx),%eax                
  10fa91:	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 );
  10fa94:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10fa97:	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;                            
  10fa9a:	89 c8                	mov    %ecx,%eax                      
  10fa9c:	31 d2                	xor    %edx,%edx                      
  10fa9e:	f7 75 d4             	divl   -0x2c(%ebp)                    
                                                                      
  if ( remainder != 0 ) {                                             
  10faa1:	85 d2                	test   %edx,%edx                      
  10faa3:	74 05                	je     10faaa <_Heap_Extend+0x147>    <== ALWAYS TAKEN
    return value - remainder + alignment;                             
  10faa5:	03 4d d4             	add    -0x2c(%ebp),%ecx               <== NOT EXECUTED
  10faa8:	29 d1                	sub    %edx,%ecx                      <== NOT EXECUTED
  uintptr_t const new_first_block_begin =                             
  10faaa:	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;                
  10faad:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10fab0:	8b 00                	mov    (%eax),%eax                    
  10fab2:	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 =                              
  10fab5:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10fab8:	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;
  10faba:	83 c8 01             	or     $0x1,%eax                      
  10fabd:	89 42 04             	mov    %eax,0x4(%edx)                 
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
  10fac0:	89 d8                	mov    %ebx,%eax                      
  10fac2:	e8 81 fe ff ff       	call   10f948 <_Heap_Free_block>      
  10fac7:	eb 14                	jmp    10fadd <_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 ) {                            
  10fac9:	83 7d c8 00          	cmpl   $0x0,-0x38(%ebp)               
  10facd:	74 0e                	je     10fadd <_Heap_Extend+0x17a>    
    _Heap_Link_below(                                                 
  10facf:	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;           
  10fad2:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10fad5:	29 d0                	sub    %edx,%eax                      
  10fad7:	83 c8 01             	or     $0x1,%eax                      
  10fada:	89 42 04             	mov    %eax,0x4(%edx)                 
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
  10fadd:	85 f6                	test   %esi,%esi                      
  10fadf:	74 30                	je     10fb11 <_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,      
  10fae1:	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(             
  10fae4:	29 f7                	sub    %esi,%edi                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10fae6:	89 f8                	mov    %edi,%eax                      
  10fae8:	31 d2                	xor    %edx,%edx                      
  10faea:	f7 73 10             	divl   0x10(%ebx)                     
  10faed:	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)                 
  10faef:	8b 46 04             	mov    0x4(%esi),%eax                 
  10faf2:	29 f8                	sub    %edi,%eax                      
      | HEAP_PREV_BLOCK_USED;                                         
  10faf4:	83 c8 01             	or     $0x1,%eax                      
  10faf7:	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;       
  10fafb:	8b 46 04             	mov    0x4(%esi),%eax                 
  10fafe:	83 e0 01             	and    $0x1,%eax                      
                                                                      
  block->size_and_flag = size | flag;                                 
  10fb01:	09 f8                	or     %edi,%eax                      
  10fb03:	89 46 04             	mov    %eax,0x4(%esi)                 
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
  10fb06:	89 f2                	mov    %esi,%edx                      
  10fb08:	89 d8                	mov    %ebx,%eax                      
  10fb0a:	e8 39 fe ff ff       	call   10f948 <_Heap_Free_block>      
  10fb0f:	eb 21                	jmp    10fb32 <_Heap_Extend+0x1cf>    
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
  10fb11:	83 7d cc 00          	cmpl   $0x0,-0x34(%ebp)               
  10fb15:	74 1b                	je     10fb32 <_Heap_Extend+0x1cf>    
    _Heap_Link_above(                                                 
  10fb17:	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 );       
  10fb1a:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10fb1d:	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;       
  10fb20:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  10fb23:	8b 57 04             	mov    0x4(%edi),%edx                 
  10fb26:	83 e2 01             	and    $0x1,%edx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  10fb29:	09 d0                	or     %edx,%eax                      
  10fb2b:	89 47 04             	mov    %eax,0x4(%edi)                 
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
  10fb2e:	83 49 04 01          	orl    $0x1,0x4(%ecx)                 
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
  10fb32:	85 f6                	test   %esi,%esi                      
  10fb34:	75 10                	jne    10fb46 <_Heap_Extend+0x1e3>    
  10fb36:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  10fb3a:	75 0a                	jne    10fb46 <_Heap_Extend+0x1e3>    
    _Heap_Free_block( heap, extend_first_block );                     
  10fb3c:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10fb3f:	89 d8                	mov    %ebx,%eax                      
  10fb41:	e8 02 fe ff ff       	call   10f948 <_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      
  10fb46:	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(                                               
  10fb49:	8b 43 20             	mov    0x20(%ebx),%eax                
  10fb4c:	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;       
  10fb4e:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  10fb51:	83 e1 01             	and    $0x1,%ecx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  10fb54:	09 c8                	or     %ecx,%eax                      
  10fb56:	89 42 04             	mov    %eax,0x4(%edx)                 
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
  10fb59:	8b 43 30             	mov    0x30(%ebx),%eax                
  10fb5c:	2b 45 bc             	sub    -0x44(%ebp),%eax               
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
  10fb5f:	01 43 2c             	add    %eax,0x2c(%ebx)                
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
  10fb62:	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 )                                    
  10fb67:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10fb6b:	74 09                	je     10fb76 <_Heap_Extend+0x213>    <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
  10fb6d:	8b 55 14             	mov    0x14(%ebp),%edx                
  10fb70:	89 02                	mov    %eax,(%edx)                    
  10fb72:	eb 02                	jmp    10fb76 <_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;                                                   
  10fb74:	31 f6                	xor    %esi,%esi                      
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
  10fb76:	89 f0                	mov    %esi,%eax                      
  10fb78:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fb7b:	5b                   	pop    %ebx                           
  10fb7c:	5e                   	pop    %esi                           
  10fb7d:	5f                   	pop    %edi                           
  10fb7e:	c9                   	leave                                 
  10fb7f:	c3                   	ret                                   
                                                                      

0010f5a8 <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
  10f5a8:	55                   	push   %ebp                           
  10f5a9:	89 e5                	mov    %esp,%ebp                      
  10f5ab:	57                   	push   %edi                           
  10f5ac:	56                   	push   %esi                           
  10f5ad:	53                   	push   %ebx                           
  10f5ae:	83 ec 14             	sub    $0x14,%esp                     
  10f5b1:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10f5b4:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f5b7:	8d 58 f8             	lea    -0x8(%eax),%ebx                
  10f5ba:	31 d2                	xor    %edx,%edx                      
  10f5bc:	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);                                        
  10f5bf:	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           
  10f5c1:	8b 41 20             	mov    0x20(%ecx),%eax                
  10f5c4:	89 45 ec             	mov    %eax,-0x14(%ebp)               
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  10f5c7:	31 d2                	xor    %edx,%edx                      
  10f5c9:	39 c3                	cmp    %eax,%ebx                      
  10f5cb:	72 08                	jb     10f5d5 <_Heap_Free+0x2d>       
  10f5cd:	31 d2                	xor    %edx,%edx                      
  10f5cf:	39 59 24             	cmp    %ebx,0x24(%ecx)                
  10f5d2:	0f 93 c2             	setae  %dl                            
  bool next_is_free = false;                                          
                                                                      
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
    return false;                                                     
  10f5d5:	31 c0                	xor    %eax,%eax                      
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
  10f5d7:	85 d2                	test   %edx,%edx                      
  10f5d9:	0f 84 21 01 00 00    	je     10f700 <_Heap_Free+0x158>      
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10f5df:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10f5e2:	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;                
  10f5e5:	89 c6                	mov    %eax,%esi                      
  10f5e7:	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);                 
  10f5ea:	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;             
  10f5ed:	31 ff                	xor    %edi,%edi                      
  10f5ef:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10f5f2:	72 0a                	jb     10f5fe <_Heap_Free+0x56>       <== NEVER TAKEN
  10f5f4:	31 c0                	xor    %eax,%eax                      
  10f5f6:	39 51 24             	cmp    %edx,0x24(%ecx)                
  10f5f9:	0f 93 c0             	setae  %al                            
  10f5fc:	89 c7                	mov    %eax,%edi                      
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  10f5fe:	31 c0                	xor    %eax,%eax                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
  10f600:	85 ff                	test   %edi,%edi                      
  10f602:	0f 84 f8 00 00 00    	je     10f700 <_Heap_Free+0x158>      <== NEVER TAKEN
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10f608:	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 ) ) {                          
  10f60b:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  10f611:	0f 84 e9 00 00 00    	je     10f700 <_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;                
  10f617:	83 e7 fe             	and    $0xfffffffe,%edi               
  10f61a:	89 7d e8             	mov    %edi,-0x18(%ebp)               
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  10f61d:	8b 41 24             	mov    0x24(%ecx),%eax                
  10f620:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
  10f623:	31 c0                	xor    %eax,%eax                      
  10f625:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10f628:	74 0a                	je     10f634 <_Heap_Free+0x8c>       
  10f62a:	31 c0                	xor    %eax,%eax                      
  10f62c:	f6 44 3a 04 01       	testb  $0x1,0x4(%edx,%edi,1)          
  10f631:	0f 94 c0             	sete   %al                            
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  10f634:	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 ) ) {                               
  10f637:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)               
  10f63b:	75 62                	jne    10f69f <_Heap_Free+0xf7>       
    uintptr_t const prev_size = block->prev_size;                     
  10f63d:	8b 03                	mov    (%ebx),%eax                    
  10f63f:	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);                 
  10f642:	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;             
  10f644:	31 ff                	xor    %edi,%edi                      
  10f646:	3b 5d ec             	cmp    -0x14(%ebp),%ebx               
  10f649:	72 0a                	jb     10f655 <_Heap_Free+0xad>       <== NEVER TAKEN
  10f64b:	31 c0                	xor    %eax,%eax                      
  10f64d:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)               
  10f650:	0f 93 c0             	setae  %al                            
  10f653:	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 );                                                
  10f655:	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 ) ) {              
  10f657:	85 ff                	test   %edi,%edi                      
  10f659:	0f 84 a1 00 00 00    	je     10f700 <_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) ) {                        
  10f65f:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10f663:	0f 84 97 00 00 00    	je     10f700 <_Heap_Free+0x158>      <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
  10f669:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10f66d:	74 1a                	je     10f689 <_Heap_Free+0xe1>       
      uintptr_t const size = block_size + prev_size + next_block_size;
  10f66f:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10f672:	8d 04 06             	lea    (%esi,%eax,1),%eax             
  10f675:	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;                                     
  10f678:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = block->prev;                                     
  10f67b:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  prev->next = next;                                                  
  10f67e:	89 7a 08             	mov    %edi,0x8(%edx)                 
  next->prev = prev;                                                  
  10f681:	89 57 0c             	mov    %edx,0xc(%edi)                 
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
  10f684:	ff 49 38             	decl   0x38(%ecx)                     
  10f687:	eb 33                	jmp    10f6bc <_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;                  
  10f689:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  10f68c:	8d 04 06             	lea    (%esi,%eax,1),%eax             
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  10f68f:	89 c7                	mov    %eax,%edi                      
  10f691:	83 cf 01             	or     $0x1,%edi                      
  10f694:	89 7b 04             	mov    %edi,0x4(%ebx)                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
  10f697:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
      next_block->prev_size = size;                                   
  10f69b:	89 02                	mov    %eax,(%edx)                    
  10f69d:	eb 56                	jmp    10f6f5 <_Heap_Free+0x14d>      
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
  10f69f:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10f6a3:	74 24                	je     10f6c9 <_Heap_Free+0x121>      
    uintptr_t const size = block_size + next_block_size;              
  10f6a5:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10f6a8:	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;                                 
  10f6aa:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = old_block->prev;                                 
  10f6ad:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  new_block->next = next;                                             
  10f6b0:	89 7b 08             	mov    %edi,0x8(%ebx)                 
  new_block->prev = prev;                                             
  10f6b3:	89 53 0c             	mov    %edx,0xc(%ebx)                 
                                                                      
  next->prev = new_block;                                             
  10f6b6:	89 5f 0c             	mov    %ebx,0xc(%edi)                 
  prev->next = new_block;                                             
  10f6b9:	89 5a 08             	mov    %ebx,0x8(%edx)                 
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
  10f6bc:	89 c2                	mov    %eax,%edx                      
  10f6be:	83 ca 01             	or     $0x1,%edx                      
  10f6c1:	89 53 04             	mov    %edx,0x4(%ebx)                 
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
  10f6c4:	89 04 03             	mov    %eax,(%ebx,%eax,1)             
  10f6c7:	eb 2c                	jmp    10f6f5 <_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;                              
  10f6c9:	8b 41 08             	mov    0x8(%ecx),%eax                 
                                                                      
  new_block->next = next;                                             
  10f6cc:	89 43 08             	mov    %eax,0x8(%ebx)                 
  new_block->prev = block_before;                                     
  10f6cf:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  block_before->next = new_block;                                     
  10f6d2:	89 59 08             	mov    %ebx,0x8(%ecx)                 
  next->prev = new_block;                                             
  10f6d5:	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;         
  10f6d8:	89 f0                	mov    %esi,%eax                      
  10f6da:	83 c8 01             	or     $0x1,%eax                      
  10f6dd:	89 43 04             	mov    %eax,0x4(%ebx)                 
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  10f6e0:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
    next_block->prev_size = block_size;                               
  10f6e4:	89 32                	mov    %esi,(%edx)                    
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
  10f6e6:	8b 41 38             	mov    0x38(%ecx),%eax                
  10f6e9:	40                   	inc    %eax                           
  10f6ea:	89 41 38             	mov    %eax,0x38(%ecx)                
    if ( stats->max_free_blocks < stats->free_blocks ) {              
  10f6ed:	39 41 3c             	cmp    %eax,0x3c(%ecx)                
  10f6f0:	73 03                	jae    10f6f5 <_Heap_Free+0x14d>      
      stats->max_free_blocks = stats->free_blocks;                    
  10f6f2:	89 41 3c             	mov    %eax,0x3c(%ecx)                
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  10f6f5:	ff 49 40             	decl   0x40(%ecx)                     
  ++stats->frees;                                                     
  10f6f8:	ff 41 50             	incl   0x50(%ecx)                     
  stats->free_size += block_size;                                     
  10f6fb:	01 71 30             	add    %esi,0x30(%ecx)                
                                                                      
  return( true );                                                     
  10f6fe:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10f700:	83 c4 14             	add    $0x14,%esp                     
  10f703:	5b                   	pop    %ebx                           
  10f704:	5e                   	pop    %esi                           
  10f705:	5f                   	pop    %edi                           
  10f706:	c9                   	leave                                 
  10f707:	c3                   	ret                                   
                                                                      

0011cb70 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
  11cb70:	55                   	push   %ebp                           
  11cb71:	89 e5                	mov    %esp,%ebp                      
  11cb73:	57                   	push   %edi                           
  11cb74:	56                   	push   %esi                           
  11cb75:	53                   	push   %ebx                           
  11cb76:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11cb79:	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);                                 
  11cb7c:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  11cb7f:	89 f0                	mov    %esi,%eax                      
  11cb81:	31 d2                	xor    %edx,%edx                      
  11cb83:	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);                                        
  11cb86:	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           
  11cb88:	8b 53 20             	mov    0x20(%ebx),%edx                
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  11cb8b:	31 ff                	xor    %edi,%edi                      
  11cb8d:	39 d1                	cmp    %edx,%ecx                      
  11cb8f:	72 0a                	jb     11cb9b <_Heap_Size_of_alloc_area+0x2b>
  11cb91:	31 c0                	xor    %eax,%eax                      
  11cb93:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11cb96:	0f 93 c0             	setae  %al                            
  11cb99:	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;                                                     
  11cb9b:	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 ) ) {                     
  11cb9d:	85 ff                	test   %edi,%edi                      
  11cb9f:	74 30                	je     11cbd1 <_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;                
  11cba1:	8b 41 04             	mov    0x4(%ecx),%eax                 
  11cba4:	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);                 
  11cba7:	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;             
  11cba9:	31 ff                	xor    %edi,%edi                      
  11cbab:	39 d1                	cmp    %edx,%ecx                      
  11cbad:	72 0a                	jb     11cbb9 <_Heap_Size_of_alloc_area+0x49><== NEVER TAKEN
  11cbaf:	31 c0                	xor    %eax,%eax                      
  11cbb1:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11cbb4:	0f 93 c0             	setae  %al                            
  11cbb7:	89 c7                	mov    %eax,%edi                      
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  11cbb9:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
  11cbbb:	85 ff                	test   %edi,%edi                      
  11cbbd:	74 12                	je     11cbd1 <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  11cbbf:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  11cbc3:	74 0c                	je     11cbd1 <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
  11cbc5:	29 f1                	sub    %esi,%ecx                      
  11cbc7:	8d 51 04             	lea    0x4(%ecx),%edx                 
  11cbca:	8b 45 10             	mov    0x10(%ebp),%eax                
  11cbcd:	89 10                	mov    %edx,(%eax)                    
                                                                      
  return true;                                                        
  11cbcf:	b0 01                	mov    $0x1,%al                       
}                                                                     
  11cbd1:	5b                   	pop    %ebx                           
  11cbd2:	5e                   	pop    %esi                           
  11cbd3:	5f                   	pop    %edi                           
  11cbd4:	c9                   	leave                                 
  11cbd5:	c3                   	ret                                   
                                                                      

0010bbfe <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
  10bbfe:	55                   	push   %ebp                           
  10bbff:	89 e5                	mov    %esp,%ebp                      
  10bc01:	57                   	push   %edi                           
  10bc02:	56                   	push   %esi                           
  10bc03:	53                   	push   %ebx                           
  10bc04:	83 ec 4c             	sub    $0x4c,%esp                     
  10bc07:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10bc0a:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  uintptr_t const page_size = heap->page_size;                        
  10bc0d:	8b 46 10             	mov    0x10(%esi),%eax                
  10bc10:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  10bc13:	8b 4e 14             	mov    0x14(%esi),%ecx                
  10bc16:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  Heap_Block *const first_block = heap->first_block;                  
  10bc19:	8b 46 20             	mov    0x20(%esi),%eax                
  10bc1c:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  Heap_Block *const last_block = heap->last_block;                    
  10bc1f:	8b 4e 24             	mov    0x24(%esi),%ecx                
  10bc22:	89 4d c8             	mov    %ecx,-0x38(%ebp)               
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
  10bc25:	c7 45 e4 c0 bb 10 00 	movl   $0x10bbc0,-0x1c(%ebp)          
  10bc2c:	80 7d 10 00          	cmpb   $0x0,0x10(%ebp)                
  10bc30:	74 07                	je     10bc39 <_Heap_Walk+0x3b>       
  10bc32:	c7 45 e4 c5 bb 10 00 	movl   $0x10bbc5,-0x1c(%ebp)          
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  10bc39:	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() ) ) {                
  10bc3b:	83 3d ec 64 12 00 03 	cmpl   $0x3,0x1264ec                  
  10bc42:	0f 85 e8 02 00 00    	jne    10bf30 <_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)(                                                         
  10bc48:	52                   	push   %edx                           
  10bc49:	ff 76 0c             	pushl  0xc(%esi)                      
  10bc4c:	ff 76 08             	pushl  0x8(%esi)                      
  10bc4f:	ff 75 c8             	pushl  -0x38(%ebp)                    
  10bc52:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10bc55:	ff 76 1c             	pushl  0x1c(%esi)                     
  10bc58:	ff 76 18             	pushl  0x18(%esi)                     
  10bc5b:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10bc5e:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10bc61:	68 bd f6 11 00       	push   $0x11f6bd                      
  10bc66:	6a 00                	push   $0x0                           
  10bc68:	53                   	push   %ebx                           
  10bc69:	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 ) {                                             
  10bc6c:	83 c4 30             	add    $0x30,%esp                     
  10bc6f:	83 7d d8 00          	cmpl   $0x0,-0x28(%ebp)               
  10bc73:	75 0b                	jne    10bc80 <_Heap_Walk+0x82>       
    (*printer)( source, true, "page size is zero\n" );                
  10bc75:	50                   	push   %eax                           
  10bc76:	68 4e f7 11 00       	push   $0x11f74e                      
  10bc7b:	e9 6b 02 00 00       	jmp    10beeb <_Heap_Walk+0x2ed>      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
  10bc80:	f6 45 d8 03          	testb  $0x3,-0x28(%ebp)               
  10bc84:	74 0d                	je     10bc93 <_Heap_Walk+0x95>       
    (*printer)(                                                       
  10bc86:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10bc89:	68 61 f7 11 00       	push   $0x11f761                      
  10bc8e:	e9 58 02 00 00       	jmp    10beeb <_Heap_Walk+0x2ed>      
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bc93:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10bc96:	31 d2                	xor    %edx,%edx                      
  10bc98:	f7 75 d8             	divl   -0x28(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
  10bc9b:	85 d2                	test   %edx,%edx                      
  10bc9d:	74 0d                	je     10bcac <_Heap_Walk+0xae>       
    (*printer)(                                                       
  10bc9f:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10bca2:	68 7f f7 11 00       	push   $0x11f77f                      
  10bca7:	e9 3f 02 00 00       	jmp    10beeb <_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;                  
  10bcac:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10bcaf:	83 c0 08             	add    $0x8,%eax                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bcb2:	31 d2                	xor    %edx,%edx                      
  10bcb4:	f7 75 d8             	divl   -0x28(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10bcb7:	85 d2                	test   %edx,%edx                      
  10bcb9:	74 0d                	je     10bcc8 <_Heap_Walk+0xca>       
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
  10bcbb:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10bcbe:	68 a3 f7 11 00       	push   $0x11f7a3                      
  10bcc3:	e9 23 02 00 00       	jmp    10beeb <_Heap_Walk+0x2ed>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
  10bcc8:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10bccb:	f6 40 04 01          	testb  $0x1,0x4(%eax)                 
  10bccf:	75 0b                	jne    10bcdc <_Heap_Walk+0xde>       
    (*printer)(                                                       
  10bcd1:	57                   	push   %edi                           
  10bcd2:	68 d4 f7 11 00       	push   $0x11f7d4                      
  10bcd7:	e9 0f 02 00 00       	jmp    10beeb <_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;                
  10bcdc:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10bcdf:	8b 79 04             	mov    0x4(%ecx),%edi                 
  10bce2:	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);                 
  10bce5:	01 cf                	add    %ecx,%edi                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
  10bce7:	f6 47 04 01          	testb  $0x1,0x4(%edi)                 
  10bceb:	75 0b                	jne    10bcf8 <_Heap_Walk+0xfa>       
    (*printer)(                                                       
  10bced:	56                   	push   %esi                           
  10bcee:	68 02 f8 11 00       	push   $0x11f802                      
  10bcf3:	e9 f3 01 00 00       	jmp    10beeb <_Heap_Walk+0x2ed>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10bcf8:	3b 7d d0             	cmp    -0x30(%ebp),%edi               
  10bcfb:	74 0b                	je     10bd08 <_Heap_Walk+0x10a>      <== ALWAYS TAKEN
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
  10bcfd:	51                   	push   %ecx                           <== NOT EXECUTED
  10bcfe:	68 17 f8 11 00       	push   $0x11f817                      <== NOT EXECUTED
  10bd03:	e9 e3 01 00 00       	jmp    10beeb <_Heap_Walk+0x2ed>      <== NOT EXECUTED
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10bd08:	8b 46 10             	mov    0x10(%esi),%eax                
  10bd0b:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bd0e:	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 );
  10bd11:	89 75 dc             	mov    %esi,-0x24(%ebp)               
  10bd14:	eb 75                	jmp    10bd8b <_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;             
  10bd16:	31 c0                	xor    %eax,%eax                      
  10bd18:	39 4e 20             	cmp    %ecx,0x20(%esi)                
  10bd1b:	77 08                	ja     10bd25 <_Heap_Walk+0x127>      
  10bd1d:	31 c0                	xor    %eax,%eax                      
  10bd1f:	39 4e 24             	cmp    %ecx,0x24(%esi)                
  10bd22:	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 ) ) {              
  10bd25:	85 c0                	test   %eax,%eax                      
  10bd27:	75 0b                	jne    10bd34 <_Heap_Walk+0x136>      
      (*printer)(                                                     
  10bd29:	51                   	push   %ecx                           
  10bd2a:	68 46 f8 11 00       	push   $0x11f846                      
  10bd2f:	e9 b7 01 00 00       	jmp    10beeb <_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;                  
  10bd34:	8d 41 08             	lea    0x8(%ecx),%eax                 
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bd37:	31 d2                	xor    %edx,%edx                      
  10bd39:	f7 75 e0             	divl   -0x20(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10bd3c:	85 d2                	test   %edx,%edx                      
  10bd3e:	74 0b                	je     10bd4b <_Heap_Walk+0x14d>      
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
  10bd40:	51                   	push   %ecx                           
  10bd41:	68 66 f8 11 00       	push   $0x11f866                      
  10bd46:	e9 a0 01 00 00       	jmp    10beeb <_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;                
  10bd4b:	8b 41 04             	mov    0x4(%ecx),%eax                 
  10bd4e:	83 e0 fe             	and    $0xfffffffe,%eax               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10bd51:	f6 44 01 04 01       	testb  $0x1,0x4(%ecx,%eax,1)          
  10bd56:	74 0b                	je     10bd63 <_Heap_Walk+0x165>      
      (*printer)(                                                     
  10bd58:	51                   	push   %ecx                           
  10bd59:	68 96 f8 11 00       	push   $0x11f896                      
  10bd5e:	e9 88 01 00 00       	jmp    10beeb <_Heap_Walk+0x2ed>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
  10bd63:	8b 41 0c             	mov    0xc(%ecx),%eax                 
  10bd66:	3b 45 dc             	cmp    -0x24(%ebp),%eax               
  10bd69:	74 1a                	je     10bd85 <_Heap_Walk+0x187>      
      (*printer)(                                                     
  10bd6b:	83 ec 0c             	sub    $0xc,%esp                      
  10bd6e:	50                   	push   %eax                           
  10bd6f:	51                   	push   %ecx                           
  10bd70:	68 b2 f8 11 00       	push   $0x11f8b2                      
  10bd75:	6a 01                	push   $0x1                           
  10bd77:	53                   	push   %ebx                           
  10bd78:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10bd7b:	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;                                                     
  10bd7e:	31 c0                	xor    %eax,%eax                      
  10bd80:	e9 ab 01 00 00       	jmp    10bf30 <_Heap_Walk+0x332>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
  10bd85:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  10bd88:	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 ) {                            
  10bd8b:	39 f1                	cmp    %esi,%ecx                      
  10bd8d:	75 87                	jne    10bd16 <_Heap_Walk+0x118>      
  10bd8f:	89 5d dc             	mov    %ebx,-0x24(%ebp)               
  10bd92:	eb 02                	jmp    10bd96 <_Heap_Walk+0x198>      
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
  10bd94:	89 df                	mov    %ebx,%edi                      
                                                                      
  return true;                                                        
}                                                                     
  10bd96:	8b 4f 04             	mov    0x4(%edi),%ecx                 
  10bd99:	89 4d cc             	mov    %ecx,-0x34(%ebp)               
  10bd9c:	83 e1 fe             	and    $0xfffffffe,%ecx               
  10bd9f:	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);                 
  10bda2:	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;             
  10bda5:	31 c0                	xor    %eax,%eax                      
  10bda7:	39 5e 20             	cmp    %ebx,0x20(%esi)                
  10bdaa:	77 08                	ja     10bdb4 <_Heap_Walk+0x1b6>      <== NEVER TAKEN
  10bdac:	31 c0                	xor    %eax,%eax                      
  10bdae:	39 5e 24             	cmp    %ebx,0x24(%esi)                
  10bdb1:	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 ) ) {              
  10bdb4:	85 c0                	test   %eax,%eax                      
  10bdb6:	75 11                	jne    10bdc9 <_Heap_Walk+0x1cb>      
  10bdb8:	89 d9                	mov    %ebx,%ecx                      
  10bdba:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10bdbd:	83 ec 0c             	sub    $0xc,%esp                      
  10bdc0:	51                   	push   %ecx                           
  10bdc1:	57                   	push   %edi                           
  10bdc2:	68 e4 f8 11 00       	push   $0x11f8e4                      
  10bdc7:	eb ac                	jmp    10bd75 <_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;               
  10bdc9:	3b 7d c8             	cmp    -0x38(%ebp),%edi               
  10bdcc:	0f 95 c1             	setne  %cl                            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bdcf:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10bdd2:	31 d2                	xor    %edx,%edx                      
  10bdd4:	f7 75 d8             	divl   -0x28(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
  10bdd7:	85 d2                	test   %edx,%edx                      
  10bdd9:	74 15                	je     10bdf0 <_Heap_Walk+0x1f2>      
  10bddb:	84 c9                	test   %cl,%cl                        
  10bddd:	74 11                	je     10bdf0 <_Heap_Walk+0x1f2>      
  10bddf:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10bde2:	83 ec 0c             	sub    $0xc,%esp                      
  10bde5:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bde8:	57                   	push   %edi                           
  10bde9:	68 11 f9 11 00       	push   $0x11f911                      
  10bdee:	eb 85                	jmp    10bd75 <_Heap_Walk+0x177>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
  10bdf0:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10bdf3:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  10bdf6:	73 18                	jae    10be10 <_Heap_Walk+0x212>      
  10bdf8:	84 c9                	test   %cl,%cl                        
  10bdfa:	74 14                	je     10be10 <_Heap_Walk+0x212>      <== NEVER TAKEN
  10bdfc:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10bdff:	52                   	push   %edx                           
  10be00:	52                   	push   %edx                           
  10be01:	50                   	push   %eax                           
  10be02:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10be05:	57                   	push   %edi                           
  10be06:	68 3f f9 11 00       	push   $0x11f93f                      
  10be0b:	e9 65 ff ff ff       	jmp    10bd75 <_Heap_Walk+0x177>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
  10be10:	39 fb                	cmp    %edi,%ebx                      
  10be12:	77 18                	ja     10be2c <_Heap_Walk+0x22e>      
  10be14:	84 c9                	test   %cl,%cl                        
  10be16:	74 14                	je     10be2c <_Heap_Walk+0x22e>      
  10be18:	89 d9                	mov    %ebx,%ecx                      
  10be1a:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10be1d:	83 ec 0c             	sub    $0xc,%esp                      
  10be20:	51                   	push   %ecx                           
  10be21:	57                   	push   %edi                           
  10be22:	68 6a f9 11 00       	push   $0x11f96a                      
  10be27:	e9 49 ff ff ff       	jmp    10bd75 <_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;                 
  10be2c:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  10be2f:	83 e1 01             	and    $0x1,%ecx                      
  10be32:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
  10be35:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10be39:	0f 85 ba 00 00 00    	jne    10bef9 <_Heap_Walk+0x2fb>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10be3f:	8b 46 08             	mov    0x8(%esi),%eax                 
  10be42:	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 ?                                  
  10be45:	8b 4f 08             	mov    0x8(%edi),%ecx                 
  10be48:	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)(                                                         
  10be4b:	ba 8a f6 11 00       	mov    $0x11f68a,%edx                 
  10be50:	3b 4e 0c             	cmp    0xc(%esi),%ecx                 
  10be53:	74 0e                	je     10be63 <_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)" : "")          
  10be55:	ba c1 f5 11 00       	mov    $0x11f5c1,%edx                 
  10be5a:	39 f1                	cmp    %esi,%ecx                      
  10be5c:	75 05                	jne    10be63 <_Heap_Walk+0x265>      
  10be5e:	ba 99 f6 11 00       	mov    $0x11f699,%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 ?                                 
  10be63:	8b 47 0c             	mov    0xc(%edi),%eax                 
  10be66:	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)(                                                         
  10be69:	b8 a3 f6 11 00       	mov    $0x11f6a3,%eax                 
  10be6e:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10be71:	39 4d cc             	cmp    %ecx,-0x34(%ebp)               
  10be74:	74 0f                	je     10be85 <_Heap_Walk+0x287>      
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
  10be76:	b8 c1 f5 11 00       	mov    $0x11f5c1,%eax                 
  10be7b:	39 75 cc             	cmp    %esi,-0x34(%ebp)               
  10be7e:	75 05                	jne    10be85 <_Heap_Walk+0x287>      
  10be80:	b8 b3 f6 11 00       	mov    $0x11f6b3,%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)(                                                         
  10be85:	83 ec 0c             	sub    $0xc,%esp                      
  10be88:	52                   	push   %edx                           
  10be89:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10be8c:	50                   	push   %eax                           
  10be8d:	ff 75 cc             	pushl  -0x34(%ebp)                    
  10be90:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10be93:	57                   	push   %edi                           
  10be94:	68 9e f9 11 00       	push   $0x11f99e                      
  10be99:	6a 00                	push   $0x0                           
  10be9b:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10be9e:	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 ) {                        
  10bea1:	8b 03                	mov    (%ebx),%eax                    
  10bea3:	83 c4 30             	add    $0x30,%esp                     
  10bea6:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  10bea9:	74 16                	je     10bec1 <_Heap_Walk+0x2c3>      
  10beab:	89 d9                	mov    %ebx,%ecx                      
  10bead:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
    (*printer)(                                                       
  10beb0:	56                   	push   %esi                           
  10beb1:	51                   	push   %ecx                           
  10beb2:	50                   	push   %eax                           
  10beb3:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10beb6:	57                   	push   %edi                           
  10beb7:	68 d3 f9 11 00       	push   $0x11f9d3                      
  10bebc:	e9 b4 fe ff ff       	jmp    10bd75 <_Heap_Walk+0x177>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
  10bec1:	83 7d c4 00          	cmpl   $0x0,-0x3c(%ebp)               
  10bec5:	75 0b                	jne    10bed2 <_Heap_Walk+0x2d4>      
  10bec7:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
    (*printer)(                                                       
  10beca:	57                   	push   %edi                           
  10becb:	68 0c fa 11 00       	push   $0x11fa0c                      
  10bed0:	eb 19                	jmp    10beeb <_Heap_Walk+0x2ed>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bed2:	8b 46 08             	mov    0x8(%esi),%eax                 
  10bed5:	eb 07                	jmp    10bede <_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 ) {                                      
  10bed7:	39 f8                	cmp    %edi,%eax                      
  10bed9:	74 4a                	je     10bf25 <_Heap_Walk+0x327>      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
  10bedb:	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 ) {                            
  10bede:	39 f0                	cmp    %esi,%eax                      
  10bee0:	75 f5                	jne    10bed7 <_Heap_Walk+0x2d9>      
  10bee2:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
  10bee5:	57                   	push   %edi                           
  10bee6:	68 77 fa 11 00       	push   $0x11fa77                      
  10beeb:	6a 01                	push   $0x1                           
  10beed:	53                   	push   %ebx                           
  10beee:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10bef1:	83 c4 10             	add    $0x10,%esp                     
  10bef4:	e9 85 fe ff ff       	jmp    10bd7e <_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) {                                           
  10bef9:	83 7d c4 00          	cmpl   $0x0,-0x3c(%ebp)               
  10befd:	74 0e                	je     10bf0d <_Heap_Walk+0x30f>      
      (*printer)(                                                     
  10beff:	83 ec 0c             	sub    $0xc,%esp                      
  10bf02:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bf05:	57                   	push   %edi                           
  10bf06:	68 3b fa 11 00       	push   $0x11fa3b                      
  10bf0b:	eb 0d                	jmp    10bf1a <_Heap_Walk+0x31c>      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
  10bf0d:	51                   	push   %ecx                           
  10bf0e:	51                   	push   %ecx                           
  10bf0f:	ff 37                	pushl  (%edi)                         
  10bf11:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bf14:	57                   	push   %edi                           
  10bf15:	68 52 fa 11 00       	push   $0x11fa52                      
  10bf1a:	6a 00                	push   $0x0                           
  10bf1c:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10bf1f:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10bf22:	83 c4 20             	add    $0x20,%esp                     
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
  10bf25:	3b 5d d0             	cmp    -0x30(%ebp),%ebx               
  10bf28:	0f 85 66 fe ff ff    	jne    10bd94 <_Heap_Walk+0x196>      
                                                                      
  return true;                                                        
  10bf2e:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10bf30:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bf33:	5b                   	pop    %ebx                           
  10bf34:	5e                   	pop    %esi                           
  10bf35:	5f                   	pop    %edi                           
  10bf36:	c9                   	leave                                 
  10bf37:	c3                   	ret                                   
                                                                      

0010b220 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10b220:	55                   	push   %ebp                           
  10b221:	89 e5                	mov    %esp,%ebp                      
  10b223:	53                   	push   %ebx                           
  10b224:	83 ec 08             	sub    $0x8,%esp                      
  10b227:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b22a:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10b22d:	8b 5d 10             	mov    0x10(%ebp),%ebx                
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  10b230:	a3 7c 43 12 00       	mov    %eax,0x12437c                  
  _Internal_errors_What_happened.is_internal = is_internal;           
  10b235:	88 15 80 43 12 00    	mov    %dl,0x124380                   
  _Internal_errors_What_happened.the_error   = the_error;             
  10b23b:	89 1d 84 43 12 00    	mov    %ebx,0x124384                  
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
  10b241:	53                   	push   %ebx                           
  10b242:	0f b6 d2             	movzbl %dl,%edx                       
  10b245:	52                   	push   %edx                           
  10b246:	50                   	push   %eax                           
  10b247:	e8 23 19 00 00       	call   10cb6f <_User_extensions_Fatal>
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
  10b24c:	c7 05 64 44 12 00 05 	movl   $0x5,0x124464                  <== NOT EXECUTED
  10b253:	00 00 00                                                    
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
  10b256:	fa                   	cli                                   <== NOT EXECUTED
  10b257:	89 d8                	mov    %ebx,%eax                      <== NOT EXECUTED
  10b259:	f4                   	hlt                                   <== NOT EXECUTED
  10b25a:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10b25d:	eb fe                	jmp    10b25d <_Internal_error_Occurred+0x3d><== NOT EXECUTED
                                                                      

0010b2b0 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
  10b2b0:	55                   	push   %ebp                           
  10b2b1:	89 e5                	mov    %esp,%ebp                      
  10b2b3:	56                   	push   %esi                           
  10b2b4:	53                   	push   %ebx                           
  10b2b5:	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;                                                      
  10b2b8:	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 )                                       
  10b2ba:	83 7b 18 00          	cmpl   $0x0,0x18(%ebx)                
  10b2be:	74 53                	je     10b313 <_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 );
  10b2c0:	8d 73 20             	lea    0x20(%ebx),%esi                
  10b2c3:	83 ec 0c             	sub    $0xc,%esp                      
  10b2c6:	56                   	push   %esi                           
  10b2c7:	e8 30 f7 ff ff       	call   10a9fc <_Chain_Get>            
  10b2cc:	89 c1                	mov    %eax,%ecx                      
                                                                      
  if ( information->auto_extend ) {                                   
  10b2ce:	83 c4 10             	add    $0x10,%esp                     
  10b2d1:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10b2d5:	74 3c                	je     10b313 <_Objects_Allocate+0x63>
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
  10b2d7:	85 c0                	test   %eax,%eax                      
  10b2d9:	75 1a                	jne    10b2f5 <_Objects_Allocate+0x45>
      _Objects_Extend_information( information );                     
  10b2db:	83 ec 0c             	sub    $0xc,%esp                      
  10b2de:	53                   	push   %ebx                           
  10b2df:	e8 60 00 00 00       	call   10b344 <_Objects_Extend_information>
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
  10b2e4:	89 34 24             	mov    %esi,(%esp)                    
  10b2e7:	e8 10 f7 ff ff       	call   10a9fc <_Chain_Get>            
  10b2ec:	89 c1                	mov    %eax,%ecx                      
    }                                                                 
                                                                      
    if ( the_object ) {                                               
  10b2ee:	83 c4 10             	add    $0x10,%esp                     
  10b2f1:	85 c0                	test   %eax,%eax                      
  10b2f3:	74 1e                	je     10b313 <_Objects_Allocate+0x63>
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
  10b2f5:	0f b7 41 08          	movzwl 0x8(%ecx),%eax                 
  10b2f9:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10b2fd:	29 d0                	sub    %edx,%eax                      
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
  10b2ff:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10b303:	31 d2                	xor    %edx,%edx                      
  10b305:	f7 f6                	div    %esi                           
                                                                      
      information->inactive_per_block[ block ]--;                     
  10b307:	c1 e0 02             	shl    $0x2,%eax                      
  10b30a:	03 43 30             	add    0x30(%ebx),%eax                
  10b30d:	ff 08                	decl   (%eax)                         
      information->inactive--;                                        
  10b30f:	66 ff 4b 2c          	decw   0x2c(%ebx)                     
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
  10b313:	89 c8                	mov    %ecx,%eax                      
  10b315:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b318:	5b                   	pop    %ebx                           
  10b319:	5e                   	pop    %esi                           
  10b31a:	c9                   	leave                                 
  10b31b:	c3                   	ret                                   
                                                                      

0010b638 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
  10b638:	55                   	push   %ebp                           
  10b639:	89 e5                	mov    %esp,%ebp                      
  10b63b:	57                   	push   %edi                           
  10b63c:	56                   	push   %esi                           
  10b63d:	53                   	push   %ebx                           
  10b63e:	83 ec 0c             	sub    $0xc,%esp                      
  10b641:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b644:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
  10b647:	31 db                	xor    %ebx,%ebx                      
)                                                                     
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
  10b649:	66 85 ff             	test   %di,%di                        
  10b64c:	74 37                	je     10b685 <_Objects_Get_information+0x4d>
                                                                      
  /*                                                                  
   *  This call implicitly validates the_api so we do not call        
   *  _Objects_Is_api_valid above here.                               
   */                                                                 
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
  10b64e:	83 ec 0c             	sub    $0xc,%esp                      
  10b651:	56                   	push   %esi                           
  10b652:	e8 b1 40 00 00       	call   10f708 <_Objects_API_maximum_class>
  if ( the_class_api_maximum == 0 )                                   
  10b657:	83 c4 10             	add    $0x10,%esp                     
  10b65a:	85 c0                	test   %eax,%eax                      
  10b65c:	74 27                	je     10b685 <_Objects_Get_information+0x4d>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
  10b65e:	0f b7 ff             	movzwl %di,%edi                       
  10b661:	39 c7                	cmp    %eax,%edi                      
  10b663:	77 20                	ja     10b685 <_Objects_Get_information+0x4d>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10b665:	8b 04 b5 bc 42 12 00 	mov    0x1242bc(,%esi,4),%eax         
  10b66c:	85 c0                	test   %eax,%eax                      
  10b66e:	74 15                	je     10b685 <_Objects_Get_information+0x4d><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
  10b670:	8b 1c b8             	mov    (%eax,%edi,4),%ebx             
  if ( !info )                                                        
  10b673:	85 db                	test   %ebx,%ebx                      
  10b675:	74 0e                	je     10b685 <_Objects_Get_information+0x4d><== NEVER TAKEN
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  10b677:	31 c0                	xor    %eax,%eax                      
  10b679:	66 83 7b 10 00       	cmpw   $0x0,0x10(%ebx)                
  10b67e:	0f 95 c0             	setne  %al                            
  10b681:	f7 d8                	neg    %eax                           
  10b683:	21 c3                	and    %eax,%ebx                      
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
  10b685:	89 d8                	mov    %ebx,%eax                      
  10b687:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b68a:	5b                   	pop    %ebx                           
  10b68b:	5e                   	pop    %esi                           
  10b68c:	5f                   	pop    %edi                           
  10b68d:	c9                   	leave                                 
  10b68e:	c3                   	ret                                   
                                                                      

00118aa8 <_Objects_Get_no_protection>: Objects_Control *_Objects_Get_no_protection( Objects_Information *information, Objects_Id id, Objects_Locations *location ) {
  118aa8:	55                   	push   %ebp                           
  118aa9:	89 e5                	mov    %esp,%ebp                      
  118aab:	53                   	push   %ebx                           
  118aac:	8b 55 08             	mov    0x8(%ebp),%edx                 
  118aaf:	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;                           
  118ab2:	b8 01 00 00 00       	mov    $0x1,%eax                      
  118ab7:	2b 42 08             	sub    0x8(%edx),%eax                 
  118aba:	03 45 0c             	add    0xc(%ebp),%eax                 
                                                                      
  if ( information->maximum >= index ) {                              
  118abd:	0f b7 5a 10          	movzwl 0x10(%edx),%ebx                
  118ac1:	39 c3                	cmp    %eax,%ebx                      
  118ac3:	72 12                	jb     118ad7 <_Objects_Get_no_protection+0x2f>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
  118ac5:	8b 52 1c             	mov    0x1c(%edx),%edx                
  118ac8:	8b 04 82             	mov    (%edx,%eax,4),%eax             
  118acb:	85 c0                	test   %eax,%eax                      
  118acd:	74 08                	je     118ad7 <_Objects_Get_no_protection+0x2f><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
  118acf:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)                    
      return the_object;                                              
  118ad5:	eb 08                	jmp    118adf <_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;                                          
  118ad7:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)                    
  return NULL;                                                        
  118add:	31 c0                	xor    %eax,%eax                      
}                                                                     
  118adf:	5b                   	pop    %ebx                           
  118ae0:	c9                   	leave                                 
  118ae1:	c3                   	ret                                   
                                                                      

0010c864 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
  10c864:	55                   	push   %ebp                           
  10c865:	89 e5                	mov    %esp,%ebp                      
  10c867:	53                   	push   %ebx                           
  10c868:	83 ec 14             	sub    $0x14,%esp                     
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10c86b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c86e:	85 c0                	test   %eax,%eax                      
  10c870:	75 08                	jne    10c87a <_Objects_Id_to_name+0x16>
  10c872:	a1 80 78 12 00       	mov    0x127880,%eax                  
  10c877:	8b 40 08             	mov    0x8(%eax),%eax                 
  10c87a:	89 c2                	mov    %eax,%edx                      
  10c87c:	c1 ea 18             	shr    $0x18,%edx                     
  10c87f:	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 )                      
  10c882:	8d 4a ff             	lea    -0x1(%edx),%ecx                
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
  10c885:	bb 03 00 00 00       	mov    $0x3,%ebx                      
  10c88a:	83 f9 02             	cmp    $0x2,%ecx                      
  10c88d:	77 36                	ja     10c8c5 <_Objects_Id_to_name+0x61>
  10c88f:	eb 3b                	jmp    10c8cc <_Objects_Id_to_name+0x68>
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10c891:	89 c1                	mov    %eax,%ecx                      
  10c893:	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 ];   
  10c896:	8b 14 8a             	mov    (%edx,%ecx,4),%edx             
  if ( !information )                                                 
  10c899:	85 d2                	test   %edx,%edx                      
  10c89b:	74 28                	je     10c8c5 <_Objects_Id_to_name+0x61><== NEVER TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
  10c89d:	80 7a 38 00          	cmpb   $0x0,0x38(%edx)                
  10c8a1:	75 22                	jne    10c8c5 <_Objects_Id_to_name+0x61><== NEVER TAKEN
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  10c8a3:	51                   	push   %ecx                           
  10c8a4:	8d 4d f4             	lea    -0xc(%ebp),%ecx                
  10c8a7:	51                   	push   %ecx                           
  10c8a8:	50                   	push   %eax                           
  10c8a9:	52                   	push   %edx                           
  10c8aa:	e8 5d ff ff ff       	call   10c80c <_Objects_Get>          
  if ( !the_object )                                                  
  10c8af:	83 c4 10             	add    $0x10,%esp                     
  10c8b2:	85 c0                	test   %eax,%eax                      
  10c8b4:	74 0f                	je     10c8c5 <_Objects_Id_to_name+0x61>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  10c8b6:	8b 50 0c             	mov    0xc(%eax),%edx                 
  10c8b9:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c8bc:	89 10                	mov    %edx,(%eax)                    
  _Thread_Enable_dispatch();                                          
  10c8be:	e8 9f 07 00 00       	call   10d062 <_Thread_Enable_dispatch>
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
  10c8c3:	31 db                	xor    %ebx,%ebx                      
}                                                                     
  10c8c5:	89 d8                	mov    %ebx,%eax                      
  10c8c7:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c8ca:	c9                   	leave                                 
  10c8cb:	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 ] )                       
  10c8cc:	8b 14 95 08 73 12 00 	mov    0x127308(,%edx,4),%edx         
  10c8d3:	85 d2                	test   %edx,%edx                      
  10c8d5:	75 ba                	jne    10c891 <_Objects_Id_to_name+0x2d>
  10c8d7:	eb ec                	jmp    10c8c5 <_Objects_Id_to_name+0x61>
                                                                      

0010e2a8 <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
  10e2a8:	55                   	push   %ebp                           
  10e2a9:	89 e5                	mov    %esp,%ebp                      
  10e2ab:	57                   	push   %edi                           
  10e2ac:	56                   	push   %esi                           
  10e2ad:	53                   	push   %ebx                           
  10e2ae:	83 ec 30             	sub    $0x30,%esp                     
  10e2b1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e2b4:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  10e2b7:	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 );        
  10e2ba:	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(             
  10e2bd:	50                   	push   %eax                           
  10e2be:	56                   	push   %esi                           
  10e2bf:	68 5c d9 12 00       	push   $0x12d95c                      
  10e2c4:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  10e2c7:	e8 f0 2a 00 00       	call   110dbc <_Objects_Get>          
  switch ( location ) {                                               
  10e2cc:	83 c4 10             	add    $0x10,%esp                     
  10e2cf:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10e2d3:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  10e2d6:	0f 85 aa 00 00 00    	jne    10e386 <_POSIX_Message_queue_Receive_support+0xde>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
  10e2dc:	8b 78 14             	mov    0x14(%eax),%edi                
  10e2df:	89 f9                	mov    %edi,%ecx                      
  10e2e1:	83 e1 03             	and    $0x3,%ecx                      
  10e2e4:	49                   	dec    %ecx                           
  10e2e5:	75 0a                	jne    10e2f1 <_POSIX_Message_queue_Receive_support+0x49>
        _Thread_Enable_dispatch();                                    
  10e2e7:	e8 22 33 00 00       	call   11160e <_Thread_Enable_dispatch>
  10e2ec:	e9 95 00 00 00       	jmp    10e386 <_POSIX_Message_queue_Receive_support+0xde>
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
  10e2f1:	8b 40 10             	mov    0x10(%eax),%eax                
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
  10e2f4:	8b 48 68             	mov    0x68(%eax),%ecx                
  10e2f7:	39 4d 10             	cmp    %ecx,0x10(%ebp)                
  10e2fa:	73 15                	jae    10e311 <_POSIX_Message_queue_Receive_support+0x69>
        _Thread_Enable_dispatch();                                    
  10e2fc:	e8 0d 33 00 00       	call   11160e <_Thread_Enable_dispatch>
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
  10e301:	e8 be 8a 00 00       	call   116dc4 <__errno>               
  10e306:	c7 00 7a 00 00 00    	movl   $0x7a,(%eax)                   
  10e30c:	e9 80 00 00 00       	jmp    10e391 <_POSIX_Message_queue_Receive_support+0xe9>
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
  10e311:	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 )                                                     
  10e318:	31 c9                	xor    %ecx,%ecx                      
  10e31a:	84 d2                	test   %dl,%dl                        
  10e31c:	74 09                	je     10e327 <_POSIX_Message_queue_Receive_support+0x7f><== NEVER TAKEN
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
  10e31e:	81 e7 00 40 00 00    	and    $0x4000,%edi                   
  10e324:	0f 94 c1             	sete   %cl                            
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
  10e327:	52                   	push   %edx                           
  10e328:	52                   	push   %edx                           
  10e329:	ff 75 1c             	pushl  0x1c(%ebp)                     
  10e32c:	0f b6 c9             	movzbl %cl,%ecx                       
  10e32f:	51                   	push   %ecx                           
  10e330:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10e333:	52                   	push   %edx                           
  10e334:	ff 75 0c             	pushl  0xc(%ebp)                      
  10e337:	56                   	push   %esi                           
  10e338:	83 c0 1c             	add    $0x1c,%eax                     
  10e33b:	50                   	push   %eax                           
  10e33c:	e8 73 1c 00 00       	call   10ffb4 <_CORE_message_queue_Seize>
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10e341:	83 c4 20             	add    $0x20,%esp                     
  10e344:	e8 c5 32 00 00       	call   11160e <_Thread_Enable_dispatch>
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
  10e349:	a1 d4 d9 12 00       	mov    0x12d9d4,%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);                    
  10e34e:	8b 50 24             	mov    0x24(%eax),%edx                
  10e351:	c1 fa 1f             	sar    $0x1f,%edx                     
  10e354:	8b 48 24             	mov    0x24(%eax),%ecx                
  10e357:	31 d1                	xor    %edx,%ecx                      
  10e359:	89 0b                	mov    %ecx,(%ebx)                    
  10e35b:	29 13                	sub    %edx,(%ebx)                    
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
  10e35d:	83 78 34 00          	cmpl   $0x0,0x34(%eax)                
  10e361:	75 05                	jne    10e368 <_POSIX_Message_queue_Receive_support+0xc0>
        return length_out;                                            
  10e363:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10e366:	eb 2c                	jmp    10e394 <_POSIX_Message_queue_Receive_support+0xec>
                                                                      
      rtems_set_errno_and_return_minus_one(                           
  10e368:	e8 57 8a 00 00       	call   116dc4 <__errno>               
  10e36d:	89 c3                	mov    %eax,%ebx                      
  10e36f:	83 ec 0c             	sub    $0xc,%esp                      
  10e372:	a1 d4 d9 12 00       	mov    0x12d9d4,%eax                  
  10e377:	ff 70 34             	pushl  0x34(%eax)                     
  10e37a:	e8 ed 01 00 00       	call   10e56c <_POSIX_Message_queue_Translate_core_message_queue_return_code>
  10e37f:	89 03                	mov    %eax,(%ebx)                    
  10e381:	83 c4 10             	add    $0x10,%esp                     
  10e384:	eb 0b                	jmp    10e391 <_POSIX_Message_queue_Receive_support+0xe9>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
  10e386:	e8 39 8a 00 00       	call   116dc4 <__errno>               
  10e38b:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  10e391:	83 c8 ff             	or     $0xffffffff,%eax               
}                                                                     
  10e394:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e397:	5b                   	pop    %ebx                           
  10e398:	5e                   	pop    %esi                           
  10e399:	5f                   	pop    %edi                           
  10e39a:	c9                   	leave                                 
  10e39b:	c3                   	ret                                   
                                                                      

0010e85c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: #include <rtems/posix/pthread.h> void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( Thread_Control *the_thread ) {
  10e85c:	55                   	push   %ebp                           
  10e85d:	89 e5                	mov    %esp,%ebp                      
  10e85f:	83 ec 08             	sub    $0x8,%esp                      
  10e862:	8b 55 08             	mov    0x8(%ebp),%edx                 
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
  10e865:	8b 82 f8 00 00 00    	mov    0xf8(%edx),%eax                
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
  10e86b:	83 b8 d8 00 00 00 00 	cmpl   $0x0,0xd8(%eax)                
  10e872:	75 2c                	jne    10e8a0 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x44><== NEVER TAKEN
  10e874:	83 b8 dc 00 00 00 01 	cmpl   $0x1,0xdc(%eax)                
  10e87b:	75 23                	jne    10e8a0 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x44>
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
  10e87d:	83 b8 e0 00 00 00 00 	cmpl   $0x0,0xe0(%eax)                
  10e884:	74 1a                	je     10e8a0 <_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;                                
  10e886:	a1 d4 52 12 00       	mov    0x1252d4,%eax                  
  10e88b:	48                   	dec    %eax                           
  10e88c:	a3 d4 52 12 00       	mov    %eax,0x1252d4                  
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  10e891:	50                   	push   %eax                           
  10e892:	50                   	push   %eax                           
  10e893:	6a ff                	push   $0xffffffff                    
  10e895:	52                   	push   %edx                           
  10e896:	e8 51 08 00 00       	call   10f0ec <_POSIX_Thread_Exit>    
  10e89b:	83 c4 10             	add    $0x10,%esp                     
  } else                                                              
    _Thread_Enable_dispatch();                                        
                                                                      
}                                                                     
  10e89e:	c9                   	leave                                 
  10e89f:	c3                   	ret                                   
  10e8a0:	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();                                        
  10e8a1:	e9 c0 d9 ff ff       	jmp    10c266 <_Thread_Enable_dispatch>
                                                                      

0010fae0 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
  10fae0:	55                   	push   %ebp                           
  10fae1:	89 e5                	mov    %esp,%ebp                      
  10fae3:	57                   	push   %edi                           
  10fae4:	56                   	push   %esi                           
  10fae5:	53                   	push   %ebx                           
  10fae6:	83 ec 28             	sub    $0x28,%esp                     
  10fae9:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10faec:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10faef:	8b 7d 10             	mov    0x10(%ebp),%edi                
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
  10faf2:	ff 33                	pushl  (%ebx)                         
  10faf4:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10faf7:	e8 c4 ff ff ff       	call   10fac0 <_POSIX_Priority_Is_valid>
  10fafc:	83 c4 10             	add    $0x10,%esp                     
    return EINVAL;                                                    
  10faff:	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 ) )           
  10fb04:	84 c0                	test   %al,%al                        
  10fb06:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10fb09:	0f 84 a4 00 00 00    	je     10fbb3 <_POSIX_Thread_Translate_sched_param+0xd3><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  10fb0f:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    
  *budget_callout = NULL;                                             
  10fb15:	8b 45 14             	mov    0x14(%ebp),%eax                
  10fb18:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
  10fb1e:	85 d2                	test   %edx,%edx                      
  10fb20:	75 0b                	jne    10fb2d <_POSIX_Thread_Translate_sched_param+0x4d>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
  10fb22:	c7 07 01 00 00 00    	movl   $0x1,(%edi)                    
  10fb28:	e9 83 00 00 00       	jmp    10fbb0 <_POSIX_Thread_Translate_sched_param+0xd0>
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  10fb2d:	31 f6                	xor    %esi,%esi                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
  10fb2f:	83 fa 01             	cmp    $0x1,%edx                      
  10fb32:	74 7f                	je     10fbb3 <_POSIX_Thread_Translate_sched_param+0xd3>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
  10fb34:	83 fa 02             	cmp    $0x2,%edx                      
  10fb37:	75 08                	jne    10fb41 <_POSIX_Thread_Translate_sched_param+0x61>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
  10fb39:	c7 07 02 00 00 00    	movl   $0x2,(%edi)                    
    return 0;                                                         
  10fb3f:	eb 72                	jmp    10fbb3 <_POSIX_Thread_Translate_sched_param+0xd3>
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
  10fb41:	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 ) {                                   
  10fb46:	83 fa 04             	cmp    $0x4,%edx                      
  10fb49:	75 68                	jne    10fbb3 <_POSIX_Thread_Translate_sched_param+0xd3>
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
  10fb4b:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)                 
  10fb4f:	75 06                	jne    10fb57 <_POSIX_Thread_Translate_sched_param+0x77>
  10fb51:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)                 
  10fb55:	74 5c                	je     10fbb3 <_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) &&                 
  10fb57:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10fb5b:	75 0b                	jne    10fb68 <_POSIX_Thread_Translate_sched_param+0x88>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
  10fb5d:	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) &&                 
  10fb62:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10fb66:	74 4b                	je     10fbb3 <_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 ) <         
  10fb68:	83 ec 0c             	sub    $0xc,%esp                      
  10fb6b:	8d 43 08             	lea    0x8(%ebx),%eax                 
  10fb6e:	50                   	push   %eax                           
  10fb6f:	e8 14 de ff ff       	call   10d988 <_Timespec_To_ticks>    
  10fb74:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
  10fb77:	8d 43 10             	lea    0x10(%ebx),%eax                
  10fb7a:	89 04 24             	mov    %eax,(%esp)                    
  10fb7d:	e8 06 de ff ff       	call   10d988 <_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 ) <         
  10fb82:	83 c4 10             	add    $0x10,%esp                     
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
  10fb85:	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 ) <         
  10fb8a:	39 45 e4             	cmp    %eax,-0x1c(%ebp)               
  10fb8d:	72 24                	jb     10fbb3 <_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 ) )  
  10fb8f:	83 ec 0c             	sub    $0xc,%esp                      
  10fb92:	ff 73 04             	pushl  0x4(%ebx)                      
  10fb95:	e8 26 ff ff ff       	call   10fac0 <_POSIX_Priority_Is_valid>
  10fb9a:	83 c4 10             	add    $0x10,%esp                     
  10fb9d:	84 c0                	test   %al,%al                        
  10fb9f:	74 12                	je     10fbb3 <_POSIX_Thread_Translate_sched_param+0xd3>
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
  10fba1:	c7 07 03 00 00 00    	movl   $0x3,(%edi)                    
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
  10fba7:	8b 45 14             	mov    0x14(%ebp),%eax                
  10fbaa:	c7 00 d9 a7 10 00    	movl   $0x10a7d9,(%eax)               
    return 0;                                                         
  10fbb0:	66 31 f6             	xor    %si,%si                        
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10fbb3:	89 f0                	mov    %esi,%eax                      
  10fbb5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fbb8:	5b                   	pop    %ebx                           
  10fbb9:	5e                   	pop    %esi                           
  10fbba:	5f                   	pop    %edi                           
  10fbbb:	c9                   	leave                                 
  10fbbc:	c3                   	ret                                   
                                                                      

0010a4dc <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
  10a4dc:	55                   	push   %ebp                           
  10a4dd:	89 e5                	mov    %esp,%ebp                      
  10a4df:	57                   	push   %edi                           
  10a4e0:	56                   	push   %esi                           
  10a4e1:	53                   	push   %ebx                           
  10a4e2:	83 ec 6c             	sub    $0x6c,%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;
  10a4e5:	8b 3d 10 12 12 00    	mov    0x121210,%edi                  
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
  10a4eb:	8b 15 0c 12 12 00    	mov    0x12120c,%edx                  
                                                                      
  if ( !user_threads || maximum == 0 )                                
  10a4f1:	85 d2                	test   %edx,%edx                      
  10a4f3:	74 54                	je     10a549 <_POSIX_Threads_Initialize_user_threads_body+0x6d><== NEVER TAKEN
  10a4f5:	85 ff                	test   %edi,%edi                      
  10a4f7:	74 50                	je     10a549 <_POSIX_Threads_Initialize_user_threads_body+0x6d><== NEVER TAKEN
  10a4f9:	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 );                                
  10a4fb:	8d 75 a4             	lea    -0x5c(%ebp),%esi               
  10a4fe:	83 ec 0c             	sub    $0xc,%esp                      
  10a501:	56                   	push   %esi                           
  10a502:	89 55 94             	mov    %edx,-0x6c(%ebp)               
  10a505:	e8 b6 56 00 00       	call   10fbc0 <pthread_attr_init>     
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
  10a50a:	5a                   	pop    %edx                           
  10a50b:	59                   	pop    %ecx                           
  10a50c:	6a 02                	push   $0x2                           
  10a50e:	56                   	push   %esi                           
  10a50f:	e8 d4 56 00 00       	call   10fbe8 <pthread_attr_setinheritsched>
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
  10a514:	59                   	pop    %ecx                           
  10a515:	58                   	pop    %eax                           
  10a516:	ff 74 df 04          	pushl  0x4(%edi,%ebx,8)               
  10a51a:	56                   	push   %esi                           
  10a51b:	e8 f4 56 00 00       	call   10fc14 <pthread_attr_setstacksize>
                                                                      
    status = pthread_create(                                          
  10a520:	6a 00                	push   $0x0                           
  10a522:	ff 34 df             	pushl  (%edi,%ebx,8)                  
  10a525:	56                   	push   %esi                           
  10a526:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a529:	50                   	push   %eax                           
  10a52a:	e8 e5 fc ff ff       	call   10a214 <pthread_create>        
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
  10a52f:	83 c4 20             	add    $0x20,%esp                     
  10a532:	85 c0                	test   %eax,%eax                      
  10a534:	8b 55 94             	mov    -0x6c(%ebp),%edx               
  10a537:	74 0b                	je     10a544 <_POSIX_Threads_Initialize_user_threads_body+0x68>
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  10a539:	52                   	push   %edx                           
  10a53a:	50                   	push   %eax                           
  10a53b:	6a 01                	push   $0x1                           
  10a53d:	6a 02                	push   $0x2                           
  10a53f:	e8 e4 1b 00 00       	call   10c128 <_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++ ) {                       
  10a544:	43                   	inc    %ebx                           
  10a545:	39 d3                	cmp    %edx,%ebx                      
  10a547:	72 b5                	jb     10a4fe <_POSIX_Threads_Initialize_user_threads_body+0x22><== NEVER TAKEN
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  }                                                                   
}                                                                     
  10a549:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a54c:	5b                   	pop    %ebx                           
  10a54d:	5e                   	pop    %esi                           
  10a54e:	5f                   	pop    %edi                           
  10a54f:	c9                   	leave                                 
  10a550:	c3                   	ret                                   
                                                                      

0010ec3f <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
  10ec3f:	55                   	push   %ebp                           
  10ec40:	89 e5                	mov    %esp,%ebp                      
  10ec42:	56                   	push   %esi                           
  10ec43:	53                   	push   %ebx                           
  10ec44:	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 ];               
  10ec47:	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 );
  10ec4d:	83 ec 0c             	sub    $0xc,%esp                      
  10ec50:	8d 86 98 00 00 00    	lea    0x98(%esi),%eax                
  10ec56:	50                   	push   %eax                           
  10ec57:	e8 94 0e 00 00       	call   10faf0 <_Timespec_To_ticks>    
                                                                      
  the_thread->cpu_time_budget = ticks;                                
  10ec5c:	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);
  10ec5f:	0f b6 05 f4 01 12 00 	movzbl 0x1201f4,%eax                  
  10ec66:	2b 86 88 00 00 00    	sub    0x88(%esi),%eax                
                                                                      
  new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
  the_thread->real_priority = new_priority;                           
  10ec6c:	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 ) {                            
  10ec6f:	83 c4 10             	add    $0x10,%esp                     
  10ec72:	83 7b 1c 00          	cmpl   $0x0,0x1c(%ebx)                
  10ec76:	75 12                	jne    10ec8a <_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 ) {              
  10ec78:	39 43 14             	cmp    %eax,0x14(%ebx)                
  10ec7b:	76 0d                	jbe    10ec8a <_POSIX_Threads_Sporadic_budget_TSR+0x4b>
      _Thread_Change_priority( the_thread, new_priority, true );      
  10ec7d:	52                   	push   %edx                           
  10ec7e:	6a 01                	push   $0x1                           
  10ec80:	50                   	push   %eax                           
  10ec81:	53                   	push   %ebx                           
  10ec82:	e8 a5 cd ff ff       	call   10ba2c <_Thread_Change_priority>
  10ec87:	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 );
  10ec8a:	83 ec 0c             	sub    $0xc,%esp                      
  10ec8d:	8d 86 90 00 00 00    	lea    0x90(%esi),%eax                
  10ec93:	50                   	push   %eax                           
  10ec94:	e8 57 0e 00 00       	call   10faf0 <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10ec99:	89 86 b4 00 00 00    	mov    %eax,0xb4(%esi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10ec9f:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
  10eca2:	81 c6 a8 00 00 00    	add    $0xa8,%esi                     
  10eca8:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10ecab:	c7 45 08 ac 43 12 00 	movl   $0x1243ac,0x8(%ebp)            
}                                                                     
  10ecb2:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ecb5:	5b                   	pop    %ebx                           
  10ecb6:	5e                   	pop    %esi                           
  10ecb7:	c9                   	leave                                 
  10ecb8:	e9 d3 df ff ff       	jmp    10cc90 <_Watchdog_Insert>      
                                                                      

0010ecbd <_POSIX_Threads_Sporadic_budget_callout>: * _POSIX_Threads_Sporadic_budget_callout */ void _POSIX_Threads_Sporadic_budget_callout( Thread_Control *the_thread ) {
  10ecbd:	55                   	push   %ebp                           
  10ecbe:	89 e5                	mov    %esp,%ebp                      
  10ecc0:	83 ec 08             	sub    $0x8,%esp                      
  10ecc3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  POSIX_API_Control *api;                                             
  uint32_t           new_priority;                                    
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10ecc6:	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 */
  10eccc:	c7 40 78 ff ff ff ff 	movl   $0xffffffff,0x78(%eax)         
  10ecd3:	0f b6 15 f4 01 12 00 	movzbl 0x1201f4,%edx                  
  10ecda:	2b 91 8c 00 00 00    	sub    0x8c(%ecx),%edx                
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
  10ece0:	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 ) {                            
  10ece3:	83 78 1c 00          	cmpl   $0x0,0x1c(%eax)                
  10ece7:	75 12                	jne    10ecfb <_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 ) {              
  10ece9:	39 50 14             	cmp    %edx,0x14(%eax)                
  10ecec:	73 0d                	jae    10ecfb <_POSIX_Threads_Sporadic_budget_callout+0x3e><== NEVER TAKEN
      _Thread_Change_priority( the_thread, new_priority, true );      
  10ecee:	51                   	push   %ecx                           
  10ecef:	6a 01                	push   $0x1                           
  10ecf1:	52                   	push   %edx                           
  10ecf2:	50                   	push   %eax                           
  10ecf3:	e8 34 cd ff ff       	call   10ba2c <_Thread_Change_priority>
  10ecf8:	83 c4 10             	add    $0x10,%esp                     
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
  10ecfb:	c9                   	leave                                 
  10ecfc:	c3                   	ret                                   
                                                                      

0010a29c <_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) {
  10a29c:	55                   	push   %ebp                           
  10a29d:	89 e5                	mov    %esp,%ebp                      
  10a29f:	53                   	push   %ebx                           
  10a2a0:	83 ec 04             	sub    $0x4,%esp                      
  10a2a3:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
  10a2a6:	ff 43 68             	incl   0x68(%ebx)                     
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
  10a2a9:	83 7b 54 00          	cmpl   $0x0,0x54(%ebx)                
  10a2ad:	75 06                	jne    10a2b5 <_POSIX_Timer_TSR+0x19> 
  10a2af:	83 7b 58 00          	cmpl   $0x0,0x58(%ebx)                
  10a2b3:	74 34                	je     10a2e9 <_POSIX_Timer_TSR+0x4d> <== NEVER TAKEN
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
  10a2b5:	83 ec 0c             	sub    $0xc,%esp                      
  10a2b8:	53                   	push   %ebx                           
  10a2b9:	68 9c a2 10 00       	push   $0x10a29c                      
  10a2be:	ff 73 08             	pushl  0x8(%ebx)                      
  10a2c1:	ff 73 64             	pushl  0x64(%ebx)                     
  10a2c4:	8d 43 10             	lea    0x10(%ebx),%eax                
  10a2c7:	50                   	push   %eax                           
  10a2c8:	e8 d3 55 00 00       	call   10f8a0 <_POSIX_Timer_Insert_helper>
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
  10a2cd:	83 c4 20             	add    $0x20,%esp                     
  10a2d0:	84 c0                	test   %al,%al                        
  10a2d2:	74 30                	je     10a304 <_POSIX_Timer_TSR+0x68> <== NEVER TAKEN
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
  10a2d4:	83 ec 0c             	sub    $0xc,%esp                      
  10a2d7:	8d 43 6c             	lea    0x6c(%ebx),%eax                
  10a2da:	50                   	push   %eax                           
  10a2db:	e8 50 14 00 00       	call   10b730 <_TOD_Get>              
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
  10a2e0:	c6 43 3c 03          	movb   $0x3,0x3c(%ebx)                
  10a2e4:	83 c4 10             	add    $0x10,%esp                     
  10a2e7:	eb 04                	jmp    10a2ed <_POSIX_Timer_TSR+0x51> 
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
  10a2e9:	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 ) ) {
  10a2ed:	50                   	push   %eax                           
  10a2ee:	50                   	push   %eax                           
  10a2ef:	ff 73 44             	pushl  0x44(%ebx)                     
  10a2f2:	ff 73 38             	pushl  0x38(%ebx)                     
  10a2f5:	e8 7a 51 00 00       	call   10f474 <pthread_kill>          
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
  10a2fa:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  10a301:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10a304:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a307:	c9                   	leave                                 
  10a308:	c3                   	ret                                   
                                                                      

00110ab8 <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
  110ab8:	55                   	push   %ebp                           
  110ab9:	89 e5                	mov    %esp,%ebp                      
  110abb:	57                   	push   %edi                           
  110abc:	56                   	push   %esi                           
  110abd:	53                   	push   %ebx                           
  110abe:	83 ec 68             	sub    $0x68,%esp                     
  110ac1:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
  Thread_Wait_information     stored_thread_wait_information;         
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
  110ac4:	6a 01                	push   $0x1                           
  110ac6:	0f b6 45 10          	movzbl 0x10(%ebp),%eax                
  110aca:	50                   	push   %eax                           
  110acb:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  110ace:	50                   	push   %eax                           
  110acf:	53                   	push   %ebx                           
  110ad0:	ff 75 08             	pushl  0x8(%ebp)                      
  110ad3:	e8 8c 00 00 00       	call   110b64 <_POSIX_signals_Clear_signals>
  110ad8:	83 c4 20             	add    $0x20,%esp                     
                                       is_global, true ) )            
    return false;                                                     
  110adb:	31 c9                	xor    %ecx,%ecx                      
{                                                                     
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
  Thread_Wait_information     stored_thread_wait_information;         
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
  110add:	84 c0                	test   %al,%al                        
  110adf:	74 78                	je     110b59 <_POSIX_signals_Check_signal+0xa1>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
  110ae1:	6b d3 0c             	imul   $0xc,%ebx,%edx                 
  110ae4:	8b 82 4c 48 12 00    	mov    0x12484c(%edx),%eax            
  110aea:	83 f8 01             	cmp    $0x1,%eax                      
  110aed:	74 6a                	je     110b59 <_POSIX_signals_Check_signal+0xa1><== NEVER TAKEN
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  110aef:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  110af2:	8b 89 d0 00 00 00    	mov    0xd0(%ecx),%ecx                
  110af8:	89 4d a4             	mov    %ecx,-0x5c(%ebp)               
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
  110afb:	0b 8a 48 48 12 00    	or     0x124848(%edx),%ecx            
  110b01:	8b 75 08             	mov    0x8(%ebp),%esi                 
  110b04:	89 8e d0 00 00 00    	mov    %ecx,0xd0(%esi)                
  /*                                                                  
   *  We have to save the blocking information of the current wait queue
   *  because the signal handler may subsequently go on and put the thread
   *  on a wait queue, for its own purposes.                          
   */                                                                 
  memcpy( &stored_thread_wait_information, &_Thread_Executing->Wait,  
  110b0a:	8d 7d b4             	lea    -0x4c(%ebp),%edi               
  110b0d:	8b 35 34 48 12 00    	mov    0x124834,%esi                  
  110b13:	83 c6 20             	add    $0x20,%esi                     
  110b16:	b9 0a 00 00 00       	mov    $0xa,%ecx                      
  110b1b:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
          sizeof( Thread_Wait_information ));                         
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
  110b1d:	83 ba 44 48 12 00 02 	cmpl   $0x2,0x124844(%edx)            
  110b24:	75 09                	jne    110b2f <_POSIX_signals_Check_signal+0x77>
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
  110b26:	52                   	push   %edx                           
  110b27:	6a 00                	push   $0x0                           
  110b29:	8d 55 dc             	lea    -0x24(%ebp),%edx               
  110b2c:	52                   	push   %edx                           
  110b2d:	eb 03                	jmp    110b32 <_POSIX_signals_Check_signal+0x7a>
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
  110b2f:	83 ec 0c             	sub    $0xc,%esp                      
  110b32:	53                   	push   %ebx                           
  110b33:	ff d0                	call   *%eax                          
      break;                                                          
  110b35:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the blocking information                                
   */                                                                 
  memcpy( &_Thread_Executing->Wait, &stored_thread_wait_information,  
  110b38:	8b 3d 34 48 12 00    	mov    0x124834,%edi                  
  110b3e:	83 c7 20             	add    $0x20,%edi                     
  110b41:	8d 75 b4             	lea    -0x4c(%ebp),%esi               
  110b44:	b9 0a 00 00 00       	mov    $0xa,%ecx                      
  110b49:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
          sizeof( Thread_Wait_information ));                         
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
  110b4b:	8b 75 a4             	mov    -0x5c(%ebp),%esi               
  110b4e:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  110b51:	89 b1 d0 00 00 00    	mov    %esi,0xd0(%ecx)                
                                                                      
  return true;                                                        
  110b57:	b1 01                	mov    $0x1,%cl                       
}                                                                     
  110b59:	88 c8                	mov    %cl,%al                        
  110b5b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110b5e:	5b                   	pop    %ebx                           
  110b5f:	5e                   	pop    %esi                           
  110b60:	5f                   	pop    %edi                           
  110b61:	c9                   	leave                                 
  110b62:	c3                   	ret                                   
                                                                      

0011104c <_POSIX_signals_Clear_process_signals>: */ void _POSIX_signals_Clear_process_signals( int signo ) {
  11104c:	55                   	push   %ebp                           
  11104d:	89 e5                	mov    %esp,%ebp                      
  11104f:	53                   	push   %ebx                           
  111050:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
  111053:	9c                   	pushf                                 
  111054:	fa                   	cli                                   
  111055:	5a                   	pop    %edx                           
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
  111056:	6b c1 0c             	imul   $0xc,%ecx,%eax                 
  111059:	83 b8 44 48 12 00 02 	cmpl   $0x2,0x124844(%eax)            
  111060:	75 0e                	jne    111070 <_POSIX_signals_Clear_process_signals+0x24>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  111062:	8d 98 40 4a 12 00    	lea    0x124a40(%eax),%ebx            
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
  111068:	39 98 3c 4a 12 00    	cmp    %ebx,0x124a3c(%eax)            
  11106e:	75 0e                	jne    11107e <_POSIX_signals_Clear_process_signals+0x32><== NEVER TAKEN
  111070:	49                   	dec    %ecx                           
  111071:	b8 fe ff ff ff       	mov    $0xfffffffe,%eax               
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
  111076:	d3 c0                	rol    %cl,%eax                       
  111078:	21 05 38 4a 12 00    	and    %eax,0x124a38                  
    }                                                                 
  _ISR_Enable( level );                                               
  11107e:	52                   	push   %edx                           
  11107f:	9d                   	popf                                  
}                                                                     
  111080:	5b                   	pop    %ebx                           
  111081:	c9                   	leave                                 
  111082:	c3                   	ret                                   
                                                                      

0010ab54 <_POSIX_signals_Get_lowest>: #include <rtems/score/isr.h> int _POSIX_signals_Get_lowest( sigset_t set ) {
  10ab54:	55                   	push   %ebp                           
  10ab55:	89 e5                	mov    %esp,%ebp                      
  10ab57:	56                   	push   %esi                           
  10ab58:	53                   	push   %ebx                           
  10ab59:	8b 55 08             	mov    0x8(%ebp),%edx                 
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
  10ab5c:	b8 1b 00 00 00       	mov    $0x1b,%eax                     
  10ab61:	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_lowest(                                        
  10ab66:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  10ab69:	89 de                	mov    %ebx,%esi                      
  10ab6b:	d3 e6                	shl    %cl,%esi                       
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
  10ab6d:	85 d6                	test   %edx,%esi                      
  10ab6f:	75 1e                	jne    10ab8f <_POSIX_signals_Get_lowest+0x3b><== NEVER TAKEN
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
  10ab71:	40                   	inc    %eax                           
  10ab72:	83 f8 20             	cmp    $0x20,%eax                     
  10ab75:	75 ef                	jne    10ab66 <_POSIX_signals_Get_lowest+0x12>
  10ab77:	b0 01                	mov    $0x1,%al                       
  10ab79:	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_lowest(                                        
  10ab7e:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  10ab81:	89 de                	mov    %ebx,%esi                      
  10ab83:	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 ) ) {                             
  10ab85:	85 d6                	test   %edx,%esi                      
  10ab87:	75 06                	jne    10ab8f <_POSIX_signals_Get_lowest+0x3b>
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
  10ab89:	40                   	inc    %eax                           
  10ab8a:	83 f8 1b             	cmp    $0x1b,%eax                     
  10ab8d:	75 ef                	jne    10ab7e <_POSIX_signals_Get_lowest+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;                                                       
}                                                                     
  10ab8f:	5b                   	pop    %ebx                           
  10ab90:	5e                   	pop    %esi                           
  10ab91:	c9                   	leave                                 
  10ab92:	c3                   	ret                                   
                                                                      

00121858 <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
  121858:	55                   	push   %ebp                           
  121859:	89 e5                	mov    %esp,%ebp                      
  12185b:	57                   	push   %edi                           
  12185c:	56                   	push   %esi                           
  12185d:	53                   	push   %ebx                           
  12185e:	83 ec 0c             	sub    $0xc,%esp                      
  121861:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  121864:	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 ];               
  121867:	8b 83 f8 00 00 00    	mov    0xf8(%ebx),%eax                
  12186d:	8d 4e ff             	lea    -0x1(%esi),%ecx                
  121870:	ba 01 00 00 00       	mov    $0x1,%edx                      
  121875:	d3 e2                	shl    %cl,%edx                       
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
  121877:	8b 4b 10             	mov    0x10(%ebx),%ecx                
  12187a:	89 cf                	mov    %ecx,%edi                      
  12187c:	81 e7 00 80 00 10    	and    $0x10008000,%edi               
  121882:	81 ff 00 80 00 10    	cmp    $0x10008000,%edi               
  121888:	75 58                	jne    1218e2 <_POSIX_signals_Unblock_thread+0x8a>
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
  12188a:	85 53 30             	test   %edx,0x30(%ebx)                
  12188d:	75 12                	jne    1218a1 <_POSIX_signals_Unblock_thread+0x49>
  12188f:	8b 80 d0 00 00 00    	mov    0xd0(%eax),%eax                
  121895:	f7 d0                	not    %eax                           
                                                                      
    /*                                                                
     *  This should only be reached via pthread_kill().               
     */                                                               
                                                                      
    return false;                                                     
  121897:	31 ff                	xor    %edi,%edi                      
   *  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) ) {
  121899:	85 c2                	test   %eax,%edx                      
  12189b:	0f 84 b0 00 00 00    	je     121951 <_POSIX_signals_Unblock_thread+0xf9>
      the_thread->Wait.return_code = EINTR;                           
  1218a1:	c7 43 34 04 00 00 00 	movl   $0x4,0x34(%ebx)                
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
  1218a8:	8b 43 28             	mov    0x28(%ebx),%eax                
                                                                      
      if ( !info ) {                                                  
  1218ab:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  1218af:	75 12                	jne    1218c3 <_POSIX_signals_Unblock_thread+0x6b>
        the_info->si_signo = signo;                                   
  1218b1:	89 30                	mov    %esi,(%eax)                    
        the_info->si_code = SI_USER;                                  
  1218b3:	c7 40 04 01 00 00 00 	movl   $0x1,0x4(%eax)                 
        the_info->si_value.sival_int = 0;                             
  1218ba:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
  1218c1:	eb 0c                	jmp    1218cf <_POSIX_signals_Unblock_thread+0x77>
      } else {                                                        
        *the_info = *info;                                            
  1218c3:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  1218c8:	89 c7                	mov    %eax,%edi                      
  1218ca:	8b 75 10             	mov    0x10(%ebp),%esi                
  1218cd:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
  1218cf:	83 ec 0c             	sub    $0xc,%esp                      
  1218d2:	53                   	push   %ebx                           
  1218d3:	e8 0c f4 fe ff       	call   110ce4 <_Thread_queue_Extract_with_proxy>
      return true;                                                    
  1218d8:	83 c4 10             	add    $0x10,%esp                     
  1218db:	bf 01 00 00 00       	mov    $0x1,%edi                      
  1218e0:	eb 6f                	jmp    121951 <_POSIX_signals_Unblock_thread+0xf9>
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
  1218e2:	8b 80 d0 00 00 00    	mov    0xd0(%eax),%eax                
  1218e8:	f7 d0                	not    %eax                           
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	_Thread_Dispatch_necessary = true;                                   
    }                                                                 
  }                                                                   
  return false;                                                       
  1218ea:	31 ff                	xor    %edi,%edi                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
  1218ec:	85 c2                	test   %eax,%edx                      
  1218ee:	74 61                	je     121951 <_POSIX_signals_Unblock_thread+0xf9>
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
  1218f0:	f7 c1 00 00 00 10    	test   $0x10000000,%ecx               
  1218f6:	74 3d                	je     121935 <_POSIX_signals_Unblock_thread+0xdd>
      the_thread->Wait.return_code = EINTR;                           
  1218f8:	c7 43 34 04 00 00 00 	movl   $0x4,0x34(%ebx)                
      /*                                                              
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
	if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) ) 
  1218ff:	f7 c1 e0 be 03 00    	test   $0x3bee0,%ecx                  
  121905:	74 0b                	je     121912 <_POSIX_signals_Unblock_thread+0xba><== ALWAYS TAKEN
	  _Thread_queue_Extract_with_proxy( the_thread );                    
  121907:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  12190a:	53                   	push   %ebx                           <== NOT EXECUTED
  12190b:	e8 d4 f3 fe ff       	call   110ce4 <_Thread_queue_Extract_with_proxy><== NOT EXECUTED
  121910:	eb 1e                	jmp    121930 <_POSIX_signals_Unblock_thread+0xd8><== NOT EXECUTED
	else if ( _States_Is_delaying(the_thread->current_state) ) {         
  121912:	80 e1 08             	and    $0x8,%cl                       
  121915:	74 3a                	je     121951 <_POSIX_signals_Unblock_thread+0xf9><== NEVER TAKEN
	    (void) _Watchdog_Remove( &the_thread->Timer );                   
  121917:	83 ec 0c             	sub    $0xc,%esp                      
  12191a:	8d 43 48             	lea    0x48(%ebx),%eax                
  12191d:	50                   	push   %eax                           
  12191e:	e8 4d fc fe ff       	call   111570 <_Watchdog_Remove>      
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  121923:	58                   	pop    %eax                           
  121924:	5a                   	pop    %edx                           
  121925:	68 f8 ff 03 10       	push   $0x1003fff8                    
  12192a:	53                   	push   %ebx                           
  12192b:	e8 e4 e9 fe ff       	call   110314 <_Thread_Clear_state>   
  121930:	83 c4 10             	add    $0x10,%esp                     
  121933:	eb 1c                	jmp    121951 <_POSIX_signals_Unblock_thread+0xf9>
	    _Thread_Unblock( the_thread );                                   
	  }                                                                  
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
  121935:	85 c9                	test   %ecx,%ecx                      
  121937:	75 18                	jne    121951 <_POSIX_signals_Unblock_thread+0xf9><== NEVER TAKEN
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  121939:	83 3d a4 a9 12 00 00 	cmpl   $0x0,0x12a9a4                  
  121940:	74 0f                	je     121951 <_POSIX_signals_Unblock_thread+0xf9>
  121942:	3b 1d a8 a9 12 00    	cmp    0x12a9a8,%ebx                  
  121948:	75 07                	jne    121951 <_POSIX_signals_Unblock_thread+0xf9><== NEVER TAKEN
	_Thread_Dispatch_necessary = true;                                   
  12194a:	c6 05 b4 a9 12 00 01 	movb   $0x1,0x12a9b4                  
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
  121951:	89 f8                	mov    %edi,%eax                      
  121953:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  121956:	5b                   	pop    %ebx                           
  121957:	5e                   	pop    %esi                           
  121958:	5f                   	pop    %edi                           
  121959:	c9                   	leave                                 
  12195a:	c3                   	ret                                   
                                                                      

0010b3a4 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
  10b3a4:	55                   	push   %ebp                           
  10b3a5:	89 e5                	mov    %esp,%ebp                      
  10b3a7:	53                   	push   %ebx                           
  10b3a8:	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 );                  
  10b3ab:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b3ae:	50                   	push   %eax                           
  10b3af:	ff 75 08             	pushl  0x8(%ebp)                      
  10b3b2:	68 14 73 12 00       	push   $0x127314                      
  10b3b7:	e8 cc 1a 00 00       	call   10ce88 <_Objects_Get>          
  10b3bc:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10b3be:	83 c4 10             	add    $0x10,%esp                     
  10b3c1:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10b3c5:	75 64                	jne    10b42b <_Rate_monotonic_Timeout+0x87><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
  10b3c7:	8b 40 40             	mov    0x40(%eax),%eax                
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
  10b3ca:	f6 40 11 40          	testb  $0x40,0x11(%eax)               
  10b3ce:	74 18                	je     10b3e8 <_Rate_monotonic_Timeout+0x44>
  10b3d0:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10b3d3:	39 50 20             	cmp    %edx,0x20(%eax)                
  10b3d6:	75 10                	jne    10b3e8 <_Rate_monotonic_Timeout+0x44>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10b3d8:	52                   	push   %edx                           
  10b3d9:	52                   	push   %edx                           
  10b3da:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b3df:	50                   	push   %eax                           
  10b3e0:	e8 0f 1f 00 00       	call   10d2f4 <_Thread_Clear_state>   
            the_thread->Wait.id == the_period->Object.id ) {          
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b3e5:	59                   	pop    %ecx                           
  10b3e6:	eb 10                	jmp    10b3f8 <_Rate_monotonic_Timeout+0x54>
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
  10b3e8:	83 7b 38 01          	cmpl   $0x1,0x38(%ebx)                
  10b3ec:	75 2b                	jne    10b419 <_Rate_monotonic_Timeout+0x75>
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
  10b3ee:	c7 43 38 03 00 00 00 	movl   $0x3,0x38(%ebx)                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b3f5:	83 ec 0c             	sub    $0xc,%esp                      
  10b3f8:	53                   	push   %ebx                           
  10b3f9:	e8 ec fa ff ff       	call   10aeea <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b3fe:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  10b401:	89 43 1c             	mov    %eax,0x1c(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b404:	58                   	pop    %eax                           
  10b405:	5a                   	pop    %edx                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
  10b406:	83 c3 10             	add    $0x10,%ebx                     
  10b409:	53                   	push   %ebx                           
  10b40a:	68 d0 74 12 00       	push   $0x1274d0                      
  10b40f:	e8 b8 31 00 00       	call   10e5cc <_Watchdog_Insert>      
  10b414:	83 c4 10             	add    $0x10,%esp                     
  10b417:	eb 07                	jmp    10b420 <_Rate_monotonic_Timeout+0x7c>
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
  10b419:	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;                                
  10b420:	a1 08 74 12 00       	mov    0x127408,%eax                  
  10b425:	48                   	dec    %eax                           
  10b426:	a3 08 74 12 00       	mov    %eax,0x127408                  
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  10b42b:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b42e:	c9                   	leave                                 
  10b42f:	c3                   	ret                                   
                                                                      

0010aca4 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
  10aca4:	55                   	push   %ebp                           
  10aca5:	89 e5                	mov    %esp,%ebp                      
  10aca7:	56                   	push   %esi                           
  10aca8:	53                   	push   %ebx                           
  10aca9:	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();                 
  10acac:	8b 35 24 42 12 00    	mov    0x124224,%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;                                                    
  10acb2:	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)                                  ||                  
  10acb4:	85 c9                	test   %ecx,%ecx                      
  10acb6:	74 57                	je     10ad0f <_TOD_Validate+0x6b>    <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
  10acb8:	b8 40 42 0f 00       	mov    $0xf4240,%eax                  
  10acbd:	31 d2                	xor    %edx,%edx                      
  10acbf:	f7 f6                	div    %esi                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10acc1:	39 41 18             	cmp    %eax,0x18(%ecx)                
  10acc4:	73 49                	jae    10ad0f <_TOD_Validate+0x6b>    
      (the_tod->ticks  >= ticks_per_second)       ||                  
  10acc6:	83 79 14 3b          	cmpl   $0x3b,0x14(%ecx)               
  10acca:	77 43                	ja     10ad0f <_TOD_Validate+0x6b>    
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
  10accc:	83 79 10 3b          	cmpl   $0x3b,0x10(%ecx)               
  10acd0:	77 3d                	ja     10ad0f <_TOD_Validate+0x6b>    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
  10acd2:	83 79 0c 17          	cmpl   $0x17,0xc(%ecx)                
  10acd6:	77 37                	ja     10ad0f <_TOD_Validate+0x6b>    
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
  10acd8:	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)      ||                  
  10acdb:	85 c0                	test   %eax,%eax                      
  10acdd:	74 30                	je     10ad0f <_TOD_Validate+0x6b>    <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
  10acdf:	83 f8 0c             	cmp    $0xc,%eax                      
  10ace2:	77 2b                	ja     10ad0f <_TOD_Validate+0x6b>    
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
  10ace4:	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)    ||                  
  10ace6:	81 fe c3 07 00 00    	cmp    $0x7c3,%esi                    
  10acec:	76 21                	jbe    10ad0f <_TOD_Validate+0x6b>    
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
  10acee:	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)          ||                  
  10acf1:	85 d2                	test   %edx,%edx                      
  10acf3:	74 1a                	je     10ad0f <_TOD_Validate+0x6b>    <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
  10acf5:	83 e6 03             	and    $0x3,%esi                      
  10acf8:	75 09                	jne    10ad03 <_TOD_Validate+0x5f>    
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  10acfa:	8b 04 85 f4 13 12 00 	mov    0x1213f4(,%eax,4),%eax         
  10ad01:	eb 07                	jmp    10ad0a <_TOD_Validate+0x66>    
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
  10ad03:	8b 04 85 c0 13 12 00 	mov    0x1213c0(,%eax,4),%eax         
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  10ad0a:	39 c2                	cmp    %eax,%edx                      
  10ad0c:	0f 96 c3             	setbe  %bl                            
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  10ad0f:	88 d8                	mov    %bl,%al                        
  10ad11:	5b                   	pop    %ebx                           
  10ad12:	5e                   	pop    %esi                           
  10ad13:	c9                   	leave                                 
  10ad14:	c3                   	ret                                   
                                                                      

0010ba2c <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
  10ba2c:	55                   	push   %ebp                           
  10ba2d:	89 e5                	mov    %esp,%ebp                      
  10ba2f:	57                   	push   %edi                           
  10ba30:	56                   	push   %esi                           
  10ba31:	53                   	push   %ebx                           
  10ba32:	83 ec 28             	sub    $0x28,%esp                     
  10ba35:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10ba38:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10ba3b:	8a 45 10             	mov    0x10(%ebp),%al                 
  10ba3e:	88 45 e7             	mov    %al,-0x19(%ebp)                
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
  10ba41:	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 );                                
  10ba44:	53                   	push   %ebx                           
  10ba45:	e8 3e 0d 00 00       	call   10c788 <_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 )                  
  10ba4a:	83 c4 10             	add    $0x10,%esp                     
  10ba4d:	39 7b 14             	cmp    %edi,0x14(%ebx)                
  10ba50:	74 0c                	je     10ba5e <_Thread_Change_priority+0x32>
    _Thread_Set_priority( the_thread, new_priority );                 
  10ba52:	50                   	push   %eax                           
  10ba53:	50                   	push   %eax                           
  10ba54:	57                   	push   %edi                           
  10ba55:	53                   	push   %ebx                           
  10ba56:	e8 f5 0b 00 00       	call   10c650 <_Thread_Set_priority>  
  10ba5b:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _ISR_Disable( level );                                              
  10ba5e:	9c                   	pushf                                 
  10ba5f:	fa                   	cli                                   
  10ba60:	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;                                  
  10ba61:	8b 43 10             	mov    0x10(%ebx),%eax                
  if ( state != STATES_TRANSIENT ) {                                  
  10ba64:	83 f8 04             	cmp    $0x4,%eax                      
  10ba67:	74 2f                	je     10ba98 <_Thread_Change_priority+0x6c>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
  10ba69:	83 e6 04             	and    $0x4,%esi                      
  10ba6c:	75 08                	jne    10ba76 <_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);                         
  10ba6e:	89 c2                	mov    %eax,%edx                      
  10ba70:	83 e2 fb             	and    $0xfffffffb,%edx               
  10ba73:	89 53 10             	mov    %edx,0x10(%ebx)                
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
  10ba76:	51                   	push   %ecx                           
  10ba77:	9d                   	popf                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
  10ba78:	a9 e0 be 03 00       	test   $0x3bee0,%eax                  
  10ba7d:	0f 84 c0 00 00 00    	je     10bb43 <_Thread_Change_priority+0x117>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
  10ba83:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10ba86:	8b 43 44             	mov    0x44(%ebx),%eax                
  10ba89:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
  10ba8c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ba8f:	5b                   	pop    %ebx                           
  10ba90:	5e                   	pop    %esi                           
  10ba91:	5f                   	pop    %edi                           
  10ba92:	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 );    
  10ba93:	e9 30 0b 00 00       	jmp    10c5c8 <_Thread_queue_Requeue> 
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
  10ba98:	83 e6 04             	and    $0x4,%esi                      
  10ba9b:	75 53                	jne    10baf0 <_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 );
  10ba9d:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10baa4:	8b 83 90 00 00 00    	mov    0x90(%ebx),%eax                
  10baaa:	66 8b 93 96 00 00 00 	mov    0x96(%ebx),%dx                 
  10bab1:	66 09 10             	or     %dx,(%eax)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10bab4:	66 a1 88 43 12 00    	mov    0x124388,%ax                   
  10baba:	0b 83 94 00 00 00    	or     0x94(%ebx),%eax                
  10bac0:	66 a3 88 43 12 00    	mov    %ax,0x124388                   
                                                                      
    _Priority_bit_map_Add( &the_thread->Priority_map );               
    if ( prepend_it )                                                 
  10bac6:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  10baca:	8b 83 8c 00 00 00    	mov    0x8c(%ebx),%eax                
  10bad0:	74 0e                	je     10bae0 <_Thread_Change_priority+0xb4>
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  10bad2:	89 43 04             	mov    %eax,0x4(%ebx)                 
  before_node           = after_node->next;                           
  10bad5:	8b 10                	mov    (%eax),%edx                    
  after_node->next      = the_node;                                   
  10bad7:	89 18                	mov    %ebx,(%eax)                    
  the_node->next        = before_node;                                
  10bad9:	89 13                	mov    %edx,(%ebx)                    
  before_node->previous = the_node;                                   
  10badb:	89 5a 04             	mov    %ebx,0x4(%edx)                 
  10bade:	eb 10                	jmp    10baf0 <_Thread_Change_priority+0xc4>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10bae0:	8d 50 04             	lea    0x4(%eax),%edx                 
  10bae3:	89 13                	mov    %edx,(%ebx)                    
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  10bae5:	8b 50 08             	mov    0x8(%eax),%edx                 
  the_chain->last     = the_node;                                     
  10bae8:	89 58 08             	mov    %ebx,0x8(%eax)                 
  old_last_node->next = the_node;                                     
  10baeb:	89 1a                	mov    %ebx,(%edx)                    
  the_node->previous  = old_last_node;                                
  10baed:	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 );                                                
  10baf0:	51                   	push   %ecx                           
  10baf1:	9d                   	popf                                  
  10baf2:	fa                   	cli                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  10baf3:	66 8b 1d 88 43 12 00 	mov    0x124388,%bx                   
  10bafa:	31 c0                	xor    %eax,%eax                      
  10bafc:	89 c2                	mov    %eax,%edx                      
  10bafe:	66 0f bc d3          	bsf    %bx,%dx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10bb02:	0f b7 d2             	movzwl %dx,%edx                       
  10bb05:	66 8b 9c 12 f8 43 12 	mov    0x1243f8(%edx,%edx,1),%bx      
  10bb0c:	00                                                          
  10bb0d:	66 0f bc c3          	bsf    %bx,%ax                        
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
  10bb11:	c1 e2 04             	shl    $0x4,%edx                      
  10bb14:	0f b7 c0             	movzwl %ax,%eax                       
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
    _Thread_Ready_chain[ _Priority_bit_map_Get_highest() ].first;     
  10bb17:	8d 04 02             	lea    (%edx,%eax,1),%eax             
  10bb1a:	6b c0 0c             	imul   $0xc,%eax,%eax                 
  10bb1d:	03 05 b0 42 12 00    	add    0x1242b0,%eax                  
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
  10bb23:	8b 10                	mov    (%eax),%edx                    
  10bb25:	89 15 38 48 12 00    	mov    %edx,0x124838                  
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
  10bb2b:	a1 34 48 12 00       	mov    0x124834,%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() &&                       
  10bb30:	39 d0                	cmp    %edx,%eax                      
  10bb32:	74 0d                	je     10bb41 <_Thread_Change_priority+0x115>
  10bb34:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10bb38:	74 07                	je     10bb41 <_Thread_Change_priority+0x115>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  10bb3a:	c6 05 40 48 12 00 01 	movb   $0x1,0x124840                  
  _ISR_Enable( level );                                               
  10bb41:	51                   	push   %ecx                           
  10bb42:	9d                   	popf                                  
}                                                                     
  10bb43:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bb46:	5b                   	pop    %ebx                           
  10bb47:	5e                   	pop    %esi                           
  10bb48:	5f                   	pop    %edi                           
  10bb49:	c9                   	leave                                 
  10bb4a:	c3                   	ret                                   
                                                                      

0010bb4c <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
  10bb4c:	55                   	push   %ebp                           
  10bb4d:	89 e5                	mov    %esp,%ebp                      
  10bb4f:	53                   	push   %ebx                           
  10bb50:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10bb53:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10bb56:	9c                   	pushf                                 
  10bb57:	fa                   	cli                                   
  10bb58:	59                   	pop    %ecx                           
    current_state = the_thread->current_state;                        
  10bb59:	8b 58 10             	mov    0x10(%eax),%ebx                
                                                                      
    if ( current_state & state ) {                                    
  10bb5c:	85 da                	test   %ebx,%edx                      
  10bb5e:	74 71                	je     10bbd1 <_Thread_Clear_state+0x85>
  10bb60:	f7 d2                	not    %edx                           
  10bb62:	21 da                	and    %ebx,%edx                      
      current_state =                                                 
      the_thread->current_state = _States_Clear( state, current_state );
  10bb64:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
  10bb67:	85 d2                	test   %edx,%edx                      
  10bb69:	75 66                	jne    10bbd1 <_Thread_Clear_state+0x85>
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10bb6b:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10bb71:	66 8b 98 96 00 00 00 	mov    0x96(%eax),%bx                 
  10bb78:	66 09 1a             	or     %bx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10bb7b:	66 8b 15 88 43 12 00 	mov    0x124388,%dx                   
  10bb82:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  10bb88:	66 89 15 88 43 12 00 	mov    %dx,0x124388                   
                                                                      
        _Priority_bit_map_Add( &the_thread->Priority_map );           
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  10bb8f:	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;                  
  10bb95:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10bb98:	89 18                	mov    %ebx,(%eax)                    
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  10bb9a:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10bb9d:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10bba0:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10bba2:	89 58 04             	mov    %ebx,0x4(%eax)                 
                                                                      
        _ISR_Flash( level );                                          
  10bba5:	51                   	push   %ecx                           
  10bba6:	9d                   	popf                                  
  10bba7:	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 ) {
  10bba8:	8b 50 14             	mov    0x14(%eax),%edx                
  10bbab:	8b 1d 38 48 12 00    	mov    0x124838,%ebx                  
  10bbb1:	3b 53 14             	cmp    0x14(%ebx),%edx                
  10bbb4:	73 1b                	jae    10bbd1 <_Thread_Clear_state+0x85>
          _Thread_Heir = the_thread;                                  
  10bbb6:	a3 38 48 12 00       	mov    %eax,0x124838                  
          if ( _Thread_Executing->is_preemptible ||                   
  10bbbb:	a1 34 48 12 00       	mov    0x124834,%eax                  
  10bbc0:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10bbc4:	75 04                	jne    10bbca <_Thread_Clear_state+0x7e>
  10bbc6:	85 d2                	test   %edx,%edx                      
  10bbc8:	75 07                	jne    10bbd1 <_Thread_Clear_state+0x85><== ALWAYS TAKEN
               the_thread->current_priority == 0 )                    
            _Thread_Dispatch_necessary = true;                        
  10bbca:	c6 05 40 48 12 00 01 	movb   $0x1,0x124840                  
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
  10bbd1:	51                   	push   %ecx                           
  10bbd2:	9d                   	popf                                  
}                                                                     
  10bbd3:	5b                   	pop    %ebx                           
  10bbd4:	c9                   	leave                                 
  10bbd5:	c3                   	ret                                   
                                                                      

0010bd4c <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10bd4c:	55                   	push   %ebp                           
  10bd4d:	89 e5                	mov    %esp,%ebp                      
  10bd4f:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10bd52:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bd55:	50                   	push   %eax                           
  10bd56:	ff 75 08             	pushl  0x8(%ebp)                      
  10bd59:	e8 82 01 00 00       	call   10bee0 <_Thread_Get>           
  switch ( location ) {                                               
  10bd5e:	83 c4 10             	add    $0x10,%esp                     
  10bd61:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10bd65:	75 1b                	jne    10bd82 <_Thread_Delay_ended+0x36><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
  10bd67:	52                   	push   %edx                           
  10bd68:	52                   	push   %edx                           
  10bd69:	68 18 00 00 10       	push   $0x10000018                    
  10bd6e:	50                   	push   %eax                           
  10bd6f:	e8 d8 fd ff ff       	call   10bb4c <_Thread_Clear_state>   
  10bd74:	a1 e4 42 12 00       	mov    0x1242e4,%eax                  
  10bd79:	48                   	dec    %eax                           
  10bd7a:	a3 e4 42 12 00       	mov    %eax,0x1242e4                  
  10bd7f:	83 c4 10             	add    $0x10,%esp                     
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10bd82:	c9                   	leave                                 
  10bd83:	c3                   	ret                                   
                                                                      

0010bd84 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
  10bd84:	55                   	push   %ebp                           
  10bd85:	89 e5                	mov    %esp,%ebp                      
  10bd87:	57                   	push   %edi                           
  10bd88:	56                   	push   %esi                           
  10bd89:	53                   	push   %ebx                           
  10bd8a:	83 ec 1c             	sub    $0x1c,%esp                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  10bd8d:	8b 1d 34 48 12 00    	mov    0x124834,%ebx                  
  _ISR_Disable( level );                                              
  10bd93:	9c                   	pushf                                 
  10bd94:	fa                   	cli                                   
  10bd95:	58                   	pop    %eax                           
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
  10bd96:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
  10bd99:	e9 f9 00 00 00       	jmp    10be97 <_Thread_Dispatch+0x113>
    heir = _Thread_Heir;                                              
  10bd9e:	8b 35 38 48 12 00    	mov    0x124838,%esi                  
    _Thread_Dispatch_disable_level = 1;                               
  10bda4:	c7 05 e4 42 12 00 01 	movl   $0x1,0x1242e4                  
  10bdab:	00 00 00                                                    
    _Thread_Dispatch_necessary = false;                               
  10bdae:	c6 05 40 48 12 00 00 	movb   $0x0,0x124840                  
    _Thread_Executing = heir;                                         
  10bdb5:	89 35 34 48 12 00    	mov    %esi,0x124834                  
    /*                                                                
     *  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 )                                          
  10bdbb:	39 de                	cmp    %ebx,%esi                      
  10bdbd:	0f 84 e2 00 00 00    	je     10bea5 <_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 )
  10bdc3:	83 7e 7c 01          	cmpl   $0x1,0x7c(%esi)                
  10bdc7:	75 09                	jne    10bdd2 <_Thread_Dispatch+0x4e> 
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
  10bdc9:	8b 15 b4 42 12 00    	mov    0x1242b4,%edx                  
  10bdcf:	89 56 78             	mov    %edx,0x78(%esi)                
                                                                      
    _ISR_Enable( level );                                             
  10bdd2:	50                   	push   %eax                           
  10bdd3:	9d                   	popf                                  
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
  10bdd4:	83 ec 0c             	sub    $0xc,%esp                      
  10bdd7:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10bdda:	50                   	push   %eax                           
  10bddb:	e8 08 36 00 00       	call   10f3e8 <_TOD_Get_uptime>       
        _Timestamp_Subtract(                                          
  10bde0:	83 c4 0c             	add    $0xc,%esp                      
  10bde3:	57                   	push   %edi                           
  10bde4:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10bde7:	50                   	push   %eax                           
  10bde8:	68 98 43 12 00       	push   $0x124398                      
  10bded:	e8 32 0c 00 00       	call   10ca24 <_Timespec_Subtract>    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
  10bdf2:	58                   	pop    %eax                           
  10bdf3:	5a                   	pop    %edx                           
  10bdf4:	57                   	push   %edi                           
  10bdf5:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  10bdfb:	50                   	push   %eax                           
  10bdfc:	e8 f3 0b 00 00       	call   10c9f4 <_Timespec_Add_to>      
        _Thread_Time_of_last_context_switch = uptime;                 
  10be01:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10be04:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10be07:	a3 98 43 12 00       	mov    %eax,0x124398                  
  10be0c:	89 15 9c 43 12 00    	mov    %edx,0x12439c                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
  10be12:	a1 6c 43 12 00       	mov    0x12436c,%eax                  
  10be17:	83 c4 10             	add    $0x10,%esp                     
  10be1a:	85 c0                	test   %eax,%eax                      
  10be1c:	74 10                	je     10be2e <_Thread_Dispatch+0xaa> <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
  10be1e:	8b 10                	mov    (%eax),%edx                    
  10be20:	89 93 f0 00 00 00    	mov    %edx,0xf0(%ebx)                
      *_Thread_libc_reent = heir->libc_reent;                         
  10be26:	8b 96 f0 00 00 00    	mov    0xf0(%esi),%edx                
  10be2c:	89 10                	mov    %edx,(%eax)                    
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
  10be2e:	51                   	push   %ecx                           
  10be2f:	51                   	push   %ecx                           
  10be30:	56                   	push   %esi                           
  10be31:	53                   	push   %ebx                           
  10be32:	e8 25 0e 00 00       	call   10cc5c <_User_extensions_Thread_switch>
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
  10be37:	58                   	pop    %eax                           
  10be38:	5a                   	pop    %edx                           
  10be39:	81 c6 d4 00 00 00    	add    $0xd4,%esi                     
  10be3f:	56                   	push   %esi                           
  10be40:	8d 83 d4 00 00 00    	lea    0xd4(%ebx),%eax                
  10be46:	50                   	push   %eax                           
  10be47:	e8 d4 10 00 00       	call   10cf20 <_CPU_Context_switch>   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
  10be4c:	83 c4 10             	add    $0x10,%esp                     
  10be4f:	83 bb ec 00 00 00 00 	cmpl   $0x0,0xec(%ebx)                
  10be56:	74 36                	je     10be8e <_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 );                      
  10be58:	a1 68 43 12 00       	mov    0x124368,%eax                  
  10be5d:	39 c3                	cmp    %eax,%ebx                      
  10be5f:	74 2d                	je     10be8e <_Thread_Dispatch+0x10a>
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
  10be61:	85 c0                	test   %eax,%eax                      
  10be63:	74 11                	je     10be76 <_Thread_Dispatch+0xf2> 
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
  10be65:	83 ec 0c             	sub    $0xc,%esp                      
  10be68:	05 ec 00 00 00       	add    $0xec,%eax                     
  10be6d:	50                   	push   %eax                           
  10be6e:	e8 e1 10 00 00       	call   10cf54 <_CPU_Context_save_fp>  
  10be73:	83 c4 10             	add    $0x10,%esp                     
      _Context_Restore_fp( &executing->fp_context );                  
  10be76:	83 ec 0c             	sub    $0xc,%esp                      
  10be79:	8d 83 ec 00 00 00    	lea    0xec(%ebx),%eax                
  10be7f:	50                   	push   %eax                           
  10be80:	e8 d9 10 00 00       	call   10cf5e <_CPU_Context_restore_fp>
      _Thread_Allocated_fp = executing;                               
  10be85:	89 1d 68 43 12 00    	mov    %ebx,0x124368                  
  10be8b:	83 c4 10             	add    $0x10,%esp                     
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
  10be8e:	8b 1d 34 48 12 00    	mov    0x124834,%ebx                  
                                                                      
    _ISR_Disable( level );                                            
  10be94:	9c                   	pushf                                 
  10be95:	fa                   	cli                                   
  10be96:	58                   	pop    %eax                           
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
  10be97:	8a 15 40 48 12 00    	mov    0x124840,%dl                   
  10be9d:	84 d2                	test   %dl,%dl                        
  10be9f:	0f 85 f9 fe ff ff    	jne    10bd9e <_Thread_Dispatch+0x1a> 
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
  10bea5:	c7 05 e4 42 12 00 00 	movl   $0x0,0x1242e4                  
  10beac:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10beaf:	50                   	push   %eax                           
  10beb0:	9d                   	popf                                  
                                                                      
  _API_extensions_Run_postswitch();                                   
  10beb1:	e8 0d ea ff ff       	call   10a8c3 <_API_extensions_Run_postswitch>
}                                                                     
  10beb6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10beb9:	5b                   	pop    %ebx                           
  10beba:	5e                   	pop    %esi                           
  10bebb:	5f                   	pop    %edi                           
  10bebc:	c9                   	leave                                 
  10bebd:	c3                   	ret                                   
                                                                      

00110f00 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
  110f00:	55                   	push   %ebp                           
  110f01:	89 e5                	mov    %esp,%ebp                      
  110f03:	53                   	push   %ebx                           
  110f04:	83 ec 14             	sub    $0x14,%esp                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
  110f07:	8b 1d 34 48 12 00    	mov    0x124834,%ebx                  
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  110f0d:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  _ISR_Set_level(level);                                              
  110f13:	85 c0                	test   %eax,%eax                      
  110f15:	74 03                	je     110f1a <_Thread_Handler+0x1a>  
  110f17:	fa                   	cli                                   
  110f18:	eb 01                	jmp    110f1b <_Thread_Handler+0x1b>  
  110f1a:	fb                   	sti                                   
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
  110f1b:	a0 a0 3f 12 00       	mov    0x123fa0,%al                   
  110f20:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    doneConstructors = 1;                                             
  110f23:	c6 05 a0 3f 12 00 01 	movb   $0x1,0x123fa0                  
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
  110f2a:	83 bb ec 00 00 00 00 	cmpl   $0x0,0xec(%ebx)                
  110f31:	74 24                	je     110f57 <_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 );                      
  110f33:	a1 68 43 12 00       	mov    0x124368,%eax                  
  110f38:	39 c3                	cmp    %eax,%ebx                      
  110f3a:	74 1b                	je     110f57 <_Thread_Handler+0x57>  
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
  110f3c:	85 c0                	test   %eax,%eax                      
  110f3e:	74 11                	je     110f51 <_Thread_Handler+0x51>  
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
  110f40:	83 ec 0c             	sub    $0xc,%esp                      
  110f43:	05 ec 00 00 00       	add    $0xec,%eax                     
  110f48:	50                   	push   %eax                           
  110f49:	e8 06 c0 ff ff       	call   10cf54 <_CPU_Context_save_fp>  
  110f4e:	83 c4 10             	add    $0x10,%esp                     
        _Thread_Allocated_fp = executing;                             
  110f51:	89 1d 68 43 12 00    	mov    %ebx,0x124368                  
  /*                                                                  
   * 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 );                         
  110f57:	83 ec 0c             	sub    $0xc,%esp                      
  110f5a:	53                   	push   %ebx                           
  110f5b:	e8 ac bb ff ff       	call   10cb0c <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
  110f60:	e8 59 af ff ff       	call   10bebe <_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) */ {                 
  110f65:	83 c4 10             	add    $0x10,%esp                     
  110f68:	80 7d f7 00          	cmpb   $0x0,-0x9(%ebp)                
  110f6c:	75 05                	jne    110f73 <_Thread_Handler+0x73>  
      INIT_NAME ();                                                   
  110f6e:	e8 5d be 00 00       	call   11cdd0 <__start_set_sysctl_set>
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  110f73:	8b 83 a0 00 00 00    	mov    0xa0(%ebx),%eax                
  110f79:	85 c0                	test   %eax,%eax                      
  110f7b:	75 0b                	jne    110f88 <_Thread_Handler+0x88>  
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
  110f7d:	83 ec 0c             	sub    $0xc,%esp                      
  110f80:	ff b3 a8 00 00 00    	pushl  0xa8(%ebx)                     
  110f86:	eb 0c                	jmp    110f94 <_Thread_Handler+0x94>  
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
  110f88:	48                   	dec    %eax                           
  110f89:	75 15                	jne    110fa0 <_Thread_Handler+0xa0>  <== NEVER TAKEN
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
  110f8b:	83 ec 0c             	sub    $0xc,%esp                      
  110f8e:	ff b3 a4 00 00 00    	pushl  0xa4(%ebx)                     
  110f94:	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 =                               
  110f9a:	89 43 28             	mov    %eax,0x28(%ebx)                
  110f9d:	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 );                       
  110fa0:	83 ec 0c             	sub    $0xc,%esp                      
  110fa3:	53                   	push   %ebx                           
  110fa4:	e8 94 bb ff ff       	call   10cb3d <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
  110fa9:	83 c4 0c             	add    $0xc,%esp                      
  110fac:	6a 05                	push   $0x5                           
  110fae:	6a 01                	push   $0x1                           
  110fb0:	6a 00                	push   $0x0                           
  110fb2:	e8 69 a2 ff ff       	call   10b220 <_Internal_error_Occurred>
                                                                      

0010bf50 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
  10bf50:	55                   	push   %ebp                           
  10bf51:	89 e5                	mov    %esp,%ebp                      
  10bf53:	57                   	push   %edi                           
  10bf54:	56                   	push   %esi                           
  10bf55:	53                   	push   %ebx                           
  10bf56:	83 ec 1c             	sub    $0x1c,%esp                     
  10bf59:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10bf5c:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10bf5f:	8b 75 14             	mov    0x14(%ebp),%esi                
  10bf62:	8a 55 18             	mov    0x18(%ebp),%dl                 
  10bf65:	8a 45 20             	mov    0x20(%ebp),%al                 
  10bf68:	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;                             
  10bf6b:	c7 83 f4 00 00 00 00 	movl   $0x0,0xf4(%ebx)                
  10bf72:	00 00 00                                                    
  10bf75:	c7 83 f8 00 00 00 00 	movl   $0x0,0xf8(%ebx)                
  10bf7c:	00 00 00                                                    
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
  10bf7f:	c7 83 f0 00 00 00 00 	movl   $0x0,0xf0(%ebx)                
  10bf86:	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 ) {                                              
  10bf89:	85 c9                	test   %ecx,%ecx                      
  10bf8b:	75 31                	jne    10bfbe <_Thread_Initialize+0x6e>
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
  10bf8d:	51                   	push   %ecx                           
  10bf8e:	51                   	push   %ecx                           
  10bf8f:	56                   	push   %esi                           
  10bf90:	53                   	push   %ebx                           
  10bf91:	88 55 e0             	mov    %dl,-0x20(%ebp)                
  10bf94:	e8 63 08 00 00       	call   10c7fc <_Thread_Stack_Allocate>
      if ( !actual_stack_size || actual_stack_size < stack_size )     
  10bf99:	83 c4 10             	add    $0x10,%esp                     
  10bf9c:	39 f0                	cmp    %esi,%eax                      
  10bf9e:	8a 55 e0             	mov    -0x20(%ebp),%dl                
  10bfa1:	0f 82 c1 01 00 00    	jb     10c168 <_Thread_Initialize+0x218>
  10bfa7:	85 c0                	test   %eax,%eax                      
  10bfa9:	0f 84 b9 01 00 00    	je     10c168 <_Thread_Initialize+0x218><== NEVER TAKEN
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
  10bfaf:	8b 8b d0 00 00 00    	mov    0xd0(%ebx),%ecx                
      the_thread->Start.core_allocated_stack = true;                  
  10bfb5:	c6 83 c0 00 00 00 01 	movb   $0x1,0xc0(%ebx)                
  10bfbc:	eb 09                	jmp    10bfc7 <_Thread_Initialize+0x77>
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
  10bfbe:	c6 83 c0 00 00 00 00 	movb   $0x0,0xc0(%ebx)                
  10bfc5:	89 f0                	mov    %esi,%eax                      
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
  10bfc7:	89 8b c8 00 00 00    	mov    %ecx,0xc8(%ebx)                
  the_stack->size = size;                                             
  10bfcd:	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;                                                   
  10bfd3:	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 ) {                                                    
  10bfd5:	84 d2                	test   %dl,%dl                        
  10bfd7:	74 17                	je     10bff0 <_Thread_Initialize+0xa0>
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
  10bfd9:	83 ec 0c             	sub    $0xc,%esp                      
  10bfdc:	6a 6c                	push   $0x6c                          
  10bfde:	e8 df 0e 00 00       	call   10cec2 <_Workspace_Allocate>   
  10bfe3:	89 c7                	mov    %eax,%edi                      
      if ( !fp_area )                                                 
  10bfe5:	83 c4 10             	add    $0x10,%esp                     
  10bfe8:	85 c0                	test   %eax,%eax                      
  10bfea:	0f 84 08 01 00 00    	je     10c0f8 <_Thread_Initialize+0x1a8>
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
  10bff0:	89 bb ec 00 00 00    	mov    %edi,0xec(%ebx)                
    the_thread->Start.fp_context = fp_area;                           
  10bff6:	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;                        
  10bffc:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10c003:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
  the_watchdog->id        = id;                                       
  10c00a:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10c011:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c018:	a1 78 43 12 00       	mov    0x124378,%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;                                             
  10c01d:	31 f6                	xor    %esi,%esi                      
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c01f:	85 c0                	test   %eax,%eax                      
  10c021:	74 1d                	je     10c040 <_Thread_Initialize+0xf0>
    extensions_area = _Workspace_Allocate(                            
  10c023:	83 ec 0c             	sub    $0xc,%esp                      
  10c026:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax              
  10c02d:	50                   	push   %eax                           
  10c02e:	e8 8f 0e 00 00       	call   10cec2 <_Workspace_Allocate>   
  10c033:	89 c6                	mov    %eax,%esi                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
  10c035:	83 c4 10             	add    $0x10,%esp                     
  10c038:	85 c0                	test   %eax,%eax                      
  10c03a:	0f 84 ba 00 00 00    	je     10c0fa <_Thread_Initialize+0x1aa>
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10c040:	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 ) {                                     
  10c046:	85 f6                	test   %esi,%esi                      
  10c048:	74 16                	je     10c060 <_Thread_Initialize+0x110>
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
  10c04a:	8b 15 78 43 12 00    	mov    0x124378,%edx                  
  10c050:	31 c0                	xor    %eax,%eax                      
  10c052:	eb 08                	jmp    10c05c <_Thread_Initialize+0x10c>
      the_thread->extensions[i] = NULL;                               
  10c054:	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++ )              
  10c05b:	40                   	inc    %eax                           
  10c05c:	39 d0                	cmp    %edx,%eax                      
  10c05e:	76 f4                	jbe    10c054 <_Thread_Initialize+0x104>
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  10c060:	8a 45 e7             	mov    -0x19(%ebp),%al                
  10c063:	88 83 ac 00 00 00    	mov    %al,0xac(%ebx)                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  10c069:	8b 45 24             	mov    0x24(%ebp),%eax                
  10c06c:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)                
  the_thread->Start.budget_callout   = budget_callout;                
  10c072:	8b 45 28             	mov    0x28(%ebp),%eax                
  10c075:	89 83 b4 00 00 00    	mov    %eax,0xb4(%ebx)                
                                                                      
  switch ( budget_algorithm ) {                                       
  10c07b:	83 7d 24 02          	cmpl   $0x2,0x24(%ebp)                
  10c07f:	75 08                	jne    10c089 <_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;    
  10c081:	a1 b4 42 12 00       	mov    0x1242b4,%eax                  
  10c086:	89 43 78             	mov    %eax,0x78(%ebx)                
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
  10c089:	8b 45 2c             	mov    0x2c(%ebp),%eax                
  10c08c:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  10c092:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)                
  the_thread->Wait.queue              = NULL;                         
  10c099:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  the_thread->resource_count          = 0;                            
  10c0a0:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  the_thread->real_priority           = priority;                     
  10c0a7:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c0aa:	89 43 18             	mov    %eax,0x18(%ebx)                
  the_thread->Start.initial_priority  = priority;                     
  10c0ad:	89 83 bc 00 00 00    	mov    %eax,0xbc(%ebx)                
  _Thread_Set_priority( the_thread, priority );                       
  10c0b3:	52                   	push   %edx                           
  10c0b4:	52                   	push   %edx                           
  10c0b5:	50                   	push   %eax                           
  10c0b6:	53                   	push   %ebx                           
  10c0b7:	e8 94 05 00 00       	call   10c650 <_Thread_Set_priority>  
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
  10c0bc:	c7 83 84 00 00 00 00 	movl   $0x0,0x84(%ebx)                
  10c0c3:	00 00 00                                                    
  10c0c6:	c7 83 88 00 00 00 00 	movl   $0x0,0x88(%ebx)                
  10c0cd:	00 00 00                                                    
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10c0d0:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c0d3:	8b 40 1c             	mov    0x1c(%eax),%eax                
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10c0d6:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c0da:	89 1c 90             	mov    %ebx,(%eax,%edx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10c0dd:	8b 45 30             	mov    0x30(%ebp),%eax                
  10c0e0:	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 );    
  10c0e3:	89 1c 24             	mov    %ebx,(%esp)                    
  10c0e6:	e8 c1 0a 00 00       	call   10cbac <_User_extensions_Thread_create>
  10c0eb:	88 c2                	mov    %al,%dl                        
  if ( extension_status )                                             
  10c0ed:	83 c4 10             	add    $0x10,%esp                     
    return true;                                                      
  10c0f0:	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 )                                             
  10c0f2:	84 d2                	test   %dl,%dl                        
  10c0f4:	74 04                	je     10c0fa <_Thread_Initialize+0x1aa>
  10c0f6:	eb 72                	jmp    10c16a <_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;                                             
  10c0f8:	31 f6                	xor    %esi,%esi                      
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
  10c0fa:	8b 83 f0 00 00 00    	mov    0xf0(%ebx),%eax                
  10c100:	85 c0                	test   %eax,%eax                      
  10c102:	74 0c                	je     10c110 <_Thread_Initialize+0x1c0>
    _Workspace_Free( the_thread->libc_reent );                        
  10c104:	83 ec 0c             	sub    $0xc,%esp                      
  10c107:	50                   	push   %eax                           
  10c108:	e8 ce 0d 00 00       	call   10cedb <_Workspace_Free>       
  10c10d:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10c110:	8b 83 f4 00 00 00    	mov    0xf4(%ebx),%eax                
  10c116:	85 c0                	test   %eax,%eax                      
  10c118:	74 0c                	je     10c126 <_Thread_Initialize+0x1d6>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c11a:	83 ec 0c             	sub    $0xc,%esp                      
  10c11d:	50                   	push   %eax                           
  10c11e:	e8 b8 0d 00 00       	call   10cedb <_Workspace_Free>       
  10c123:	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] )                              
  10c126:	8b 83 f8 00 00 00    	mov    0xf8(%ebx),%eax                
  10c12c:	85 c0                	test   %eax,%eax                      
  10c12e:	74 0c                	je     10c13c <_Thread_Initialize+0x1ec>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c130:	83 ec 0c             	sub    $0xc,%esp                      
  10c133:	50                   	push   %eax                           
  10c134:	e8 a2 0d 00 00       	call   10cedb <_Workspace_Free>       
  10c139:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  if ( extensions_area )                                              
  10c13c:	85 f6                	test   %esi,%esi                      
  10c13e:	74 0c                	je     10c14c <_Thread_Initialize+0x1fc>
    (void) _Workspace_Free( extensions_area );                        
  10c140:	83 ec 0c             	sub    $0xc,%esp                      
  10c143:	56                   	push   %esi                           
  10c144:	e8 92 0d 00 00       	call   10cedb <_Workspace_Free>       
  10c149:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
  10c14c:	85 ff                	test   %edi,%edi                      
  10c14e:	74 0c                	je     10c15c <_Thread_Initialize+0x20c>
      (void) _Workspace_Free( fp_area );                              
  10c150:	83 ec 0c             	sub    $0xc,%esp                      
  10c153:	57                   	push   %edi                           
  10c154:	e8 82 0d 00 00       	call   10cedb <_Workspace_Free>       
  10c159:	83 c4 10             	add    $0x10,%esp                     
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  10c15c:	83 ec 0c             	sub    $0xc,%esp                      
  10c15f:	53                   	push   %ebx                           
  10c160:	e8 e7 06 00 00       	call   10c84c <_Thread_Stack_Free>    
  return false;                                                       
  10c165:	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 */
  10c168:	31 c0                	xor    %eax,%eax                      
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10c16a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c16d:	5b                   	pop    %ebx                           
  10c16e:	5e                   	pop    %esi                           
  10c16f:	5f                   	pop    %edi                           
  10c170:	c9                   	leave                                 
  10c171:	c3                   	ret                                   
                                                                      

0010f3f0 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
  10f3f0:	55                   	push   %ebp                           
  10f3f1:	89 e5                	mov    %esp,%ebp                      
  10f3f3:	53                   	push   %ebx                           
  10f3f4:	8b 45 08             	mov    0x8(%ebp),%eax                 
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10f3f7:	9c                   	pushf                                 
  10f3f8:	fa                   	cli                                   
  10f3f9:	59                   	pop    %ecx                           
                                                                      
  current_state = the_thread->current_state;                          
  10f3fa:	8b 50 10             	mov    0x10(%eax),%edx                
  if ( current_state & STATES_SUSPENDED ) {                           
  10f3fd:	f6 c2 02             	test   $0x2,%dl                       
  10f400:	74 70                	je     10f472 <_Thread_Resume+0x82>   <== NEVER TAKEN
  10f402:	83 e2 fd             	and    $0xfffffffd,%edx               
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
  10f405:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
  10f408:	85 d2                	test   %edx,%edx                      
  10f40a:	75 66                	jne    10f472 <_Thread_Resume+0x82>   
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10f40c:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10f412:	66 8b 98 96 00 00 00 	mov    0x96(%eax),%bx                 
  10f419:	66 09 1a             	or     %bx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10f41c:	66 8b 15 50 74 12 00 	mov    0x127450,%dx                   
  10f423:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  10f429:	66 89 15 50 74 12 00 	mov    %dx,0x127450                   
                                                                      
      _Priority_bit_map_Add( &the_thread->Priority_map );             
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  10f430:	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;                  
  10f436:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10f439:	89 18                	mov    %ebx,(%eax)                    
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  10f43b:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10f43e:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10f441:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10f443:	89 58 04             	mov    %ebx,0x4(%eax)                 
                                                                      
      _ISR_Flash( level );                                            
  10f446:	51                   	push   %ecx                           
  10f447:	9d                   	popf                                  
  10f448:	fa                   	cli                                   
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
  10f449:	8b 50 14             	mov    0x14(%eax),%edx                
  10f44c:	8b 1d 00 79 12 00    	mov    0x127900,%ebx                  
  10f452:	3b 53 14             	cmp    0x14(%ebx),%edx                
  10f455:	73 1b                	jae    10f472 <_Thread_Resume+0x82>   
        _Thread_Heir = the_thread;                                    
  10f457:	a3 00 79 12 00       	mov    %eax,0x127900                  
        if ( _Thread_Executing->is_preemptible ||                     
  10f45c:	a1 fc 78 12 00       	mov    0x1278fc,%eax                  
  10f461:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10f465:	75 04                	jne    10f46b <_Thread_Resume+0x7b>   
  10f467:	85 d2                	test   %edx,%edx                      
  10f469:	75 07                	jne    10f472 <_Thread_Resume+0x82>   <== ALWAYS TAKEN
             the_thread->current_priority == 0 )                      
          _Thread_Dispatch_necessary = true;                          
  10f46b:	c6 05 08 79 12 00 01 	movb   $0x1,0x127908                  
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10f472:	51                   	push   %ecx                           
  10f473:	9d                   	popf                                  
}                                                                     
  10f474:	5b                   	pop    %ebx                           
  10f475:	c9                   	leave                                 
  10f476:	c3                   	ret                                   
                                                                      

0010c934 <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
  10c934:	55                   	push   %ebp                           
  10c935:	89 e5                	mov    %esp,%ebp                      
  10c937:	53                   	push   %ebx                           
  10c938:	83 ec 04             	sub    $0x4,%esp                      
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
  10c93b:	8b 1d 34 48 12 00    	mov    0x124834,%ebx                  
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
  10c941:	80 7b 74 00          	cmpb   $0x0,0x74(%ebx)                
  10c945:	74 4c                	je     10c993 <_Thread_Tickle_timeslice+0x5f>
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
  10c947:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10c94b:	75 46                	jne    10c993 <_Thread_Tickle_timeslice+0x5f>
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
  10c94d:	8b 43 7c             	mov    0x7c(%ebx),%eax                
  10c950:	83 f8 01             	cmp    $0x1,%eax                      
  10c953:	72 3e                	jb     10c993 <_Thread_Tickle_timeslice+0x5f>
  10c955:	83 f8 02             	cmp    $0x2,%eax                      
  10c958:	76 07                	jbe    10c961 <_Thread_Tickle_timeslice+0x2d>
  10c95a:	83 f8 03             	cmp    $0x3,%eax                      
  10c95d:	75 34                	jne    10c993 <_Thread_Tickle_timeslice+0x5f><== NEVER TAKEN
  10c95f:	eb 1a                	jmp    10c97b <_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 ) {               
  10c961:	8b 43 78             	mov    0x78(%ebx),%eax                
  10c964:	48                   	dec    %eax                           
  10c965:	89 43 78             	mov    %eax,0x78(%ebx)                
  10c968:	85 c0                	test   %eax,%eax                      
  10c96a:	7f 27                	jg     10c993 <_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();                                    
  10c96c:	e8 27 00 00 00       	call   10c998 <_Thread_Yield_processor>
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
  10c971:	a1 b4 42 12 00       	mov    0x1242b4,%eax                  
  10c976:	89 43 78             	mov    %eax,0x78(%ebx)                
  10c979:	eb 18                	jmp    10c993 <_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 )                             
  10c97b:	8b 43 78             	mov    0x78(%ebx),%eax                
  10c97e:	48                   	dec    %eax                           
  10c97f:	89 43 78             	mov    %eax,0x78(%ebx)                
  10c982:	85 c0                	test   %eax,%eax                      
  10c984:	75 0d                	jne    10c993 <_Thread_Tickle_timeslice+0x5f>
	  (*executing->budget_callout)( executing );                         
  10c986:	83 ec 0c             	sub    $0xc,%esp                      
  10c989:	53                   	push   %ebx                           
  10c98a:	ff 93 80 00 00 00    	call   *0x80(%ebx)                    
  10c990:	83 c4 10             	add    $0x10,%esp                     
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
  10c993:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c996:	c9                   	leave                                 
  10c997:	c3                   	ret                                   
                                                                      

0010c5c8 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  10c5c8:	55                   	push   %ebp                           
  10c5c9:	89 e5                	mov    %esp,%ebp                      
  10c5cb:	57                   	push   %edi                           
  10c5cc:	56                   	push   %esi                           
  10c5cd:	53                   	push   %ebx                           
  10c5ce:	83 ec 1c             	sub    $0x1c,%esp                     
  10c5d1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10c5d4:	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 )                                            
  10c5d7:	85 f6                	test   %esi,%esi                      
  10c5d9:	74 36                	je     10c611 <_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 ) {
  10c5db:	83 7e 34 01          	cmpl   $0x1,0x34(%esi)                
  10c5df:	75 30                	jne    10c611 <_Thread_queue_Requeue+0x49><== NEVER TAKEN
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
  10c5e1:	9c                   	pushf                                 
  10c5e2:	fa                   	cli                                   
  10c5e3:	5b                   	pop    %ebx                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  10c5e4:	f7 47 10 e0 be 03 00 	testl  $0x3bee0,0x10(%edi)            
  10c5eb:	74 22                	je     10c60f <_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;
  10c5ed:	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 );  
  10c5f4:	50                   	push   %eax                           
  10c5f5:	6a 01                	push   $0x1                           
  10c5f7:	57                   	push   %edi                           
  10c5f8:	56                   	push   %esi                           
  10c5f9:	e8 82 32 00 00       	call   10f880 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
  10c5fe:	83 c4 0c             	add    $0xc,%esp                      
  10c601:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c604:	50                   	push   %eax                           
  10c605:	57                   	push   %edi                           
  10c606:	56                   	push   %esi                           
  10c607:	e8 c4 fd ff ff       	call   10c3d0 <_Thread_queue_Enqueue_priority>
  10c60c:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
    _ISR_Enable( level );                                             
  10c60f:	53                   	push   %ebx                           
  10c610:	9d                   	popf                                  
  }                                                                   
}                                                                     
  10c611:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c614:	5b                   	pop    %ebx                           
  10c615:	5e                   	pop    %esi                           
  10c616:	5f                   	pop    %edi                           
  10c617:	c9                   	leave                                 
  10c618:	c3                   	ret                                   
                                                                      

0010c61c <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10c61c:	55                   	push   %ebp                           
  10c61d:	89 e5                	mov    %esp,%ebp                      
  10c61f:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10c622:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c625:	50                   	push   %eax                           
  10c626:	ff 75 08             	pushl  0x8(%ebp)                      
  10c629:	e8 b2 f8 ff ff       	call   10bee0 <_Thread_Get>           
  switch ( location ) {                                               
  10c62e:	83 c4 10             	add    $0x10,%esp                     
  10c631:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10c635:	75 17                	jne    10c64e <_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 );                    
  10c637:	83 ec 0c             	sub    $0xc,%esp                      
  10c63a:	50                   	push   %eax                           
  10c63b:	e8 f4 32 00 00       	call   10f934 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10c640:	a1 e4 42 12 00       	mov    0x1242e4,%eax                  
  10c645:	48                   	dec    %eax                           
  10c646:	a3 e4 42 12 00       	mov    %eax,0x1242e4                  
  10c64b:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10c64e:	c9                   	leave                                 
  10c64f:	c3                   	ret                                   
                                                                      

0011695c <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
  11695c:	55                   	push   %ebp                           
  11695d:	89 e5                	mov    %esp,%ebp                      
  11695f:	57                   	push   %edi                           
  116960:	56                   	push   %esi                           
  116961:	53                   	push   %ebx                           
  116962:	83 ec 4c             	sub    $0x4c,%esp                     
  116965:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  116968:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  11696b:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  11696e:	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);                 
  116971:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  the_chain->permanent_null = NULL;                                   
  116974:	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 );                           
  11697b:	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;                  
  11697e:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  116981:	8d 55 d4             	lea    -0x2c(%ebp),%edx               
  116984:	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);                 
  116987:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  the_chain->permanent_null = NULL;                                   
  11698a:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  the_chain->last           = _Chain_Head(the_chain);                 
  116991:	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 );  
  116994:	8d 43 30             	lea    0x30(%ebx),%eax                
  116997:	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 ); 
  11699a:	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 );        
  11699d:	8d 53 08             	lea    0x8(%ebx),%edx                 
  1169a0:	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;                                    
  1169a3:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  1169a6:	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;            
  1169a9:	a1 f0 d7 13 00       	mov    0x13d7f0,%eax                  
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  1169ae:	8b 53 3c             	mov    0x3c(%ebx),%edx                
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  1169b1:	89 43 3c             	mov    %eax,0x3c(%ebx)                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  1169b4:	51                   	push   %ecx                           
  1169b5:	8d 4d d0             	lea    -0x30(%ebp),%ecx               
  1169b8:	51                   	push   %ecx                           
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  1169b9:	29 d0                	sub    %edx,%eax                      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  1169bb:	50                   	push   %eax                           
  1169bc:	ff 75 c0             	pushl  -0x40(%ebp)                    
  1169bf:	e8 9c 39 00 00       	call   11a360 <_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();
  1169c4:	a1 44 d7 13 00       	mov    0x13d744,%eax                  
  1169c9:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
  1169cc:	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 ) {                                   
  1169cf:	83 c4 10             	add    $0x10,%esp                     
  1169d2:	39 45 c4             	cmp    %eax,-0x3c(%ebp)               
  1169d5:	76 13                	jbe    1169ea <_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 );
  1169d7:	52                   	push   %edx                           
  1169d8:	8d 55 d0             	lea    -0x30(%ebp),%edx               
  1169db:	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;                                 
  1169dc:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  1169df:	29 c1                	sub    %eax,%ecx                      
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
  1169e1:	51                   	push   %ecx                           
  1169e2:	56                   	push   %esi                           
  1169e3:	e8 78 39 00 00       	call   11a360 <_Watchdog_Adjust_to_chain>
  1169e8:	eb 0f                	jmp    1169f9 <_Timer_server_Body+0x9d>
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
  1169ea:	73 10                	jae    1169fc <_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 ); 
  1169ec:	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;                                
  1169ed:	2b 45 c4             	sub    -0x3c(%ebp),%eax               
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  1169f0:	50                   	push   %eax                           
  1169f1:	6a 01                	push   $0x1                           
  1169f3:	56                   	push   %esi                           
  1169f4:	e8 fb 38 00 00       	call   11a2f4 <_Watchdog_Adjust>      
  1169f9:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  1169fc:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  1169ff:	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 );
  116a02:	8b 43 78             	mov    0x78(%ebx),%eax                
  116a05:	83 ec 0c             	sub    $0xc,%esp                      
  116a08:	50                   	push   %eax                           
  116a09:	e8 e6 08 00 00       	call   1172f4 <_Chain_Get>            
                                                                      
    if ( timer == NULL ) {                                            
  116a0e:	83 c4 10             	add    $0x10,%esp                     
  116a11:	85 c0                	test   %eax,%eax                      
  116a13:	74 29                	je     116a3e <_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 ) {                 
  116a15:	8b 50 38             	mov    0x38(%eax),%edx                <== NOT EXECUTED
  116a18:	83 fa 01             	cmp    $0x1,%edx                      <== NOT EXECUTED
  116a1b:	75 0b                	jne    116a28 <_Timer_server_Body+0xcc><== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116a1d:	52                   	push   %edx                           <== NOT EXECUTED
  116a1e:	52                   	push   %edx                           <== NOT EXECUTED
  116a1f:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116a22:	50                   	push   %eax                           <== NOT EXECUTED
  116a23:	ff 75 c0             	pushl  -0x40(%ebp)                    <== NOT EXECUTED
  116a26:	eb 0c                	jmp    116a34 <_Timer_server_Body+0xd8><== NOT EXECUTED
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116a28:	83 fa 03             	cmp    $0x3,%edx                      <== NOT EXECUTED
  116a2b:	75 d5                	jne    116a02 <_Timer_server_Body+0xa6><== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116a2d:	51                   	push   %ecx                           <== NOT EXECUTED
  116a2e:	51                   	push   %ecx                           <== NOT EXECUTED
  116a2f:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116a32:	50                   	push   %eax                           <== NOT EXECUTED
  116a33:	56                   	push   %esi                           <== NOT EXECUTED
  116a34:	e8 af 39 00 00       	call   11a3e8 <_Watchdog_Insert>      <== NOT EXECUTED
  116a39:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  116a3c:	eb c4                	jmp    116a02 <_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 );                                            
  116a3e:	9c                   	pushf                                 
  116a3f:	fa                   	cli                                   
  116a40:	58                   	pop    %eax                           
    if ( _Chain_Is_empty( insert_chain ) ) {                          
  116a41:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  116a44:	39 55 dc             	cmp    %edx,-0x24(%ebp)               
  116a47:	75 13                	jne    116a5c <_Timer_server_Body+0x100><== NEVER TAKEN
      ts->insert_chain = NULL;                                        
  116a49:	c7 43 78 00 00 00 00 	movl   $0x0,0x78(%ebx)                
      _ISR_Enable( level );                                           
  116a50:	50                   	push   %eax                           
  116a51:	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 ) ) {                          
  116a52:	8b 4d b0             	mov    -0x50(%ebp),%ecx               
  116a55:	39 4d d0             	cmp    %ecx,-0x30(%ebp)               
  116a58:	75 09                	jne    116a63 <_Timer_server_Body+0x107>
  116a5a:	eb 3e                	jmp    116a9a <_Timer_server_Body+0x13e>
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
  116a5c:	50                   	push   %eax                           <== NOT EXECUTED
  116a5d:	9d                   	popf                                  <== NOT EXECUTED
  116a5e:	e9 46 ff ff ff       	jmp    1169a9 <_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 );                                        
  116a63:	9c                   	pushf                                 
  116a64:	fa                   	cli                                   
  116a65:	5a                   	pop    %edx                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  116a66:	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))                                   
  116a69:	3b 45 b0             	cmp    -0x50(%ebp),%eax               
  116a6c:	74 25                	je     116a93 <_Timer_server_Body+0x137>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  116a6e:	8b 08                	mov    (%eax),%ecx                    
  the_chain->first    = new_first;                                    
  116a70:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  new_first->previous = _Chain_Head(the_chain);                       
  116a73:	89 79 04             	mov    %edi,0x4(%ecx)                 
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
  116a76:	85 c0                	test   %eax,%eax                      
  116a78:	74 19                	je     116a93 <_Timer_server_Body+0x137><== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
  116a7a:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
          _ISR_Enable( level );                                       
  116a81:	52                   	push   %edx                           
  116a82:	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 );    
  116a83:	52                   	push   %edx                           
  116a84:	52                   	push   %edx                           
  116a85:	ff 70 24             	pushl  0x24(%eax)                     
  116a88:	ff 70 20             	pushl  0x20(%eax)                     
  116a8b:	ff 50 1c             	call   *0x1c(%eax)                    
      }                                                               
  116a8e:	83 c4 10             	add    $0x10,%esp                     
  116a91:	eb d0                	jmp    116a63 <_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 );                                       
  116a93:	52                   	push   %edx                           
  116a94:	9d                   	popf                                  
  116a95:	e9 09 ff ff ff       	jmp    1169a3 <_Timer_server_Body+0x47>
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
  116a9a:	c6 43 7c 00          	movb   $0x0,0x7c(%ebx)                
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
  116a9e:	e8 1d fe ff ff       	call   1168c0 <_Thread_Disable_dispatch>
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
  116aa3:	50                   	push   %eax                           
  116aa4:	50                   	push   %eax                           
  116aa5:	6a 08                	push   $0x8                           
  116aa7:	ff 33                	pushl  (%ebx)                         
  116aa9:	e8 1a 31 00 00       	call   119bc8 <_Thread_Set_state>     
        _Timer_server_Reset_interval_system_watchdog( ts );           
  116aae:	89 d8                	mov    %ebx,%eax                      
  116ab0:	e8 1b fe ff ff       	call   1168d0 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
  116ab5:	89 d8                	mov    %ebx,%eax                      
  116ab7:	e8 5a fe ff ff       	call   116916 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
  116abc:	e8 01 28 00 00       	call   1192c2 <_Thread_Enable_dispatch>
                                                                      
      ts->active = true;                                              
  116ac1:	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 );        
  116ac5:	59                   	pop    %ecx                           
  116ac6:	ff 75 bc             	pushl  -0x44(%ebp)                    
  116ac9:	e8 32 3a 00 00       	call   11a500 <_Watchdog_Remove>      
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  116ace:	8d 43 40             	lea    0x40(%ebx),%eax                
  116ad1:	89 04 24             	mov    %eax,(%esp)                    
  116ad4:	e8 27 3a 00 00       	call   11a500 <_Watchdog_Remove>      
  116ad9:	83 c4 10             	add    $0x10,%esp                     
  116adc:	e9 c2 fe ff ff       	jmp    1169a3 <_Timer_server_Body+0x47>
                                                                      

00116ae1 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
  116ae1:	55                   	push   %ebp                           
  116ae2:	89 e5                	mov    %esp,%ebp                      
  116ae4:	57                   	push   %edi                           
  116ae5:	56                   	push   %esi                           
  116ae6:	53                   	push   %ebx                           
  116ae7:	83 ec 2c             	sub    $0x2c,%esp                     
  116aea:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  116aed:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( ts->insert_chain == NULL ) {                                   
  116af0:	8b 43 78             	mov    0x78(%ebx),%eax                
  116af3:	85 c0                	test   %eax,%eax                      
  116af5:	0f 85 de 00 00 00    	jne    116bd9 <_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();                                         
  116afb:	e8 c0 fd ff ff       	call   1168c0 <_Thread_Disable_dispatch>
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  116b00:	8b 46 38             	mov    0x38(%esi),%eax                
  116b03:	83 f8 01             	cmp    $0x1,%eax                      
  116b06:	75 5a                	jne    116b62 <_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 );                                            
  116b08:	9c                   	pushf                                 
  116b09:	fa                   	cli                                   
  116b0a:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = _Watchdog_Ticks_since_boot;                            
  116b0d:	8b 15 f0 d7 13 00    	mov    0x13d7f0,%edx                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
  116b13:	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));                
  116b16:	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;                  
  116b19:	8d 7b 34             	lea    0x34(%ebx),%edi                
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
  116b1c:	39 f8                	cmp    %edi,%eax                      
  116b1e:	74 19                	je     116b39 <_Timer_server_Schedule_operation_method+0x58>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
  116b20:	89 d7                	mov    %edx,%edi                      
  116b22:	29 cf                	sub    %ecx,%edi                      
  116b24:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
  116b27:	8b 78 10             	mov    0x10(%eax),%edi                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
  116b2a:	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) {                                   
  116b2c:	3b 7d e4             	cmp    -0x1c(%ebp),%edi               
  116b2f:	76 05                	jbe    116b36 <_Timer_server_Schedule_operation_method+0x55>
        delta_interval -= delta;                                      
  116b31:	89 f9                	mov    %edi,%ecx                      
  116b33:	2b 4d e4             	sub    -0x1c(%ebp),%ecx               
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116b36:	89 48 10             	mov    %ecx,0x10(%eax)                
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
  116b39:	89 53 3c             	mov    %edx,0x3c(%ebx)                
    _ISR_Enable( level );                                             
  116b3c:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116b3f:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116b40:	50                   	push   %eax                           
  116b41:	50                   	push   %eax                           
  116b42:	83 c6 10             	add    $0x10,%esi                     
  116b45:	56                   	push   %esi                           
  116b46:	8d 43 30             	lea    0x30(%ebx),%eax                
  116b49:	50                   	push   %eax                           
  116b4a:	e8 99 38 00 00       	call   11a3e8 <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116b4f:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116b52:	83 c4 10             	add    $0x10,%esp                     
  116b55:	84 c0                	test   %al,%al                        
  116b57:	75 74                	jne    116bcd <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_interval_system_watchdog( ts );             
  116b59:	89 d8                	mov    %ebx,%eax                      
  116b5b:	e8 70 fd ff ff       	call   1168d0 <_Timer_server_Reset_interval_system_watchdog>
  116b60:	eb 6b                	jmp    116bcd <_Timer_server_Schedule_operation_method+0xec>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116b62:	83 f8 03             	cmp    $0x3,%eax                      
  116b65:	75 66                	jne    116bcd <_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 );                                            
  116b67:	9c                   	pushf                                 
  116b68:	fa                   	cli                                   
  116b69:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
  116b6c:	8b 15 44 d7 13 00    	mov    0x13d744,%edx                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
  116b72:	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));                
  116b75:	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;                  
  116b78:	8d 7b 6c             	lea    0x6c(%ebx),%edi                
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
  116b7b:	39 f9                	cmp    %edi,%ecx                      
  116b7d:	74 27                	je     116ba6 <_Timer_server_Schedule_operation_method+0xc5>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
  116b7f:	8b 79 10             	mov    0x10(%ecx),%edi                
  116b82:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
      if ( snapshot > last_snapshot ) {                               
  116b85:	39 c2                	cmp    %eax,%edx                      
  116b87:	76 15                	jbe    116b9e <_Timer_server_Schedule_operation_method+0xbd>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
  116b89:	89 d7                	mov    %edx,%edi                      
  116b8b:	29 c7                	sub    %eax,%edi                      
  116b8d:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
        if (delta_interval > delta) {                                 
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
  116b90:	31 c0                	xor    %eax,%eax                      
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
  116b92:	39 7d d4             	cmp    %edi,-0x2c(%ebp)               
  116b95:	76 0c                	jbe    116ba3 <_Timer_server_Schedule_operation_method+0xc2><== NEVER TAKEN
          delta_interval -= delta;                                    
  116b97:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  116b9a:	29 f8                	sub    %edi,%eax                      
  116b9c:	eb 05                	jmp    116ba3 <_Timer_server_Schedule_operation_method+0xc2>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
  116b9e:	03 45 d4             	add    -0x2c(%ebp),%eax               
        delta_interval += delta;                                      
  116ba1:	29 d0                	sub    %edx,%eax                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116ba3:	89 41 10             	mov    %eax,0x10(%ecx)                
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
  116ba6:	89 53 74             	mov    %edx,0x74(%ebx)                
    _ISR_Enable( level );                                             
  116ba9:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116bac:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116bad:	57                   	push   %edi                           
  116bae:	57                   	push   %edi                           
  116baf:	83 c6 10             	add    $0x10,%esi                     
  116bb2:	56                   	push   %esi                           
  116bb3:	8d 43 68             	lea    0x68(%ebx),%eax                
  116bb6:	50                   	push   %eax                           
  116bb7:	e8 2c 38 00 00       	call   11a3e8 <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116bbc:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116bbf:	83 c4 10             	add    $0x10,%esp                     
  116bc2:	84 c0                	test   %al,%al                        
  116bc4:	75 07                	jne    116bcd <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
  116bc6:	89 d8                	mov    %ebx,%eax                      
  116bc8:	e8 49 fd ff ff       	call   116916 <_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 );           
  }                                                                   
}                                                                     
  116bcd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116bd0:	5b                   	pop    %ebx                           
  116bd1:	5e                   	pop    %esi                           
  116bd2:	5f                   	pop    %edi                           
  116bd3:	c9                   	leave                                 
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
  116bd4:	e9 e9 26 00 00       	jmp    1192c2 <_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 );           
  116bd9:	8b 43 78             	mov    0x78(%ebx),%eax                <== NOT EXECUTED
  116bdc:	89 75 0c             	mov    %esi,0xc(%ebp)                 <== NOT EXECUTED
  116bdf:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
  }                                                                   
}                                                                     
  116be2:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  116be5:	5b                   	pop    %ebx                           <== NOT EXECUTED
  116be6:	5e                   	pop    %esi                           <== NOT EXECUTED
  116be7:	5f                   	pop    %edi                           <== NOT EXECUTED
  116be8:	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 );           
  116be9:	e9 ca 06 00 00       	jmp    1172b8 <_Chain_Append>         <== NOT EXECUTED
                                                                      

0010cb6f <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10cb6f:	55                   	push   %ebp                           
  10cb70:	89 e5                	mov    %esp,%ebp                      
  10cb72:	57                   	push   %edi                           
  10cb73:	56                   	push   %esi                           
  10cb74:	53                   	push   %ebx                           
  10cb75:	83 ec 0c             	sub    $0xc,%esp                      
  10cb78:	8b 7d 10             	mov    0x10(%ebp),%edi                
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10cb7b:	8b 1d e0 44 12 00    	mov    0x1244e0,%ebx                  
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  10cb81:	0f b6 75 0c          	movzbl 0xc(%ebp),%esi                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10cb85:	eb 15                	jmp    10cb9c <_User_extensions_Fatal+0x2d>
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
  10cb87:	8b 43 30             	mov    0x30(%ebx),%eax                
  10cb8a:	85 c0                	test   %eax,%eax                      
  10cb8c:	74 0b                	je     10cb99 <_User_extensions_Fatal+0x2a>
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  10cb8e:	52                   	push   %edx                           
  10cb8f:	57                   	push   %edi                           
  10cb90:	56                   	push   %esi                           
  10cb91:	ff 75 08             	pushl  0x8(%ebp)                      
  10cb94:	ff d0                	call   *%eax                          
  10cb96:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
  10cb99:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10cb9c:	81 fb d8 44 12 00    	cmp    $0x1244d8,%ebx                 
  10cba2:	75 e3                	jne    10cb87 <_User_extensions_Fatal+0x18><== ALWAYS TAKEN
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
  10cba4:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10cba7:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10cba8:	5e                   	pop    %esi                           <== NOT EXECUTED
  10cba9:	5f                   	pop    %edi                           <== NOT EXECUTED
  10cbaa:	c9                   	leave                                 <== NOT EXECUTED
  10cbab:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010ca58 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
  10ca58:	55                   	push   %ebp                           
  10ca59:	89 e5                	mov    %esp,%ebp                      
  10ca5b:	57                   	push   %edi                           
  10ca5c:	56                   	push   %esi                           
  10ca5d:	53                   	push   %ebx                           
  10ca5e:	83 ec 1c             	sub    $0x1c,%esp                     
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
  10ca61:	a1 30 02 12 00       	mov    0x120230,%eax                  
  10ca66:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  initial_extensions   = Configuration.User_extension_table;          
  10ca69:	8b 35 34 02 12 00    	mov    0x120234,%esi                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  10ca6f:	c7 05 d8 44 12 00 dc 	movl   $0x1244dc,0x1244d8             
  10ca76:	44 12 00                                                    
  the_chain->permanent_null = NULL;                                   
  10ca79:	c7 05 dc 44 12 00 00 	movl   $0x0,0x1244dc                  
  10ca80:	00 00 00                                                    
  the_chain->last           = _Chain_Head(the_chain);                 
  10ca83:	c7 05 e0 44 12 00 d8 	movl   $0x1244d8,0x1244e0             
  10ca8a:	44 12 00                                                    
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  10ca8d:	c7 05 e8 42 12 00 ec 	movl   $0x1242ec,0x1242e8             
  10ca94:	42 12 00                                                    
  the_chain->permanent_null = NULL;                                   
  10ca97:	c7 05 ec 42 12 00 00 	movl   $0x0,0x1242ec                  
  10ca9e:	00 00 00                                                    
  the_chain->last           = _Chain_Head(the_chain);                 
  10caa1:	c7 05 f0 42 12 00 e8 	movl   $0x1242e8,0x1242f0             
  10caa8:	42 12 00                                                    
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
  10caab:	85 f6                	test   %esi,%esi                      
  10caad:	74 53                	je     10cb02 <_User_extensions_Handler_initialization+0xaa><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
  10caaf:	6b c8 34             	imul   $0x34,%eax,%ecx                
  10cab2:	83 ec 0c             	sub    $0xc,%esp                      
  10cab5:	51                   	push   %ecx                           
  10cab6:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10cab9:	e8 32 04 00 00       	call   10cef0 <_Workspace_Allocate_or_fatal_error>
  10cabe:	89 c3                	mov    %eax,%ebx                      
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
  10cac0:	31 c0                	xor    %eax,%eax                      
  10cac2:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10cac5:	89 df                	mov    %ebx,%edi                      
  10cac7:	f3 aa                	rep stos %al,%es:(%edi)               
  10cac9:	89 f0                	mov    %esi,%eax                      
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10cacb:	83 c4 10             	add    $0x10,%esp                     
  10cace:	31 d2                	xor    %edx,%edx                      
  10cad0:	eb 2b                	jmp    10cafd <_User_extensions_Handler_initialization+0xa5>
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
  10cad2:	8d 7b 14             	lea    0x14(%ebx),%edi                
  10cad5:	89 c6                	mov    %eax,%esi                      
  10cad7:	b9 08 00 00 00       	mov    $0x8,%ecx                      
  10cadc:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _User_extensions_Add_set( extension );                              
  10cade:	83 ec 0c             	sub    $0xc,%esp                      
  10cae1:	53                   	push   %ebx                           
  10cae2:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  10cae5:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10cae8:	e8 43 30 00 00       	call   10fb30 <_User_extensions_Add_set>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
  10caed:	83 c3 34             	add    $0x34,%ebx                     
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10caf0:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10caf3:	42                   	inc    %edx                           
  10caf4:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10caf7:	83 c0 20             	add    $0x20,%eax                     
  10cafa:	83 c4 10             	add    $0x10,%esp                     
  10cafd:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10cb00:	72 d0                	jb     10cad2 <_User_extensions_Handler_initialization+0x7a>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
  10cb02:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cb05:	5b                   	pop    %ebx                           
  10cb06:	5e                   	pop    %esi                           
  10cb07:	5f                   	pop    %edi                           
  10cb08:	c9                   	leave                                 
  10cb09:	c3                   	ret                                   
                                                                      

0010e4a0 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
  10e4a0:	55                   	push   %ebp                           
  10e4a1:	89 e5                	mov    %esp,%ebp                      
  10e4a3:	57                   	push   %edi                           
  10e4a4:	56                   	push   %esi                           
  10e4a5:	53                   	push   %ebx                           
  10e4a6:	83 ec 1c             	sub    $0x1c,%esp                     
  10e4a9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e4ac:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10e4af:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  10e4b2:	9c                   	pushf                                 
  10e4b3:	fa                   	cli                                   
  10e4b4:	58                   	pop    %eax                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10e4b5:	8b 16                	mov    (%esi),%edx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e4b7:	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 ) ) {                                 
  10e4ba:	39 ca                	cmp    %ecx,%edx                      
  10e4bc:	74 44                	je     10e502 <_Watchdog_Adjust+0x62> 
    switch ( direction ) {                                            
  10e4be:	85 ff                	test   %edi,%edi                      
  10e4c0:	74 3c                	je     10e4fe <_Watchdog_Adjust+0x5e> 
  10e4c2:	4f                   	dec    %edi                           
  10e4c3:	75 3d                	jne    10e502 <_Watchdog_Adjust+0x62> <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
  10e4c5:	01 5a 10             	add    %ebx,0x10(%edx)                
        break;                                                        
  10e4c8:	eb 38                	jmp    10e502 <_Watchdog_Adjust+0x62> 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
  10e4ca:	8b 16                	mov    (%esi),%edx                    
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  10e4cc:	8b 7a 10             	mov    0x10(%edx),%edi                
  10e4cf:	39 fb                	cmp    %edi,%ebx                      
  10e4d1:	73 07                	jae    10e4da <_Watchdog_Adjust+0x3a> 
            _Watchdog_First( header )->delta_interval -= units;       
  10e4d3:	29 df                	sub    %ebx,%edi                      
  10e4d5:	89 7a 10             	mov    %edi,0x10(%edx)                
            break;                                                    
  10e4d8:	eb 28                	jmp    10e502 <_Watchdog_Adjust+0x62> 
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
  10e4da:	c7 42 10 01 00 00 00 	movl   $0x1,0x10(%edx)                
                                                                      
            _ISR_Enable( level );                                     
  10e4e1:	50                   	push   %eax                           
  10e4e2:	9d                   	popf                                  
                                                                      
            _Watchdog_Tickle( header );                               
  10e4e3:	83 ec 0c             	sub    $0xc,%esp                      
  10e4e6:	56                   	push   %esi                           
  10e4e7:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10e4ea:	e8 9d 01 00 00       	call   10e68c <_Watchdog_Tickle>      
                                                                      
            _ISR_Disable( level );                                    
  10e4ef:	9c                   	pushf                                 
  10e4f0:	fa                   	cli                                   
  10e4f1:	58                   	pop    %eax                           
                                                                      
            if ( _Chain_Is_empty( header ) )                          
  10e4f2:	83 c4 10             	add    $0x10,%esp                     
  10e4f5:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10e4f8:	39 0e                	cmp    %ecx,(%esi)                    
  10e4fa:	74 06                	je     10e502 <_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;       
  10e4fc:	29 fb                	sub    %edi,%ebx                      
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  10e4fe:	85 db                	test   %ebx,%ebx                      
  10e500:	75 c8                	jne    10e4ca <_Watchdog_Adjust+0x2a> <== ALWAYS TAKEN
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10e502:	50                   	push   %eax                           
  10e503:	9d                   	popf                                  
                                                                      
}                                                                     
  10e504:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e507:	5b                   	pop    %ebx                           
  10e508:	5e                   	pop    %esi                           
  10e509:	5f                   	pop    %edi                           
  10e50a:	c9                   	leave                                 
  10e50b:	c3                   	ret                                   
                                                                      

0010cda8 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
  10cda8:	55                   	push   %ebp                           
  10cda9:	89 e5                	mov    %esp,%ebp                      
  10cdab:	56                   	push   %esi                           
  10cdac:	53                   	push   %ebx                           
  10cdad:	8b 55 08             	mov    0x8(%ebp),%edx                 
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  10cdb0:	9c                   	pushf                                 
  10cdb1:	fa                   	cli                                   
  10cdb2:	5e                   	pop    %esi                           
  previous_state = the_watchdog->state;                               
  10cdb3:	8b 42 08             	mov    0x8(%edx),%eax                 
  switch ( previous_state ) {                                         
  10cdb6:	83 f8 01             	cmp    $0x1,%eax                      
  10cdb9:	74 09                	je     10cdc4 <_Watchdog_Remove+0x1c> 
  10cdbb:	72 42                	jb     10cdff <_Watchdog_Remove+0x57> 
  10cdbd:	83 f8 03             	cmp    $0x3,%eax                      
  10cdc0:	77 3d                	ja     10cdff <_Watchdog_Remove+0x57> <== NEVER TAKEN
  10cdc2:	eb 09                	jmp    10cdcd <_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;                        
  10cdc4:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
      break;                                                          
  10cdcb:	eb 32                	jmp    10cdff <_Watchdog_Remove+0x57> 
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
  10cdcd:	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 );                                           
}                                                                     
  10cdd4:	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) )                            
  10cdd6:	83 39 00             	cmpl   $0x0,(%ecx)                    
  10cdd9:	74 06                	je     10cde1 <_Watchdog_Remove+0x39> 
        next_watchdog->delta_interval += the_watchdog->delta_interval;
  10cddb:	8b 5a 10             	mov    0x10(%edx),%ebx                
  10cdde:	01 59 10             	add    %ebx,0x10(%ecx)                
                                                                      
      if ( _Watchdog_Sync_count )                                     
  10cde1:	8b 1d 18 44 12 00    	mov    0x124418,%ebx                  
  10cde7:	85 db                	test   %ebx,%ebx                      
  10cde9:	74 0c                	je     10cdf7 <_Watchdog_Remove+0x4f> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
  10cdeb:	8b 1d 30 48 12 00    	mov    0x124830,%ebx                  
  10cdf1:	89 1d 90 43 12 00    	mov    %ebx,0x124390                  
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  10cdf7:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  next->previous = previous;                                          
  10cdfa:	89 59 04             	mov    %ebx,0x4(%ecx)                 
  previous->next = next;                                              
  10cdfd:	89 0b                	mov    %ecx,(%ebx)                    
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
  10cdff:	8b 0d 1c 44 12 00    	mov    0x12441c,%ecx                  
  10ce05:	89 4a 18             	mov    %ecx,0x18(%edx)                
                                                                      
  _ISR_Enable( level );                                               
  10ce08:	56                   	push   %esi                           
  10ce09:	9d                   	popf                                  
  return( previous_state );                                           
}                                                                     
  10ce0a:	5b                   	pop    %ebx                           
  10ce0b:	5e                   	pop    %esi                           
  10ce0c:	c9                   	leave                                 
  10ce0d:	c3                   	ret                                   
                                                                      

0010e030 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
  10e030:	55                   	push   %ebp                           
  10e031:	89 e5                	mov    %esp,%ebp                      
  10e033:	57                   	push   %edi                           
  10e034:	56                   	push   %esi                           
  10e035:	53                   	push   %ebx                           
  10e036:	83 ec 20             	sub    $0x20,%esp                     
  10e039:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10e03c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
  10e03f:	9c                   	pushf                                 
  10e040:	fa                   	cli                                   
  10e041:	8f 45 e4             	popl   -0x1c(%ebp)                    
    printk( "Watchdog Chain: %s %p\n", name, header );                
  10e044:	56                   	push   %esi                           
  10e045:	57                   	push   %edi                           
  10e046:	68 34 0f 12 00       	push   $0x120f34                      
  10e04b:	e8 88 aa ff ff       	call   108ad8 <printk>                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10e050:	8b 1e                	mov    (%esi),%ebx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e052:	83 c6 04             	add    $0x4,%esi                      
    if ( !_Chain_Is_empty( header ) ) {                               
  10e055:	83 c4 10             	add    $0x10,%esp                     
  10e058:	39 f3                	cmp    %esi,%ebx                      
  10e05a:	74 1d                	je     10e079 <_Watchdog_Report_chain+0x49>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
  10e05c:	52                   	push   %edx                           
  10e05d:	52                   	push   %edx                           
  10e05e:	53                   	push   %ebx                           
  10e05f:	6a 00                	push   $0x0                           
  10e061:	e8 32 00 00 00       	call   10e098 <_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 )                                       
  10e066:	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 ;                                    
  10e068:	83 c4 10             	add    $0x10,%esp                     
  10e06b:	39 f3                	cmp    %esi,%ebx                      
  10e06d:	75 ed                	jne    10e05c <_Watchdog_Report_chain+0x2c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
  10e06f:	50                   	push   %eax                           
  10e070:	50                   	push   %eax                           
  10e071:	57                   	push   %edi                           
  10e072:	68 4b 0f 12 00       	push   $0x120f4b                      
  10e077:	eb 08                	jmp    10e081 <_Watchdog_Report_chain+0x51>
    } else {                                                          
      printk( "Chain is empty\n" );                                   
  10e079:	83 ec 0c             	sub    $0xc,%esp                      
  10e07c:	68 5a 0f 12 00       	push   $0x120f5a                      
  10e081:	e8 52 aa ff ff       	call   108ad8 <printk>                
  10e086:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
  _ISR_Enable( level );                                               
  10e089:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e08c:	9d                   	popf                                  
}                                                                     
  10e08d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e090:	5b                   	pop    %ebx                           
  10e091:	5e                   	pop    %esi                           
  10e092:	5f                   	pop    %edi                           
  10e093:	c9                   	leave                                 
  10e094:	c3                   	ret                                   
                                                                      

00109f84 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
  109f84:	55                   	push   %ebp                           
  109f85:	89 e5                	mov    %esp,%ebp                      
  109f87:	83 ec 08             	sub    $0x8,%esp                      
  109f8a:	8b 45 08             	mov    0x8(%ebp),%eax                 
  109f8d:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !tp )                                                          
  109f90:	85 d2                	test   %edx,%edx                      
  109f92:	74 3c                	je     109fd0 <clock_gettime+0x4c>    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
  109f94:	83 f8 01             	cmp    $0x1,%eax                      
  109f97:	75 0b                	jne    109fa4 <clock_gettime+0x20>    
    _TOD_Get(tp);                                                     
  109f99:	83 ec 0c             	sub    $0xc,%esp                      
  109f9c:	52                   	push   %edx                           
  109f9d:	e8 9e 1b 00 00       	call   10bb40 <_TOD_Get>              
  109fa2:	eb 13                	jmp    109fb7 <clock_gettime+0x33>    
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
  109fa4:	83 f8 04             	cmp    $0x4,%eax                      
  109fa7:	74 05                	je     109fae <clock_gettime+0x2a>    <== NEVER TAKEN
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
  109fa9:	83 f8 02             	cmp    $0x2,%eax                      
  109fac:	75 10                	jne    109fbe <clock_gettime+0x3a>    
    _TOD_Get_uptime_as_timespec( tp );                                
  109fae:	83 ec 0c             	sub    $0xc,%esp                      
  109fb1:	52                   	push   %edx                           
  109fb2:	e8 e5 1b 00 00       	call   10bb9c <_TOD_Get_uptime_as_timespec>
    return 0;                                                         
  109fb7:	83 c4 10             	add    $0x10,%esp                     
  109fba:	31 c0                	xor    %eax,%eax                      
  109fbc:	eb 20                	jmp    109fde <clock_gettime+0x5a>    
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
  109fbe:	83 f8 03             	cmp    $0x3,%eax                      
  109fc1:	75 0d                	jne    109fd0 <clock_gettime+0x4c>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  109fc3:	e8 68 7f 00 00       	call   111f30 <__errno>               
  109fc8:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
  109fce:	eb 0b                	jmp    109fdb <clock_gettime+0x57>    
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  109fd0:	e8 5b 7f 00 00       	call   111f30 <__errno>               
  109fd5:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  109fdb:	83 c8 ff             	or     $0xffffffff,%eax               
                                                                      
  return 0;                                                           
}                                                                     
  109fde:	c9                   	leave                                 
  109fdf:	c3                   	ret                                   
                                                                      

00109fe0 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
  109fe0:	55                   	push   %ebp                           
  109fe1:	89 e5                	mov    %esp,%ebp                      
  109fe3:	83 ec 08             	sub    $0x8,%esp                      
  109fe6:	8b 45 08             	mov    0x8(%ebp),%eax                 
  109fe9:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !tp )                                                          
  109fec:	85 d2                	test   %edx,%edx                      
  109fee:	74 44                	je     10a034 <clock_settime+0x54>    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
  109ff0:	83 f8 01             	cmp    $0x1,%eax                      
  109ff3:	75 28                	jne    10a01d <clock_settime+0x3d>    
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
  109ff5:	81 3a ff e4 da 21    	cmpl   $0x21dae4ff,(%edx)             
  109ffb:	76 37                	jbe    10a034 <clock_settime+0x54>    
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  109ffd:	a1 24 63 12 00       	mov    0x126324,%eax                  
  10a002:	40                   	inc    %eax                           
  10a003:	a3 24 63 12 00       	mov    %eax,0x126324                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
  10a008:	83 ec 0c             	sub    $0xc,%esp                      
  10a00b:	52                   	push   %edx                           
  10a00c:	e8 e3 1b 00 00       	call   10bbf4 <_TOD_Set>              
    _Thread_Enable_dispatch();                                        
  10a011:	e8 68 2c 00 00       	call   10cc7e <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
  10a016:	83 c4 10             	add    $0x10,%esp                     
  10a019:	31 c0                	xor    %eax,%eax                      
  10a01b:	eb 25                	jmp    10a042 <clock_settime+0x62>    
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
  10a01d:	83 f8 02             	cmp    $0x2,%eax                      
  10a020:	74 05                	je     10a027 <clock_settime+0x47>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
  10a022:	83 f8 03             	cmp    $0x3,%eax                      
  10a025:	75 0d                	jne    10a034 <clock_settime+0x54>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  10a027:	e8 04 7f 00 00       	call   111f30 <__errno>               
  10a02c:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
  10a032:	eb 0b                	jmp    10a03f <clock_settime+0x5f>    
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10a034:	e8 f7 7e 00 00       	call   111f30 <__errno>               
  10a039:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a03f:	83 c8 ff             	or     $0xffffffff,%eax               
                                                                      
  return 0;                                                           
}                                                                     
  10a042:	c9                   	leave                                 
  10a043:	c3                   	ret                                   
                                                                      

00121610 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
  121610:	55                   	push   %ebp                           
  121611:	89 e5                	mov    %esp,%ebp                      
  121613:	57                   	push   %edi                           
  121614:	56                   	push   %esi                           
  121615:	53                   	push   %ebx                           
  121616:	83 ec 4c             	sub    $0x4c,%esp                     
  121619:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  12161c:	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() )                                              
  12161f:	e8 64 fd ff ff       	call   121388 <getpid>                
  121624:	39 45 08             	cmp    %eax,0x8(%ebp)                 
  121627:	74 0d                	je     121636 <killinfo+0x26>         
    rtems_set_errno_and_return_minus_one( ESRCH );                    
  121629:	e8 16 43 ff ff       	call   115944 <__errno>               
  12162e:	c7 00 03 00 00 00    	movl   $0x3,(%eax)                    
  121634:	eb 0f                	jmp    121645 <killinfo+0x35>         
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
  121636:	85 db                	test   %ebx,%ebx                      
  121638:	75 13                	jne    12164d <killinfo+0x3d>         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  12163a:	e8 05 43 ff ff       	call   115944 <__errno>               
  12163f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  121645:	83 c8 ff             	or     $0xffffffff,%eax               
  121648:	e9 ef 01 00 00       	jmp    12183c <killinfo+0x22c>        
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  12164d:	8d 4b ff             	lea    -0x1(%ebx),%ecx                
                                                                      
  if ( !is_valid_signo(sig) )                                         
  121650:	83 f9 1f             	cmp    $0x1f,%ecx                     
  121653:	77 e5                	ja     12163a <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 )          
  121655:	6b d3 0c             	imul   $0xc,%ebx,%edx                 
    return 0;                                                         
  121658:	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 )          
  12165a:	83 ba c0 a9 12 00 01 	cmpl   $0x1,0x12a9c0(%edx)            
  121661:	0f 84 d5 01 00 00    	je     12183c <killinfo+0x22c>        
  /*                                                                  
   *  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 ) )      
  121667:	83 fb 04             	cmp    $0x4,%ebx                      
  12166a:	74 0a                	je     121676 <killinfo+0x66>         
  12166c:	83 fb 08             	cmp    $0x8,%ebx                      
  12166f:	74 05                	je     121676 <killinfo+0x66>         
  121671:	83 fb 0b             	cmp    $0xb,%ebx                      
  121674:	75 16                	jne    12168c <killinfo+0x7c>         
      return pthread_kill( pthread_self(), sig );                     
  121676:	e8 89 03 00 00       	call   121a04 <pthread_self>          
  12167b:	56                   	push   %esi                           
  12167c:	56                   	push   %esi                           
  12167d:	53                   	push   %ebx                           
  12167e:	50                   	push   %eax                           
  12167f:	e8 d8 02 00 00       	call   12195c <pthread_kill>          
  121684:	83 c4 10             	add    $0x10,%esp                     
  121687:	e9 b0 01 00 00       	jmp    12183c <killinfo+0x22c>        
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
  12168c:	be 01 00 00 00       	mov    $0x1,%esi                      
  121691:	d3 e6                	shl    %cl,%esi                       
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  121693:	89 5d dc             	mov    %ebx,-0x24(%ebp)               
  siginfo->si_code = SI_USER;                                         
  121696:	c7 45 e0 01 00 00 00 	movl   $0x1,-0x20(%ebp)               
  if ( !value ) {                                                     
  12169d:	85 ff                	test   %edi,%edi                      
  12169f:	75 09                	jne    1216aa <killinfo+0x9a>         
    siginfo->si_value.sival_int = 0;                                  
  1216a1:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  1216a8:	eb 05                	jmp    1216af <killinfo+0x9f>         
  } else {                                                            
    siginfo->si_value = *value;                                       
  1216aa:	8b 07                	mov    (%edi),%eax                    
  1216ac:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  1216af:	a1 58 a4 12 00       	mov    0x12a458,%eax                  
  1216b4:	40                   	inc    %eax                           
  1216b5:	a3 58 a4 12 00       	mov    %eax,0x12a458                  
                                                                      
  /*                                                                  
   *  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;                                     
  1216ba:	a1 a8 a9 12 00       	mov    0x12a9a8,%eax                  
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
  1216bf:	8b 90 f8 00 00 00    	mov    0xf8(%eax),%edx                
  1216c5:	8b 92 d0 00 00 00    	mov    0xd0(%edx),%edx                
  1216cb:	f7 d2                	not    %edx                           
  1216cd:	85 d6                	test   %edx,%esi                      
  1216cf:	0f 85 ed 00 00 00    	jne    1217c2 <killinfo+0x1b2>        
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
  1216d5:	8b 15 44 ab 12 00    	mov    0x12ab44,%edx                  
  1216db:	eb 23                	jmp    121700 <killinfo+0xf0>         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
  1216dd:	89 d0                	mov    %edx,%eax                      
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
  1216df:	8b 8a f8 00 00 00    	mov    0xf8(%edx),%ecx                
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
  1216e5:	85 72 30             	test   %esi,0x30(%edx)                
  1216e8:	0f 85 d4 00 00 00    	jne    1217c2 <killinfo+0x1b2>        
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
  1216ee:	8b 89 d0 00 00 00    	mov    0xd0(%ecx),%ecx                
  1216f4:	f7 d1                	not    %ecx                           
  1216f6:	85 ce                	test   %ecx,%esi                      
  1216f8:	0f 85 c4 00 00 00    	jne    1217c2 <killinfo+0x1b2>        
                                                                      
  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 ) {                                 
  1216fe:	8b 12                	mov    (%edx),%edx                    
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
  121700:	81 fa 48 ab 12 00    	cmp    $0x12ab48,%edx                 
  121706:	75 d5                	jne    1216dd <killinfo+0xcd>         
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
  121708:	0f b6 0d f4 61 12 00 	movzbl 0x1261f4,%ecx                  
  12170f:	41                   	inc    %ecx                           
   *                                                                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  121710:	31 c0                	xor    %eax,%eax                      
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
  121712:	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 ] )                     
  121719:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  12171c:	8b 14 bd 30 a4 12 00 	mov    0x12a430(,%edi,4),%edx         
  121723:	85 d2                	test   %edx,%edx                      
  121725:	0f 84 86 00 00 00    	je     1217b1 <killinfo+0x1a1>        <== NEVER TAKEN
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
  12172b:	8b 52 04             	mov    0x4(%edx),%edx                 
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
  12172e:	0f b7 7a 10          	movzwl 0x10(%edx),%edi                
  121732:	89 7d c4             	mov    %edi,-0x3c(%ebp)               
    object_table = the_info->local_table;                             
  121735:	8b 52 1c             	mov    0x1c(%edx),%edx                
  121738:	89 55 c0             	mov    %edx,-0x40(%ebp)               
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
  12173b:	c7 45 d0 01 00 00 00 	movl   $0x1,-0x30(%ebp)               
  121742:	89 5d b4             	mov    %ebx,-0x4c(%ebp)               
  121745:	eb 5f                	jmp    1217a6 <killinfo+0x196>        
      the_thread = (Thread_Control *) object_table[ index ];          
  121747:	8b 5d d0             	mov    -0x30(%ebp),%ebx               
  12174a:	8b 7d c0             	mov    -0x40(%ebp),%edi               
  12174d:	8b 14 9f             	mov    (%edi,%ebx,4),%edx             
                                                                      
      if ( !the_thread )                                              
  121750:	85 d2                	test   %edx,%edx                      
  121752:	74 4f                	je     1217a3 <killinfo+0x193>        
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
  121754:	8b 5a 14             	mov    0x14(%edx),%ebx                
  121757:	89 5d d4             	mov    %ebx,-0x2c(%ebp)               
  12175a:	39 cb                	cmp    %ecx,%ebx                      
  12175c:	77 45                	ja     1217a3 <killinfo+0x193>        
      #if defined(RTEMS_DEBUG)                                        
        if ( !api )                                                   
          continue;                                                   
      #endif                                                          
                                                                      
      if ( !_POSIX_signals_Is_interested( api, mask ) )               
  12175e:	8b ba f8 00 00 00    	mov    0xf8(%edx),%edi                
  121764:	8b bf d0 00 00 00    	mov    0xd0(%edi),%edi                
  12176a:	f7 d7                	not    %edi                           
  12176c:	85 fe                	test   %edi,%esi                      
  12176e:	74 33                	je     1217a3 <killinfo+0x193>        
       *                                                              
       *  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 ) {     
  121770:	39 cb                	cmp    %ecx,%ebx                      
  121772:	72 2a                	jb     12179e <killinfo+0x18e>        
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( interested && !_States_Is_ready( interested->current_state ) ) {
  121774:	85 c0                	test   %eax,%eax                      
  121776:	74 2b                	je     1217a3 <killinfo+0x193>        <== NEVER TAKEN
  121778:	8b 78 10             	mov    0x10(%eax),%edi                
  12177b:	89 7d c8             	mov    %edi,-0x38(%ebp)               
  12177e:	85 ff                	test   %edi,%edi                      
  121780:	74 21                	je     1217a3 <killinfo+0x193>        <== NEVER TAKEN
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
  121782:	8b 7a 10             	mov    0x10(%edx),%edi                
  121785:	85 ff                	test   %edi,%edi                      
  121787:	74 15                	je     12179e <killinfo+0x18e>        
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
  121789:	f7 45 c8 00 00 00 10 	testl  $0x10000000,-0x38(%ebp)        
  121790:	75 11                	jne    1217a3 <killinfo+0x193>        
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
  121792:	81 e7 00 00 00 10    	and    $0x10000000,%edi               
  121798:	74 09                	je     1217a3 <killinfo+0x193>        
  12179a:	89 d9                	mov    %ebx,%ecx                      
  12179c:	eb 03                	jmp    1217a1 <killinfo+0x191>        
       */                                                             
                                                                      
      if ( interested && !_States_Is_ready( interested->current_state ) ) {
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
  12179e:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  1217a1:	89 d0                	mov    %edx,%eax                      
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
  1217a3:	ff 45 d0             	incl   -0x30(%ebp)                    
  1217a6:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  1217a9:	39 55 d0             	cmp    %edx,-0x30(%ebp)               
  1217ac:	76 99                	jbe    121747 <killinfo+0x137>        
  1217ae:	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++) {
  1217b1:	ff 45 cc             	incl   -0x34(%ebp)                    
  1217b4:	83 7d cc 04          	cmpl   $0x4,-0x34(%ebp)               
  1217b8:	0f 85 5b ff ff ff    	jne    121719 <killinfo+0x109>        
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
  1217be:	85 c0                	test   %eax,%eax                      
  1217c0:	74 13                	je     1217d5 <killinfo+0x1c5>        
                                                                      
  /*                                                                  
   *  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 ) ) {  
  1217c2:	51                   	push   %ecx                           
  mask = signo_to_mask( sig );                                        
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  1217c3:	8d 55 dc             	lea    -0x24(%ebp),%edx               
                                                                      
  /*                                                                  
   *  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 ) ) {  
  1217c6:	52                   	push   %edx                           
  1217c7:	53                   	push   %ebx                           
  1217c8:	50                   	push   %eax                           
  1217c9:	e8 8a 00 00 00       	call   121858 <_POSIX_signals_Unblock_thread>
  1217ce:	83 c4 10             	add    $0x10,%esp                     
  1217d1:	84 c0                	test   %al,%al                        
  1217d3:	75 60                	jne    121835 <killinfo+0x225>        
                                                                      
  /*                                                                  
   *  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 );                         
  1217d5:	83 ec 0c             	sub    $0xc,%esp                      
  1217d8:	56                   	push   %esi                           
  1217d9:	e8 66 00 00 00       	call   121844 <_POSIX_signals_Set_process_signals>
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
  1217de:	6b db 0c             	imul   $0xc,%ebx,%ebx                 
  1217e1:	83 c4 10             	add    $0x10,%esp                     
  1217e4:	83 bb b8 a9 12 00 02 	cmpl   $0x2,0x12a9b8(%ebx)            
  1217eb:	75 48                	jne    121835 <killinfo+0x225>        
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
  1217ed:	83 ec 0c             	sub    $0xc,%esp                      
  1217f0:	68 38 ab 12 00       	push   $0x12ab38                      
  1217f5:	e8 2a d9 fe ff       	call   10f124 <_Chain_Get>            
    if ( !psiginfo ) {                                                
  1217fa:	83 c4 10             	add    $0x10,%esp                     
  1217fd:	85 c0                	test   %eax,%eax                      
  1217ff:	75 15                	jne    121816 <killinfo+0x206>        
      _Thread_Enable_dispatch();                                      
  121801:	e8 80 ee fe ff       	call   110686 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
  121806:	e8 39 41 ff ff       	call   115944 <__errno>               
  12180b:	c7 00 0b 00 00 00    	movl   $0xb,(%eax)                    
  121811:	e9 2f fe ff ff       	jmp    121645 <killinfo+0x35>         
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
  121816:	8d 78 08             	lea    0x8(%eax),%edi                 
  121819:	8d 75 dc             	lea    -0x24(%ebp),%esi               
  12181c:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  121821:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  121823:	52                   	push   %edx                           
  121824:	52                   	push   %edx                           
  121825:	50                   	push   %eax                           
  121826:	81 c3 b0 ab 12 00    	add    $0x12abb0,%ebx                 
  12182c:	53                   	push   %ebx                           
  12182d:	e8 b6 d8 fe ff       	call   10f0e8 <_Chain_Append>         
  121832:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  121835:	e8 4c ee fe ff       	call   110686 <_Thread_Enable_dispatch>
  return 0;                                                           
  12183a:	31 c0                	xor    %eax,%eax                      
}                                                                     
  12183c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  12183f:	5b                   	pop    %ebx                           
  121840:	5e                   	pop    %esi                           
  121841:	5f                   	pop    %edi                           
  121842:	c9                   	leave                                 
  121843:	c3                   	ret                                   
                                                                      

0010f1e4 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) {
  10f1e4:	55                   	push   %ebp                           
  10f1e5:	89 e5                	mov    %esp,%ebp                      
  10f1e7:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10f1ea:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
  10f1ed:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_attr_setschedpolicy(                                      
  pthread_attr_t  *attr,                                              
  int              policy                                             
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
  10f1f2:	85 d2                	test   %edx,%edx                      
  10f1f4:	74 1e                	je     10f214 <pthread_attr_setschedpolicy+0x30>
  10f1f6:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10f1f9:	74 19                	je     10f214 <pthread_attr_setschedpolicy+0x30>
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
  10f1fb:	83 f9 04             	cmp    $0x4,%ecx                      
  10f1fe:	77 0f                	ja     10f20f <pthread_attr_setschedpolicy+0x2b>
  10f200:	b0 01                	mov    $0x1,%al                       
  10f202:	d3 e0                	shl    %cl,%eax                       
  10f204:	a8 17                	test   $0x17,%al                      
  10f206:	74 07                	je     10f20f <pthread_attr_setschedpolicy+0x2b><== NEVER TAKEN
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
  10f208:	89 4a 14             	mov    %ecx,0x14(%edx)                
      return 0;                                                       
  10f20b:	31 c0                	xor    %eax,%eax                      
  10f20d:	eb 05                	jmp    10f214 <pthread_attr_setschedpolicy+0x30>
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  10f20f:	b8 86 00 00 00       	mov    $0x86,%eax                     
  }                                                                   
}                                                                     
  10f214:	c9                   	leave                                 
  10f215:	c3                   	ret                                   
                                                                      

0010a504 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
  10a504:	55                   	push   %ebp                           
  10a505:	89 e5                	mov    %esp,%ebp                      
  10a507:	57                   	push   %edi                           
  10a508:	56                   	push   %esi                           
  10a509:	53                   	push   %ebx                           
  10a50a:	83 ec 1c             	sub    $0x1c,%esp                     
  10a50d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a510:	8b 75 10             	mov    0x10(%ebp),%esi                
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
    return EINVAL;                                                    
  10a513:	b8 16 00 00 00       	mov    $0x16,%eax                     
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
  10a518:	85 db                	test   %ebx,%ebx                      
  10a51a:	0f 84 96 00 00 00    	je     10a5b6 <pthread_barrier_init+0xb2>
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
  10a520:	85 f6                	test   %esi,%esi                      
  10a522:	0f 84 8e 00 00 00    	je     10a5b6 <pthread_barrier_init+0xb2>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
  10a528:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10a52b:	85 ff                	test   %edi,%edi                      
  10a52d:	75 0f                	jne    10a53e <pthread_barrier_init+0x3a>
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
  10a52f:	83 ec 0c             	sub    $0xc,%esp                      
  10a532:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  10a535:	57                   	push   %edi                           
  10a536:	e8 19 ff ff ff       	call   10a454 <pthread_barrierattr_init>
  10a53b:	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;                                                    
  10a53e:	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 )                                    
  10a543:	83 3f 00             	cmpl   $0x0,(%edi)                    
  10a546:	74 6e                	je     10a5b6 <pthread_barrier_init+0xb2>
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
  10a548:	83 7f 04 00          	cmpl   $0x0,0x4(%edi)                 
  10a54c:	75 68                	jne    10a5b6 <pthread_barrier_init+0xb2><== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
  10a54e:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  the_attributes.maximum_count = count;                               
  10a555:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10a558:	a1 d4 63 12 00       	mov    0x1263d4,%eax                  
  10a55d:	40                   	inc    %eax                           
  10a55e:	a3 d4 63 12 00       	mov    %eax,0x1263d4                  
 *  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 );                 
  10a563:	83 ec 0c             	sub    $0xc,%esp                      
  10a566:	68 a0 67 12 00       	push   $0x1267a0                      
  10a56b:	e8 08 1e 00 00       	call   10c378 <_Objects_Allocate>     
  10a570:	89 c6                	mov    %eax,%esi                      
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
  10a572:	83 c4 10             	add    $0x10,%esp                     
  10a575:	85 c0                	test   %eax,%eax                      
  10a577:	75 0c                	jne    10a585 <pthread_barrier_init+0x81>
    _Thread_Enable_dispatch();                                        
  10a579:	e8 08 2a 00 00       	call   10cf86 <_Thread_Enable_dispatch>
    return EAGAIN;                                                    
  10a57e:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  10a583:	eb 31                	jmp    10a5b6 <pthread_barrier_init+0xb2>
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
  10a585:	50                   	push   %eax                           
  10a586:	50                   	push   %eax                           
  10a587:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10a58a:	50                   	push   %eax                           
  10a58b:	8d 46 10             	lea    0x10(%esi),%eax                
  10a58e:	50                   	push   %eax                           
  10a58f:	e8 9c 14 00 00       	call   10ba30 <_CORE_barrier_Initialize>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10a594:	8b 46 08             	mov    0x8(%esi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10a597:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10a59a:	8b 15 bc 67 12 00    	mov    0x1267bc,%edx                  
  10a5a0:	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;                                   
  10a5a3:	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;                                  
  10a5aa:	89 03                	mov    %eax,(%ebx)                    
  _Thread_Enable_dispatch();                                          
  10a5ac:	e8 d5 29 00 00       	call   10cf86 <_Thread_Enable_dispatch>
  return 0;                                                           
  10a5b1:	83 c4 10             	add    $0x10,%esp                     
  10a5b4:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a5b6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a5b9:	5b                   	pop    %ebx                           
  10a5ba:	5e                   	pop    %esi                           
  10a5bb:	5f                   	pop    %edi                           
  10a5bc:	c9                   	leave                                 
  10a5bd:	c3                   	ret                                   
                                                                      

00109ebc <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
  109ebc:	55                   	push   %ebp                           
  109ebd:	89 e5                	mov    %esp,%ebp                      
  109ebf:	56                   	push   %esi                           
  109ec0:	53                   	push   %ebx                           
  109ec1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  109ec4:	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 )                                                     
  109ec7:	85 db                	test   %ebx,%ebx                      
  109ec9:	74 4b                	je     109f16 <pthread_cleanup_push+0x5a>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  109ecb:	a1 cc 62 12 00       	mov    0x1262cc,%eax                  
  109ed0:	40                   	inc    %eax                           
  109ed1:	a3 cc 62 12 00       	mov    %eax,0x1262cc                  
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
  109ed6:	83 ec 0c             	sub    $0xc,%esp                      
  109ed9:	6a 10                	push   $0x10                          
  109edb:	e8 22 3b 00 00       	call   10da02 <_Workspace_Allocate>   
                                                                      
  if ( handler ) {                                                    
  109ee0:	83 c4 10             	add    $0x10,%esp                     
  109ee3:	85 c0                	test   %eax,%eax                      
  109ee5:	74 24                	je     109f0b <pthread_cleanup_push+0x4f><== NEVER TAKEN
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  109ee7:	8b 15 1c 68 12 00    	mov    0x12681c,%edx                  
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
  109eed:	8b 92 f8 00 00 00    	mov    0xf8(%edx),%edx                
  109ef3:	81 c2 e4 00 00 00    	add    $0xe4,%edx                     
                                                                      
    handler->routine = routine;                                       
  109ef9:	89 58 08             	mov    %ebx,0x8(%eax)                 
    handler->arg = arg;                                               
  109efc:	89 70 0c             	mov    %esi,0xc(%eax)                 
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  109eff:	51                   	push   %ecx                           
  109f00:	51                   	push   %ecx                           
  109f01:	50                   	push   %eax                           
  109f02:	52                   	push   %edx                           
  109f03:	e8 7c 15 00 00       	call   10b484 <_Chain_Append>         
  109f08:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  _Thread_Enable_dispatch();                                          
}                                                                     
  109f0b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  109f0e:	5b                   	pop    %ebx                           
  109f0f:	5e                   	pop    %esi                           
  109f10:	c9                   	leave                                 
    handler->routine = routine;                                       
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  }                                                                   
  _Thread_Enable_dispatch();                                          
  109f11:	e9 6c 2a 00 00       	jmp    10c982 <_Thread_Enable_dispatch>
}                                                                     
  109f16:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  109f19:	5b                   	pop    %ebx                           
  109f1a:	5e                   	pop    %esi                           
  109f1b:	c9                   	leave                                 
  109f1c:	c3                   	ret                                   
                                                                      

0010ac2c <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
  10ac2c:	55                   	push   %ebp                           
  10ac2d:	89 e5                	mov    %esp,%ebp                      
  10ac2f:	56                   	push   %esi                           
  10ac30:	53                   	push   %ebx                           
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
  10ac31:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10ac34:	85 db                	test   %ebx,%ebx                      
  10ac36:	75 05                	jne    10ac3d <pthread_cond_init+0x11>
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
  10ac38:	bb d8 0b 12 00       	mov    $0x120bd8,%ebx                 
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
    return EINVAL;                                                    
  10ac3d:	b8 16 00 00 00       	mov    $0x16,%eax                     
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
  10ac42:	83 7b 04 01          	cmpl   $0x1,0x4(%ebx)                 
  10ac46:	74 76                	je     10acbe <pthread_cond_init+0x92><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
  10ac48:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  10ac4b:	74 71                	je     10acbe <pthread_cond_init+0x92>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10ac4d:	a1 e4 62 12 00       	mov    0x1262e4,%eax                  
  10ac52:	40                   	inc    %eax                           
  10ac53:	a3 e4 62 12 00       	mov    %eax,0x1262e4                  
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
    _Objects_Allocate( &_POSIX_Condition_variables_Information );     
  10ac58:	83 ec 0c             	sub    $0xc,%esp                      
  10ac5b:	68 48 67 12 00       	push   $0x126748                      
  10ac60:	e8 f3 22 00 00       	call   10cf58 <_Objects_Allocate>     
  10ac65:	89 c6                	mov    %eax,%esi                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
  10ac67:	83 c4 10             	add    $0x10,%esp                     
  10ac6a:	85 c0                	test   %eax,%eax                      
  10ac6c:	75 0c                	jne    10ac7a <pthread_cond_init+0x4e>
    _Thread_Enable_dispatch();                                        
  10ac6e:	e8 f3 2e 00 00       	call   10db66 <_Thread_Enable_dispatch>
    return ENOMEM;                                                    
  10ac73:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  10ac78:	eb 44                	jmp    10acbe <pthread_cond_init+0x92>
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
  10ac7a:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10ac7d:	89 46 10             	mov    %eax,0x10(%esi)                
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
  10ac80:	c7 46 14 00 00 00 00 	movl   $0x0,0x14(%esi)                
                                                                      
  _Thread_queue_Initialize(                                           
  10ac87:	6a 74                	push   $0x74                          
  10ac89:	68 00 08 00 10       	push   $0x10000800                    
  10ac8e:	6a 00                	push   $0x0                           
  10ac90:	8d 46 18             	lea    0x18(%esi),%eax                
  10ac93:	50                   	push   %eax                           
  10ac94:	e8 c3 35 00 00       	call   10e25c <_Thread_queue_Initialize>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10ac99:	8b 46 08             	mov    0x8(%esi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10ac9c:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10ac9f:	8b 15 64 67 12 00    	mov    0x126764,%edx                  
  10aca5:	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;                                   
  10aca8:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
  10acaf:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10acb2:	89 02                	mov    %eax,(%edx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10acb4:	e8 ad 2e 00 00       	call   10db66 <_Thread_Enable_dispatch>
                                                                      
  return 0;                                                           
  10acb9:	83 c4 10             	add    $0x10,%esp                     
  10acbc:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10acbe:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10acc1:	5b                   	pop    %ebx                           
  10acc2:	5e                   	pop    %esi                           
  10acc3:	c9                   	leave                                 
  10acc4:	c3                   	ret                                   
                                                                      

0010aae0 <pthread_condattr_destroy>: */ int pthread_condattr_destroy( pthread_condattr_t *attr ) {
  10aae0:	55                   	push   %ebp                           
  10aae1:	89 e5                	mov    %esp,%ebp                      
  10aae3:	8b 55 08             	mov    0x8(%ebp),%edx                 
  if ( !attr || attr->is_initialized == false )                       
    return EINVAL;                                                    
  10aae6:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
int pthread_condattr_destroy(                                         
  pthread_condattr_t *attr                                            
)                                                                     
{                                                                     
  if ( !attr || attr->is_initialized == false )                       
  10aaeb:	85 d2                	test   %edx,%edx                      
  10aaed:	74 0d                	je     10aafc <pthread_condattr_destroy+0x1c>
  10aaef:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10aaf2:	74 08                	je     10aafc <pthread_condattr_destroy+0x1c><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  10aaf4:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    
  return 0;                                                           
  10aafa:	30 c0                	xor    %al,%al                        
}                                                                     
  10aafc:	c9                   	leave                                 
  10aafd:	c3                   	ret                                   
                                                                      

0010a214 <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
  10a214:	55                   	push   %ebp                           
  10a215:	89 e5                	mov    %esp,%ebp                      
  10a217:	57                   	push   %edi                           
  10a218:	56                   	push   %esi                           
  10a219:	53                   	push   %ebx                           
  10a21a:	83 ec 5c             	sub    $0x5c,%esp                     
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
    return EFAULT;                                                    
  10a21d:	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 )                                               
  10a224:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10a228:	0f 84 0f 02 00 00    	je     10a43d <pthread_create+0x229>  
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
  10a22e:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10a231:	85 db                	test   %ebx,%ebx                      
  10a233:	75 05                	jne    10a23a <pthread_create+0x26>   
  10a235:	bb 68 f8 11 00       	mov    $0x11f868,%ebx                 
                                                                      
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
  10a23a:	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 )                                    
  10a241:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  10a244:	0f 84 f3 01 00 00    	je     10a43d <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) )
  10a24a:	83 7b 04 00          	cmpl   $0x0,0x4(%ebx)                 
  10a24e:	74 0e                	je     10a25e <pthread_create+0x4a>   
  10a250:	a1 14 12 12 00       	mov    0x121214,%eax                  
  10a255:	39 43 08             	cmp    %eax,0x8(%ebx)                 
  10a258:	0f 82 df 01 00 00    	jb     10a43d <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 ) {                                 
  10a25e:	8b 43 10             	mov    0x10(%ebx),%eax                
  10a261:	83 f8 01             	cmp    $0x1,%eax                      
  10a264:	74 0b                	je     10a271 <pthread_create+0x5d>   
  10a266:	83 f8 02             	cmp    $0x2,%eax                      
  10a269:	0f 85 c7 01 00 00    	jne    10a436 <pthread_create+0x222>  
  10a26f:	eb 1f                	jmp    10a290 <pthread_create+0x7c>   
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
  10a271:	a1 24 58 12 00       	mov    0x125824,%eax                  
  10a276:	8b b0 f8 00 00 00    	mov    0xf8(%eax),%esi                
      schedpolicy = api->schedpolicy;                                 
  10a27c:	8b 86 84 00 00 00    	mov    0x84(%esi),%eax                
  10a282:	89 45 ac             	mov    %eax,-0x54(%ebp)               
      schedparam  = api->schedparam;                                  
  10a285:	8d 7d c4             	lea    -0x3c(%ebp),%edi               
  10a288:	81 c6 88 00 00 00    	add    $0x88,%esi                     
  10a28e:	eb 0c                	jmp    10a29c <pthread_create+0x88>   
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
  10a290:	8b 43 14             	mov    0x14(%ebx),%eax                
  10a293:	89 45 ac             	mov    %eax,-0x54(%ebp)               
      schedparam  = the_attr->schedparam;                             
  10a296:	8d 7d c4             	lea    -0x3c(%ebp),%edi               
  10a299:	8d 73 18             	lea    0x18(%ebx),%esi                
  10a29c:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10a2a1:	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;                                                   
  10a2a3:	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 )           
  10a2aa:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)                 
  10a2ae:	0f 85 89 01 00 00    	jne    10a43d <pthread_create+0x229>  
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
  10a2b4:	83 ec 0c             	sub    $0xc,%esp                      
  10a2b7:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10a2ba:	e8 01 58 00 00       	call   10fac0 <_POSIX_Priority_Is_valid>
  10a2bf:	83 c4 10             	add    $0x10,%esp                     
    return EINVAL;                                                    
  10a2c2:	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 ) )       
  10a2c9:	84 c0                	test   %al,%al                        
  10a2cb:	0f 84 6c 01 00 00    	je     10a43d <pthread_create+0x229>  <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
  10a2d1:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10a2d4:	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);
  10a2d7:	0f b6 3d 18 12 12 00 	movzbl 0x121218,%edi                  
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
  10a2de:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10a2e1:	50                   	push   %eax                           
  10a2e2:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a2e5:	50                   	push   %eax                           
  10a2e6:	8d 45 c4             	lea    -0x3c(%ebp),%eax               
  10a2e9:	50                   	push   %eax                           
  10a2ea:	ff 75 ac             	pushl  -0x54(%ebp)                    
  10a2ed:	e8 ee 57 00 00       	call   10fae0 <_POSIX_Thread_Translate_sched_param>
  10a2f2:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
  10a2f5:	83 c4 10             	add    $0x10,%esp                     
  10a2f8:	85 c0                	test   %eax,%eax                      
  10a2fa:	0f 85 3d 01 00 00    	jne    10a43d <pthread_create+0x229>  
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
  10a300:	83 ec 0c             	sub    $0xc,%esp                      
  10a303:	ff 35 7c 53 12 00    	pushl  0x12537c                       
  10a309:	e8 42 15 00 00       	call   10b850 <_API_Mutex_Lock>       
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
  10a30e:	c7 04 24 20 55 12 00 	movl   $0x125520,(%esp)               
  10a315:	e8 9e 1e 00 00       	call   10c1b8 <_Objects_Allocate>     
  10a31a:	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 ) {                                                
  10a31d:	83 c4 10             	add    $0x10,%esp                     
  10a320:	85 c0                	test   %eax,%eax                      
  10a322:	75 05                	jne    10a329 <pthread_create+0x115>  
    _RTEMS_Unlock_allocator();                                        
  10a324:	83 ec 0c             	sub    $0xc,%esp                      
  10a327:	eb 53                	jmp    10a37c <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(                                        
  10a329:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10a32c:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10a32f:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10a332:	a1 14 12 12 00       	mov    0x121214,%eax                  
  10a337:	d1 e0                	shl    %eax                           
  10a339:	39 d0                	cmp    %edx,%eax                      
  10a33b:	73 02                	jae    10a33f <pthread_create+0x12b>  
  10a33d:	89 d0                	mov    %edx,%eax                      
  10a33f:	52                   	push   %edx                           
  10a340:	6a 00                	push   $0x0                           
  10a342:	6a 00                	push   $0x0                           
  10a344:	51                   	push   %ecx                           
  10a345:	56                   	push   %esi                           
  10a346:	6a 01                	push   $0x1                           
  10a348:	81 e7 ff 00 00 00    	and    $0xff,%edi                     
  10a34e:	2b 7d a8             	sub    -0x58(%ebp),%edi               
  10a351:	57                   	push   %edi                           
  10a352:	6a 01                	push   $0x1                           
  10a354:	50                   	push   %eax                           
  10a355:	ff 73 04             	pushl  0x4(%ebx)                      
  10a358:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10a35b:	68 20 55 12 00       	push   $0x125520                      
  10a360:	e8 f3 2a 00 00       	call   10ce58 <_Thread_Initialize>    
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
  10a365:	83 c4 30             	add    $0x30,%esp                     
  10a368:	84 c0                	test   %al,%al                        
  10a36a:	75 2a                	jne    10a396 <pthread_create+0x182>  
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
  10a36c:	56                   	push   %esi                           
  10a36d:	56                   	push   %esi                           
  10a36e:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10a371:	68 20 55 12 00       	push   $0x125520                      
  10a376:	e8 35 21 00 00       	call   10c4b0 <_Objects_Free>         
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
  10a37b:	5b                   	pop    %ebx                           
  10a37c:	ff 35 7c 53 12 00    	pushl  0x12537c                       
  10a382:	e8 11 15 00 00       	call   10b898 <_API_Mutex_Unlock>     
    return EAGAIN;                                                    
  10a387:	83 c4 10             	add    $0x10,%esp                     
  10a38a:	c7 45 b4 0b 00 00 00 	movl   $0xb,-0x4c(%ebp)               
  10a391:	e9 a7 00 00 00       	jmp    10a43d <pthread_create+0x229>  
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10a396:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a399:	8b 90 f8 00 00 00    	mov    0xf8(%eax),%edx                
                                                                      
  api->Attributes  = *the_attr;                                       
  10a39f:	b9 10 00 00 00       	mov    $0x10,%ecx                     
  10a3a4:	89 d7                	mov    %edx,%edi                      
  10a3a6:	89 de                	mov    %ebx,%esi                      
  10a3a8:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  api->detachstate = the_attr->detachstate;                           
  10a3aa:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  10a3ad:	89 42 40             	mov    %eax,0x40(%edx)                
  api->schedpolicy = schedpolicy;                                     
  10a3b0:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10a3b3:	89 82 84 00 00 00    	mov    %eax,0x84(%edx)                
  api->schedparam  = schedparam;                                      
  10a3b9:	8d ba 88 00 00 00    	lea    0x88(%edx),%edi                
  10a3bf:	8d 75 c4             	lea    -0x3c(%ebp),%esi               
  10a3c2:	b1 07                	mov    $0x7,%cl                       
  10a3c4:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
  10a3c6:	83 ec 0c             	sub    $0xc,%esp                      
  10a3c9:	6a 00                	push   $0x0                           
  10a3cb:	ff 75 14             	pushl  0x14(%ebp)                     
  10a3ce:	ff 75 10             	pushl  0x10(%ebp)                     
  10a3d1:	6a 01                	push   $0x1                           
  10a3d3:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10a3d6:	89 55 a4             	mov    %edx,-0x5c(%ebp)               
  10a3d9:	e8 02 34 00 00       	call   10d7e0 <_Thread_Start>         
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
  10a3de:	83 c4 20             	add    $0x20,%esp                     
  10a3e1:	83 7d ac 04          	cmpl   $0x4,-0x54(%ebp)               
  10a3e5:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10a3e8:	75 2e                	jne    10a418 <pthread_create+0x204>  
    _Watchdog_Insert_ticks(                                           
  10a3ea:	83 ec 0c             	sub    $0xc,%esp                      
      &api->Sporadic_timer,                                           
      _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period )     
  10a3ed:	8d 82 90 00 00 00    	lea    0x90(%edx),%eax                
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
    _Watchdog_Insert_ticks(                                           
  10a3f3:	50                   	push   %eax                           
  10a3f4:	e8 8f 35 00 00       	call   10d988 <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10a3f9:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10a3fc:	89 82 b4 00 00 00    	mov    %eax,0xb4(%edx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10a402:	58                   	pop    %eax                           
  10a403:	59                   	pop    %ecx                           
  10a404:	81 c2 a8 00 00 00    	add    $0xa8,%edx                     
  10a40a:	52                   	push   %edx                           
  10a40b:	68 9c 53 12 00       	push   $0x12539c                      
  10a410:	e8 27 38 00 00       	call   10dc3c <_Watchdog_Insert>      
  10a415:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
  10a418:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a41b:	8b 50 08             	mov    0x8(%eax),%edx                 
  10a41e:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10a421:	89 10                	mov    %edx,(%eax)                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  10a423:	83 ec 0c             	sub    $0xc,%esp                      
  10a426:	ff 35 7c 53 12 00    	pushl  0x12537c                       
  10a42c:	e8 67 14 00 00       	call   10b898 <_API_Mutex_Unlock>     
  return 0;                                                           
  10a431:	83 c4 10             	add    $0x10,%esp                     
  10a434:	eb 07                	jmp    10a43d <pthread_create+0x229>  
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
      break;                                                          
                                                                      
    default:                                                          
      return EINVAL;                                                  
  10a436:	c7 45 b4 16 00 00 00 	movl   $0x16,-0x4c(%ebp)              
   */                                                                 
  *thread = the_thread->Object.id;                                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return 0;                                                           
}                                                                     
  10a43d:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10a440:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a443:	5b                   	pop    %ebx                           
  10a444:	5e                   	pop    %esi                           
  10a445:	5f                   	pop    %edi                           
  10a446:	c9                   	leave                                 
  10a447:	c3                   	ret                                   
                                                                      

00110cb0 <pthread_exit>: } void pthread_exit( void *value_ptr ) {
  110cb0:	55                   	push   %ebp                           
  110cb1:	89 e5                	mov    %esp,%ebp                      
  110cb3:	83 ec 10             	sub    $0x10,%esp                     
  _POSIX_Thread_Exit( _Thread_Executing, value_ptr );                 
  110cb6:	ff 75 08             	pushl  0x8(%ebp)                      
  110cb9:	ff 35 34 48 12 00    	pushl  0x124834                       
  110cbf:	e8 88 ff ff ff       	call   110c4c <_POSIX_Thread_Exit>    
  110cc4:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  110cc7:	c9                   	leave                                 <== NOT EXECUTED
  110cc8:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010bf20 <pthread_mutex_timedlock>: int pthread_mutex_timedlock( pthread_mutex_t *mutex, const struct timespec *abstime ) {
  10bf20:	55                   	push   %ebp                           
  10bf21:	89 e5                	mov    %esp,%ebp                      
  10bf23:	53                   	push   %ebx                           
  10bf24:	83 ec 2c             	sub    $0x2c,%esp                     
   *                                                                  
   *  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 );       
  10bf27:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bf2a:	50                   	push   %eax                           
  10bf2b:	ff 75 0c             	pushl  0xc(%ebp)                      
  10bf2e:	e8 b9 00 00 00       	call   10bfec <_POSIX_Absolute_timeout_to_ticks>
  10bf33:	89 c3                	mov    %eax,%ebx                      
int	_EXFUN(pthread_mutex_trylock, (pthread_mutex_t *__mutex));        
int	_EXFUN(pthread_mutex_unlock, (pthread_mutex_t *__mutex));         
                                                                      
#if defined(_POSIX_TIMEOUTS)                                          
                                                                      
int	_EXFUN(pthread_mutex_timedlock,                                   
  10bf35:	83 c4 0c             	add    $0xc,%esp                      
  10bf38:	83 f8 03             	cmp    $0x3,%eax                      
  10bf3b:	0f 94 c2             	sete   %dl                            
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
  10bf3e:	ff 75 f4             	pushl  -0xc(%ebp)                     
  10bf41:	0f b6 c2             	movzbl %dl,%eax                       
  10bf44:	50                   	push   %eax                           
  10bf45:	ff 75 08             	pushl  0x8(%ebp)                      
  10bf48:	88 55 e4             	mov    %dl,-0x1c(%ebp)                
  10bf4b:	e8 e8 fe ff ff       	call   10be38 <_POSIX_Mutex_Lock_support>
   *  This service only gives us the option to block.  We used a polling
   *  attempt to lock if the abstime was not in the future.  If we did
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
  10bf50:	83 c4 10             	add    $0x10,%esp                     
  10bf53:	8a 55 e4             	mov    -0x1c(%ebp),%dl                
  10bf56:	84 d2                	test   %dl,%dl                        
  10bf58:	75 1d                	jne    10bf77 <pthread_mutex_timedlock+0x57>
  10bf5a:	83 f8 10             	cmp    $0x10,%eax                     
  10bf5d:	75 18                	jne    10bf77 <pthread_mutex_timedlock+0x57><== NEVER TAKEN
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
  10bf5f:	85 db                	test   %ebx,%ebx                      
  10bf61:	74 08                	je     10bf6b <pthread_mutex_timedlock+0x4b><== NEVER TAKEN
      return EINVAL;                                                  
    if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||               
  10bf63:	4b                   	dec    %ebx                           
  10bf64:	83 fb 01             	cmp    $0x1,%ebx                      
  10bf67:	77 0e                	ja     10bf77 <pthread_mutex_timedlock+0x57><== NEVER TAKEN
  10bf69:	eb 07                	jmp    10bf72 <pthread_mutex_timedlock+0x52>
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
      return EINVAL;                                                  
  10bf6b:	b8 16 00 00 00       	mov    $0x16,%eax                     <== NOT EXECUTED
  10bf70:	eb 05                	jmp    10bf77 <pthread_mutex_timedlock+0x57><== NOT EXECUTED
    if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||               
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
  10bf72:	b8 74 00 00 00       	mov    $0x74,%eax                     
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
  10bf77:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bf7a:	c9                   	leave                                 
  10bf7b:	c3                   	ret                                   
                                                                      

0010bb98 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) {
  10bb98:	55                   	push   %ebp                           
  10bb99:	89 e5                	mov    %esp,%ebp                      
  10bb9b:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bb9e:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
  10bba1:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_mutexattr_setpshared(                                     
  pthread_mutexattr_t *attr,                                          
  int                  pshared                                        
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
  10bba6:	85 d2                	test   %edx,%edx                      
  10bba8:	74 0f                	je     10bbb9 <pthread_mutexattr_setpshared+0x21>
  10bbaa:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10bbad:	74 0a                	je     10bbb9 <pthread_mutexattr_setpshared+0x21>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
  10bbaf:	83 f9 01             	cmp    $0x1,%ecx                      
  10bbb2:	77 05                	ja     10bbb9 <pthread_mutexattr_setpshared+0x21><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
  10bbb4:	89 4a 04             	mov    %ecx,0x4(%edx)                 
      return 0;                                                       
  10bbb7:	30 c0                	xor    %al,%al                        
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10bbb9:	c9                   	leave                                 
  10bbba:	c3                   	ret                                   
                                                                      

00109db0 <pthread_mutexattr_settype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) {
  109db0:	55                   	push   %ebp                           
  109db1:	89 e5                	mov    %esp,%ebp                      
  109db3:	8b 55 08             	mov    0x8(%ebp),%edx                 
  109db6:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
  109db9:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_mutexattr_settype(                                        
  pthread_mutexattr_t *attr,                                          
  int                  type                                           
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
  109dbe:	85 d2                	test   %edx,%edx                      
  109dc0:	74 0f                	je     109dd1 <pthread_mutexattr_settype+0x21>
  109dc2:	83 3a 00             	cmpl   $0x0,(%edx)                    
  109dc5:	74 0a                	je     109dd1 <pthread_mutexattr_settype+0x21><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
  109dc7:	83 f9 03             	cmp    $0x3,%ecx                      
  109dca:	77 05                	ja     109dd1 <pthread_mutexattr_settype+0x21>
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
  109dcc:	89 4a 10             	mov    %ecx,0x10(%edx)                
      return 0;                                                       
  109dcf:	30 c0                	xor    %al,%al                        
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  109dd1:	c9                   	leave                                 
  109dd2:	c3                   	ret                                   
                                                                      

0010a860 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
  10a860:	55                   	push   %ebp                           
  10a861:	89 e5                	mov    %esp,%ebp                      
  10a863:	56                   	push   %esi                           
  10a864:	53                   	push   %ebx                           
  10a865:	83 ec 10             	sub    $0x10,%esp                     
  10a868:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a86b:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( !once_control || !init_routine )                               
  10a86e:	85 f6                	test   %esi,%esi                      
  10a870:	74 51                	je     10a8c3 <pthread_once+0x63>     
  10a872:	85 db                	test   %ebx,%ebx                      
  10a874:	74 4d                	je     10a8c3 <pthread_once+0x63>     
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
  10a876:	31 c0                	xor    %eax,%eax                      
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
  10a878:	83 7b 04 00          	cmpl   $0x0,0x4(%ebx)                 
  10a87c:	75 4a                	jne    10a8c8 <pthread_once+0x68>     
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
  10a87e:	52                   	push   %edx                           
  10a87f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10a882:	50                   	push   %eax                           
  10a883:	68 00 01 00 00       	push   $0x100                         
  10a888:	68 00 01 00 00       	push   $0x100                         
  10a88d:	e8 9e 0a 00 00       	call   10b330 <rtems_task_mode>       
    if ( !once_control->init_executed ) {                             
  10a892:	83 c4 10             	add    $0x10,%esp                     
  10a895:	83 7b 04 00          	cmpl   $0x0,0x4(%ebx)                 
  10a899:	75 0f                	jne    10a8aa <pthread_once+0x4a>     <== NEVER TAKEN
      once_control->is_initialized = true;                            
  10a89b:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
      once_control->init_executed = true;                             
  10a8a1:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
      (*init_routine)();                                              
  10a8a8:	ff d6                	call   *%esi                          
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  10a8aa:	50                   	push   %eax                           
  10a8ab:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10a8ae:	50                   	push   %eax                           
  10a8af:	68 00 01 00 00       	push   $0x100                         
  10a8b4:	ff 75 f4             	pushl  -0xc(%ebp)                     
  10a8b7:	e8 74 0a 00 00       	call   10b330 <rtems_task_mode>       
  10a8bc:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  return 0;                                                           
  10a8bf:	31 c0                	xor    %eax,%eax                      
  10a8c1:	eb 05                	jmp    10a8c8 <pthread_once+0x68>     
  pthread_once_t  *once_control,                                      
  void           (*init_routine)(void)                                
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
  10a8c3:	b8 16 00 00 00       	mov    $0x16,%eax                     
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
}                                                                     
  10a8c8:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a8cb:	5b                   	pop    %ebx                           
  10a8cc:	5e                   	pop    %esi                           
  10a8cd:	c9                   	leave                                 
  10a8ce:	c3                   	ret                                   
                                                                      

0010aecc <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
  10aecc:	55                   	push   %ebp                           
  10aecd:	89 e5                	mov    %esp,%ebp                      
  10aecf:	56                   	push   %esi                           
  10aed0:	53                   	push   %ebx                           
  10aed1:	83 ec 10             	sub    $0x10,%esp                     
  10aed4:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
    return EINVAL;                                                    
  10aed7:	b8 16 00 00 00       	mov    $0x16,%eax                     
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
  10aedc:	85 db                	test   %ebx,%ebx                      
  10aede:	0f 84 8b 00 00 00    	je     10af6f <pthread_rwlock_init+0xa3>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
  10aee4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10aee7:	85 f6                	test   %esi,%esi                      
  10aee9:	75 0f                	jne    10aefa <pthread_rwlock_init+0x2e>
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
  10aeeb:	83 ec 0c             	sub    $0xc,%esp                      
  10aeee:	8d 75 ec             	lea    -0x14(%ebp),%esi               
  10aef1:	56                   	push   %esi                           
  10aef2:	e8 5d 09 00 00       	call   10b854 <pthread_rwlockattr_init>
  10aef7:	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;                                                    
  10aefa:	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 )                                    
  10aeff:	83 3e 00             	cmpl   $0x0,(%esi)                    
  10af02:	74 6b                	je     10af6f <pthread_rwlock_init+0xa3><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
  10af04:	83 7e 04 00          	cmpl   $0x0,0x4(%esi)                 
  10af08:	75 65                	jne    10af6f <pthread_rwlock_init+0xa3><== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void _CORE_RWLock_Initialize_attributes(         
  CORE_RWLock_Attributes *the_attributes                              
)                                                                     
{                                                                     
  the_attributes->XXX = 0;                                            
  10af0a:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10af11:	a1 f4 72 12 00       	mov    0x1272f4,%eax                  
  10af16:	40                   	inc    %eax                           
  10af17:	a3 f4 72 12 00       	mov    %eax,0x1272f4                  
 *  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 );                  
  10af1c:	83 ec 0c             	sub    $0xc,%esp                      
  10af1f:	68 00 75 12 00       	push   $0x127500                      
  10af24:	e8 2f 23 00 00       	call   10d258 <_Objects_Allocate>     
  10af29:	89 c6                	mov    %eax,%esi                      
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
  10af2b:	83 c4 10             	add    $0x10,%esp                     
  10af2e:	85 c0                	test   %eax,%eax                      
  10af30:	75 0c                	jne    10af3e <pthread_rwlock_init+0x72>
    _Thread_Enable_dispatch();                                        
  10af32:	e8 2f 2f 00 00       	call   10de66 <_Thread_Enable_dispatch>
    return EAGAIN;                                                    
  10af37:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  10af3c:	eb 31                	jmp    10af6f <pthread_rwlock_init+0xa3>
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
  10af3e:	50                   	push   %eax                           
  10af3f:	50                   	push   %eax                           
  10af40:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10af43:	50                   	push   %eax                           
  10af44:	8d 46 10             	lea    0x10(%esi),%eax                
  10af47:	50                   	push   %eax                           
  10af48:	e8 6f 1b 00 00       	call   10cabc <_CORE_RWLock_Initialize>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10af4d:	8b 46 08             	mov    0x8(%esi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10af50:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10af53:	8b 15 1c 75 12 00    	mov    0x12751c,%edx                  
  10af59:	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;                                   
  10af5c:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
  10af63:	89 03                	mov    %eax,(%ebx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10af65:	e8 fc 2e 00 00       	call   10de66 <_Thread_Enable_dispatch>
  return 0;                                                           
  10af6a:	83 c4 10             	add    $0x10,%esp                     
  10af6d:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10af6f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10af72:	5b                   	pop    %ebx                           
  10af73:	5e                   	pop    %esi                           
  10af74:	c9                   	leave                                 
  10af75:	c3                   	ret                                   
                                                                      

0010afe0 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
  10afe0:	55                   	push   %ebp                           
  10afe1:	89 e5                	mov    %esp,%ebp                      
  10afe3:	57                   	push   %edi                           
  10afe4:	56                   	push   %esi                           
  10afe5:	53                   	push   %ebx                           
  10afe6:	83 ec 2c             	sub    $0x2c,%esp                     
  10afe9:	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;                                                    
  10afec:	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 )                                                      
  10aff1:	85 ff                	test   %edi,%edi                      
  10aff3:	0f 84 87 00 00 00    	je     10b080 <pthread_rwlock_timedrdlock+0xa0><== NEVER TAKEN
   *                                                                  
   *  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 );       
  10aff9:	50                   	push   %eax                           
  10affa:	50                   	push   %eax                           
  10affb:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10affe:	50                   	push   %eax                           
  10afff:	ff 75 0c             	pushl  0xc(%ebp)                      
  10b002:	e8 39 58 00 00       	call   110840 <_POSIX_Absolute_timeout_to_ticks>
  10b007:	89 c6                	mov    %eax,%esi                      
  10b009:	83 c4 0c             	add    $0xc,%esp                      
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  10b00c:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10b00f:	50                   	push   %eax                           
  10b010:	ff 37                	pushl  (%edi)                         
  10b012:	68 00 75 12 00       	push   $0x127500                      
  10b017:	e8 6c 26 00 00       	call   10d688 <_Objects_Get>          
  switch ( location ) {                                               
  10b01c:	83 c4 10             	add    $0x10,%esp                     
  10b01f:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b023:	75 5b                	jne    10b080 <pthread_rwlock_timedrdlock+0xa0>
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,                                
  10b025:	83 fe 03             	cmp    $0x3,%esi                      
  10b028:	0f 94 c2             	sete   %dl                            
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
  10b02b:	83 ec 0c             	sub    $0xc,%esp                      
  10b02e:	6a 00                	push   $0x0                           
  10b030:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b033:	0f b6 ca             	movzbl %dl,%ecx                       
  10b036:	51                   	push   %ecx                           
  10b037:	ff 37                	pushl  (%edi)                         
  10b039:	83 c0 10             	add    $0x10,%eax                     
  10b03c:	50                   	push   %eax                           
  10b03d:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  10b040:	e8 ab 1a 00 00       	call   10caf0 <_CORE_RWLock_Obtain_for_reading>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10b045:	83 c4 20             	add    $0x20,%esp                     
  10b048:	e8 19 2e 00 00       	call   10de66 <_Thread_Enable_dispatch>
      if ( !do_wait ) {                                               
  10b04d:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  10b050:	84 d2                	test   %dl,%dl                        
  10b052:	75 17                	jne    10b06b <pthread_rwlock_timedrdlock+0x8b>
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
  10b054:	a1 44 78 12 00       	mov    0x127844,%eax                  
  10b059:	83 78 34 02          	cmpl   $0x2,0x34(%eax)                
  10b05d:	75 0c                	jne    10b06b <pthread_rwlock_timedrdlock+0x8b>
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                    
  10b05f:	85 f6                	test   %esi,%esi                      
  10b061:	74 1d                	je     10b080 <pthread_rwlock_timedrdlock+0xa0><== NEVER TAKEN
	    return EINVAL;                                                   
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                
  10b063:	4e                   	dec    %esi                           
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
  10b064:	b3 74                	mov    $0x74,%bl                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                    
	    return EINVAL;                                                   
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                
  10b066:	83 fe 01             	cmp    $0x1,%esi                      
  10b069:	76 15                	jbe    10b080 <pthread_rwlock_timedrdlock+0xa0><== ALWAYS TAKEN
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b06b:	83 ec 0c             	sub    $0xc,%esp                      
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
  10b06e:	a1 44 78 12 00       	mov    0x127844,%eax                  
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b073:	ff 70 34             	pushl  0x34(%eax)                     
  10b076:	e8 bd 00 00 00       	call   10b138 <_POSIX_RWLock_Translate_core_RWLock_return_code>
  10b07b:	89 c3                	mov    %eax,%ebx                      
  10b07d:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10b080:	89 d8                	mov    %ebx,%eax                      
  10b082:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b085:	5b                   	pop    %ebx                           
  10b086:	5e                   	pop    %esi                           
  10b087:	5f                   	pop    %edi                           
  10b088:	c9                   	leave                                 
  10b089:	c3                   	ret                                   
                                                                      

0010b08c <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
  10b08c:	55                   	push   %ebp                           
  10b08d:	89 e5                	mov    %esp,%ebp                      
  10b08f:	57                   	push   %edi                           
  10b090:	56                   	push   %esi                           
  10b091:	53                   	push   %ebx                           
  10b092:	83 ec 2c             	sub    $0x2c,%esp                     
  10b095:	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;                                                    
  10b098:	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 )                                                      
  10b09d:	85 ff                	test   %edi,%edi                      
  10b09f:	0f 84 87 00 00 00    	je     10b12c <pthread_rwlock_timedwrlock+0xa0>
   *                                                                  
   *  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 );       
  10b0a5:	50                   	push   %eax                           
  10b0a6:	50                   	push   %eax                           
  10b0a7:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10b0aa:	50                   	push   %eax                           
  10b0ab:	ff 75 0c             	pushl  0xc(%ebp)                      
  10b0ae:	e8 8d 57 00 00       	call   110840 <_POSIX_Absolute_timeout_to_ticks>
  10b0b3:	89 c6                	mov    %eax,%esi                      
  10b0b5:	83 c4 0c             	add    $0xc,%esp                      
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  10b0b8:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10b0bb:	50                   	push   %eax                           
  10b0bc:	ff 37                	pushl  (%edi)                         
  10b0be:	68 00 75 12 00       	push   $0x127500                      
  10b0c3:	e8 c0 25 00 00       	call   10d688 <_Objects_Get>          
  switch ( location ) {                                               
  10b0c8:	83 c4 10             	add    $0x10,%esp                     
  10b0cb:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b0cf:	75 5b                	jne    10b12c <pthread_rwlock_timedwrlock+0xa0>
        (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,                                
  10b0d1:	83 fe 03             	cmp    $0x3,%esi                      
  10b0d4:	0f 94 c2             	sete   %dl                            
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
  10b0d7:	83 ec 0c             	sub    $0xc,%esp                      
  10b0da:	6a 00                	push   $0x0                           
  10b0dc:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b0df:	0f b6 ca             	movzbl %dl,%ecx                       
  10b0e2:	51                   	push   %ecx                           
  10b0e3:	ff 37                	pushl  (%edi)                         
  10b0e5:	83 c0 10             	add    $0x10,%eax                     
  10b0e8:	50                   	push   %eax                           
  10b0e9:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  10b0ec:	e8 b7 1a 00 00       	call   10cba8 <_CORE_RWLock_Obtain_for_writing>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10b0f1:	83 c4 20             	add    $0x20,%esp                     
  10b0f4:	e8 6d 2d 00 00       	call   10de66 <_Thread_Enable_dispatch>
      if ( !do_wait &&                                                
  10b0f9:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  10b0fc:	84 d2                	test   %dl,%dl                        
  10b0fe:	75 17                	jne    10b117 <pthread_rwlock_timedwrlock+0x8b>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
  10b100:	a1 44 78 12 00       	mov    0x127844,%eax                  
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
  10b105:	83 78 34 02          	cmpl   $0x2,0x34(%eax)                
  10b109:	75 0c                	jne    10b117 <pthread_rwlock_timedwrlock+0x8b>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                      
  10b10b:	85 f6                	test   %esi,%esi                      
  10b10d:	74 1d                	je     10b12c <pthread_rwlock_timedwrlock+0xa0><== NEVER TAKEN
	  return EINVAL;                                                     
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
  10b10f:	4e                   	dec    %esi                           
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
  10b110:	b3 74                	mov    $0x74,%bl                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                      
	  return EINVAL;                                                     
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
  10b112:	83 fe 01             	cmp    $0x1,%esi                      
  10b115:	76 15                	jbe    10b12c <pthread_rwlock_timedwrlock+0xa0><== ALWAYS TAKEN
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b117:	83 ec 0c             	sub    $0xc,%esp                      
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
  10b11a:	a1 44 78 12 00       	mov    0x127844,%eax                  
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b11f:	ff 70 34             	pushl  0x34(%eax)                     
  10b122:	e8 11 00 00 00       	call   10b138 <_POSIX_RWLock_Translate_core_RWLock_return_code>
  10b127:	89 c3                	mov    %eax,%ebx                      
  10b129:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10b12c:	89 d8                	mov    %ebx,%eax                      
  10b12e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b131:	5b                   	pop    %ebx                           
  10b132:	5e                   	pop    %esi                           
  10b133:	5f                   	pop    %edi                           
  10b134:	c9                   	leave                                 
  10b135:	c3                   	ret                                   
                                                                      

0010b874 <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) {
  10b874:	55                   	push   %ebp                           
  10b875:	89 e5                	mov    %esp,%ebp                      
  10b877:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10b87a:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr )                                                        
    return EINVAL;                                                    
  10b87d:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_rwlockattr_setpshared(                                    
  pthread_rwlockattr_t *attr,                                         
  int                    pshared                                      
)                                                                     
{                                                                     
  if ( !attr )                                                        
  10b882:	85 d2                	test   %edx,%edx                      
  10b884:	74 0f                	je     10b895 <pthread_rwlockattr_setpshared+0x21>
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
  10b886:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10b889:	74 0a                	je     10b895 <pthread_rwlockattr_setpshared+0x21>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
  10b88b:	83 f9 01             	cmp    $0x1,%ecx                      
  10b88e:	77 05                	ja     10b895 <pthread_rwlockattr_setpshared+0x21><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
  10b890:	89 4a 04             	mov    %ecx,0x4(%edx)                 
      return 0;                                                       
  10b893:	30 c0                	xor    %al,%al                        
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10b895:	c9                   	leave                                 
  10b896:	c3                   	ret                                   
                                                                      

0010c744 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
  10c744:	55                   	push   %ebp                           
  10c745:	89 e5                	mov    %esp,%ebp                      
  10c747:	57                   	push   %edi                           
  10c748:	56                   	push   %esi                           
  10c749:	53                   	push   %ebx                           
  10c74a:	83 ec 2c             	sub    $0x2c,%esp                     
  10c74d:	8b 75 10             	mov    0x10(%ebp),%esi                
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
    return EINVAL;                                                    
  10c750:	c7 45 d4 16 00 00 00 	movl   $0x16,-0x2c(%ebp)              
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
  10c757:	85 f6                	test   %esi,%esi                      
  10c759:	0f 84 00 01 00 00    	je     10c85f <pthread_setschedparam+0x11b>
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
  10c75f:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10c762:	50                   	push   %eax                           
  10c763:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c766:	50                   	push   %eax                           
  10c767:	56                   	push   %esi                           
  10c768:	ff 75 0c             	pushl  0xc(%ebp)                      
  10c76b:	e8 00 52 00 00       	call   111970 <_POSIX_Thread_Translate_sched_param>
  10c770:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
  10c773:	83 c4 10             	add    $0x10,%esp                     
  10c776:	85 c0                	test   %eax,%eax                      
  10c778:	0f 85 e1 00 00 00    	jne    10c85f <pthread_setschedparam+0x11b>
  10c77e:	53                   	push   %ebx                           
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _POSIX_Threads_Get( thread, &location );               
  10c77f:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10c782:	50                   	push   %eax                           
  10c783:	ff 75 08             	pushl  0x8(%ebp)                      
  10c786:	68 80 95 12 00       	push   $0x129580                      
  10c78b:	e8 80 1c 00 00       	call   10e410 <_Objects_Get>          
  10c790:	89 c2                	mov    %eax,%edx                      
  switch ( location ) {                                               
  10c792:	83 c4 10             	add    $0x10,%esp                     
  10c795:	83 7d dc 00          	cmpl   $0x0,-0x24(%ebp)               
  10c799:	0f 85 b9 00 00 00    	jne    10c858 <pthread_setschedparam+0x114>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
  10c79f:	8b 98 f8 00 00 00    	mov    0xf8(%eax),%ebx                
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
  10c7a5:	83 bb 84 00 00 00 04 	cmpl   $0x4,0x84(%ebx)                
  10c7ac:	75 18                	jne    10c7c6 <pthread_setschedparam+0x82>
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
  10c7ae:	83 ec 0c             	sub    $0xc,%esp                      
  10c7b1:	8d 83 a8 00 00 00    	lea    0xa8(%ebx),%eax                
  10c7b7:	50                   	push   %eax                           
  10c7b8:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10c7bb:	e8 48 34 00 00       	call   10fc08 <_Watchdog_Remove>      
  10c7c0:	83 c4 10             	add    $0x10,%esp                     
  10c7c3:	8b 55 d0             	mov    -0x30(%ebp),%edx               
                                                                      
      api->schedpolicy = policy;                                      
  10c7c6:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c7c9:	89 83 84 00 00 00    	mov    %eax,0x84(%ebx)                
      api->schedparam  = *param;                                      
  10c7cf:	8d bb 88 00 00 00    	lea    0x88(%ebx),%edi                
  10c7d5:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10c7da:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      the_thread->budget_algorithm = budget_algorithm;                
  10c7dc:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10c7df:	89 42 7c             	mov    %eax,0x7c(%edx)                
      the_thread->budget_callout   = budget_callout;                  
  10c7e2:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10c7e5:	89 82 80 00 00 00    	mov    %eax,0x80(%edx)                
                                                                      
      switch ( api->schedpolicy ) {                                   
  10c7eb:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)                 
  10c7ef:	78 60                	js     10c851 <pthread_setschedparam+0x10d><== NEVER TAKEN
  10c7f1:	83 7d 0c 02          	cmpl   $0x2,0xc(%ebp)                 
  10c7f5:	7e 08                	jle    10c7ff <pthread_setschedparam+0xbb>
  10c7f7:	83 7d 0c 04          	cmpl   $0x4,0xc(%ebp)                 
  10c7fb:	75 54                	jne    10c851 <pthread_setschedparam+0x10d><== NEVER TAKEN
  10c7fd:	eb 24                	jmp    10c823 <pthread_setschedparam+0xdf>
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
  10c7ff:	a1 04 93 12 00       	mov    0x129304,%eax                  
  10c804:	89 42 78             	mov    %eax,0x78(%edx)                
  10c807:	0f b6 05 18 52 12 00 	movzbl 0x125218,%eax                  
  10c80e:	2b 83 88 00 00 00    	sub    0x88(%ebx),%eax                
                                                                      
          the_thread->real_priority =                                 
  10c814:	89 42 18             	mov    %eax,0x18(%edx)                
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
  10c817:	51                   	push   %ecx                           
  10c818:	6a 01                	push   $0x1                           
  10c81a:	50                   	push   %eax                           
  10c81b:	52                   	push   %edx                           
  10c81c:	e8 3b 1f 00 00       	call   10e75c <_Thread_Change_priority>
  10c821:	eb 2b                	jmp    10c84e <pthread_setschedparam+0x10a>
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
  10c823:	8b 83 88 00 00 00    	mov    0x88(%ebx),%eax                
  10c829:	89 83 a4 00 00 00    	mov    %eax,0xa4(%ebx)                
          _Watchdog_Remove( &api->Sporadic_timer );                   
  10c82f:	83 ec 0c             	sub    $0xc,%esp                      
  10c832:	81 c3 a8 00 00 00    	add    $0xa8,%ebx                     
  10c838:	53                   	push   %ebx                           
  10c839:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10c83c:	e8 c7 33 00 00       	call   10fc08 <_Watchdog_Remove>      
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
  10c841:	58                   	pop    %eax                           
  10c842:	5a                   	pop    %edx                           
  10c843:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10c846:	52                   	push   %edx                           
  10c847:	6a 00                	push   $0x0                           
  10c849:	e8 e1 fd ff ff       	call   10c62f <_POSIX_Threads_Sporadic_budget_TSR>
          break;                                                      
  10c84e:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
  10c851:	e8 98 23 00 00       	call   10ebee <_Thread_Enable_dispatch>
      return 0;                                                       
  10c856:	eb 07                	jmp    10c85f <pthread_setschedparam+0x11b>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
  10c858:	c7 45 d4 03 00 00 00 	movl   $0x3,-0x2c(%ebp)               
}                                                                     
  10c85f:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c862:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c865:	5b                   	pop    %ebx                           
  10c866:	5e                   	pop    %esi                           
  10c867:	5f                   	pop    %edi                           
  10c868:	c9                   	leave                                 
  10c869:	c3                   	ret                                   
                                                                      

0010a630 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
  10a630:	55                   	push   %ebp                           
  10a631:	89 e5                	mov    %esp,%ebp                      
  10a633:	53                   	push   %ebx                           
  10a634:	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() )                                        
  10a637:	83 3d 18 68 12 00 00 	cmpl   $0x0,0x126818                  
  10a63e:	75 48                	jne    10a688 <pthread_testcancel+0x58><== NEVER TAKEN
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  10a640:	a1 1c 68 12 00       	mov    0x12681c,%eax                  
  10a645:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
  10a64b:	8b 15 cc 62 12 00    	mov    0x1262cc,%edx                  
  10a651:	42                   	inc    %edx                           
  10a652:	89 15 cc 62 12 00    	mov    %edx,0x1262cc                  
 */                                                                   
                                                                      
void pthread_testcancel( void )                                       
{                                                                     
  POSIX_API_Control *thread_support;                                  
  bool               cancel = false;                                  
  10a658:	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 &&
  10a65a:	83 b8 d8 00 00 00 00 	cmpl   $0x0,0xd8(%eax)                
  10a661:	75 0a                	jne    10a66d <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));                             
  10a663:	83 b8 e0 00 00 00 00 	cmpl   $0x0,0xe0(%eax)                
  10a66a:	0f 95 c3             	setne  %bl                            
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
  10a66d:	e8 10 23 00 00       	call   10c982 <_Thread_Enable_dispatch>
                                                                      
  if ( cancel )                                                       
  10a672:	84 db                	test   %bl,%bl                        
  10a674:	74 12                	je     10a688 <pthread_testcancel+0x58>
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
  10a676:	50                   	push   %eax                           
  10a677:	50                   	push   %eax                           
  10a678:	6a ff                	push   $0xffffffff                    
  10a67a:	ff 35 1c 68 12 00    	pushl  0x12681c                       
  10a680:	e8 9b 51 00 00       	call   10f820 <_POSIX_Thread_Exit>    
  10a685:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  10a688:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a68b:	c9                   	leave                                 
  10a68c:	c3                   	ret                                   
                                                                      

0010aa18 <rtems_chain_append_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
  10aa18:	55                   	push   %ebp                           
  10aa19:	89 e5                	mov    %esp,%ebp                      
  10aa1b:	56                   	push   %esi                           
  10aa1c:	53                   	push   %ebx                           
  10aa1d:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10aa20:	8b 75 14             	mov    0x14(%ebp),%esi                
RTEMS_INLINE_ROUTINE bool rtems_chain_append_with_empty_check(        
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Append_with_empty_check( chain, node );               
  10aa23:	50                   	push   %eax                           
  10aa24:	50                   	push   %eax                           
  10aa25:	ff 75 0c             	pushl  0xc(%ebp)                      
  10aa28:	ff 75 08             	pushl  0x8(%ebp)                      
  10aa2b:	e8 88 04 00 00       	call   10aeb8 <_Chain_Append_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
  10aa30:	83 c4 10             	add    $0x10,%esp                     
  10aa33:	84 c0                	test   %al,%al                        
  10aa35:	74 11                	je     10aa48 <rtems_chain_append_with_notification+0x30><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
  10aa37:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10aa3a:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10aa3d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10aa40:	5b                   	pop    %ebx                           
  10aa41:	5e                   	pop    %esi                           
  10aa42:	c9                   	leave                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
    sc = rtems_event_send( task, events );                            
  10aa43:	e9 d4 f6 ff ff       	jmp    10a11c <rtems_event_send>      
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10aa48:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  10aa4a:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  10aa4d:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10aa4e:	5e                   	pop    %esi                           <== NOT EXECUTED
  10aa4f:	c9                   	leave                                 <== NOT EXECUTED
  10aa50:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010aa54 <rtems_chain_get_with_notification>: rtems_chain_control *chain, rtems_id task, rtems_event_set events, rtems_chain_node **node ) {
  10aa54:	55                   	push   %ebp                           
  10aa55:	89 e5                	mov    %esp,%ebp                      
  10aa57:	56                   	push   %esi                           
  10aa58:	53                   	push   %ebx                           
  10aa59:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10aa5c:	8b 75 10             	mov    0x10(%ebp),%esi                
RTEMS_INLINE_ROUTINE bool rtems_chain_get_with_empty_check(           
  rtems_chain_control *chain,                                         
  rtems_chain_node **node                                             
)                                                                     
{                                                                     
  return _Chain_Get_with_empty_check( chain, node );                  
  10aa5f:	50                   	push   %eax                           
  10aa60:	50                   	push   %eax                           
  10aa61:	ff 75 14             	pushl  0x14(%ebp)                     
  10aa64:	ff 75 08             	pushl  0x8(%ebp)                      
  10aa67:	e8 b4 04 00 00       	call   10af20 <_Chain_Get_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
  10aa6c:	83 c4 10             	add    $0x10,%esp                     
  10aa6f:	84 c0                	test   %al,%al                        
  10aa71:	74 11                	je     10aa84 <rtems_chain_get_with_notification+0x30><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
  10aa73:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10aa76:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10aa79:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10aa7c:	5b                   	pop    %ebx                           
  10aa7d:	5e                   	pop    %esi                           
  10aa7e:	c9                   	leave                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
    sc = rtems_event_send( task, events );                            
  10aa7f:	e9 98 f6 ff ff       	jmp    10a11c <rtems_event_send>      
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10aa84:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  10aa86:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  10aa89:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10aa8a:	5e                   	pop    %esi                           <== NOT EXECUTED
  10aa8b:	c9                   	leave                                 <== NOT EXECUTED
  10aa8c:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010aa90 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
  10aa90:	55                   	push   %ebp                           
  10aa91:	89 e5                	mov    %esp,%ebp                      
  10aa93:	57                   	push   %edi                           
  10aa94:	56                   	push   %esi                           
  10aa95:	53                   	push   %ebx                           
  10aa96:	83 ec 1c             	sub    $0x1c,%esp                     
  10aa99:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
  10aa9c:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10aa9f:	eb 13                	jmp    10aab4 <rtems_chain_get_with_wait+0x24>
  10aaa1:	56                   	push   %esi                           
  10aaa2:	ff 75 10             	pushl  0x10(%ebp)                     
  10aaa5:	6a 00                	push   $0x0                           
  10aaa7:	57                   	push   %edi                           
  10aaa8:	e8 0f f5 ff ff       	call   109fbc <rtems_event_receive>   
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
  10aaad:	83 c4 10             	add    $0x10,%esp                     
  10aab0:	85 c0                	test   %eax,%eax                      
  10aab2:	75 16                	jne    10aaca <rtems_chain_get_with_wait+0x3a><== ALWAYS TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
  10aab4:	83 ec 0c             	sub    $0xc,%esp                      
  10aab7:	ff 75 08             	pushl  0x8(%ebp)                      
  10aaba:	e8 99 04 00 00       	call   10af58 <_Chain_Get>            
  10aabf:	89 c3                	mov    %eax,%ebx                      
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  10aac1:	83 c4 10             	add    $0x10,%esp                     
  10aac4:	85 c0                	test   %eax,%eax                      
  10aac6:	74 d9                	je     10aaa1 <rtems_chain_get_with_wait+0x11>
  10aac8:	31 c0                	xor    %eax,%eax                      
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
  10aaca:	8b 55 14             	mov    0x14(%ebp),%edx                
  10aacd:	89 1a                	mov    %ebx,(%edx)                    
                                                                      
  return sc;                                                          
}                                                                     
  10aacf:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10aad2:	5b                   	pop    %ebx                           
  10aad3:	5e                   	pop    %esi                           
  10aad4:	5f                   	pop    %edi                           
  10aad5:	c9                   	leave                                 
  10aad6:	c3                   	ret                                   
                                                                      

0010aad8 <rtems_chain_prepend_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
  10aad8:	55                   	push   %ebp                           
  10aad9:	89 e5                	mov    %esp,%ebp                      
  10aadb:	56                   	push   %esi                           
  10aadc:	53                   	push   %ebx                           
  10aadd:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10aae0:	8b 75 14             	mov    0x14(%ebp),%esi                
RTEMS_INLINE_ROUTINE bool rtems_chain_prepend_with_empty_check(       
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Prepend_with_empty_check( chain, node );              
  10aae3:	50                   	push   %eax                           
  10aae4:	50                   	push   %eax                           
  10aae5:	ff 75 0c             	pushl  0xc(%ebp)                      
  10aae8:	ff 75 08             	pushl  0x8(%ebp)                      
  10aaeb:	e8 ac 04 00 00       	call   10af9c <_Chain_Prepend_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
  10aaf0:	83 c4 10             	add    $0x10,%esp                     
  10aaf3:	84 c0                	test   %al,%al                        
  10aaf5:	74 11                	je     10ab08 <rtems_chain_prepend_with_notification+0x30><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
  10aaf7:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10aafa:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10aafd:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ab00:	5b                   	pop    %ebx                           
  10ab01:	5e                   	pop    %esi                           
  10ab02:	c9                   	leave                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
    sc = rtems_event_send( task, events );                            
  10ab03:	e9 14 f6 ff ff       	jmp    10a11c <rtems_event_send>      
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10ab08:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  10ab0a:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  10ab0d:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10ab0e:	5e                   	pop    %esi                           <== NOT EXECUTED
  10ab0f:	c9                   	leave                                 <== NOT EXECUTED
  10ab10:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010b708 <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
  10b708:	55                   	push   %ebp                           
  10b709:	89 e5                	mov    %esp,%ebp                      
  10b70b:	57                   	push   %edi                           
  10b70c:	56                   	push   %esi                           
  10b70d:	53                   	push   %ebx                           
  10b70e:	83 ec 0c             	sub    $0xc,%esp                      
  10b711:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b714:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10b717:	8b 45 10             	mov    0x10(%ebp),%eax                
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
  10b71a:	8b 15 20 7d 12 00    	mov    0x127d20,%edx                  
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
  10b720:	83 3d e8 78 12 00 00 	cmpl   $0x0,0x1278e8                  
  10b727:	0f 85 cc 00 00 00    	jne    10b7f9 <rtems_io_register_driver+0xf1><== NEVER TAKEN
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
  10b72d:	85 c0                	test   %eax,%eax                      
  10b72f:	0f 84 cb 00 00 00    	je     10b800 <rtems_io_register_driver+0xf8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
  10b735:	89 10                	mov    %edx,(%eax)                    
                                                                      
  if ( driver_table == NULL )                                         
  10b737:	85 f6                	test   %esi,%esi                      
  10b739:	0f 84 c1 00 00 00    	je     10b800 <rtems_io_register_driver+0xf8>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10b73f:	83 3e 00             	cmpl   $0x0,(%esi)                    
  10b742:	0f 85 cc 00 00 00    	jne    10b814 <rtems_io_register_driver+0x10c>
  10b748:	83 7e 04 00          	cmpl   $0x0,0x4(%esi)                 
  10b74c:	0f 85 c2 00 00 00    	jne    10b814 <rtems_io_register_driver+0x10c>
  10b752:	e9 a9 00 00 00       	jmp    10b800 <rtems_io_register_driver+0xf8>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10b757:	8b 15 9c 73 12 00    	mov    0x12739c,%edx                  
  10b75d:	42                   	inc    %edx                           
  10b75e:	89 15 9c 73 12 00    	mov    %edx,0x12739c                  
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
  10b764:	85 db                	test   %ebx,%ebx                      
  10b766:	75 32                	jne    10b79a <rtems_io_register_driver+0x92>
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
  10b768:	8b 0d 20 7d 12 00    	mov    0x127d20,%ecx                  
  10b76e:	8b 15 24 7d 12 00    	mov    0x127d24,%edx                  
  10b774:	eb 15                	jmp    10b78b <rtems_io_register_driver+0x83>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10b776:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10b779:	0f 85 9f 00 00 00    	jne    10b81e <rtems_io_register_driver+0x116>
  10b77f:	83 7a 04 00          	cmpl   $0x0,0x4(%edx)                 
  10b783:	0f 85 95 00 00 00    	jne    10b81e <rtems_io_register_driver+0x116>
  10b789:	eb 04                	jmp    10b78f <rtems_io_register_driver+0x87>
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
  10b78b:	39 cb                	cmp    %ecx,%ebx                      
  10b78d:	72 e7                	jb     10b776 <rtems_io_register_driver+0x6e>
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
  10b78f:	89 18                	mov    %ebx,(%eax)                    
                                                                      
  if ( m != n )                                                       
  10b791:	39 cb                	cmp    %ecx,%ebx                      
  10b793:	75 30                	jne    10b7c5 <rtems_io_register_driver+0xbd>
  10b795:	e9 8d 00 00 00       	jmp    10b827 <rtems_io_register_driver+0x11f>
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
  10b79a:	6b d3 18             	imul   $0x18,%ebx,%edx                
  10b79d:	03 15 24 7d 12 00    	add    0x127d24,%edx                  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10b7a3:	31 c9                	xor    %ecx,%ecx                      
  10b7a5:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10b7a8:	75 09                	jne    10b7b3 <rtems_io_register_driver+0xab>
  10b7aa:	31 c9                	xor    %ecx,%ecx                      
  10b7ac:	83 7a 04 00          	cmpl   $0x0,0x4(%edx)                 
  10b7b0:	0f 94 c1             	sete   %cl                            
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
  10b7b3:	85 c9                	test   %ecx,%ecx                      
  10b7b5:	75 0c                	jne    10b7c3 <rtems_io_register_driver+0xbb>
      _Thread_Enable_dispatch();                                      
  10b7b7:	e8 2a 18 00 00       	call   10cfe6 <_Thread_Enable_dispatch>
      return RTEMS_RESOURCE_IN_USE;                                   
  10b7bc:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  10b7c1:	eb 49                	jmp    10b80c <rtems_io_register_driver+0x104>
    }                                                                 
                                                                      
    *registered_major = major;                                        
  10b7c3:	89 18                	mov    %ebx,(%eax)                    
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
  10b7c5:	6b c3 18             	imul   $0x18,%ebx,%eax                
  10b7c8:	03 05 24 7d 12 00    	add    0x127d24,%eax                  
  10b7ce:	b9 06 00 00 00       	mov    $0x6,%ecx                      
  10b7d3:	89 c7                	mov    %eax,%edi                      
  10b7d5:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _Thread_Enable_dispatch();                                          
  10b7d7:	e8 0a 18 00 00       	call   10cfe6 <_Thread_Enable_dispatch>
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10b7dc:	c7 45 10 00 00 00 00 	movl   $0x0,0x10(%ebp)                
  10b7e3:	c7 45 0c 00 00 00 00 	movl   $0x0,0xc(%ebp)                 
  10b7ea:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
}                                                                     
  10b7ed:	83 c4 0c             	add    $0xc,%esp                      
  10b7f0:	5b                   	pop    %ebx                           
  10b7f1:	5e                   	pop    %esi                           
  10b7f2:	5f                   	pop    %edi                           
  10b7f3:	c9                   	leave                                 
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10b7f4:	e9 a3 70 00 00       	jmp    11289c <rtems_io_initialize>   
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
  10b7f9:	b8 12 00 00 00       	mov    $0x12,%eax                     
  10b7fe:	eb 0c                	jmp    10b80c <rtems_io_register_driver+0x104>
                                                                      
  if ( driver_table == NULL )                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
  10b800:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10b805:	eb 05                	jmp    10b80c <rtems_io_register_driver+0x104>
                                                                      
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
  10b807:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
  10b80c:	83 c4 0c             	add    $0xc,%esp                      
  10b80f:	5b                   	pop    %ebx                           
  10b810:	5e                   	pop    %esi                           
  10b811:	5f                   	pop    %edi                           
  10b812:	c9                   	leave                                 
  10b813:	c3                   	ret                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
  10b814:	39 d3                	cmp    %edx,%ebx                      
  10b816:	0f 82 3b ff ff ff    	jb     10b757 <rtems_io_register_driver+0x4f>
  10b81c:	eb e9                	jmp    10b807 <rtems_io_register_driver+0xff>
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
  10b81e:	43                   	inc    %ebx                           
  10b81f:	83 c2 18             	add    $0x18,%edx                     
  10b822:	e9 64 ff ff ff       	jmp    10b78b <rtems_io_register_driver+0x83>
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
  10b827:	e8 ba 17 00 00       	call   10cfe6 <_Thread_Enable_dispatch>
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
  10b82c:	b8 05 00 00 00       	mov    $0x5,%eax                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
  10b831:	eb d9                	jmp    10b80c <rtems_io_register_driver+0x104>
                                                                      

0010c734 <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) {
  10c734:	55                   	push   %ebp                           
  10c735:	89 e5                	mov    %esp,%ebp                      
  10c737:	57                   	push   %edi                           
  10c738:	56                   	push   %esi                           
  10c739:	53                   	push   %ebx                           
  10c73a:	83 ec 0c             	sub    $0xc,%esp                      
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
  10c73d:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  10c741:	74 3d                	je     10c780 <rtems_iterate_over_all_threads+0x4c><== NEVER TAKEN
  10c743:	bb 01 00 00 00       	mov    $0x1,%ebx                      
    #if defined(RTEMS_DEBUG)                                          
      if ( !_Objects_Information_table[ api_index ] )                 
	continue;                                                            
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
  10c748:	8b 04 9d c0 00 13 00 	mov    0x1300c0(,%ebx,4),%eax         
  10c74f:	8b 78 04             	mov    0x4(%eax),%edi                 
    if ( !information )                                               
  10c752:	be 01 00 00 00       	mov    $0x1,%esi                      
  10c757:	85 ff                	test   %edi,%edi                      
  10c759:	75 17                	jne    10c772 <rtems_iterate_over_all_threads+0x3e>
  10c75b:	eb 1d                	jmp    10c77a <rtems_iterate_over_all_threads+0x46>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
  10c75d:	8b 47 1c             	mov    0x1c(%edi),%eax                
  10c760:	8b 04 b0             	mov    (%eax,%esi,4),%eax             
                                                                      
      if ( !the_thread )                                              
  10c763:	85 c0                	test   %eax,%eax                      
  10c765:	74 0a                	je     10c771 <rtems_iterate_over_all_threads+0x3d><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
  10c767:	83 ec 0c             	sub    $0xc,%esp                      
  10c76a:	50                   	push   %eax                           
  10c76b:	ff 55 08             	call   *0x8(%ebp)                     
  10c76e:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
  10c771:	46                   	inc    %esi                           
  10c772:	0f b7 47 10          	movzwl 0x10(%edi),%eax                
  10c776:	39 c6                	cmp    %eax,%esi                      
  10c778:	76 e3                	jbe    10c75d <rtems_iterate_over_all_threads+0x29>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
  10c77a:	43                   	inc    %ebx                           
  10c77b:	83 fb 04             	cmp    $0x4,%ebx                      
  10c77e:	75 c8                	jne    10c748 <rtems_iterate_over_all_threads+0x14>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
  10c780:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c783:	5b                   	pop    %ebx                           
  10c784:	5e                   	pop    %esi                           
  10c785:	5f                   	pop    %edi                           
  10c786:	c9                   	leave                                 
  10c787:	c3                   	ret                                   
                                                                      

001147d8 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
  1147d8:	55                   	push   %ebp                           
  1147d9:	89 e5                	mov    %esp,%ebp                      
  1147db:	57                   	push   %edi                           
  1147dc:	56                   	push   %esi                           
  1147dd:	53                   	push   %ebx                           
  1147de:	83 ec 1c             	sub    $0x1c,%esp                     
  1147e1:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1147e4:	8b 55 10             	mov    0x10(%ebp),%edx                
  1147e7:	8b 7d 14             	mov    0x14(%ebp),%edi                
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  1147ea:	b8 03 00 00 00       	mov    $0x3,%eax                      
  rtems_id        *id                                                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  1147ef:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  1147f3:	0f 84 ce 00 00 00    	je     1148c7 <rtems_partition_create+0xef>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
  1147f9:	b0 09                	mov    $0x9,%al                       
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
  1147fb:	85 f6                	test   %esi,%esi                      
  1147fd:	0f 84 c4 00 00 00    	je     1148c7 <rtems_partition_create+0xef>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
  114803:	83 7d 1c 00          	cmpl   $0x0,0x1c(%ebp)                
  114807:	0f 84 ba 00 00 00    	je     1148c7 <rtems_partition_create+0xef><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  11480d:	85 ff                	test   %edi,%edi                      
  11480f:	0f 84 ad 00 00 00    	je     1148c2 <rtems_partition_create+0xea>
  114815:	85 d2                	test   %edx,%edx                      
  114817:	0f 84 a5 00 00 00    	je     1148c2 <rtems_partition_create+0xea>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
  11481d:	b0 08                	mov    $0x8,%al                       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  11481f:	39 fa                	cmp    %edi,%edx                      
  114821:	0f 82 a0 00 00 00    	jb     1148c7 <rtems_partition_create+0xef>
  114827:	f7 c7 03 00 00 00    	test   $0x3,%edi                      
  11482d:	0f 85 94 00 00 00    	jne    1148c7 <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;                                    
  114833:	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 ) )                   
  114835:	f7 c6 03 00 00 00    	test   $0x3,%esi                      
  11483b:	0f 85 86 00 00 00    	jne    1148c7 <rtems_partition_create+0xef>
  114841:	a1 b8 d6 13 00       	mov    0x13d6b8,%eax                  
  114846:	40                   	inc    %eax                           
  114847:	a3 b8 d6 13 00       	mov    %eax,0x13d6b8                  
 *  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 );
  11484c:	83 ec 0c             	sub    $0xc,%esp                      
  11484f:	68 44 d5 13 00       	push   $0x13d544                      
  114854:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  114857:	e8 1c 3e 00 00       	call   118678 <_Objects_Allocate>     
  11485c:	89 c3                	mov    %eax,%ebx                      
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
  11485e:	83 c4 10             	add    $0x10,%esp                     
  114861:	85 c0                	test   %eax,%eax                      
  114863:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  114866:	75 0c                	jne    114874 <rtems_partition_create+0x9c>
    _Thread_Enable_dispatch();                                        
  114868:	e8 55 4a 00 00       	call   1192c2 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  11486d:	b8 05 00 00 00       	mov    $0x5,%eax                      
  114872:	eb 53                	jmp    1148c7 <rtems_partition_create+0xef>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  114874:	89 70 10             	mov    %esi,0x10(%eax)                
  the_partition->length                = length;                      
  114877:	89 50 14             	mov    %edx,0x14(%eax)                
  the_partition->buffer_size           = buffer_size;                 
  11487a:	89 78 18             	mov    %edi,0x18(%eax)                
  the_partition->attribute_set         = attribute_set;               
  11487d:	8b 45 18             	mov    0x18(%ebp),%eax                
  114880:	89 43 1c             	mov    %eax,0x1c(%ebx)                
  the_partition->number_of_used_blocks = 0;                           
  114883:	c7 43 20 00 00 00 00 	movl   $0x0,0x20(%ebx)                
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
  11488a:	57                   	push   %edi                           
  11488b:	89 d0                	mov    %edx,%eax                      
  11488d:	31 d2                	xor    %edx,%edx                      
  11488f:	f7 f7                	div    %edi                           
  114891:	50                   	push   %eax                           
  114892:	56                   	push   %esi                           
  114893:	8d 43 24             	lea    0x24(%ebx),%eax                
  114896:	50                   	push   %eax                           
  114897:	e8 7c 2a 00 00       	call   117318 <_Chain_Initialize>     
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  11489c:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  11489f:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  1148a2:	8b 15 60 d5 13 00    	mov    0x13d560,%edx                  
  1148a8:	89 1c 8a             	mov    %ebx,(%edx,%ecx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  1148ab:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1148ae:	89 53 0c             	mov    %edx,0xc(%ebx)                 
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
  1148b1:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  1148b4:	89 02                	mov    %eax,(%edx)                    
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  1148b6:	e8 07 4a 00 00       	call   1192c2 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  1148bb:	83 c4 10             	add    $0x10,%esp                     
  1148be:	31 c0                	xor    %eax,%eax                      
  1148c0:	eb 05                	jmp    1148c7 <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;                                        
  1148c2:	b8 08 00 00 00       	mov    $0x8,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1148c7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1148ca:	5b                   	pop    %ebx                           
  1148cb:	5e                   	pop    %esi                           
  1148cc:	5f                   	pop    %edi                           
  1148cd:	c9                   	leave                                 
  1148ce:	c3                   	ret                                   
                                                                      

0010b02d <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
  10b02d:	55                   	push   %ebp                           
  10b02e:	89 e5                	mov    %esp,%ebp                      
  10b030:	57                   	push   %edi                           
  10b031:	56                   	push   %esi                           
  10b032:	53                   	push   %ebx                           
  10b033:	83 ec 30             	sub    $0x30,%esp                     
  10b036:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b039:	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 );                  
  10b03c:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
  10b03f:	50                   	push   %eax                           
  10b040:	56                   	push   %esi                           
  10b041:	68 14 73 12 00       	push   $0x127314                      
  10b046:	e8 3d 1e 00 00       	call   10ce88 <_Objects_Get>          
  10b04b:	89 c7                	mov    %eax,%edi                      
                                                                      
  switch ( location ) {                                               
  10b04d:	83 c4 10             	add    $0x10,%esp                     
  10b050:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b054:	0f 85 3b 01 00 00    	jne    10b195 <rtems_rate_monotonic_period+0x168><== NEVER TAKEN
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
  10b05a:	a1 58 79 12 00       	mov    0x127958,%eax                  
  10b05f:	39 47 40             	cmp    %eax,0x40(%edi)                
  10b062:	74 0f                	je     10b073 <rtems_rate_monotonic_period+0x46>
        _Thread_Enable_dispatch();                                    
  10b064:	e8 fd 25 00 00       	call   10d666 <_Thread_Enable_dispatch>
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
  10b069:	be 17 00 00 00       	mov    $0x17,%esi                     
  10b06e:	e9 27 01 00 00       	jmp    10b19a <rtems_rate_monotonic_period+0x16d>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
  10b073:	85 db                	test   %ebx,%ebx                      
  10b075:	75 1b                	jne    10b092 <rtems_rate_monotonic_period+0x65>
        switch ( the_period->state ) {                                
  10b077:	8b 47 38             	mov    0x38(%edi),%eax                
  10b07a:	31 f6                	xor    %esi,%esi                      
  10b07c:	83 f8 04             	cmp    $0x4,%eax                      
  10b07f:	77 07                	ja     10b088 <rtems_rate_monotonic_period+0x5b><== NEVER TAKEN
  10b081:	8b 34 85 b0 0c 12 00 	mov    0x120cb0(,%eax,4),%esi         
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
  10b088:	e8 d9 25 00 00       	call   10d666 <_Thread_Enable_dispatch>
        return( return_value );                                       
  10b08d:	e9 08 01 00 00       	jmp    10b19a <rtems_rate_monotonic_period+0x16d>
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
  10b092:	9c                   	pushf                                 
  10b093:	fa                   	cli                                   
  10b094:	8f 45 d4             	popl   -0x2c(%ebp)                    
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
  10b097:	8b 47 38             	mov    0x38(%edi),%eax                
  10b09a:	85 c0                	test   %eax,%eax                      
  10b09c:	75 4c                	jne    10b0ea <rtems_rate_monotonic_period+0xbd>
        _ISR_Enable( level );                                         
  10b09e:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b0a1:	9d                   	popf                                  
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b0a2:	83 ec 0c             	sub    $0xc,%esp                      
  10b0a5:	57                   	push   %edi                           
  10b0a6:	e8 3f fe ff ff       	call   10aeea <_Rate_monotonic_Initiate_statistics>
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
  10b0ab:	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;                        
  10b0b2:	c7 47 18 00 00 00 00 	movl   $0x0,0x18(%edi)                
  the_watchdog->routine   = routine;                                  
  10b0b9:	c7 47 2c a4 b3 10 00 	movl   $0x10b3a4,0x2c(%edi)           
  the_watchdog->id        = id;                                       
  10b0c0:	89 77 30             	mov    %esi,0x30(%edi)                
  the_watchdog->user_data = user_data;                                
  10b0c3:	c7 47 34 00 00 00 00 	movl   $0x0,0x34(%edi)                
          _Rate_monotonic_Timeout,                                    
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        the_period->next_length = length;                             
  10b0ca:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b0cd:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b0d0:	58                   	pop    %eax                           
  10b0d1:	5a                   	pop    %edx                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
  10b0d2:	83 c7 10             	add    $0x10,%edi                     
  10b0d5:	57                   	push   %edi                           
  10b0d6:	68 d0 74 12 00       	push   $0x1274d0                      
  10b0db:	e8 ec 34 00 00       	call   10e5cc <_Watchdog_Insert>      
        _Thread_Enable_dispatch();                                    
  10b0e0:	e8 81 25 00 00       	call   10d666 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  10b0e5:	83 c4 10             	add    $0x10,%esp                     
  10b0e8:	eb 65                	jmp    10b14f <rtems_rate_monotonic_period+0x122>
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
  10b0ea:	83 f8 02             	cmp    $0x2,%eax                      
  10b0ed:	75 64                	jne    10b153 <rtems_rate_monotonic_period+0x126>
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
  10b0ef:	83 ec 0c             	sub    $0xc,%esp                      
  10b0f2:	57                   	push   %edi                           
  10b0f3:	e8 5a fe ff ff       	call   10af52 <_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;         
  10b0f8:	c7 47 38 01 00 00 00 	movl   $0x1,0x38(%edi)                
        the_period->next_length = length;                             
  10b0ff:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
                                                                      
        _ISR_Enable( level );                                         
  10b102:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b105:	9d                   	popf                                  
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
  10b106:	a1 58 79 12 00       	mov    0x127958,%eax                  
  10b10b:	8b 57 08             	mov    0x8(%edi),%edx                 
  10b10e:	89 50 20             	mov    %edx,0x20(%eax)                
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10b111:	5b                   	pop    %ebx                           
  10b112:	5e                   	pop    %esi                           
  10b113:	68 00 40 00 00       	push   $0x4000                        
  10b118:	50                   	push   %eax                           
  10b119:	e8 42 2d 00 00       	call   10de60 <_Thread_Set_state>     
                                                                      
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
  10b11e:	9c                   	pushf                                 
  10b11f:	fa                   	cli                                   
  10b120:	5a                   	pop    %edx                           
          local_state = the_period->state;                            
  10b121:	8b 47 38             	mov    0x38(%edi),%eax                
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  10b124:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
        _ISR_Enable( level );                                         
  10b12b:	52                   	push   %edx                           
  10b12c:	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 )   
  10b12d:	83 c4 10             	add    $0x10,%esp                     
  10b130:	83 f8 03             	cmp    $0x3,%eax                      
  10b133:	75 15                	jne    10b14a <rtems_rate_monotonic_period+0x11d>
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10b135:	51                   	push   %ecx                           
  10b136:	51                   	push   %ecx                           
  10b137:	68 00 40 00 00       	push   $0x4000                        
  10b13c:	ff 35 58 79 12 00    	pushl  0x127958                       
  10b142:	e8 ad 21 00 00       	call   10d2f4 <_Thread_Clear_state>   
  10b147:	83 c4 10             	add    $0x10,%esp                     
                                                                      
        _Thread_Enable_dispatch();                                    
  10b14a:	e8 17 25 00 00       	call   10d666 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  10b14f:	31 f6                	xor    %esi,%esi                      
  10b151:	eb 47                	jmp    10b19a <rtems_rate_monotonic_period+0x16d>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b153:	be 04 00 00 00       	mov    $0x4,%esi                      
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
  10b158:	83 f8 04             	cmp    $0x4,%eax                      
  10b15b:	75 3d                	jne    10b19a <rtems_rate_monotonic_period+0x16d><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
  10b15d:	83 ec 0c             	sub    $0xc,%esp                      
  10b160:	57                   	push   %edi                           
  10b161:	e8 ec fd ff ff       	call   10af52 <_Rate_monotonic_Update_statistics>
                                                                      
        _ISR_Enable( level );                                         
  10b166:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b169:	9d                   	popf                                  
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
  10b16a:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
        the_period->next_length = length;                             
  10b171:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b174:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b177:	58                   	pop    %eax                           
  10b178:	5a                   	pop    %edx                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
  10b179:	83 c7 10             	add    $0x10,%edi                     
  10b17c:	57                   	push   %edi                           
  10b17d:	68 d0 74 12 00       	push   $0x1274d0                      
  10b182:	e8 45 34 00 00       	call   10e5cc <_Watchdog_Insert>      
        _Thread_Enable_dispatch();                                    
  10b187:	e8 da 24 00 00       	call   10d666 <_Thread_Enable_dispatch>
        return RTEMS_TIMEOUT;                                         
  10b18c:	83 c4 10             	add    $0x10,%esp                     
  10b18f:	66 be 06 00          	mov    $0x6,%si                       
  10b193:	eb 05                	jmp    10b19a <rtems_rate_monotonic_period+0x16d>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b195:	be 04 00 00 00       	mov    $0x4,%esi                      
}                                                                     
  10b19a:	89 f0                	mov    %esi,%eax                      
  10b19c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b19f:	5b                   	pop    %ebx                           
  10b1a0:	5e                   	pop    %esi                           
  10b1a1:	5f                   	pop    %edi                           
  10b1a2:	c9                   	leave                                 
  10b1a3:	c3                   	ret                                   
                                                                      

0010b1a4 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
  10b1a4:	55                   	push   %ebp                           
  10b1a5:	89 e5                	mov    %esp,%ebp                      
  10b1a7:	57                   	push   %edi                           
  10b1a8:	56                   	push   %esi                           
  10b1a9:	53                   	push   %ebx                           
  10b1aa:	83 ec 7c             	sub    $0x7c,%esp                     
  10b1ad:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b1b0:	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 )                                                       
  10b1b3:	85 ff                	test   %edi,%edi                      
  10b1b5:	0f 84 2b 01 00 00    	je     10b2e6 <rtems_rate_monotonic_report_statistics_with_plugin+0x142><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  10b1bb:	52                   	push   %edx                           
  10b1bc:	52                   	push   %edx                           
  10b1bd:	68 c4 0c 12 00       	push   $0x120cc4                      
  10b1c2:	53                   	push   %ebx                           
  10b1c3:	ff d7                	call   *%edi                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
  10b1c5:	5e                   	pop    %esi                           
  10b1c6:	58                   	pop    %eax                           
  10b1c7:	68 e2 0c 12 00       	push   $0x120ce2                      
  10b1cc:	53                   	push   %ebx                           
  10b1cd:	ff d7                	call   *%edi                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
  10b1cf:	5a                   	pop    %edx                           
  10b1d0:	59                   	pop    %ecx                           
  10b1d1:	68 04 0d 12 00       	push   $0x120d04                      
  10b1d6:	53                   	push   %ebx                           
  10b1d7:	ff d7                	call   *%edi                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
  10b1d9:	5e                   	pop    %esi                           
  10b1da:	58                   	pop    %eax                           
  10b1db:	68 27 0d 12 00       	push   $0x120d27                      
  10b1e0:	53                   	push   %ebx                           
  10b1e1:	ff d7                	call   *%edi                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
  10b1e3:	5a                   	pop    %edx                           
  10b1e4:	59                   	pop    %ecx                           
  10b1e5:	68 72 0d 12 00       	push   $0x120d72                      
  10b1ea:	53                   	push   %ebx                           
  10b1eb:	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 ;                   
  10b1ed:	8b 35 1c 73 12 00    	mov    0x12731c,%esi                  
  10b1f3:	83 c4 10             	add    $0x10,%esp                     
  10b1f6:	e9 df 00 00 00       	jmp    10b2da <rtems_rate_monotonic_report_statistics_with_plugin+0x136>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
  10b1fb:	50                   	push   %eax                           
  10b1fc:	50                   	push   %eax                           
  10b1fd:	8d 45 88             	lea    -0x78(%ebp),%eax               
  10b200:	50                   	push   %eax                           
  10b201:	56                   	push   %esi                           
  10b202:	e8 39 56 00 00       	call   110840 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
  10b207:	83 c4 10             	add    $0x10,%esp                     
  10b20a:	85 c0                	test   %eax,%eax                      
  10b20c:	0f 85 c7 00 00 00    	jne    10b2d9 <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 );      
  10b212:	51                   	push   %ecx                           
  10b213:	51                   	push   %ecx                           
  10b214:	8d 55 c0             	lea    -0x40(%ebp),%edx               
  10b217:	52                   	push   %edx                           
  10b218:	56                   	push   %esi                           
  10b219:	e8 c6 56 00 00       	call   1108e4 <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 );    
  10b21e:	83 c4 0c             	add    $0xc,%esp                      
  10b221:	8d 45 e3             	lea    -0x1d(%ebp),%eax               
  10b224:	50                   	push   %eax                           
  10b225:	6a 05                	push   $0x5                           
  10b227:	ff 75 c0             	pushl  -0x40(%ebp)                    
  10b22a:	e8 01 02 00 00       	call   10b430 <rtems_object_get_name> 
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
  10b22f:	58                   	pop    %eax                           
  10b230:	5a                   	pop    %edx                           
  10b231:	ff 75 8c             	pushl  -0x74(%ebp)                    
  10b234:	ff 75 88             	pushl  -0x78(%ebp)                    
  10b237:	8d 55 e3             	lea    -0x1d(%ebp),%edx               
  10b23a:	52                   	push   %edx                           
  10b23b:	56                   	push   %esi                           
  10b23c:	68 be 0d 12 00       	push   $0x120dbe                      
  10b241:	53                   	push   %ebx                           
  10b242:	ff d7                	call   *%edi                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
  10b244:	8b 45 88             	mov    -0x78(%ebp),%eax               
  10b247:	83 c4 20             	add    $0x20,%esp                     
  10b24a:	85 c0                	test   %eax,%eax                      
  10b24c:	75 0f                	jne    10b25d <rtems_rate_monotonic_report_statistics_with_plugin+0xb9>
      (*print)( context, "\n" );                                      
  10b24e:	51                   	push   %ecx                           
  10b24f:	51                   	push   %ecx                           
  10b250:	68 38 10 12 00       	push   $0x121038                      
  10b255:	53                   	push   %ebx                           
  10b256:	ff d7                	call   *%edi                          
      continue;                                                       
  10b258:	83 c4 10             	add    $0x10,%esp                     
  10b25b:	eb 7c                	jmp    10b2d9 <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 );
  10b25d:	52                   	push   %edx                           
  10b25e:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10b261:	52                   	push   %edx                           
  10b262:	50                   	push   %eax                           
  10b263:	8d 45 a0             	lea    -0x60(%ebp),%eax               
  10b266:	50                   	push   %eax                           
  10b267:	e8 34 30 00 00       	call   10e2a0 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10b26c:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b26f:	b9 e8 03 00 00       	mov    $0x3e8,%ecx                    
  10b274:	99                   	cltd                                  
  10b275:	f7 f9                	idiv   %ecx                           
  10b277:	50                   	push   %eax                           
  10b278:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10b27b:	8b 45 9c             	mov    -0x64(%ebp),%eax               
  10b27e:	99                   	cltd                                  
  10b27f:	f7 f9                	idiv   %ecx                           
  10b281:	50                   	push   %eax                           
  10b282:	ff 75 98             	pushl  -0x68(%ebp)                    
  10b285:	8b 45 94             	mov    -0x6c(%ebp),%eax               
  10b288:	99                   	cltd                                  
  10b289:	f7 f9                	idiv   %ecx                           
  10b28b:	50                   	push   %eax                           
  10b28c:	ff 75 90             	pushl  -0x70(%ebp)                    
  10b28f:	68 d5 0d 12 00       	push   $0x120dd5                      
  10b294:	53                   	push   %ebx                           
  10b295:	89 4d 84             	mov    %ecx,-0x7c(%ebp)               
  10b298:	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);
  10b29a:	83 c4 2c             	add    $0x2c,%esp                     
  10b29d:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10b2a0:	52                   	push   %edx                           
  10b2a1:	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;       
  10b2a4:	8d 45 b8             	lea    -0x48(%ebp),%eax               
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
  10b2a7:	50                   	push   %eax                           
  10b2a8:	e8 f3 2f 00 00       	call   10e2a0 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10b2ad:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b2b0:	8b 4d 84             	mov    -0x7c(%ebp),%ecx               
  10b2b3:	99                   	cltd                                  
  10b2b4:	f7 f9                	idiv   %ecx                           
  10b2b6:	50                   	push   %eax                           
  10b2b7:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10b2ba:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10b2bd:	99                   	cltd                                  
  10b2be:	f7 f9                	idiv   %ecx                           
  10b2c0:	50                   	push   %eax                           
  10b2c1:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10b2c4:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10b2c7:	99                   	cltd                                  
  10b2c8:	f7 f9                	idiv   %ecx                           
  10b2ca:	50                   	push   %eax                           
  10b2cb:	ff 75 a8             	pushl  -0x58(%ebp)                    
  10b2ce:	68 f4 0d 12 00       	push   $0x120df4                      
  10b2d3:	53                   	push   %ebx                           
  10b2d4:	ff d7                	call   *%edi                          
  10b2d6:	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++ ) {                                                      
  10b2d9:	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 ;                   
  10b2da:	3b 35 20 73 12 00    	cmp    0x127320,%esi                  
  10b2e0:	0f 86 15 ff ff ff    	jbe    10b1fb <rtems_rate_monotonic_report_statistics_with_plugin+0x57>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
  10b2e6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b2e9:	5b                   	pop    %ebx                           
  10b2ea:	5e                   	pop    %esi                           
  10b2eb:	5f                   	pop    %edi                           
  10b2ec:	c9                   	leave                                 
  10b2ed:	c3                   	ret                                   
                                                                      

00115b38 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
  115b38:	55                   	push   %ebp                           
  115b39:	89 e5                	mov    %esp,%ebp                      
  115b3b:	53                   	push   %ebx                           
  115b3c:	83 ec 14             	sub    $0x14,%esp                     
  115b3f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
  115b42:	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 )                                                  
  115b47:	85 db                	test   %ebx,%ebx                      
  115b49:	74 6d                	je     115bb8 <rtems_signal_send+0x80>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  115b4b:	50                   	push   %eax                           
  115b4c:	50                   	push   %eax                           
  115b4d:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  115b50:	50                   	push   %eax                           
  115b51:	ff 75 08             	pushl  0x8(%ebp)                      
  115b54:	e8 8b 37 00 00       	call   1192e4 <_Thread_Get>           
  switch ( location ) {                                               
  115b59:	83 c4 10             	add    $0x10,%esp                     
  115b5c:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  115b60:	75 51                	jne    115bb3 <rtems_signal_send+0x7b>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
  115b62:	8b 90 f4 00 00 00    	mov    0xf4(%eax),%edx                
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
  115b68:	83 7a 0c 00          	cmpl   $0x0,0xc(%edx)                 
  115b6c:	74 39                	je     115ba7 <rtems_signal_send+0x6f>
        if ( asr->is_enabled ) {                                      
  115b6e:	80 7a 08 00          	cmpb   $0x0,0x8(%edx)                 
  115b72:	74 22                	je     115b96 <rtems_signal_send+0x5e>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  115b74:	9c                   	pushf                                 
  115b75:	fa                   	cli                                   
  115b76:	59                   	pop    %ecx                           
    *signal_set |= signals;                                           
  115b77:	09 5a 14             	or     %ebx,0x14(%edx)                
  _ISR_Enable( _level );                                              
  115b7a:	51                   	push   %ecx                           
  115b7b:	9d                   	popf                                  
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  115b7c:	83 3d 0c dc 13 00 00 	cmpl   $0x0,0x13dc0c                  
  115b83:	74 19                	je     115b9e <rtems_signal_send+0x66>
  115b85:	3b 05 10 dc 13 00    	cmp    0x13dc10,%eax                  
  115b8b:	75 11                	jne    115b9e <rtems_signal_send+0x66><== NEVER TAKEN
            _Thread_Dispatch_necessary = true;                        
  115b8d:	c6 05 1c dc 13 00 01 	movb   $0x1,0x13dc1c                  
  115b94:	eb 08                	jmp    115b9e <rtems_signal_send+0x66>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  115b96:	9c                   	pushf                                 
  115b97:	fa                   	cli                                   
  115b98:	58                   	pop    %eax                           
    *signal_set |= signals;                                           
  115b99:	09 5a 18             	or     %ebx,0x18(%edx)                
  _ISR_Enable( _level );                                              
  115b9c:	50                   	push   %eax                           
  115b9d:	9d                   	popf                                  
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
  115b9e:	e8 1f 37 00 00       	call   1192c2 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  115ba3:	31 c0                	xor    %eax,%eax                      
  115ba5:	eb 11                	jmp    115bb8 <rtems_signal_send+0x80>
      }                                                               
      _Thread_Enable_dispatch();                                      
  115ba7:	e8 16 37 00 00       	call   1192c2 <_Thread_Enable_dispatch>
      return RTEMS_NOT_DEFINED;                                       
  115bac:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  115bb1:	eb 05                	jmp    115bb8 <rtems_signal_send+0x80>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  115bb3:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  115bb8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  115bbb:	c9                   	leave                                 
  115bbc:	c3                   	ret                                   
                                                                      

00110ccc <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
  110ccc:	55                   	push   %ebp                           
  110ccd:	89 e5                	mov    %esp,%ebp                      
  110ccf:	57                   	push   %edi                           
  110cd0:	56                   	push   %esi                           
  110cd1:	53                   	push   %ebx                           
  110cd2:	83 ec 1c             	sub    $0x1c,%esp                     
  110cd5:	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;                                     
  110cd8:	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 )                                           
  110cdd:	85 c9                	test   %ecx,%ecx                      
  110cdf:	0f 84 fb 00 00 00    	je     110de0 <rtems_task_mode+0x114> <== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  110ce5:	8b 35 34 48 12 00    	mov    0x124834,%esi                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  110ceb:	8b 9e f4 00 00 00    	mov    0xf4(%esi),%ebx                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
  110cf1:	80 7e 74 01          	cmpb   $0x1,0x74(%esi)                
  110cf5:	19 ff                	sbb    %edi,%edi                      
  110cf7:	81 e7 00 01 00 00    	and    $0x100,%edi                    
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
  110cfd:	83 7e 7c 00          	cmpl   $0x0,0x7c(%esi)                
  110d01:	74 06                	je     110d09 <rtems_task_mode+0x3d>  
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
  110d03:	81 cf 00 02 00 00    	or     $0x200,%edi                    
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  110d09:	80 7b 08 01          	cmpb   $0x1,0x8(%ebx)                 
  110d0d:	19 d2                	sbb    %edx,%edx                      
  110d0f:	81 e2 00 04 00 00    	and    $0x400,%edx                    
  old_mode |= _ISR_Get_level();                                       
  110d15:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  110d18:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  110d1b:	e8 65 c5 ff ff       	call   10d285 <_CPU_ISR_Get_level>    
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  110d20:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  110d23:	09 d0                	or     %edx,%eax                      
  old_mode |= _ISR_Get_level();                                       
  110d25:	09 f8                	or     %edi,%eax                      
  110d27:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  110d2a:	89 01                	mov    %eax,(%ecx)                    
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
  110d2c:	f7 45 0c 00 01 00 00 	testl  $0x100,0xc(%ebp)               
  110d33:	74 0b                	je     110d40 <rtems_task_mode+0x74>  
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
  110d35:	f7 45 08 00 01 00 00 	testl  $0x100,0x8(%ebp)               
  110d3c:	0f 94 46 74          	sete   0x74(%esi)                     
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
  110d40:	f7 45 0c 00 02 00 00 	testl  $0x200,0xc(%ebp)               
  110d47:	74 21                	je     110d6a <rtems_task_mode+0x9e>  
    if ( _Modes_Is_timeslice(mode_set) ) {                            
  110d49:	f7 45 08 00 02 00 00 	testl  $0x200,0x8(%ebp)               
  110d50:	74 11                	je     110d63 <rtems_task_mode+0x97>  
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
  110d52:	c7 46 7c 01 00 00 00 	movl   $0x1,0x7c(%esi)                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
  110d59:	a1 b4 42 12 00       	mov    0x1242b4,%eax                  
  110d5e:	89 46 78             	mov    %eax,0x78(%esi)                
  110d61:	eb 07                	jmp    110d6a <rtems_task_mode+0x9e>  
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
  110d63:	c7 46 7c 00 00 00 00 	movl   $0x0,0x7c(%esi)                
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
  110d6a:	f6 45 0c 01          	testb  $0x1,0xc(%ebp)                 
  110d6e:	74 0a                	je     110d7a <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 ) );           
  110d70:	f6 45 08 01          	testb  $0x1,0x8(%ebp)                 
  110d74:	74 03                	je     110d79 <rtems_task_mode+0xad>  
  110d76:	fa                   	cli                                   
  110d77:	eb 01                	jmp    110d7a <rtems_task_mode+0xae>  
  110d79:	fb                   	sti                                   
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  110d7a:	31 c9                	xor    %ecx,%ecx                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
  110d7c:	f7 45 0c 00 04 00 00 	testl  $0x400,0xc(%ebp)               
  110d83:	74 2a                	je     110daf <rtems_task_mode+0xe3>  
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
  110d85:	f7 45 08 00 04 00 00 	testl  $0x400,0x8(%ebp)               
  110d8c:	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 ) {                        
  110d8f:	3a 43 08             	cmp    0x8(%ebx),%al                  
  110d92:	74 1b                	je     110daf <rtems_task_mode+0xe3>  
      asr->is_enabled = is_asr_enabled;                               
  110d94:	88 43 08             	mov    %al,0x8(%ebx)                  
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
  110d97:	9c                   	pushf                                 
  110d98:	fa                   	cli                                   
  110d99:	58                   	pop    %eax                           
    _signals                     = information->signals_pending;      
  110d9a:	8b 53 18             	mov    0x18(%ebx),%edx                
    information->signals_pending = information->signals_posted;       
  110d9d:	8b 4b 14             	mov    0x14(%ebx),%ecx                
  110da0:	89 4b 18             	mov    %ecx,0x18(%ebx)                
    information->signals_posted  = _signals;                          
  110da3:	89 53 14             	mov    %edx,0x14(%ebx)                
  _ISR_Enable( _level );                                              
  110da6:	50                   	push   %eax                           
  110da7:	9d                   	popf                                  
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  110da8:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  110dac:	0f 95 c1             	setne  %cl                            
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  110daf:	31 c0                	xor    %eax,%eax                      
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
  110db1:	83 3d 64 44 12 00 03 	cmpl   $0x3,0x124464                  
  110db8:	75 26                	jne    110de0 <rtems_task_mode+0x114> <== NEVER TAKEN
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
  110dba:	8b 15 34 48 12 00    	mov    0x124834,%edx                  
                                                                      
  if ( are_signals_pending ||                                         
  110dc0:	84 c9                	test   %cl,%cl                        
  110dc2:	75 0e                	jne    110dd2 <rtems_task_mode+0x106> 
  110dc4:	3b 15 38 48 12 00    	cmp    0x124838,%edx                  
  110dca:	74 14                	je     110de0 <rtems_task_mode+0x114> 
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
  110dcc:	80 7a 74 00          	cmpb   $0x0,0x74(%edx)                
  110dd0:	74 0e                	je     110de0 <rtems_task_mode+0x114> <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
  110dd2:	c6 05 40 48 12 00 01 	movb   $0x1,0x124840                  
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  110dd9:	e8 a6 af ff ff       	call   10bd84 <_Thread_Dispatch>      
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  110dde:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110de0:	83 c4 1c             	add    $0x1c,%esp                     
  110de3:	5b                   	pop    %ebx                           
  110de4:	5e                   	pop    %esi                           
  110de5:	5f                   	pop    %edi                           
  110de6:	c9                   	leave                                 
  110de7:	c3                   	ret                                   
                                                                      

0010dd24 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
  10dd24:	55                   	push   %ebp                           
  10dd25:	89 e5                	mov    %esp,%ebp                      
  10dd27:	56                   	push   %esi                           
  10dd28:	53                   	push   %ebx                           
  10dd29:	83 ec 10             	sub    $0x10,%esp                     
  10dd2c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10dd2f:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10dd32:	85 db                	test   %ebx,%ebx                      
  10dd34:	74 10                	je     10dd46 <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 ) );             
  10dd36:	0f b6 15 f4 41 12 00 	movzbl 0x1241f4,%edx                  
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
  10dd3d:	b8 13 00 00 00       	mov    $0x13,%eax                     
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10dd42:	39 d3                	cmp    %edx,%ebx                      
  10dd44:	77 52                	ja     10dd98 <rtems_task_set_priority+0x74>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
  10dd46:	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 )                                                
  10dd4b:	85 f6                	test   %esi,%esi                      
  10dd4d:	74 49                	je     10dd98 <rtems_task_set_priority+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10dd4f:	51                   	push   %ecx                           
  10dd50:	51                   	push   %ecx                           
  10dd51:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10dd54:	50                   	push   %eax                           
  10dd55:	ff 75 08             	pushl  0x8(%ebp)                      
  10dd58:	e8 f7 1b 00 00       	call   10f954 <_Thread_Get>           
  switch ( location ) {                                               
  10dd5d:	83 c4 10             	add    $0x10,%esp                     
  10dd60:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10dd64:	75 2d                	jne    10dd93 <rtems_task_set_priority+0x6f>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
  10dd66:	8b 50 14             	mov    0x14(%eax),%edx                
  10dd69:	89 16                	mov    %edx,(%esi)                    
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
  10dd6b:	85 db                	test   %ebx,%ebx                      
  10dd6d:	74 1b                	je     10dd8a <rtems_task_set_priority+0x66>
        the_thread->real_priority = new_priority;                     
  10dd6f:	89 58 18             	mov    %ebx,0x18(%eax)                
        if ( the_thread->resource_count == 0 ||                       
  10dd72:	83 78 1c 00          	cmpl   $0x0,0x1c(%eax)                
  10dd76:	74 05                	je     10dd7d <rtems_task_set_priority+0x59>
  10dd78:	39 58 14             	cmp    %ebx,0x14(%eax)                
  10dd7b:	76 0d                	jbe    10dd8a <rtems_task_set_priority+0x66><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
  10dd7d:	52                   	push   %edx                           
  10dd7e:	6a 00                	push   $0x0                           
  10dd80:	53                   	push   %ebx                           
  10dd81:	50                   	push   %eax                           
  10dd82:	e8 19 17 00 00       	call   10f4a0 <_Thread_Change_priority>
  10dd87:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  10dd8a:	e8 a3 1b 00 00       	call   10f932 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10dd8f:	31 c0                	xor    %eax,%eax                      
  10dd91:	eb 05                	jmp    10dd98 <rtems_task_set_priority+0x74>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10dd93:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10dd98:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10dd9b:	5b                   	pop    %ebx                           
  10dd9c:	5e                   	pop    %esi                           
  10dd9d:	c9                   	leave                                 
  10dd9e:	c3                   	ret                                   
                                                                      

00116384 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
  116384:	55                   	push   %ebp                           
  116385:	89 e5                	mov    %esp,%ebp                      
  116387:	83 ec 1c             	sub    $0x1c,%esp                     
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  11638a:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
  11638d:	50                   	push   %eax                           
  11638e:	ff 75 08             	pushl  0x8(%ebp)                      
  116391:	68 04 e0 13 00       	push   $0x13e004                      
  116396:	e8 49 27 00 00       	call   118ae4 <_Objects_Get>          
  switch ( location ) {                                               
  11639b:	83 c4 10             	add    $0x10,%esp                     
  11639e:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  1163a2:	75 1e                	jne    1163c2 <rtems_timer_cancel+0x3e>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
  1163a4:	83 78 38 04          	cmpl   $0x4,0x38(%eax)                
  1163a8:	74 0f                	je     1163b9 <rtems_timer_cancel+0x35><== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
  1163aa:	83 ec 0c             	sub    $0xc,%esp                      
  1163ad:	83 c0 10             	add    $0x10,%eax                     
  1163b0:	50                   	push   %eax                           
  1163b1:	e8 4a 41 00 00       	call   11a500 <_Watchdog_Remove>      
  1163b6:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Enable_dispatch();                                      
  1163b9:	e8 04 2f 00 00       	call   1192c2 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1163be:	31 c0                	xor    %eax,%eax                      
  1163c0:	eb 05                	jmp    1163c7 <rtems_timer_cancel+0x43>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1163c2:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1163c7:	c9                   	leave                                 
  1163c8:	c3                   	ret                                   
                                                                      

001167e4 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  1167e4:	55                   	push   %ebp                           
  1167e5:	89 e5                	mov    %esp,%ebp                      
  1167e7:	57                   	push   %edi                           
  1167e8:	56                   	push   %esi                           
  1167e9:	53                   	push   %ebx                           
  1167ea:	83 ec 1c             	sub    $0x1c,%esp                     
  1167ed:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
  1167f0:	8b 35 44 e0 13 00    	mov    0x13e044,%esi                  
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
  1167f6:	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 )                                                
  1167fb:	85 f6                	test   %esi,%esi                      
  1167fd:	0f 84 b1 00 00 00    	je     1168b4 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
  116803:	b3 0b                	mov    $0xb,%bl                       
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  116805:	80 3d cc d6 13 00 00 	cmpb   $0x0,0x13d6cc                  
  11680c:	0f 84 a2 00 00 00    	je     1168b4 <rtems_timer_server_fire_when+0xd0><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  116812:	b3 09                	mov    $0x9,%bl                       
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
  116814:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  116818:	0f 84 96 00 00 00    	je     1168b4 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  11681e:	83 ec 0c             	sub    $0xc,%esp                      
  116821:	57                   	push   %edi                           
  116822:	e8 b5 d6 ff ff       	call   113edc <_TOD_Validate>         
  116827:	83 c4 10             	add    $0x10,%esp                     
    return RTEMS_INVALID_CLOCK;                                       
  11682a:	b3 14                	mov    $0x14,%bl                      
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  11682c:	84 c0                	test   %al,%al                        
  11682e:	0f 84 80 00 00 00    	je     1168b4 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  116834:	83 ec 0c             	sub    $0xc,%esp                      
  116837:	57                   	push   %edi                           
  116838:	e8 37 d6 ff ff       	call   113e74 <_TOD_To_seconds>       
  11683d:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  11683f:	83 c4 10             	add    $0x10,%esp                     
  116842:	3b 05 44 d7 13 00    	cmp    0x13d744,%eax                  
  116848:	76 6a                	jbe    1168b4 <rtems_timer_server_fire_when+0xd0>
  11684a:	51                   	push   %ecx                           
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  11684b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11684e:	50                   	push   %eax                           
  11684f:	ff 75 08             	pushl  0x8(%ebp)                      
  116852:	68 04 e0 13 00       	push   $0x13e004                      
  116857:	e8 88 22 00 00       	call   118ae4 <_Objects_Get>          
  11685c:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  11685e:	83 c4 10             	add    $0x10,%esp                     
  116861:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  116865:	75 48                	jne    1168af <rtems_timer_server_fire_when+0xcb>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  116867:	83 ec 0c             	sub    $0xc,%esp                      
  11686a:	8d 40 10             	lea    0x10(%eax),%eax                
  11686d:	50                   	push   %eax                           
  11686e:	e8 8d 3c 00 00       	call   11a500 <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
  116873:	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;                        
  11687a:	c7 43 18 00 00 00 00 	movl   $0x0,0x18(%ebx)                
  the_watchdog->routine   = routine;                                  
  116881:	8b 45 10             	mov    0x10(%ebp),%eax                
  116884:	89 43 2c             	mov    %eax,0x2c(%ebx)                
  the_watchdog->id        = id;                                       
  116887:	8b 45 08             	mov    0x8(%ebp),%eax                 
  11688a:	89 43 30             	mov    %eax,0x30(%ebx)                
  the_watchdog->user_data = user_data;                                
  11688d:	8b 45 14             	mov    0x14(%ebp),%eax                
  116890:	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();
  116893:	2b 3d 44 d7 13 00    	sub    0x13d744,%edi                  
  116899:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  11689c:	58                   	pop    %eax                           
  11689d:	5a                   	pop    %edx                           
  11689e:	53                   	push   %ebx                           
  11689f:	56                   	push   %esi                           
  1168a0:	ff 56 04             	call   *0x4(%esi)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  1168a3:	e8 1a 2a 00 00       	call   1192c2 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1168a8:	83 c4 10             	add    $0x10,%esp                     
  1168ab:	31 db                	xor    %ebx,%ebx                      
  1168ad:	eb 05                	jmp    1168b4 <rtems_timer_server_fire_when+0xd0>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1168af:	bb 04 00 00 00       	mov    $0x4,%ebx                      
}                                                                     
  1168b4:	89 d8                	mov    %ebx,%eax                      
  1168b6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1168b9:	5b                   	pop    %ebx                           
  1168ba:	5e                   	pop    %esi                           
  1168bb:	5f                   	pop    %edi                           
  1168bc:	c9                   	leave                                 
  1168bd:	c3                   	ret                                   
                                                                      

0010a8e0 <sched_get_priority_max>: #include <rtems/posix/priority.h> int sched_get_priority_max( int policy ) {
  10a8e0:	55                   	push   %ebp                           
  10a8e1:	89 e5                	mov    %esp,%ebp                      
  10a8e3:	83 ec 08             	sub    $0x8,%esp                      
  10a8e6:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  switch ( policy ) {                                                 
  10a8e9:	83 f9 04             	cmp    $0x4,%ecx                      
  10a8ec:	77 0b                	ja     10a8f9 <sched_get_priority_max+0x19>
  10a8ee:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10a8f3:	d3 e0                	shl    %cl,%eax                       
  10a8f5:	a8 17                	test   $0x17,%al                      
  10a8f7:	75 10                	jne    10a909 <sched_get_priority_max+0x29><== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10a8f9:	e8 ae 73 00 00       	call   111cac <__errno>               
  10a8fe:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a904:	83 c8 ff             	or     $0xffffffff,%eax               
  10a907:	eb 08                	jmp    10a911 <sched_get_priority_max+0x31>
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
  10a909:	0f b6 05 18 12 12 00 	movzbl 0x121218,%eax                  
  10a910:	48                   	dec    %eax                           
}                                                                     
  10a911:	c9                   	leave                                 
  10a912:	c3                   	ret                                   
                                                                      

0010a914 <sched_get_priority_min>: #include <rtems/posix/priority.h> int sched_get_priority_min( int policy ) {
  10a914:	55                   	push   %ebp                           
  10a915:	89 e5                	mov    %esp,%ebp                      
  10a917:	83 ec 08             	sub    $0x8,%esp                      
  10a91a:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  switch ( policy ) {                                                 
  10a91d:	83 f9 04             	cmp    $0x4,%ecx                      
  10a920:	77 11                	ja     10a933 <sched_get_priority_min+0x1f>
  10a922:	ba 01 00 00 00       	mov    $0x1,%edx                      
  10a927:	d3 e2                	shl    %cl,%edx                       
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
  10a929:	b8 01 00 00 00       	mov    $0x1,%eax                      
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
  10a92e:	80 e2 17             	and    $0x17,%dl                      
  10a931:	75 0e                	jne    10a941 <sched_get_priority_min+0x2d><== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10a933:	e8 74 73 00 00       	call   111cac <__errno>               
  10a938:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a93e:	83 c8 ff             	or     $0xffffffff,%eax               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
  10a941:	c9                   	leave                                 
  10a942:	c3                   	ret                                   
                                                                      

0010a944 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
  10a944:	55                   	push   %ebp                           
  10a945:	89 e5                	mov    %esp,%ebp                      
  10a947:	56                   	push   %esi                           
  10a948:	53                   	push   %ebx                           
  10a949:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10a94c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
  10a94f:	85 f6                	test   %esi,%esi                      
  10a951:	74 16                	je     10a969 <sched_rr_get_interval+0x25><== NEVER TAKEN
  10a953:	e8 b8 d0 ff ff       	call   107a10 <getpid>                
  10a958:	39 c6                	cmp    %eax,%esi                      
  10a95a:	74 0d                	je     10a969 <sched_rr_get_interval+0x25>
    rtems_set_errno_and_return_minus_one( ESRCH );                    
  10a95c:	e8 4b 73 00 00       	call   111cac <__errno>               
  10a961:	c7 00 03 00 00 00    	movl   $0x3,(%eax)                    
  10a967:	eb 0f                	jmp    10a978 <sched_rr_get_interval+0x34>
                                                                      
  if ( !interval )                                                    
  10a969:	85 db                	test   %ebx,%ebx                      
  10a96b:	75 10                	jne    10a97d <sched_rr_get_interval+0x39>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10a96d:	e8 3a 73 00 00       	call   111cac <__errno>               
  10a972:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a978:	83 c8 ff             	or     $0xffffffff,%eax               
  10a97b:	eb 13                	jmp    10a990 <sched_rr_get_interval+0x4c>
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
  10a97d:	50                   	push   %eax                           
  10a97e:	50                   	push   %eax                           
  10a97f:	53                   	push   %ebx                           
  10a980:	ff 35 a4 52 12 00    	pushl  0x1252a4                       
  10a986:	e8 a1 2f 00 00       	call   10d92c <_Timespec_From_ticks>  
  return 0;                                                           
  10a98b:	83 c4 10             	add    $0x10,%esp                     
  10a98e:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a990:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a993:	5b                   	pop    %ebx                           
  10a994:	5e                   	pop    %esi                           
  10a995:	c9                   	leave                                 
  10a996:	c3                   	ret                                   
                                                                      

0010cfec <sem_init>: int sem_init( sem_t *sem, int pshared, unsigned int value ) {
  10cfec:	55                   	push   %ebp                           
  10cfed:	89 e5                	mov    %esp,%ebp                      
  10cfef:	53                   	push   %ebx                           
  10cff0:	83 ec 14             	sub    $0x14,%esp                     
  10cff3:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  int                        status;                                  
  POSIX_Semaphore_Control   *the_semaphore;                           
                                                                      
  if ( !sem )                                                         
  10cff6:	85 db                	test   %ebx,%ebx                      
  10cff8:	75 10                	jne    10d00a <sem_init+0x1e>         <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10cffa:	e8 c9 7f 00 00       	call   114fc8 <__errno>               
  10cfff:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10d005:	83 c8 ff             	or     $0xffffffff,%eax               
  10d008:	eb 21                	jmp    10d02b <sem_init+0x3f>         
                                                                      
  status = _POSIX_Semaphore_Create_support(                           
  10d00a:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10d00d:	50                   	push   %eax                           
  10d00e:	ff 75 10             	pushl  0x10(%ebp)                     
  10d011:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d014:	6a 00                	push   $0x0                           
  10d016:	e8 b1 57 00 00       	call   1127cc <_POSIX_Semaphore_Create_support>
    pshared,                                                          
    value,                                                            
    &the_semaphore                                                    
  );                                                                  
                                                                      
  if ( status != -1 )                                                 
  10d01b:	83 c4 10             	add    $0x10,%esp                     
  10d01e:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10d021:	74 08                	je     10d02b <sem_init+0x3f>         
    *sem = the_semaphore->Object.id;                                  
  10d023:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10d026:	8b 52 08             	mov    0x8(%edx),%edx                 
  10d029:	89 13                	mov    %edx,(%ebx)                    
                                                                      
  return status;                                                      
}                                                                     
  10d02b:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d02e:	c9                   	leave                                 
  10d02f:	c3                   	ret                                   
                                                                      

0010d030 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
  10d030:	55                   	push   %ebp                           
  10d031:	89 e5                	mov    %esp,%ebp                      
  10d033:	57                   	push   %edi                           
  10d034:	56                   	push   %esi                           
  10d035:	53                   	push   %ebx                           
  10d036:	83 ec 2c             	sub    $0x2c,%esp                     
  10d039:	8b 75 08             	mov    0x8(%ebp),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10d03c:	a1 cc a4 12 00       	mov    0x12a4cc,%eax                  
  10d041:	40                   	inc    %eax                           
  10d042:	a3 cc a4 12 00       	mov    %eax,0x12a4cc                  
  va_list                    arg;                                     
  mode_t                     mode;                                    
  unsigned int               value = 0;                               
  10d047:	31 ff                	xor    %edi,%edi                      
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
  10d049:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10d04c:	25 00 02 00 00       	and    $0x200,%eax                    
  10d051:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10d054:	74 03                	je     10d059 <sem_open+0x29>         
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
  10d056:	8b 7d 14             	mov    0x14(%ebp),%edi                
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
  10d059:	52                   	push   %edx                           
  10d05a:	52                   	push   %edx                           
  10d05b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10d05e:	50                   	push   %eax                           
  10d05f:	56                   	push   %esi                           
  10d060:	e8 9b 58 00 00       	call   112900 <_POSIX_Semaphore_Name_to_id>
  10d065:	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 ) {                                                     
  10d067:	83 c4 10             	add    $0x10,%esp                     
  10d06a:	85 c0                	test   %eax,%eax                      
  10d06c:	74 19                	je     10d087 <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) ) ) {               
  10d06e:	83 f8 02             	cmp    $0x2,%eax                      
  10d071:	75 06                	jne    10d079 <sem_open+0x49>         <== NEVER TAKEN
  10d073:	83 7d d4 00          	cmpl   $0x0,-0x2c(%ebp)               
  10d077:	75 59                	jne    10d0d2 <sem_open+0xa2>         
      _Thread_Enable_dispatch();                                      
  10d079:	e8 68 25 00 00       	call   10f5e6 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
  10d07e:	e8 45 7f 00 00       	call   114fc8 <__errno>               
  10d083:	89 18                	mov    %ebx,(%eax)                    
  10d085:	eb 1f                	jmp    10d0a6 <sem_open+0x76>         
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
  10d087:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10d08a:	25 00 0a 00 00       	and    $0xa00,%eax                    
  10d08f:	3d 00 0a 00 00       	cmp    $0xa00,%eax                    
  10d094:	75 15                	jne    10d0ab <sem_open+0x7b>         
      _Thread_Enable_dispatch();                                      
  10d096:	e8 4b 25 00 00       	call   10f5e6 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
  10d09b:	e8 28 7f 00 00       	call   114fc8 <__errno>               
  10d0a0:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
  10d0a6:	83 c8 ff             	or     $0xffffffff,%eax               
  10d0a9:	eb 4a                	jmp    10d0f5 <sem_open+0xc5>         
  10d0ab:	50                   	push   %eax                           
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
  10d0ac:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10d0af:	50                   	push   %eax                           
  10d0b0:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10d0b3:	68 98 a7 12 00       	push   $0x12a798                      
  10d0b8:	e8 d7 1c 00 00       	call   10ed94 <_Objects_Get>          
  10d0bd:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    the_semaphore->open_count += 1;                                   
  10d0c0:	ff 40 18             	incl   0x18(%eax)                     
    _Thread_Enable_dispatch();                                        
  10d0c3:	e8 1e 25 00 00       	call   10f5e6 <_Thread_Enable_dispatch>
    _Thread_Enable_dispatch();                                        
  10d0c8:	e8 19 25 00 00       	call   10f5e6 <_Thread_Enable_dispatch>
    goto return_id;                                                   
  10d0cd:	83 c4 10             	add    $0x10,%esp                     
  10d0d0:	eb 1d                	jmp    10d0ef <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(                            
  10d0d2:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10d0d5:	50                   	push   %eax                           
  10d0d6:	57                   	push   %edi                           
  10d0d7:	6a 00                	push   $0x0                           
  10d0d9:	56                   	push   %esi                           
  10d0da:	e8 ed 56 00 00       	call   1127cc <_POSIX_Semaphore_Create_support>
  10d0df:	89 c3                	mov    %eax,%ebx                      
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
  10d0e1:	e8 00 25 00 00       	call   10f5e6 <_Thread_Enable_dispatch>
                                                                      
  if ( status == -1 )                                                 
  10d0e6:	83 c4 10             	add    $0x10,%esp                     
    return SEM_FAILED;                                                
  10d0e9:	83 c8 ff             	or     $0xffffffff,%eax               
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( status == -1 )                                                 
  10d0ec:	43                   	inc    %ebx                           
  10d0ed:	74 06                	je     10d0f5 <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;                          
  10d0ef:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10d0f2:	83 c0 08             	add    $0x8,%eax                      
  #endif                                                              
  return id;                                                          
}                                                                     
  10d0f5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d0f8:	5b                   	pop    %ebx                           
  10d0f9:	5e                   	pop    %esi                           
  10d0fa:	5f                   	pop    %edi                           
  10d0fb:	c9                   	leave                                 
  10d0fc:	c3                   	ret                                   
                                                                      

0010a7bc <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
  10a7bc:	55                   	push   %ebp                           
  10a7bd:	89 e5                	mov    %esp,%ebp                      
  10a7bf:	57                   	push   %edi                           
  10a7c0:	56                   	push   %esi                           
  10a7c1:	53                   	push   %ebx                           
  10a7c2:	83 ec 1c             	sub    $0x1c,%esp                     
  10a7c5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a7c8:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10a7cb:	8b 45 10             	mov    0x10(%ebp),%eax                
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
  10a7ce:	85 c0                	test   %eax,%eax                      
  10a7d0:	74 12                	je     10a7e4 <sigaction+0x28>        
    *oact = _POSIX_signals_Vectors[ sig ];                            
  10a7d2:	6b f3 0c             	imul   $0xc,%ebx,%esi                 
  10a7d5:	81 c6 84 68 12 00    	add    $0x126884,%esi                 
  10a7db:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10a7e0:	89 c7                	mov    %eax,%edi                      
  10a7e2:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  if ( !sig )                                                         
  10a7e4:	85 db                	test   %ebx,%ebx                      
  10a7e6:	74 0d                	je     10a7f5 <sigaction+0x39>        
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  10a7e8:	8d 43 ff             	lea    -0x1(%ebx),%eax                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
  10a7eb:	83 f8 1f             	cmp    $0x1f,%eax                     
  10a7ee:	77 05                	ja     10a7f5 <sigaction+0x39>        
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
  10a7f0:	83 fb 09             	cmp    $0x9,%ebx                      
  10a7f3:	75 10                	jne    10a805 <sigaction+0x49>        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10a7f5:	e8 36 77 00 00       	call   111f30 <__errno>               
  10a7fa:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a800:	83 c8 ff             	or     $0xffffffff,%eax               
  10a803:	eb 57                	jmp    10a85c <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;                                                           
  10a805:	31 c0                	xor    %eax,%eax                      
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
  10a807:	85 d2                	test   %edx,%edx                      
  10a809:	74 51                	je     10a85c <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 );                                            
  10a80b:	9c                   	pushf                                 
  10a80c:	fa                   	cli                                   
  10a80d:	8f 45 e4             	popl   -0x1c(%ebp)                    
      if ( act->sa_handler == SIG_DFL ) {                             
  10a810:	83 7a 08 00          	cmpl   $0x0,0x8(%edx)                 
  10a814:	75 1a                	jne    10a830 <sigaction+0x74>        
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
  10a816:	6b f3 0c             	imul   $0xc,%ebx,%esi                 
  10a819:	8d 86 84 68 12 00    	lea    0x126884(%esi),%eax            
  10a81f:	81 c6 a8 08 12 00    	add    $0x1208a8,%esi                 
  10a825:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10a82a:	89 c7                	mov    %eax,%edi                      
  10a82c:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  10a82e:	eb 26                	jmp    10a856 <sigaction+0x9a>        
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
  10a830:	83 ec 0c             	sub    $0xc,%esp                      
  10a833:	53                   	push   %ebx                           
  10a834:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10a837:	e8 8c 4d 00 00       	call   10f5c8 <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
  10a83c:	6b db 0c             	imul   $0xc,%ebx,%ebx                 
  10a83f:	81 c3 84 68 12 00    	add    $0x126884,%ebx                 
  10a845:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10a84a:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10a84d:	89 df                	mov    %ebx,%edi                      
  10a84f:	89 d6                	mov    %edx,%esi                      
  10a851:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  10a853:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
    _ISR_Enable( level );                                             
  10a856:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10a859:	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;                                                           
  10a85a:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a85c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a85f:	5b                   	pop    %ebx                           
  10a860:	5e                   	pop    %esi                           
  10a861:	5f                   	pop    %edi                           
  10a862:	c9                   	leave                                 
  10a863:	c3                   	ret                                   
                                                                      

0010ab93 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
  10ab93:	55                   	push   %ebp                           
  10ab94:	89 e5                	mov    %esp,%ebp                      
  10ab96:	57                   	push   %edi                           
  10ab97:	56                   	push   %esi                           
  10ab98:	53                   	push   %ebx                           
  10ab99:	83 ec 3c             	sub    $0x3c,%esp                     
  10ab9c:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10ab9f:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
  10aba2:	85 f6                	test   %esi,%esi                      
  10aba4:	74 24                	je     10abca <sigtimedwait+0x37>     
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
  10aba6:	85 db                	test   %ebx,%ebx                      
  10aba8:	74 30                	je     10abda <sigtimedwait+0x47>     
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
  10abaa:	83 ec 0c             	sub    $0xc,%esp                      
  10abad:	53                   	push   %ebx                           
  10abae:	e8 45 30 00 00       	call   10dbf8 <_Timespec_Is_valid>    
  10abb3:	83 c4 10             	add    $0x10,%esp                     
  10abb6:	84 c0                	test   %al,%al                        
  10abb8:	74 10                	je     10abca <sigtimedwait+0x37>     
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
  10abba:	83 ec 0c             	sub    $0xc,%esp                      
  10abbd:	53                   	push   %ebx                           
  10abbe:	e8 8d 30 00 00       	call   10dc50 <_Timespec_To_ticks>    
                                                                      
    if ( !interval )                                                  
  10abc3:	83 c4 10             	add    $0x10,%esp                     
  10abc6:	85 c0                	test   %eax,%eax                      
  10abc8:	75 12                	jne    10abdc <sigtimedwait+0x49>     <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10abca:	e8 19 79 00 00       	call   1124e8 <__errno>               
  10abcf:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10abd5:	e9 39 01 00 00       	jmp    10ad13 <sigtimedwait+0x180>    
                                                                      
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  10abda:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
  10abdc:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10abdf:	85 ff                	test   %edi,%edi                      
  10abe1:	75 03                	jne    10abe6 <sigtimedwait+0x53>     
  10abe3:	8d 7d dc             	lea    -0x24(%ebp),%edi               
                                                                      
  the_thread = _Thread_Executing;                                     
  10abe6:	8b 15 74 68 12 00    	mov    0x126874,%edx                  
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10abec:	8b 8a f8 00 00 00    	mov    0xf8(%edx),%ecx                
  10abf2:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  10abf5:	9c                   	pushf                                 
  10abf6:	fa                   	cli                                   
  10abf7:	8f 45 d0             	popl   -0x30(%ebp)                    
  if ( *set & api->signals_pending ) {                                
  10abfa:	8b 1e                	mov    (%esi),%ebx                    
  10abfc:	89 5d c4             	mov    %ebx,-0x3c(%ebp)               
  10abff:	8b 5d d4             	mov    -0x2c(%ebp),%ebx               
  10ac02:	8b 8b d4 00 00 00    	mov    0xd4(%ebx),%ecx                
  10ac08:	85 4d c4             	test   %ecx,-0x3c(%ebp)               
  10ac0b:	74 32                	je     10ac3f <sigtimedwait+0xac>     
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_lowest( api->signals_pending );
  10ac0d:	83 ec 0c             	sub    $0xc,%esp                      
  10ac10:	51                   	push   %ecx                           
  10ac11:	e8 3e ff ff ff       	call   10ab54 <_POSIX_signals_Get_lowest>
  10ac16:	89 07                	mov    %eax,(%edi)                    
    _POSIX_signals_Clear_signals(                                     
  10ac18:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10ac1f:	6a 00                	push   $0x0                           
  10ac21:	57                   	push   %edi                           
  10ac22:	50                   	push   %eax                           
  10ac23:	53                   	push   %ebx                           
  10ac24:	e8 fb 4f 00 00       	call   10fc24 <_POSIX_signals_Clear_signals>
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
  10ac29:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10ac2c:	9d                   	popf                                  
                                                                      
    the_info->si_code = SI_USER;                                      
  10ac2d:	c7 47 04 01 00 00 00 	movl   $0x1,0x4(%edi)                 
    the_info->si_value.sival_int = 0;                                 
  10ac34:	c7 47 08 00 00 00 00 	movl   $0x0,0x8(%edi)                 
    return the_info->si_signo;                                        
  10ac3b:	8b 1f                	mov    (%edi),%ebx                    
  10ac3d:	eb 3d                	jmp    10ac7c <sigtimedwait+0xe9>     
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
  10ac3f:	8b 0d 78 6a 12 00    	mov    0x126a78,%ecx                  
  10ac45:	85 4d c4             	test   %ecx,-0x3c(%ebp)               
  10ac48:	74 3a                	je     10ac84 <sigtimedwait+0xf1>     
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
  10ac4a:	83 ec 0c             	sub    $0xc,%esp                      
  10ac4d:	51                   	push   %ecx                           
  10ac4e:	e8 01 ff ff ff       	call   10ab54 <_POSIX_signals_Get_lowest>
  10ac53:	89 c3                	mov    %eax,%ebx                      
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
  10ac55:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10ac5c:	6a 01                	push   $0x1                           
  10ac5e:	57                   	push   %edi                           
  10ac5f:	50                   	push   %eax                           
  10ac60:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10ac63:	e8 bc 4f 00 00       	call   10fc24 <_POSIX_signals_Clear_signals>
    _ISR_Enable( level );                                             
  10ac68:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10ac6b:	9d                   	popf                                  
                                                                      
    the_info->si_signo = signo;                                       
  10ac6c:	89 1f                	mov    %ebx,(%edi)                    
    the_info->si_code = SI_USER;                                      
  10ac6e:	c7 47 04 01 00 00 00 	movl   $0x1,0x4(%edi)                 
    the_info->si_value.sival_int = 0;                                 
  10ac75:	c7 47 08 00 00 00 00 	movl   $0x0,0x8(%edi)                 
    return signo;                                                     
  10ac7c:	83 c4 20             	add    $0x20,%esp                     
  10ac7f:	e9 92 00 00 00       	jmp    10ad16 <sigtimedwait+0x183>    
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
  10ac84:	c7 07 ff ff ff ff    	movl   $0xffffffff,(%edi)             
  10ac8a:	8b 0d 24 63 12 00    	mov    0x126324,%ecx                  
  10ac90:	41                   	inc    %ecx                           
  10ac91:	89 0d 24 63 12 00    	mov    %ecx,0x126324                  
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
  10ac97:	c7 42 44 10 6a 12 00 	movl   $0x126a10,0x44(%edx)           
    the_thread->Wait.return_code     = EINTR;                         
  10ac9e:	c7 42 34 04 00 00 00 	movl   $0x4,0x34(%edx)                
    the_thread->Wait.option          = *set;                          
  10aca5:	8b 0e                	mov    (%esi),%ecx                    
  10aca7:	89 4a 30             	mov    %ecx,0x30(%edx)                
    the_thread->Wait.return_argument = the_info;                      
  10acaa:	89 7a 28             	mov    %edi,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;
  10acad:	c7 05 40 6a 12 00 01 	movl   $0x1,0x126a40                  
  10acb4:	00 00 00                                                    
    _Thread_queue_Enter_critical_section( &_POSIX_signals_Wait_queue );
    _ISR_Enable( level );                                             
  10acb7:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10acba:	9d                   	popf                                  
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
  10acbb:	52                   	push   %edx                           
  10acbc:	68 f0 d7 10 00       	push   $0x10d7f0                      
  10acc1:	50                   	push   %eax                           
  10acc2:	68 10 6a 12 00       	push   $0x126a10                      
  10acc7:	e8 4c 28 00 00       	call   10d518 <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
  10accc:	e8 c1 23 00 00       	call   10d092 <_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 );
  10acd1:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10acd8:	6a 00                	push   $0x0                           
  10acda:	57                   	push   %edi                           
  10acdb:	ff 37                	pushl  (%edi)                         
  10acdd:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10ace0:	e8 3f 4f 00 00       	call   10fc24 <_POSIX_signals_Clear_signals>
  /* Set errno only if return code is not EINTR or                    
   * if EINTR was caused by a signal being caught, which              
   * was not in our set.                                              
   */                                                                 
                                                                      
  if ( (_Thread_Executing->Wait.return_code != EINTR)                 
  10ace5:	83 c4 20             	add    $0x20,%esp                     
  10ace8:	a1 74 68 12 00       	mov    0x126874,%eax                  
  10aced:	83 78 34 04          	cmpl   $0x4,0x34(%eax)                
  10acf1:	75 10                	jne    10ad03 <sigtimedwait+0x170>    
       || !(*set & signo_to_mask( the_info->si_signo )) ) {           
  10acf3:	8b 1f                	mov    (%edi),%ebx                    
  10acf5:	8d 4b ff             	lea    -0x1(%ebx),%ecx                
  10acf8:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10acfd:	d3 e0                	shl    %cl,%eax                       
  10acff:	85 06                	test   %eax,(%esi)                    
  10ad01:	75 13                	jne    10ad16 <sigtimedwait+0x183>    
    errno = _Thread_Executing->Wait.return_code;                      
  10ad03:	e8 e0 77 00 00       	call   1124e8 <__errno>               
  10ad08:	8b 15 74 68 12 00    	mov    0x126874,%edx                  
  10ad0e:	8b 52 34             	mov    0x34(%edx),%edx                
  10ad11:	89 10                	mov    %edx,(%eax)                    
    return -1;                                                        
  10ad13:	83 cb ff             	or     $0xffffffff,%ebx               
  }                                                                   
                                                                      
  return the_info->si_signo;                                          
}                                                                     
  10ad16:	89 d8                	mov    %ebx,%eax                      
  10ad18:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ad1b:	5b                   	pop    %ebx                           
  10ad1c:	5e                   	pop    %esi                           
  10ad1d:	5f                   	pop    %edi                           
  10ad1e:	c9                   	leave                                 
  10ad1f:	c3                   	ret                                   
                                                                      

0010ca04 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
  10ca04:	55                   	push   %ebp                           
  10ca05:	89 e5                	mov    %esp,%ebp                      
  10ca07:	53                   	push   %ebx                           
  10ca08:	83 ec 08             	sub    $0x8,%esp                      
  10ca0b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
  10ca0e:	6a 00                	push   $0x0                           
  10ca10:	6a 00                	push   $0x0                           
  10ca12:	ff 75 08             	pushl  0x8(%ebp)                      
  10ca15:	e8 45 fe ff ff       	call   10c85f <sigtimedwait>          
  10ca1a:	89 c2                	mov    %eax,%edx                      
                                                                      
  if ( status != -1 ) {                                               
  10ca1c:	83 c4 10             	add    $0x10,%esp                     
  10ca1f:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10ca22:	74 0a                	je     10ca2e <sigwait+0x2a>          
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
  10ca24:	31 c0                	xor    %eax,%eax                      
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
                                                                      
  if ( status != -1 ) {                                               
    if ( sig )                                                        
  10ca26:	85 db                	test   %ebx,%ebx                      
  10ca28:	74 0b                	je     10ca35 <sigwait+0x31>          <== NEVER TAKEN
      *sig = status;                                                  
  10ca2a:	89 13                	mov    %edx,(%ebx)                    
  10ca2c:	eb 07                	jmp    10ca35 <sigwait+0x31>          
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
  10ca2e:	e8 cd 72 00 00       	call   113d00 <__errno>               
  10ca33:	8b 00                	mov    (%eax),%eax                    
}                                                                     
  10ca35:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca38:	c9                   	leave                                 
  10ca39:	c3                   	ret                                   
                                                                      

0010a01c <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
  10a01c:	55                   	push   %ebp                           
  10a01d:	89 e5                	mov    %esp,%ebp                      
  10a01f:	56                   	push   %esi                           
  10a020:	53                   	push   %ebx                           
  10a021:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10a024:	8b 75 10             	mov    0x10(%ebp),%esi                
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
  10a027:	83 7d 08 01          	cmpl   $0x1,0x8(%ebp)                 
  10a02b:	75 1d                	jne    10a04a <timer_create+0x2e>     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
  10a02d:	85 f6                	test   %esi,%esi                      
  10a02f:	74 19                	je     10a04a <timer_create+0x2e>     
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
  10a031:	85 db                	test   %ebx,%ebx                      
  10a033:	74 22                	je     10a057 <timer_create+0x3b>     
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
  10a035:	8b 03                	mov    (%ebx),%eax                    
  10a037:	48                   	dec    %eax                           
  10a038:	83 f8 01             	cmp    $0x1,%eax                      
  10a03b:	77 0d                	ja     10a04a <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 )                                         
  10a03d:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10a040:	85 c0                	test   %eax,%eax                      
  10a042:	74 06                	je     10a04a <timer_create+0x2e>     <== NEVER TAKEN
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  10a044:	48                   	dec    %eax                           
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
  10a045:	83 f8 1f             	cmp    $0x1f,%eax                     
  10a048:	76 0d                	jbe    10a057 <timer_create+0x3b>     <== ALWAYS TAKEN
       rtems_set_errno_and_return_minus_one( EINVAL );                
  10a04a:	e8 7d 7c 00 00       	call   111ccc <__errno>               
  10a04f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a055:	eb 2f                	jmp    10a086 <timer_create+0x6a>     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10a057:	a1 38 63 12 00       	mov    0x126338,%eax                  
  10a05c:	40                   	inc    %eax                           
  10a05d:	a3 38 63 12 00       	mov    %eax,0x126338                  
 *  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 );
  10a062:	83 ec 0c             	sub    $0xc,%esp                      
  10a065:	68 44 66 12 00       	push   $0x126644                      
  10a06a:	e8 71 1b 00 00       	call   10bbe0 <_Objects_Allocate>     
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
  10a06f:	83 c4 10             	add    $0x10,%esp                     
  10a072:	85 c0                	test   %eax,%eax                      
  10a074:	75 18                	jne    10a08e <timer_create+0x72>     
    _Thread_Enable_dispatch();                                        
  10a076:	e8 73 27 00 00       	call   10c7ee <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
  10a07b:	e8 4c 7c 00 00       	call   111ccc <__errno>               
  10a080:	c7 00 0b 00 00 00    	movl   $0xb,(%eax)                    
  10a086:	83 c8 ff             	or     $0xffffffff,%eax               
  10a089:	e9 83 00 00 00       	jmp    10a111 <timer_create+0xf5>     
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  10a08e:	c6 40 3c 02          	movb   $0x2,0x3c(%eax)                
  ptimer->thread_id = _Thread_Executing->Object.id;                   
  10a092:	8b 15 88 68 12 00    	mov    0x126888,%edx                  
  10a098:	8b 52 08             	mov    0x8(%edx),%edx                 
  10a09b:	89 50 38             	mov    %edx,0x38(%eax)                
                                                                      
  if ( evp != NULL ) {                                                
  10a09e:	85 db                	test   %ebx,%ebx                      
  10a0a0:	74 11                	je     10a0b3 <timer_create+0x97>     
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
  10a0a2:	8b 13                	mov    (%ebx),%edx                    
  10a0a4:	89 50 40             	mov    %edx,0x40(%eax)                
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
  10a0a7:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10a0aa:	89 50 44             	mov    %edx,0x44(%eax)                
    ptimer->inf.sigev_value  = evp->sigev_value;                      
  10a0ad:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10a0b0:	89 50 48             	mov    %edx,0x48(%eax)                
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
  10a0b3:	c7 40 68 00 00 00 00 	movl   $0x0,0x68(%eax)                
  ptimer->timer_data.it_value.tv_sec     = 0;                         
  10a0ba:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
  10a0c1:	c7 40 60 00 00 00 00 	movl   $0x0,0x60(%eax)                
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
  10a0c8:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
  10a0cf:	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;                        
  10a0d6:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
  the_watchdog->routine   = routine;                                  
  10a0dd:	c7 40 2c 00 00 00 00 	movl   $0x0,0x2c(%eax)                
  the_watchdog->id        = id;                                       
  10a0e4:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  the_watchdog->user_data = user_data;                                
  10a0eb:	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 ),                             
  10a0f2:	8b 50 08             	mov    0x8(%eax),%edx                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10a0f5:	0f b7 da             	movzwl %dx,%ebx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10a0f8:	8b 0d 60 66 12 00    	mov    0x126660,%ecx                  
  10a0fe:	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;                                   
  10a101:	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;                                      
  10a108:	89 16                	mov    %edx,(%esi)                    
  _Thread_Enable_dispatch();                                          
  10a10a:	e8 df 26 00 00       	call   10c7ee <_Thread_Enable_dispatch>
  return 0;                                                           
  10a10f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a111:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a114:	5b                   	pop    %ebx                           
  10a115:	5e                   	pop    %esi                           
  10a116:	c9                   	leave                                 
  10a117:	c3                   	ret                                   
                                                                      

0010a118 <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
  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 2c             	sub    $0x2c,%esp                     
  10a121:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
  10a124:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10a128:	0f 84 58 01 00 00    	je     10a286 <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) ) ) {                  
  10a12e:	83 ec 0c             	sub    $0xc,%esp                      
  10a131:	8b 45 10             	mov    0x10(%ebp),%eax                
  10a134:	83 c0 08             	add    $0x8,%eax                      
  10a137:	50                   	push   %eax                           
  10a138:	e8 3b 32 00 00       	call   10d378 <_Timespec_Is_valid>    
  10a13d:	83 c4 10             	add    $0x10,%esp                     
  10a140:	84 c0                	test   %al,%al                        
  10a142:	0f 84 3e 01 00 00    	je     10a286 <timer_settime+0x16e>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  if ( !_Timespec_Is_valid( &(value->it_interval) ) ) {               
  10a148:	83 ec 0c             	sub    $0xc,%esp                      
  10a14b:	ff 75 10             	pushl  0x10(%ebp)                     
  10a14e:	e8 25 32 00 00       	call   10d378 <_Timespec_Is_valid>    
  10a153:	83 c4 10             	add    $0x10,%esp                     
  10a156:	84 c0                	test   %al,%al                        
  10a158:	0f 84 28 01 00 00    	je     10a286 <timer_settime+0x16e>   <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
  10a15e:	85 db                	test   %ebx,%ebx                      
  10a160:	74 09                	je     10a16b <timer_settime+0x53>    
  10a162:	83 fb 04             	cmp    $0x4,%ebx                      
  10a165:	0f 85 1b 01 00 00    	jne    10a286 <timer_settime+0x16e>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
  10a16b:	8d 7d cc             	lea    -0x34(%ebp),%edi               
  10a16e:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a173:	8b 75 10             	mov    0x10(%ebp),%esi                
  10a176:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
  10a178:	83 fb 04             	cmp    $0x4,%ebx                      
  10a17b:	75 2f                	jne    10a1ac <timer_settime+0x94>    
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
  10a17d:	83 ec 0c             	sub    $0xc,%esp                      
  10a180:	8d 5d dc             	lea    -0x24(%ebp),%ebx               
  10a183:	53                   	push   %ebx                           
  10a184:	e8 a7 15 00 00       	call   10b730 <_TOD_Get>              
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
  10a189:	59                   	pop    %ecx                           
  10a18a:	5e                   	pop    %esi                           
  10a18b:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  10a18e:	56                   	push   %esi                           
  10a18f:	53                   	push   %ebx                           
  10a190:	e8 bf 31 00 00       	call   10d354 <_Timespec_Greater_than>
  10a195:	83 c4 10             	add    $0x10,%esp                     
  10a198:	84 c0                	test   %al,%al                        
  10a19a:	0f 85 e6 00 00 00    	jne    10a286 <timer_settime+0x16e>   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
  10a1a0:	52                   	push   %edx                           
  10a1a1:	56                   	push   %esi                           
  10a1a2:	56                   	push   %esi                           
  10a1a3:	53                   	push   %ebx                           
  10a1a4:	e8 f3 31 00 00       	call   10d39c <_Timespec_Subtract>    
  10a1a9:	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 );
  10a1ac:	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 );                    
  10a1ad:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a1b0:	50                   	push   %eax                           
  10a1b1:	ff 75 08             	pushl  0x8(%ebp)                      
  10a1b4:	68 44 66 12 00       	push   $0x126644                      
  10a1b9:	e8 52 1e 00 00       	call   10c010 <_Objects_Get>          
  10a1be:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10a1c0:	83 c4 10             	add    $0x10,%esp                     
  10a1c3:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10a1c7:	0f 85 b9 00 00 00    	jne    10a286 <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 ) {
  10a1cd:	83 7d d4 00          	cmpl   $0x0,-0x2c(%ebp)               
  10a1d1:	75 3b                	jne    10a20e <timer_settime+0xf6>    
  10a1d3:	83 7d d8 00          	cmpl   $0x0,-0x28(%ebp)               
  10a1d7:	75 35                	jne    10a20e <timer_settime+0xf6>    
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
  10a1d9:	83 ec 0c             	sub    $0xc,%esp                      
  10a1dc:	8d 40 10             	lea    0x10(%eax),%eax                
  10a1df:	50                   	push   %eax                           
  10a1e0:	e8 7b 35 00 00       	call   10d760 <_Watchdog_Remove>      
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
  10a1e5:	83 c4 10             	add    $0x10,%esp                     
  10a1e8:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10a1ec:	74 0d                	je     10a1fb <timer_settime+0xe3>    
           *ovalue = ptimer->timer_data;                              
  10a1ee:	8d 73 54             	lea    0x54(%ebx),%esi                
  10a1f1:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a1f6:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10a1f9:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
  10a1fb:	8d 7b 54             	lea    0x54(%ebx),%edi                
  10a1fe:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  10a201:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a206:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
  10a208:	c6 43 3c 04          	movb   $0x4,0x3c(%ebx)                
  10a20c:	eb 35                	jmp    10a243 <timer_settime+0x12b>   
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
  10a20e:	83 ec 0c             	sub    $0xc,%esp                      
  10a211:	ff 75 10             	pushl  0x10(%ebp)                     
  10a214:	e8 b7 31 00 00       	call   10d3d0 <_Timespec_To_ticks>    
  10a219:	89 43 64             	mov    %eax,0x64(%ebx)                
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
  10a21c:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  10a21f:	89 04 24             	mov    %eax,(%esp)                    
  10a222:	e8 a9 31 00 00       	call   10d3d0 <_Timespec_To_ticks>    
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
  10a227:	89 1c 24             	mov    %ebx,(%esp)                    
  10a22a:	68 9c a2 10 00       	push   $0x10a29c                      
  10a22f:	ff 73 08             	pushl  0x8(%ebx)                      
  10a232:	50                   	push   %eax                           
  10a233:	8d 43 10             	lea    0x10(%ebx),%eax                
  10a236:	50                   	push   %eax                           
  10a237:	e8 64 56 00 00       	call   10f8a0 <_POSIX_Timer_Insert_helper>
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
  10a23c:	83 c4 20             	add    $0x20,%esp                     
  10a23f:	84 c0                	test   %al,%al                        
  10a241:	75 07                	jne    10a24a <timer_settime+0x132>   
         _Thread_Enable_dispatch();                                   
  10a243:	e8 a6 25 00 00       	call   10c7ee <_Thread_Enable_dispatch>
  10a248:	eb 38                	jmp    10a282 <timer_settime+0x16a>   
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
  10a24a:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10a24e:	74 0d                	je     10a25d <timer_settime+0x145>   
         *ovalue = ptimer->timer_data;                                
  10a250:	8d 73 54             	lea    0x54(%ebx),%esi                
  10a253:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a258:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10a25b:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
       ptimer->timer_data = normalize;                                
  10a25d:	8d 7b 54             	lea    0x54(%ebx),%edi                
  10a260:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  10a263:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a268:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
  10a26a:	c6 43 3c 03          	movb   $0x3,0x3c(%ebx)                
       _TOD_Get( &ptimer->time );                                     
  10a26e:	83 ec 0c             	sub    $0xc,%esp                      
  10a271:	83 c3 6c             	add    $0x6c,%ebx                     
  10a274:	53                   	push   %ebx                           
  10a275:	e8 b6 14 00 00       	call   10b730 <_TOD_Get>              
       _Thread_Enable_dispatch();                                     
  10a27a:	e8 6f 25 00 00       	call   10c7ee <_Thread_Enable_dispatch>
       return 0;                                                      
  10a27f:	83 c4 10             	add    $0x10,%esp                     
  10a282:	31 c0                	xor    %eax,%eax                      
  10a284:	eb 0e                	jmp    10a294 <timer_settime+0x17c>   
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10a286:	e8 41 7a 00 00       	call   111ccc <__errno>               
  10a28b:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a291:	83 c8 ff             	or     $0xffffffff,%eax               
}                                                                     
  10a294:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a297:	5b                   	pop    %ebx                           
  10a298:	5e                   	pop    %esi                           
  10a299:	5f                   	pop    %edi                           
  10a29a:	c9                   	leave                                 
  10a29b:	c3                   	ret                                   
                                                                      

00109f58 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
  109f58:	55                   	push   %ebp                           
  109f59:	89 e5                	mov    %esp,%ebp                      
  109f5b:	57                   	push   %edi                           
  109f5c:	56                   	push   %esi                           
  109f5d:	53                   	push   %ebx                           
  109f5e:	83 ec 1c             	sub    $0x1c,%esp                     
  109f61:	8b 75 08             	mov    0x8(%ebp),%esi                 
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
  109f64:	83 3d 28 6c 12 00 00 	cmpl   $0x0,0x126c28                  
  109f6b:	75 2c                	jne    109f99 <ualarm+0x41>           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  109f6d:	c7 05 14 6c 12 00 00 	movl   $0x0,0x126c14                  
  109f74:	00 00 00                                                    
  the_watchdog->routine   = routine;                                  
  109f77:	c7 05 28 6c 12 00 20 	movl   $0x109f20,0x126c28             
  109f7e:	9f 10 00                                                    
  the_watchdog->id        = id;                                       
  109f81:	c7 05 2c 6c 12 00 00 	movl   $0x0,0x126c2c                  
  109f88:	00 00 00                                                    
  the_watchdog->user_data = user_data;                                
  109f8b:	c7 05 30 6c 12 00 00 	movl   $0x0,0x126c30                  
  109f92:	00 00 00                                                    
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
  109f95:	31 db                	xor    %ebx,%ebx                      
  109f97:	eb 4f                	jmp    109fe8 <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 );                            
  109f99:	83 ec 0c             	sub    $0xc,%esp                      
  109f9c:	68 0c 6c 12 00       	push   $0x126c0c                      
  109fa1:	e8 a2 33 00 00       	call   10d348 <_Watchdog_Remove>      
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
  109fa6:	83 e8 02             	sub    $0x2,%eax                      
  109fa9:	83 c4 10             	add    $0x10,%esp                     
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
  109fac:	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) ) {
  109fae:	83 f8 01             	cmp    $0x1,%eax                      
  109fb1:	77 35                	ja     109fe8 <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);        
  109fb3:	a1 20 6c 12 00       	mov    0x126c20,%eax                  
  109fb8:	03 05 18 6c 12 00    	add    0x126c18,%eax                  
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
  109fbe:	57                   	push   %edi                           
  109fbf:	57                   	push   %edi                           
  109fc0:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  109fc3:	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);        
  109fc4:	2b 05 24 6c 12 00    	sub    0x126c24,%eax                  
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
  109fca:	50                   	push   %eax                           
  109fcb:	e8 20 2f 00 00       	call   10cef0 <_Timespec_From_ticks>  
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
  109fd0:	69 4d e0 40 42 0f 00 	imul   $0xf4240,-0x20(%ebp),%ecx      
      remaining += tp.tv_nsec / 1000;                                 
  109fd7:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  109fda:	bf e8 03 00 00       	mov    $0x3e8,%edi                    
  109fdf:	99                   	cltd                                  
  109fe0:	f7 ff                	idiv   %edi                           
  109fe2:	8d 1c 08             	lea    (%eax,%ecx,1),%ebx             
  109fe5:	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 ) {                                                   
  109fe8:	85 f6                	test   %esi,%esi                      
  109fea:	74 44                	je     10a030 <ualarm+0xd8>           <== NEVER TAKEN
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
  109fec:	b9 40 42 0f 00       	mov    $0xf4240,%ecx                  
  109ff1:	89 f0                	mov    %esi,%eax                      
  109ff3:	31 d2                	xor    %edx,%edx                      
  109ff5:	f7 f1                	div    %ecx                           
  109ff7:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
  109ffa:	69 d2 e8 03 00 00    	imul   $0x3e8,%edx,%edx               
  10a000:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
    ticks = _Timespec_To_ticks( &tp );                                
  10a003:	83 ec 0c             	sub    $0xc,%esp                      
  10a006:	8d 75 e0             	lea    -0x20(%ebp),%esi               
  10a009:	56                   	push   %esi                           
  10a00a:	e8 3d 2f 00 00       	call   10cf4c <_Timespec_To_ticks>    
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
  10a00f:	89 34 24             	mov    %esi,(%esp)                    
  10a012:	e8 35 2f 00 00       	call   10cf4c <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10a017:	a3 18 6c 12 00       	mov    %eax,0x126c18                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10a01c:	59                   	pop    %ecx                           
  10a01d:	5e                   	pop    %esi                           
  10a01e:	68 0c 6c 12 00       	push   $0x126c0c                      
  10a023:	68 fc 63 12 00       	push   $0x1263fc                      
  10a028:	e8 03 32 00 00       	call   10d230 <_Watchdog_Insert>      
  10a02d:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
  10a030:	89 d8                	mov    %ebx,%eax                      
  10a032:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a035:	5b                   	pop    %ebx                           
  10a036:	5e                   	pop    %esi                           
  10a037:	5f                   	pop    %edi                           
  10a038:	c9                   	leave                                 
  10a039:	c3                   	ret